Home

PTQ-104S User Manual Rev1

image

Contents

1. 5 3 Backplane Data Exchange Before modifying the Backplane Data Exchange section of the configuration file you must understand some important concepts The following topics describe these concepts If you have used the parameters defined in the Module section you have created the following memory map We will use this map to explain how data transfer works between the processor and the ProTalk module PTQ Memory Address Application Memory Address 0 0 10 1 20 20 30 30 40 40 50 50 206 206 207 207 312 312 A thorough understanding of the information contained in this section is required for successful implementation of the module in a user application 5 3 1 Data Transfer The module uses a concept referred to as Command Functions The command functions reside in the Backplane Data Exchange section of the configuration file This method of data transfer is probably different from other methods you might have used but does offer some unique advantages The amount of ladder logic required will be substantially reduced in fact in many applications no ladder logic will be required The module may be placed in any position in the chassis containing the PLC and will operate with no modifications ProSoft Technology Inc Page 55 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Refer to PTQ 104
2. 193 9 7 4 SM iom re np RR RU DI 194 9 8 Frequently Asked Questions sess 195 9 8 1 How fast do the Backplane Data Exchange commands run 195 9 8 2 What is the maximum number of words can transfer with a Backplane Data Exchange commande oec tret o reet ete e ee ex ED EE Eau eet Pn XE READ 195 9 8 3 How do I configure the module ssssssssssssseeeeeneeeen eene 195 9 8 4 What kind of data transfer rates can expect between the PLC and the module 195 9 8 5 Is a MDC available for configuration of the Module ssssessss 195 9 8 6 Does the module work in a remote rack ssssssssssseeeenene 195 9 8 7 Can use the module in a hot backup system sssssssssseses 195 10 Support Service amp Warranty 197 Contacting Technical Support c rte prid et etae ded rcd epe opa ee p e 197 10 1 Warranty InfOrmatiOEi eerte tet e tei be era ense eon pee te bera un 198 Index 199 Page 8 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Start Here 12TUser Manual Guide to the PTQ 104S User Manual Function Section to Read Details Introduction Start Here page 11 This section introduces the customer to the Must Do module Included are package contents System requirements hardware installation and basic
3. Comment Definition Name to display on module Reset Tag Reset All OK Cancel 5 2 1 Module Name 0 to 80 characters This parameter assigns a name to the module that can be viewed using the configuration debug port Use this parameter to identify the module and the configuration file 5 2 2 Failure Flag Count 0 through 65535 This parameter specifies the number of successive transfer errors that must occur before halting communication on the application port s If the parameter is set to 0 the application port s will continue to operate under all conditions If the value is set larger than 0 1 to 65535 communications will cease if the specified number of failures occur Page 54 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 2 3 Error Offset 0 to 3980 or 1 to disable This parameter specifies the database location where to write status data 5 2 4 Initialize Output Data Yes or No This parameter determines if the output data for the module should be initialized with values from the processor If the value is set to No 0 the output data will be initialized to O If the value is set to Yes 1 the data will be initialized with data from the processor Use of this option requires associated ladder logic to pass the data from the processor to the module
4. Parameter in control direction Station specific parameter mark each Type ID X if it is only used in the standard direction R if only used in the reverse direction and B if used in both directions Type ID Description Type lt 110 gt Parameter of measured value P_ME_NA_1 normalized value lt 111 gt Parameter of measured value scaled P ME NB 1 value 112 Parameter of measured value short P ME NC 1 floating point value O lt 113 gt Parameter activation P AC NA 1 File transfer Station specific parameter mark each Type ID X if it is only used in the standard direction R if only used in the reverse direction and B if used in both directions Type ID Description Type O 120 File ready F FR NA 1 Oo lt 121 gt Section ready F SR NA 1 O lt 122 gt Call directory select file call file call F SC NA 1 section D lt 123 gt Last section last segment F LS NA 1 O lt 124 gt Ack file ack section F_AF_NA_1 D lt 125 gt Segment F SG NA 1 O lt 126 gt Directory F_DR_TA_1 9 6 4 Type identifier and cause of transmission assignments Station specific parameters Shaded boxes option not required Black boxes option not permitted in this companion standard Blank boxes functions or ASDU not used Mark Type Identification Cause of Transmission combinations X if only used in standard direction R if only used in reverse direction and
5. essssssseeeeeeeenneeen nennen 22 Add the PTQ Module to the Project 24 Build the Project opere mme Rent ER 25 Connect Your PC to the Processor sssseemm 26 Download the Project to the Processor sseee 28 The following steps are designed to ensure that the processor Quantum or Unity is able to transfer data successfully with the PTQ module As part of this procedure you will use Unity Pro to create a project add the PTQ module to the project set up data memory for the project and then download the project to the processor ProSoft Technology Inc Page 21 of 201 March 4 2013 Configuring the Processor with Unity Pro 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 2 14 Create a New Project The first step is to open Unity Pro and create a new project 1 Inthe New Project dialog box choose the CPU type In the following illustration the CPU is 140 CPU 651 60 Choose the processor type that matches your own hardware configuration if it differs from the example Click OK to continue New Project PLC Premium 02 00 Premium Quantum 02 00 Quantum 140 CPU 311 10 02 00 486 CPU 400Kb Program MB MB 140 CPU 434 12A 02 00 486 CPU 800Kb Program MB MB 140CPU 534 14A 02 00 586 CPU 2 7Mb Program MB MB 140 CPU 651 50 02 00 P166 CPU 512Kb Program PCMCIA Ethemet TC 140 CPU 651 60 02 00 P266 CP
6. 5 4 7 Block 9971 Set Module Time If a value of 9971 is placed in the control register Module time is set using the processor s time The following table shows the block format for write Block 9971 Block Format for Write Word Offset in Block Data Field s Description 0 Write Block ID This word will contain the value of 9971 1 Year This field contains the four digit year for the new time value 2 Month This field contains the month value for the new time Valid Values 1 to 12 3 Day This field contains the day value for the new time Valid Values 1 to 31 4 Hour This field contains the hour value for the new time Valid Values 0 to 23 5 Minute This field contains the minute value for the new time Valid Values 0 to 59 6 Seconds This field contains the second value for the new time Valid Values 0 to 59 7 Milliseconds This field contains the millisecond value for the new time Valid Values 0 to 999 ProSoft Technology Inc Page 73 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Block Format for Read Word Offset in Block Data Field s Description 1 Block ID This word will contain the value of 9971 5 4 8 Block 9998 or 9999 Reboot Module If the processor places a value of 9998 in this register the module will perform a warm boot operation If the processor places a value of 9999 in this re
7. Derived Data Types m Derived FB Types ELS Variables amp FB instan Elementary Variables E Derived Variables E 10 Derived Variables 5 pee Hardware catalog Local Quantum Drop H Analog Communication Counting Discrete Expert z Motion X Ver Local Bus ROB 7 ES 1 4 GEN NOM NOM type generic module M Local Bus 14 GEN TST TX Build A Imeonlexcot Y User erors A SearchiReplece 7 Value between 1 65535 Page 24 of 201 IHMIRAW mode OFFLINE ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with Unity Pro 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 3 Before you can save the project in Unity Pro you must validate the modifications Open the EDIT menu and then choose VALIDATE If no errors are reported you can save the project 4 SAVE the project 2 3 Build the Project Whenever you update the configuration of your PTQ module or the processor you must import the changed configuration from the module and then build compile the project before downloading it to the processor Note The following steps show you how to build the project in Unity Pro This is not intended to provide detailed information on using Unity P ro or debugging your programs Refer to the documentation for your processor and for Unity P ro for specialized information To build compile the project 1
8. 0 Scan Count This status value contains a counter incremented on each scan of the module s main loop 1to2 Product Name This two word data area contains the text values representing the product name 3104 Revision This two word data area contains the text values for the revision number 5106 Op Sys This two word data area contains the text values for the operating system number ProSoft Technology Inc Page 177 of 201 March 4 2013 Reference 12TUser Manual A8TPTQ 1045 Rev 1 47TQuantum Platform A6TIEC 60870 5 104 Server for Quantum Word Offset in Block Data Field s Description 7108 Run Number This two word data area contains the text values for the run number 9 Reserved Reserved IE C 870 5 104 section Error Offset Word Offset in Block Data Field s Description tO Timeout Number of t0 errors recognized by the module t1 Timeout t2 Timeout Number of t1 errors recognized by the module Number of t2 errors recognized by the module t3 Timeout Number of t3 errors recognized by the module RIO q qm o Sequence Number Errors This word contains the number of sequence number errors recognized by the module When the send sequence number received by the module does not match the expected sequence number the connection is closed and this counter is incremented Bad Address Bad Length This word contains the number of messages received with a wrong Co
9. Block Format for Write 73 Set Module Time 73 Block 9998 or 9999 Reboot Module 74 Block Format for Read 70 72 73 74 Block Format for Write 69 71 73 Build the Project 25 C C RC NA 151 C RC NA 1Form 194 C SC NA and C DC NA 150 C SE NA andC SE NB 152 C SE NC 153 Cable Connections 174 Can I use the module in a hot backup system 195 Cause of transmission 181 Clear Queue on Close 77 Clock synchronization 187 Command Delay Timer 79 ProSoft Technology Inc March 4 2013 Command Points Addressing 150 Command transmission 188 Common Address of ASDU 80 180 Common ASDU Address 133 CommonNet Data Map 99 Configuring the Processor with Concept 31 Configuring the Processor with ProWORX 45 Configuring the P rocessor with Unity Pro 21 Connectthe PC to the ProTalk Configuration Debug Port 16 Connect Your PC to the Processor 26 Connecting to the Processor with TCPIP 28 Contacting Technical Support 197 Control Data Transfer 149 Controlling the Generation of Events 166 Create a New Project 22 33 Cyclic data transmission 186 Cyclic Data Transmission 80 Cyclic Set lV Time 82 D Data Communication 154 Data Transfer 55 Data Type Level 167 Database Configuration 119 Database Register 76 Database View Menu 123 Deadbands 162 Default Command Qualifier 89 Defining Data to be Retrieved from the PTQ Database 58 Defining Da
10. Diagnostics Connection Log Module s ease IEC 870 5 104 STATUS DATA 01 15 2010 10 44 39 905 Send seq 0 Rec Seq 0 In Queue 0 TX Count 0 RX Count 0 First Id 0 0 ERRS tO tl tmouts 0 Seq 0 Bad Adrss 0 SOCKET 0 DATA Start DT Active NO Opens 1 Close cnt 0 Host IP SOCKET 1 DATA Start DT Active NO Opens 0 Close cnt 0 Host IP EVENT BUFFER SPACE FREE MSPNA 100 MDPNA 100 MSTNA 100 MMENA 100 MMENB 100 MMENC 100 Path Serial Com 1 Lists of Valid Hosts From the IEC 870 5 104 Server Menu press I to display the List of Valid Hosts These values are taken from the configuration file The IP addresses will be displayed only if the USE IP LIST parameter is set to YES page 77 Page 118 of 201 Last Ack Current Id t2 tmouts Bad length State 0 conn cnt State 2 conn cnt MBONA 100 MITNA 100 IEC 870 5 104 Menu Selected LIST OF VALID IP ADDRESSES FOR HOSTS TOTAL NUMBER OF VALID IP ADDRESSES IP LIST BEING USED IN SVSTEM IP RDDRESS VRLUE VALUE COA8BBCF CORS00CB C008003D C0880045 o o o o 0 o Time 09 39 04 Rec unAcked 0 t3 timeouts 0 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Diagnostics and Troubleshooting 12TUser Manual Point Setup From the IEC 870 5 104 Server Menu press keys 1 through 8 for Monitor Points or N t
11. E Config Extensions ASCII PLC Memory Partitiorr Loadables Coils 000001 000001 Number installed 0 Discrete Inputs 100001 100001 Input Registers 300001 300001 Holding Registe400001 400001 Specials Segment Schedule Battery Coil Segments 0 Timer Register Time of Day 400007 Contig Extension mASCII Data Protection Disabled Number of Messages Peer Cop Disabled Message Area Size Hot Standby Disabled pe ee hg n of Bl Open Dialog PLC Configuration Overview double click in window to edit sections NOT CONNECTED 3 Inthe list of options on the left side of this dialog box double click the PLC SELECTION folder This action opens the PLC Selection dialog box PLC Selection xi ty Concept C CONCEPT TESTPRJ untitled PLC Family File Configure Project Online Options Wi i ji B Oi d aa 7 5 ual 186 IEC None SB4Eg IMID CHS CPU Executive MIEC Runtime PLC se4 nly z 140 CPU 113 025 140 CPU 113 02 B Summary T 140 CPU 11303 B Ed MS cpu 113 038 IEC Heap Size KB B Config Extensions 0 4 RASCH ac DOCU a l xl Coil Memory Size Global Data KB H en Oar SEIT p ki gt Cancel Help Holdi Spec Battery Coil Segments 0 Timer Register Time of Day 400007 Config Extension ASCII Data Protection Disabled Number of Messages 0
12. Comment P1 PSHH Discharge pressur Definition Reset Tag Reset All OK Cancel The module periodically sends all points configured for periodic cyclic poll 0x80000000 at the interval in milliseconds configured with the following parameter Edit IEC 870 5 104 Cyclic data transmission Cyclic data transmission U Op Use ACTTERM with setpoint 20000 Use ACTTERM with step Freeze Start Type Interval For Freeze Set Priority Queues M SP NA Priority M DP NA Priority M ST NA Priority ME NA Priority Comment Definition Number of milliseconds between cyclic updates 0 4294967296 Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay M SP NA Scan Events scan for events M SP NA Time Type CP56 M DP NA Scan Events scan for events M DP NA Time Type CP56 M ST NA Scan Events scan for events Fh BO INO e e OO IND QJ ds Ul OY M ST NA Time Type CP56 M ME NA Scan Events scan for events M ME NA Time Type CP56 M ME NB Scan Events scan for events M ME NB Time Type CP56 Reset Tag Reset All M ME NC Scan Events scan for events M ME NC Time Type CP56 v OK Cancel You can also divide the monitored points into different groups allowing the client to periodically poll only certain points This also allows some points to be polled more frequently than others ProSoft Technology Inc Page 155 of 201 March 4 2013 Reference 12TUser Manual 48TPTQ 104S Rev 1 47TQuantum Platform
13. Example Setting Retrieving the time of day Block ID 9971 Set Modules Time using the PLC s Time Assumption The MyYear MyMonth and so on values for time and date represent aliases for your time source MyTrigger is an alias for register 401000 A IF MyTrigger 9971 THEN yDatal MyYear yData2 MyMonth yData3 MyDay yData4 MyHour yData5 MyMinute yData6 MySeconds yData7 MyMillisec yFunction3 9971 yTrigger 0 END_IF Block ID 9970 Set PLC s time using the modules tim Assumption The MyYear MyMonth and so on values for time and date are representative of your aliases for your time source Page 62 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual MyTrigger is an alias for register 400010 IF MyTrigger 9970 THEN MyFunction3 MyTrigger IF MyFunction3 0 AND MyDatal 9970 THEN yYear MyData2 yMonth MyData3 yDay MyData4 yHour MyData5 yMinute MyData6 ySeconds MyData7 yTrigger 0 END IF END IF The previous examples all utilize structured text for the process control logic but follow the same basic program flow 1 Copy the data related to the block function into registers 400501 to 400563 as required 2 As your last step copy the BLOCK ID number of the special function into reg
14. M DP NA 2 bits Bit M ST NA 1 byte Byte M ME NA 1 word Word ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Data Type Data Size Addressing Type M ME NB 1 word Word M ME NC 2 word Double Word M IT NA 2 word Double Word M SP NA A Monitored Single Point occupies one binary bit and uses bit addressing For example if you configured the following points as shown E Edit M_SP_NA_1 104 Point DB Address Groups IV DB Bit Comment X1 1600 80000000 0 X2 100 1601 00000000 0 3 102 1802 00000000 0 Point Value Status OK Set to Defaults Add Row Insert Row Delete Row Edit Row Copy Row The following table describes how these points would be stored in the module 100 Bit 0 of word 100 Bit address 1600 101 Bit 1 of word 100 Bit address 1601 102 Bit 2 of word 100 Bit address 1602 M ST NA A Monitored Step Point occupies one byte and uses byte addressing For example if you configured the following points E Edit M_ST_NA_1 104 DB Address Groups IV DB Bit Comment 1 300 40 80000000 0 2 301 B 00000200 0 3 302 81 00000400 0 Comment Value Status OK Set to Defaults Add Row Insert Row Delete Row Edit Row Copy Row ProSoft Technology Inc Page 145 of 201 March 4 2013 Reference 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 608
15. Peer Cop Disabled Message Area Size 0 Hot Standby Disabled Ue n P gt NOT CONNECTED Page 34 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with Concept A6TIEC 60870 5 104 Server for Quantum 12TUser Manual 4 Inthe CPU Executive pane use the scroll bar to locate and select the PLC to configure PLC Family Quantum 586 IEC 32Bit 2500K CHS S84 Eg IMIQO CHS CPU Executive rIEC 140 CPU 213 04 Runtime Enable IEC Heap Size KB 140 CPU 434 12 INN gt Memory Size Global Data KB ID 4 gt Cancel Help 5 Click OK This action opens the PLC Configuration dialog box populated with the correct values that were selected for the PLC KA Concept C CONCEPTX TESTPR J untitled File Configure Project Online Options Window Help Djspate a De e 8 i oo 8 Ig s aa ol fil PLC Configuration a PLC Type 140 CPU 53414 Available Logic Area 65535 B Summary B IEC Enabled IEC Heap Size 300 B PLC Memory Partition B Loadables PLE Memory Partition r Loadables B Specials Coils 000001 001536 Number installed 0 Config Extensions Discrete Inputs 100001 100512 BVO Map Input Registers 300001 300512 B Segment Scheduler Holding Registe400001 401872 B Modbus Port Settings ASCII Specials Segment Scheduler Battery Coil Segmen
16. Threshold Determined by the deadband set in the configuration file or altered by the write command Low Limit Last reported event value threshold High Limit Last reported event value threshold 5 9 IEC 870 5 104 IP Addresses This section enters the IP addresses for the hosts to connect to this unit The unit will only accept connections from hosts listed here This list may contain up to 10 entries between the START and END labels The address must start in column 1 and must be entered in standard dot notation The following is an example of the IEC 870 5 104 IP Addresses section Wil Edit IEC 870 5 104 IP ADDRESSES IP ADDRESS Comment 2 1821680203 V 3 182168061 IP ADDRESS Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel 5 10 M SP NA 1 104 This section defines the monitored single point database This information is sourced from the database and is transferred to the remote Client unit Each point indicates one of two states 1 Bit On 0 Bit Off This section takes the following parameters Point DB Address Group s V DB Bit Each point is one bit and the DB address value corresponds to the bit offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual Page 92 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration
17. any host may connect to the unit If the parameter is set to YES 1 only hosts in the IP list will be permitted to connect to the unit 5 6 2 Override StartDT No 0 or YES 1 This parameter is used when testing the module with a simulator or with a Client unit that does not meet the IEC 60870 5 104 specification After the Client connects to the module it will send a STARTDT ACT U format message to the module to permit the module to start sending data If the Client does not support this requirement set the parameter to YES 1 Set the parameter to No 0 if the Client sends the STARTDT ACT message Note This parameter must be set to No 0 if you wish to use the redundant Clients feature 5 6 3 Clear Queue on Close No 0 or YES 1 Use this command to define whether the module will store the unacknowledged buffers in the unit after the connection is closed If the specification is to be followed set this parameter to No 0 and the packets will be resent after a connection is made If you want to flush the packets after the connection is closed set this parameter to YES 1 this is not according to the IEC 60870 5 104 specification 5 6 4 t0 Connection Timeout 1 to 1000 default value 30 This is a timeout value in seconds to determine if a connection has been lost with the remote Client If no traffic from the remote client is received for the period of time specified by this parameter the currently open server I
18. eee eec tee tne ed tee er e arena 77 t0 Connectior TIrI amp OUL i coire cin etre teet ae eo eo EEE EEEE sta dae d und 77 t1 Timeout Set Value 5 reitera terree ena ta Tr de Pega de laid Feet Ta ade Beau 77 i2 Timeout Set Value aire ottenendo aee eaae cee eesti ae denda 78 t Timeout RT ACCIUS 78 k maximum queue iecore itti ic tei it etic a 78 w latest ack threshold ssssssseseeseenene nennen nnne renes 78 Time DB OffSeLz 12i piece xe eye eR Eee cet da A eeu Tad Ge tates 78 Eror Se Kosan ea etd Eo rei ga Te Obere eR RE AREE Ee eva Age inet eres cad de totes 79 Command Delay Timer sssssssssssssseeeeeee nennen nennen nnns nnne ns 79 Maximum ASDU Resp Len sssssssssseseseeeeee enne nennen nennen snnt nenns 79 Freeze starte LVDe io etta mette ce Rn metere urit nma REP cere 79 Interval for Freeze ssssssssssssssssssssesseeeenen nennen stehen aada T sns n aea Ey 79 Common Address of ASDU ccccccecsecceceeseeceeecseeeeeeseneeeseseneeeseseeeaeeeseneaeesseenaeess 80 Cyclic Data Transmission esssssseseseeeeeeeene enne nnne 80 Select Operate Timeout sse enne nennen nnns nennen 80 Use ACTTERM with Setpoint sssssssseseeeenneeeen nene 80 Use ACTTERM with step nennen nnne nenis 80 Event Scan Delay emm tite ta Oni enn t natem e ER ee 80 Set Priority QUGOll6s iie tm i OE UR VIRO RARE IS ER Fog cet 81 Gyclie S
19. o 4 im lt m a ia M_SP_NA Time Type M_DP_NA Scan Events No scanning M_DP_NA Time Type CP56 M_ST_NA Scan Events No scanning M_ST_NA Time Type CP56 M_ME_NA Scan Events No scanning M_ME_NA Time Type CPS6 M_ME_NB Scan Events No scanning Time Type CPS6 M_ME_NC Scan Events No scanning Reset Tag Reset All M_ME_NC Time Type CP56 z m ILE z o M_IT_NA Time Type CP56 OK Cancel Note The Client should send a Time Synchronization command to the module in order to synchronize its date and time information according to the protocol specifications Depending on certain parameters as well as hardware limitations the module may present some time delay over time The Client should periodically send time synchronization requests to the 104S module Page 168 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Invalid Bit Monitoring This feature allows the application to set the invalid IV quality bit of the protocol for all the monitored ASDU types supported If the feature is enabled the status of the IV quality bit for each point configured by the user can be individually monitored and controlled The parameters required to support this feature are Cyclic Set IV Time V Check Delay Time V Fail Count Edit IEC 870 5 104 Select Operate Timeout 2000 Cyclic Set IV Time Use ACTTERM wit
20. to the M ME NB Parameter Offset parameter value as entered in the IEC 870 5 104 Database section This section takes the following parameters Point DB Address Group s Default Deadband IV DB Bit Each point is one 16 bit word and the DB Address value corresponds to the word offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual M ME NC 1 104 This section defines the monitored short float point database for the slave device emulated This information is sourced from the database and is transferred to the remote client unit Each point occupies 4 byte positions in the database To determine the IOA Information Object Address for each object add the Point in the following section to the value of the M ME NC Parameter Offset parameter set in the previous section A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 17 5 18 This section takes the following parameters Point DB Address Groups Default Deadband V DB Bit Each point is one word and the DB Address value corresponds to the word offset in the database The Database Address value should be located in a database area that is constantly being moved from the Quantum proce
21. 1 M ST NA 1and M IT NA 1 Form Point Number Database Address Group Assignment ProSoft Technology Inc Page 191 of 201 March 4 2013 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 9 7 2 M ME NA 1 and M ME NB 1 Form Point Number Database Address Group Assignment Default Deadband Page 192 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 9 7 3 Form for All C Command Data Types Except C RC NA 1 Point Number Database Address Monitor Point Monitor Database Require Select Address ProSoft Technology Inc Page 193 of 201 March 4 2013 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum 9 74 C RC NA 1 Form Point Number Database Address Monitor Point Monitor Database Address Page 194 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference A6TIEC 60870 5 104 Server for Quantum 12TUser Manual 9 8 Frequently Asked Questions 9 8 1 How fast do the Backplane Data Exchange commands run The Backplane Data Exchange commands will execute one at a time during the I O service int
22. 1001 Low Byte of word 260 Byte address 520 301 Low Byte of word 30 Byte address 60 Must match configuration of point 301 in M ST NA 1002 High Byte of word 270 Byte address 541 302 High Byte of word 40 Byte address 81 Must match configuration of point 302 in M ST NA C SE NAandC SE NB The measured normalized point command uses one word with word addressing For example if you configured the following points Wil Edit C SE NA 1 DB Address Monitor Point Monitor DB Addr Require Select Comment 10 0 0 0 12 0 18 0 Point Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel The following table describes how these points would be used Inf Object Address Module Database Address 1100 Word 2000 Word address 2000 400 Word 10 Word address 10 Must match the configuration of point 400 in M_ME_NA 1101 Word 2001 Word address 2001 401 Word 12 Word address 12 Must match the configuration of point 401 in M_ME_NA 1102 Word 2001 Word address 2001 402 Word 18 Word address 18 Must match the configuration of point 402 in M_ME_NA Page 152 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual The measured normalized points use a data representation defined by the protoc
23. 2 Atthe Data Type Level all configured points of any data type 3 Atthe Individual Point Level any specific point of any data type General All Points The user may control how frequently the module will scan the database for events using the following configuration parameter Page 166 of 201 Edit IEC 870 5 104 Select Operate Timeout Event Scan delay Use ACTTERM with setpoint Use ACTTERM with step l Freeze Start Type Interval For Freeze lt N MN o o Set Priority Queues M SP N Priority M DP NA Priority M ST NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time Comment Definition mSec between event scanning 0 65535 0 Disable BJ e eh OO IND QJ AUG o all Coun Event Scan delay 1 SP N Scan Events scan for events M SP NA Time Type CP56 M DP NA Scan Events scan for events M DP NA Time Type CP56 M ST NA Scan Events scan for events M ST NA Time Type CP56 M ME NA Scan Events scan for events M ME NA Time Type CP56 scan for events M ME NB Scan Events M ME NB Time Type CP56 Reset Tag Reset All M_ME_NC Time Type CP56 M_IT_NA Time Type CP56 v OK Cancel M ME NC Scan Events scan for events ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual If this parameter is set to 0 the m
24. 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual Information object address System specific parameter L One octet O Two octets O Structured O Unstructured Three octets Cause of transmission System specific parameter Two octets with originator address O One octet Length of APDU System specific parameter specify the maximum length of the APDU per system The Maximum length of the APDU is 246 default The maximum length may be reduced by the system 255 Maximum length of APDU per system 9 6 3 Selection of standard ASDUs Process information in monitor direction Station specific parameter mark each Type ID X if it is only used in the standard direction R if only used in the reverse direction and B if used in both directions Type ID Description Type ei Single point information M SP NA 1 c2 Single point information with time tag M SP TA 1 lt 3 gt Double point information M_DP_NA_1 lt 4 gt Double point information with time tag M_DP_TA_1 lt 5 gt Step position information M_ST_NA_1 lt 6 gt Step position information with time tag M_ST_TA_1 O lt 7 gt Bitstring of 32 bit M BO NA 1 O 8 Bitstring of 32 bit with time tag M BO TA 1 Kl 9 Measured value normalized value M ME NA 1 Kl lt 10 gt Measured value normalized value with M_ME_TA_1 time t
25. 4 294 967 296 2 raised to the power of 32 This parameter defines the number of milliseconds between cyclic updates The range of values for this parameter permits update times of 1 millisecond to 5 minutes If the parameter is set to 0 cyclic data reporting will be disabled 5 6 18 Select Operate Timeout 0 to 4 294 967 296 2 raised to the power of 32 milliseconds This parameter sets the number of milliseconds to wait for a valid execute command after receiving a select command The range of values allow for update times between 1 millisecond and 49 7 days Set this parameter to 0 to disable this feature 5 6 19 Use ACTTERM with Setpoint Y YESor N NO This parameter determines if an ACTTERM will be sent If the parameter is set to Yes setpoint commands will issue an ACTTERM when the command is complete If the parameter is set to No ACTCON is the last response to a setpoint command 5 6 20 Use ACTTERM with step Y YESor N NO This parameter determines if an ACTTERM will be sent If the parameter is set to Yes then step commands will issue an ACTTERM when the command is complete If the parameter is set to No ACTCON is the last response to a step command 5 6 21 Event Scan Delay 1 to 65535 milliseconds or 0 to disable If set to 0 the feature will be disabled and the module will not generate any events If set from 1 to 65535 the parameter represents the number of milliseconds between event scanning This parameter
26. 46TIEC 60870 5 104 Server for Quantum Note You should configure the counter points M IT NA for general counter interrogation or group counter interrogations Example In the following example with the following data points for data type M SP NA configured Wil Edit M SP NA 1 104 DB Address Groups IV DB Bit 1500 80000002 0 1601 oooo0002 0 1502 00000004 O 1603 00000004 _Comment Periodic Poll Group 1 Interrogation Group 1 Interrogation Group 2 Interrogation Point Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row i OK Cancel And the Cyclic data transmission parameter configured as follows Edit IEC 870 5 104 Cyclic data transmission Cyclic data transmission 20000 Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Interval For Freeze Comment Femme Definition Set Priority Queues M SP NA Priority M DP NA Priority ST NA Priority ME NA Priority ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Number of milliseconds between cyclic updates 0 4294967296 M M M M NJ e e O INI C AW M SP NA Scan Events M SP NA Time Type M DP NA Scan Events DP NA Time Type ST NA Scan Events ST NA Time Type E NA Scan Events E NA Time Type E NB Scan Events E NB Time Type E NC Scan Events E NC Time Type ZSESZEZEXEZE
27. 5 104 Configuration Menu From the IEC 870 5 104 Server Menu press C to open the IEC 870 5 104 Configuration Menu This menu shows the module parameters in the configuration file Gi Diagnostics Connection Log Module gt sal Time 09 37 59 IEC 870 5 104 CONFIGURATION StartDT OVERRD Queue Cls CLEAR k APDUS 12 w APDUS 8 tO Timeout 30 tl Timeout 15 t2 Timeout 10 t3 Timeout 30 Comm ASDU 1 C ASDU Ln 2 IOA Len 3 Cyc updat 10000 sel op Tm 2000 ActTrm Sp 1 ActTerm St 1 Evt Scan 0 MAX ASDU 246 Mode A F2 Y Frz Type H Frz Int 2700 MSPNA TM CP56 MDPNA TM CP56 MSTNA TM CP56 MBONA TM MMENA TM CP56 MMENB TM CP56 MMENC TM CP56 MITNA TM MSPNA SEQ NO MDPNA SEQ NO MBONA SEQ NO MMENA SEQ MMENB SEQ NO MMENC SEQ No MITNA SEQ NO Events Use Recent SPNA N DPNA N STNA N BONA N MENA N MENB N MENC N short Pulse Time 2000 Long Pulse Time 10000 Default cmd Qual short Pulse Override Cmd Qual Not Active Error offset 0 Time DB offset 2000 cmd Delay Timer 10000 Path Serial Com 1 ProSoft Technology Inc Page 117 of 201 March 4 2013 Diagnostics and Troubleshooting 12TUser Manual 48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum IEC 870 5 104 Status Data From the IEC 870 5 104 Server Menu press E to display the IEC 870 5 104 Status Data screen Refer to the Status section for more information about these values
28. 7 Hot Standby Support Support for Unity Quantum HSBY was added to the PTQ 104S v2 modules starting with firmware revision 2 07 Please see the PTQ 104S v2 User manual for additional details ProSoft Technology Inc Page 109 of 201 March 4 2013 Hot Standby Support 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Page 110 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Diagnostics and Troubleshooting 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 8 Diagnostics and Troubleshooting In This Chapter The Configuration Debug Menu esee 112 EED IridiCators ro eh rdg tete E tdt 126 The module provides information on diagnostics and troubleshooting in the following forms LED status indicators on the front of the module provide general information on the module s status Status Data contained in the module can be viewed through the Configuration Debug port using a terminal emulator program such as Windows HyperTerminal Status data values can be transferred from the module to processor controller tags and can be monitored there manually or by customer created logic ProSoft Technology Inc Page 111 of 201 March 4 2013 Diagnostics and Troubleshooting 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 8 1 The Configuration Debug Menu The Configura
29. B if used in both directions Type Identification Cause of transmission 123 45 6 7 8 9 10 11 12 13 20 37 44 45 46 47 to to 36 41 i M_SP_NA1 XXX X X 3 M_DP_NA 1 X X xX X X 5 MST MNA 1 XXX X X Page 184 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual Type Identification Cause of transmission 123 45 6 7 8 9 10 11 12 13 20 37 44 45 46 47 to to 36 41 lt 7 gt M_BO_NA_1 X X X X X lt 9 gt M_ME_NA 1 X X X X X 11 MMENB 1 X X X X X lt 13 gt MMENC X X X X X lt 15 gt M IT NA 1 X X X X lt 20 gt M PS NA 1 lt 21 gt M ME ND 1 lt 30 gt M SP TB 1 X lt 31 gt M DP TB 1 X 32 MST TB 1 X lt 33 gt M BO TB 1 X 34 MME TD 1 X 35 M ME TE 1 X 36 M ME TF 1 X lt 37 gt MIT TB 1 X X 38 M EP TD 1 lt 39 gt MEP TE 1 lt 40 gt MEP TF 1 45 SC NA 1 X X X X X X X X X lt 46 gt C DC NA 1 X X X X X X X X X lt 47 gt C RC NA 1 X X X X X X X X X lt 48 gt C SE NA 1 X X X X X X X X X 49 C SE NB 1 X X X X X X X X X lt 50 gt C SE NC 1 X X X X X X X X X lt 51 gt C BO NA 1 X X X X X X X 58 C SC TA 1 X X X X X X X X X lt 59 gt C DC TA 1 X X X X X X X X X lt 60 gt C RC TA 1 X X X X X X X X X lt 61 gt C SE TA 1 X X X X X X X X X 62 C SE TB 1 X X X X X X X X X l
30. Connect Your PC to the Processor The next step is to connect to the processor so that you can download the project file The processor uses this project file to communicate over the backplane to modules identified in the project file Note If you have never connected from the PC to your processor before you must verify that the necessary port drivers are installed and available to Unity P ro To verify address and driver settings in Unity Pro 1 Open the PLC menu and choose STANDARD MODE This action turns off the PLC Simulator and allows you to communicate directly with the Quantum or Unity hardware Debug Window Help Connect Ctr Set Address 8 mode amp Simulation Mode Project Backup gt Memory Consumption 2 Open the PLC menu and choose SET ADDRESS This action opens the Set Address dialog box Open the MEDIA dropdown list and choose the connection type to use TCPIP or USB Set Address v PLC Simuah imulator Bandwidth Address Address 127 0 0 1 127 0 0 1 Test Connection Media Media TCPIP TCPIP OK Cancel Communication Parameters S Help Page 26 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with Unity Pro 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 3 If the MEDIA dropdown list does not contain the connection method you wish to use click the COMMUNICATION PARAMETERS button
31. DB Address Monitor Point Monitor DB Addr Require Select Comment 1300 500 20 0 1301 501 32 0 1310 502 52 0 Comment Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel The following table describes how these points would be stored in the module 1300 Words 2600 and 2601 Double word address 1300 500 Words 40 and 41 Double word address 20 Must match the configuration of point 500 in M_ME_NC 1301 Words 2602 and 2603 Double word address 1301 501 Words 64 and 65 Double word address 32 Must match the configuration of point 501 in M_ME_NC 1302 Words 2620 and 2621 Double word address 1310 502 Word 104 and 105 Double word address 52 Must match the configuration of point 502 in M_ME_NC 9 2 5 Data Communication Group Communication The Group parameter in the module configuration file controls how each monitored point is transferred between the PTQ 104S and the client unit The Group parameter is described in detail in Group Definition page 98 Page 154 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual The following example configures this point to be repeated either during cyclic polls or when the module General Interrogation request for group 1 occurs Edit Row 1 DB Address 1600 Groups 80000002 IV DB Bit 0
32. DVD into the DVD drive of your PC Wait for the startup screen to appear 2 Onthe startup screen click PRODUCT DOCUMENTATION This action opens a Windows Explorer file tree window 3 Click to open the UTILITIES folder This folder contains all of the applications and files you will need to set up and configure your module ProSoft Technology Inc Page 13 of 201 March 4 2013 Start Here A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum 1 3 4 Double click the SETUP CONFIGURATION TOOL folder double click the PCB EXE file and follow the instructions on your screen to install the software on your PC The information represented by the character in the file name is the PCB version number and therefore subject to change as new versions of PCB are released Note Many of the configuration and maintenance procedures use files and other utilities on the DVD You may wish to copy the files from the Utilities folder on the DVD to a convenient location on your hard drive Setting Up the ProTalk Module After you complete the following procedures the ProTalk module will actively be transferring data bi directionally with the processor 1 3 1 Install the ProTalk Module in the Quantum Rack Verify Jumper Settings ProTalk modules are configured for RS 232 serial communications by default To use RS 422 or RS 485 you must change the jumpers The jumpers are located on the back of the modu
33. Deadband 100 104S Client Module M ME NA Point 400 Current Deadband 60 X Cmd 110 for Point 2400 sets deadband to 60 M ME NB Monitored Measured Normalized Point Associated Parameter Point 500 2500 501 2501 502 2502 503 2503 509 2509 In order to send a change of deadband for M_ME_NB Point 500 the Client would send a command type 110 to point 2500 ProSoft Technology Inc March 4 2013 Page 165 of 201 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum M ME NC Monitored Measured Normalized Point Associated Parameter Point 600 2600 601 2601 602 2602 603 2603 609 2609 In order to send a change of deadband for M ME NC Point 600 the Client would send a command type 110 to point 2600 Controlling the Generation of Events Some applications may require that only some points should generate events The application will receive current values from points which have not been configured to generate events only by issuing a poll request or what the protocol specification calls an interrogation Other applications may require that all configured points generate events The PTQ 104S module offers much flexibility for event control You may control whether or not events will be generated at three 3 different levels 1 Atthe General Application Level all configured points of all types
34. Expand the Supply folder and then select your power supply from the list Click OK to continue New Device IE Address 1 1 L Cancel Part Number Hep Counting Discrete Expert Motion Supply 140 CPS 111 00 AC Standalone PS 115 230V 3A 140 CPS 114 20 AC Summable PS 120 230V 140 CPS 114 X0 AC Standalone PS 115 230V 8A 140 CPS 124 00 AC Redundant PS 115 230V 8A 140 CPS 124 20 AC Redundant PS 120 230V 140 CPS 211 00 DC Standalone PS 24V 3A 140 CPS 214 00 DC Summable PS 24V 10A 140 CPS 224 00 DC Redundant PS 24V 8A 140 CPS 414 00 DC Summable PS 48V 8A 140 CPS 424 00 DC Redundant PS 48V 8A 140 CPS 511 00 DC Standalone PS 125V 3A 140 CPS 524 00 DC Redundant PS 125V 8A 5 Repeat these steps to add any additional devices to your Quantum Rack ProSoft Technology Inc Page 23 of 201 March 4 2013 Configuring the Processor with Unity Pro 12TUser Manual 48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum 2 2 1 Add the PTQ Module to the Project Expand the Communication tree and select GEN NOM This module type provides extended communication capabilities for the Quantum system and allows communication between the PLC and the PTQ module without requiring additional programming Tg structural view i Station Unity Pro XL No name gt ausu J T tamala C3 Configuration B BAB eis t um 2 Ld 5 x BQ 1 Local Bus Ej O
35. F 984 ladder logic I7 ASCII message al V State RAM Downloading extended memory files Registers 6x 3360 of 98303 ioe 7 When the download is complete a prompt to restart the controller will display Click YES to restart the controller ProSoft Technology Inc Page 43 of 201 March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Page 44 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with ProWORX 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 4 Configuring the Processor with ProWORX When you use ProWORX 32 software to configure the processor use the example SAF file provided on the ProTalk Solutions DVD Important Note P roWORX software does not report whether the PTQ module is present in the rack and therefore is not able to report the health status of the module when the module is online with the Quantum processor Please consider this when monitoring the status of the PTQ module 1 Run the SCHNEIDER ALLIANCES EXE application that is installed with the ProWORX 32 software Q Authorization Se CodeGen ExecLoader GB ProWORxX 32 Schneider Alliances 2 Click on IMPORT Schneider Alliances DER o T TENE QD f e Sp bier ATA 0 series Module Add LE Delete i Import Export Name Value gt Card ID Card Description Medium Descrip
36. From the shortcut menu choose RENAME 2 Type the name to assign to the object 3 Click away from the object to save the new name To configure module parameters 1 Click on the plus sign next to the amp amp icon to expand module information 2 Double click the B icon to open the Edit dialog box 3 To edit a parameter select the parameter in the left pane and make your changes in the right pane 4 Click OK to save your changes To print a configuration file 1 Select the module icon and then click the right mouse button to open a shortcut menu ProSoft Technology Inc Page 53 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 2 2 Onthe shortcut menu choose VIEW CONFIGURATION This action opens the View Configuration window 3 Onthe View Configuration window open the FILE menu and choose PRINT This action opens the Print dialog box 4 Onthe Print dialog box choose the printer to use from the dropdown list select printing options and then click OK Backplane Configuration This section provides the module with a unique name identifies the method of failure for the communications for the module if the processor is not in run and describes how to initialize the module upon startup Edit Backplane Configuration Module Name PTQ 104S Module Name 0 Failure Flag Count 1 Error Offset 6000 Initialize Output Data Yes
37. IEC 60870 5 104 Ethernet network and the Quantum processor Data transfer between the module and the processor is asynchronous from the actions on the network Databases are defined by the user for the module to hold data as required by the protocol The PTQ 104S module is a powerful communication interface for Quantum processors Developed under license from Schneider Electric the module incorporates proprietary backplane technology that enables powerful data access to the Quantum processor 9 1 2 General Specifications Single Slot Quantum backplane compatible The module is recognized as an Options module and has access to PLC memory for data transfer Configuration data is stored in non volatile memory in the ProTalk module Up to six modules can be placed in a rack Local rack The module must be placed in the same rack as processor Compatible with all common Quantum programming packages including Concept version 2 6 or higher Unity Pro version 2 2 or higher ProWORX version 2 20 or later and ModSoft Quantum data types supported Ox 1x 3x 4x High speed data transfer across backplane provides quick data update times Supports Hot Standby processors or applications Page 128 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 9 1 3 Hardware Specifications Specification Value Backplane Current
38. NC point count M SP M Sequence Report separate SQ 0 M DP N Sequence Report separate SQ 0 BO NA Sequence Report separate SQ 0 ME N Sequence Report separate SQ 0 ME NB Sequence Report separate SQ 0 ME NC Sequence Report separate SQ 0 Quen ce Rep s ICI ES M Ii Qooooooooooooo M M M M L n e n M ME NA Parameter Offset M ME NB Parameter Offset Reset Tag Reset All M_ME_NC Parameter Offset OK Cancel This parameter specifies the Information Object Address IOA Offset to normalized points parameter data The value entered is added to the IOA for the associated point to compute the parameter IOA address The Client may send a Parameter of Measured Normalized or Parameter of Measured Scaled command using the parameter IOA in order to change the threshold deadband values for specific points For example if the PTQ 104S configuration sets two M_ME_NA points with IOA of 600 and 601 and a M_ME_NA Parameter Offset value of 2000 the threshold deadband parameters for those points would be written to IOA addresses 2600 and 2601 ProSoft Technology Inc Page 91 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Note The Low Limit and High Limit threshold values are always calculated based on the threshold deadband value as described in the following table Point Value
39. P2 508 28 00000002 100 509 29 00000002 100 M_ME_NC_1 104 Default IOA DB Address Group s Deadband IV DB Bit START 600 30 00000002 100 601 32 00000002 100 602 34 00000002 100 603 36 00000002 100 604 38 00000002 100 605 40 00000002 100 606 42 00000002 100 607 44 00000002 100 608 46 00000002 100 609 48 00000002 100 And assume the Parameter Offsets are configured as shown E_NA Parameter Offset E_NB Parameter Offset ME NC Parameter Offset Page 164 of 201 2400 fM MI 2500 M_M 2600 4M MI suction pressure discharge pressure suction pressure discharge pressure ation discharge D speed inboard bearing temp outboard bearing temp winding Temp current inboard bearing temp outboard bearing temp winding Temp current E NA IOA offset for parameter data E NB IOA offset for parameter data E NC IOA offset for parameter data ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual It would imply that the parameter points would be configured as follows M ME NA Monitored Measured Normalized Point Associated Parameter Point 400 2400 401 2401 402 2402 403 2403 409 2409 In order to send a change of deadband for M ME NA Point 400 the Client would send a command type 110 to point 2400 l 104S Client Module M_ME_NA Point 400 Current
40. Read procedure Spontaneous transmission Station specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions Spontaneous transmission Page 186 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference A6TIEC 60870 5 104 Server for Quantum 12TUser Manual Double transmission of information objects with cause of transmission spontaneous Station specific parameter mark each information type X where both a Type ID without time and corresponding Type ID with time are issued in response to a single spontaneous change of a monitored object The following type identifications may be transmitted in succession caused by a single status change of an information object The particular Information Object Addresses for which double transmission is enabled are defined in a project specific list O Single point information M SP NA 1 M SP TA 1 M SP TB 1 and M PS NA 1 O Double point information M DP NA 1 MDP TA 1 and M DP TB 1 O Step position information M ST NA 1 M ST TA 1 and M ST TB 1 O Bitstring of 32 bit M BO NA 1 M BO TA 1 and M BO TB 1 O Measured value normalized value M ME NA 1 M ME TA 1 M ME ND 1 and M ME TD 1 O Measured value scaled value M ME NB 1 M ME TB 1 and M ME TE 1 O Measured value short floating point number M ME NC 1 M ME TC 1 and M ME TF 1 Station Int
41. The points that are typically transferred from a Client to a server are also known as Control Points or Command Information Objects The PTQ 104S contains an internal database of 4000 16 bit words You must associate the monitor and control points to database addresses in the PTQ 1048 To configure the points for the PTQ 104S follow these steps 1 Calculate the number of monitor and control points for the application 2 Calculate the PTQ 104S database regions that are required for the application based on the number of monitor and control points Define two separate regions Remember that each data type stores a different quantity of data for example M SP NA uses one bit M ST NA uses one byte and so on 3 Configure each point within its PTQ 104S database region 4 Make sure that the other parts of your application correctly update the module database regions associated with the configured 104S datatypes as shown in the following illustration 4 lt 4 Monitor Points Monitor Points PLC IEC 60870 5 104 r Remote 104S Module PAC Client Memory Controller Control Points Control Points L c e All points must be configured in the correct location in the PTQ 104S database in order to be properly updated by other parts of the application Keep the data types separated by configuring the control points and monitor points in separate areas of the PTQ 104S database ProSoft Technology Inc Page 135 of 2
42. Type C_SC_NA 1 bit Bit C DC NA 2 bits Bit C RC NA 1 byte Byte C BO NA 2 words Double word C SE NA 1 word Word C SE NB 1 word Word C SE NC 2 words Double word C SC NA and C DC NA The single point command and dual point command points use one bit with bit addressing For example if you configure the following points Wil Edit C SC NA 1 Point DB Address Monitor Point Monitor DB Addr Require Select Comment X1 700 3200 100 1500 0 Point Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Copy Row DK Cancel These points would be used as follows Inf Object Address Module Database Address 100 Bit 0 of word 100 101 Bit 1 of word 100 102 Bit 2 of word 100 Page 150 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual The protocol specification defines a qualifier value that is set by the Master to determine the duration of the pulse short long or persistent Configure the parameters below to set the duration of the short and long pulses Edit IEC 870 5 104 Database Short Pulse Time 2000 Short Pulse Time Long Pulse Time 10000 e Override Command Qualifier M SP NA point count M DP NA point count M ST NA point count M ME NA point count E NB point count E NC point count _NA point count C NA point cou
43. a priority of O are present they will always be reported before events from any other ASDUs with higher numbers Example Event Priority Using the event priority values in the example above if the event queue requested by the processor and sent to the module contains the events in the following order Event Order ASDU M_SP_NA M_SP_NA M_DP_NA M_ST_NA M_DP_NA M_SP_NA JAJAJ To Page 172 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference A6TIEC 60870 5 104 Server for Quantum 12TUser Manual The module will respond to a class one data request from the controlling station by returning the data in the event queue in the order shown in the following table Packet Order Content 1 M DP NA events 3 and 5 2 M SP NA events 1 2 and 6 3 M ST NA event 4 The module responds in order of the priority settings in the configuration not the order in which it was requested from the processor Note that the events are packed into messages in order to maximize the efficiency of the network The following warning must be considered when deciding to use this feature Because events from the highest priority queues are always reported when present before lower priority queues events in the lower queues may be lost due to buffer overflow If this feature is not utilized each of ASDU s events is stored in its own queue The module will report ea
44. both directions O Act deact of persistent cyclic or periodic transmission of the addressed object Test procedure Station specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions m Test procedure File transfer Station specific parameter mark X if function is used File transfer in monitor direction Transparent file Transmission of disturbance data of protection equipment Transmission of sequence of events Transmission of sequence of recorded analogue values File transfer in control direction Transparent file OOoOOda00 Background scan Station specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions m Background scan Definition of time outs Parameter Default Value Remarks Selected Value to 60 seconds Time out of connection establishment 60 seconds ty 15 seconds Time out of send or test APDUs ProSoft Technology Inc Page 189 of 201 March 4 2013 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Parameter Default Value Remarks Selected Value to 10 seconds Time out for acknowledges in case of no data messages te lt t1 ts 20 seconds Time out for sending test frames in case of a long idle time Maximum range of values for co
45. case the PTQ module will be placed in slot 3 Below the rack display is the Properties drop down box for slot 3 select PTQ Z ProWORX 32 NewProject Offline Traffic Cop NewProject fF File Edit view Project Controller Server Utilities Window Help 8X B a 6H2agaamoexanmsemBHet o Rnous eeesem t um 4 orf wE u PBEDCO u VOPPPRA SB TEE Quantum Traffic Cop A 3l Direct To Online E Head 00 Local Drop Rack Rack i Bas i Workspace ffl Drop 01 Quantum Series 1L2T3T14T15T15T1z1313T1 1 11 ii 131 41 151 16 NewProject lt Offline gt I Rack 01 HO Configuration cps114 20 T Traffic Cop CPU534 B Communications Pra FAL Logic 0 i Data Editors Configuration Extensions 0 ASCII Messages 0 H PLC Status 0 Analyze Device 0 GA Knowledge Base 4C1030 00 ACIO40 00 ACI050 00 ACI051 00 ACI052 00 ACOD20 00 ACO130 00 Al1330 00 lI330 10 A10330 00 AMMOSO 00 ARIO30 10 471030 00 AUI040 00 AVI030 00 m avanen an Logged in user WA PROGRAM NewProject Quantum 534 MB 1 Offline C ProWORX 32 Projects NewProject pw Projects Projectinfo NewProject Quantum 534 MB 1 Status Reaister 3x Input Points 0000 1024 Dutput Points 0000 1024 8 Save the project It is now ready to be downloaded to the Processor ProSoft Technology Inc Page 47 of 201 March 4 20
46. complete set or subsets as appropriate for given applications This clause summarizes the parameters of the previous clauses to facilitate a suitable selection for a specific application If a system is composed of equipment stemming from different manufacturers it is necessary that all partners agree on the selected parameters Note In addition the full specification of a system may require individual selection of certain parameters for certain parts of the system such as the individual selection of scaling factors for individually addressable measured values The selected parameters should be marked in the white boxes as follows m Function or ASDU is not used Function or ASDU is used as standardized default R Function or ASDU is used in reverse mode B Function or ASDU is used in standard and reverse mode The possible selection blank X R B is specified for each specific clause or parameter A black check box indicates that the option cannot be selected in this companion standard 9 6 1 System or device O System definition O Controlling station definition Master Controlled station definition Slave 9 6 2 Application Layer Transmission mode for application data Mode 1 Least significant octet first as defined in clause 4 10 of IEC 60870 5 4 is used exclusively in this companion standard Common Address of ASDU System specific parameter O One octet Two octets Page 180 of 201 ProSoft Technology Inc March
47. configuration Diagnostic and Troubleshooting Diagnostics and Troubleshooting page 111 This section describes Diagnostic and Troubleshooting procedures Reference Product Specifications Functional Specifications Reference page 127 Product Specifications page 128 Functional Specifications page 129 These sections contain general references associated with this product Specifications and the Functional Overview Support Service and Warranty Index Support Service and Warranty page 197 Index This section contains Support Service and Warranty information Index of chapters ProSoft Technology Inc March 4 2013 Page 9 of 201 Start Here A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Page 10 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Start Here 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 1 Start Here In This Chapter Hardware and Software Requirements sese 12 Install ProSoft Configuration Builder Software 13 Setting Up the ProTalk Module eeenmmmm 14 Note The PTQ 104S Rev1 manual is intended for v1 25 000 and older firmware For v2 07 000 and newer firmware please use the PTQ 104S Rev2 manual Verifying the firmware of the PTQ 104
48. count M SP N Sequence M DP N Sequence M BO NA Sequence M ME N Sequence M ME NB Sequence M ME NC Sequence j eid M ME N Parameter Offset M ME NB Parameter Offset M ME NC Parameter Offset ProSoft Technology Inc March 4 2013 2000 10000 Short Pulse No M_ME_N amp Parameter Offset Comment Definition M_ME_N amp IOA offset for parameter data 0 3999 cOoOoOoocooooooooooo Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 S Reset Tag Reset All OK Cancel Page 163 of 201 Reference 12TUser Manual 48TPTQ 104S Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Example Assume the following Monitored Measured points are configured as shown M ME NA 1 104 Default IOA DB Address Group s Deadband IV DB Bit START 400 10 00000002 100 Pl 401 11 00000002 100 P1 402 12 00000002 100 P2 403 13 00000002 100 P2 404 14 00000002 100 St pressure 405 15 00000002 100 VS 406 16 00000002 100 407 17 00000002 100 408 18 00000002 100 409 19 00000002 100 M_ME_NB_1 104 Default IOA DB Address Group s Deadband IV DB Bit START 500 20 00000002 100 P1 501 21 00000002 100 P1 502 22 00000002 100 P1 503 23 00000002 100 P1 504 24 00000002 100 P2 505 25 00000002 100 P2 506 26 00000002 100 P2 507 27 00000002 100
49. defines how often the program will scan for new events in the databases Page 80 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Module Configuration 12TUser Manual 5 6 22 Set Priority Queues YES or No This section defines priority queues for the module You can assign priorities to data types that can return events so that events of M IT NA data types will be returned before other data types This may cause events to be lost as the event buffers for low priority queues may overflow If this feature is utilized each data type must be assigned a unique index from 0 to 7 The lower the index the higher the priority O highest priority Edit IEC B70 5 104 Use IP List T xn M SP MA Priority M DP N Priority M ST NA Priority M BO NA Priority M ME N Priority M ME NB Priority M ME NC Priority M IT M Priority yclic Set Iv Time Comment Free Definition Use IP list to validate PO nPmGO dU LO IV Check Delay Time IV Fail Count M SP M Scan Events M SP N Time Type M SP M Use Recent M DP M Scan Events M DP N Time Type M DP M Use Recent M ST M Scan Events M ST N Time Type M ST M Use Recent M BO NA Scan Events M BO N Time Type M BO NA Use Recent M ME M Scan Events M ME N Time Type M ME M Use Recent M ME NB Scan Events M ME NB Time Type 10 scan for events CP56
50. eed eee 94 5 16 M MENG lt 1 104 2 in teg die EE ehe tr Pep erede dne eee 94 5 17 MITANA I 3104 22 2 zn eet Maui ee Te ede perpeti nece dene eee 95 5 18 CASC NA N TOA e in tege ip eh ee eed dee eee 95 5 19 C DC NA A TOA i inina aa He fede a anain aada 96 5 20 C RCNA A 1004 iian aep aa eh fei eee es ee 96 5 21 C BO NA 1 104 cete tert aa a teeta a iA dpa eiu 96 5 22 C SE NA 1 TOA te tenete redeem t ile tes 97 5 23 C SE NB 1104 al ated cl tte eene it atre dilecte ees teta 97 5 24 C SE NC 1 104 eine ia tob treten t ete te hb eed ta 98 5 25 Group GOd6S 4 6 dt meet retentu et ea te aden thee e ret 98 5 26 CommonNet Data Map nite tme tete india ede ten 99 5 26 1 From Address rice eret teresa pego dant revera lates eei Ade oe eite qnan 100 5 26 2 BEATO o E inerte ei deti er te dd tare eee 100 5 26 3 Register COUN aes hintere tenait fee AT ee C Praet et ad 101 5 26 4 Swap Code E 101 5 26 5 Delay Preset cit a a E E AE aii ee eed 101 5 27 To Create Optional Comment Entries 102 5 28 To Print a Configuration File ssssssseeeseeeeneeeennneen nnns 102 6 Downloading the Project to the Module 105 6 1 Downloading via Serial Connection ssssssssssee eee 105 7 Hot Standby Support 109 8 Diagnostics and Troubleshooting 111 8 1 The Configuration Debug Menu ssssseseseeeneeenenen nennen trenes 112 8 1 1 Required Hardware uie peau Ss 112 8 1 2 Using the Diagnostic Window in
51. fieldbus devices interfaced to the module if any akhoOND Note For technical support calls within the United States an emergency after hours answering system allows 24 hour 7 days a week pager access to one of our qualified Technical and or Application Support Engineers Detailed contact information for all our worldwide locations is available on the following page ProSoft Technology Inc Page 197 of 201 March 4 2013 Support Service amp Warranty 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Internet Web Site www prosoft technology com support E mail address support prosoft technology com Asia Pacific Tel 603 7724 2080 E mail asiaoc prosoft technology com location in Malaysia Languages spoken include Chinese English Asia Pacific Tel 86 21 5187 7337 x888 E mail asiapc prosoft technology com location in China Languages spoken include Chinese English Europe Tel 33 0 5 34 36 87 20 location in Toulouse E mail support EMEA prosoft technology com France Languages spoken include French English Europe Tel 971 4 214 6911 location in Dubai UAE E mail mea prosoft technology com Languages spoken include English Hindi North America Tel 1 661 716 5100 location in California E mail support prosoft technology com Languages spoken include English Spanish Latin America Tel 1 281 2989109 Oficina Regional E Mail latinam prosoft t
52. gateway 192 168 0 1 some networks class 2 require all three parameters gatevay netuork subnetmask gateway 192 168 6 1 192 168 0 255 255 255 6 The name of my network domains list mynetwork name Returning to the Main Menu Press M to return to the Main Menu ProSoft Technology Inc Page 125 of 201 March 4 2013 Diagnostics and Troubleshooting 12TUser Manual A8TPTQ 1045 Rev 1 47TQuantum Platform A6TIEC 60870 5 104 Server for Quantum 8 2 LED Indicators The LEDs indicate the module s operating status as follows LED Color Status Indication PRT1 Green On Data is being transferred between the module and a remote terminal using the Configuration Debug port Off No data is being transferred on the Configuration Debug port PRT2 Green On Port not used in application Off Port not used in application PRT3 Green On Port not used in application Off Port not used in application ERR1 Red Off The PTQ 104S is working normally On The PTQ 104S module program has recognized an application error ERR2 N A Not used in application ERR3 Red On Configuration Error Active Green On The LED is on when the module recognizes a processor and is able to communicate if the Backplane Data Movement section specifies data transfer commands Off The LED is off when the module is unable to speak with the processor The processor either absent or not running BAT Red Off The battery v
53. group Periodic data group reports data points on a set frequency The frequency is set in the Cyclic Data Transmission parameter in the configuration file Remember that a point can be assigned to more than one group Group Code Description 0x00000001 Interrogated by general interrogation station or global 0x00000002 Interrogated by group 1 interrogation 0x00000004 Interrogated by group 2 interrogation 0x00000008 Interrogated by group 3 interrogation See Note 1 below 0x00000010 Interrogated by group 4 interrogation 0x00000020 Interrogated by group 5 interrogation 0x00000040 Interrogated by group 6 interrogation 0x00000080 Interrogated by group 7 interrogation 0x00000100 Interrogated by group 8 interrogation 0x00000200 Interrogated by group 9 interrogation 0x00000400 Interrogated by group 10 interrogation 0x00000800 Interrogated by group 11 interrogation 0x00001000 Interrogated by group 12 interrogation 0x00002000 Interrogated by group 13 interrogation 0x00004000 Interrogated by group 14 interrogation 0x00008000 Interrogated by group 15 interrogation 0x00010000 Interrogated by group 16 interrogation 0x00020000 Interrogated by general counter request 0x00040000 Interrogated by group 1 counter request 0x00080000 Interrogated by group 2 counter request 0x00100000 Interrogated by group 3 counter request 0x00200000 Interrogated by group 4 counter request 0x40000000 Disable event sca
54. gt Regulating step command with time tag C_RC_TA_1 CP56Time2a K lt 61 gt Set point command normalized value C SE TA 1 with time tag CP56Time2a d lt 62 gt Set point command scaled value with C SE TB 1 time tag CP56Time2a Kl lt 63 gt Set point command short float value C SE TOC 1 with time tag CP56Time2a O lt 64 gt Bitstring of 32 bit with time tag C BO TA 1 CP56Time2a Either the ASDUs of the set lt 45 gt lt 51 gt or of the set lt 58 gt lt 64 gt are used System information in monitor direction Station specific parameter mark X if used Type ID Description Type lt 0 gt End of initialization M EI NA 1 System information in control direction Station specific parameter mark each Type ID X if it is only used in the standard direction R if only used in the reverse direction and B if used in both directions Type ID Description Type E lt 100 gt Interrogation command C IC NA 1 E lt 101 gt Counter interrogation command C CI NA 1 K lt 102 gt Read command C RD NA 1 DE lt 103 gt Clock synchronization command C CS NA 1 K lt 104 gt Test command C_TS_NB 1 K lt 105 gt Reset process command C_RP_NC_1 K lt 106 gt Delay acquisition command C_DVD_NA_1 ProSoft Technology Inc March 4 2013 Page 183 of 201 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum
55. no l format data is ready to send It is recommended to set this value to 2 3 the value of k 5 6 10 Time DB Offset 1 or 0 to 3994 This parameter sets the location in the database where the module s current date and time will be copied to Note The following tables lists the 12 byte data area placed in the database if the Time DB Offset parameter is set to a value other than 1 Byte Length Range Description 0 to 1 2 0 to 59 999 Seconds and milliseconds 2 1 0 to 59 Minutes 3 1 0 to 23 Hour 4 1 Reserved 5 1 1 to 31 Day of the Month 6 1 1 to 12 Month 7108 2 0 to 65 535 Year four digit format for example 2005 9 1 Reserved 10 1 0 or 1 Invalid Flag 0 Valid 1 Invalid 11 1 Reserved Page 78 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 6 11 Error Offset 0 to 3980 1 to disable This parameter sets the location in the module s internal database when the status and error information for the server will be stored Enter a valid database address of 0 to 3980 to store the information or enter 1 to disable 5 6 12 Command Delay Timer 1000 to 60000 milliseconds This value is used for time tag validity verification for the ASDUS listed below The received commands will only be accepted if timestamp Command Delay Timer is greater than the module s own time 58 Single c
56. of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 8 3 Default Command Qualifier SHORT PULSE 1 LoNG PULSE 2 or PERSISTENT OUTPUT 3 The protocol specification defines values for a Qualifier Flag which is part of every command message and associates those values to specific command control points The value zero 0 is specified as Undefined The Default Command Qualifier parameter sets the default output type to use for incoming Command Point executions when the Qualifier Flag value is Undefined 5 8 4 Override Command Qualifier No SHORT PULSE LONG PULSE or PERSISTENT OUTPUT This parameter allows you to set a specific output type for all incoming command messages regardless of the Qualifier Flag value contained in the message Set this parameter to No to use the output type specified by the Qualifier Flag received in the command message If this parameter is set to any of the other options the value received in the Qualifier Flag is ignored and the selected output type will be used for all command executions 5 8 5 Point Count Point Count configuration ranges in the following configuration items are based on the assumption that you will be using only one of the available data types for your application The number of point counts you configure will have an effect on module performance in particular the ac
57. of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual TESTFR Requests Connections that are unused but opened may be periodically tested in both directions by sending test messages TESTFR act which are confirmed by the receiving station sending TESTFR con messages The PTQ 104S module can be configured to periodically send this message using the following parameter Edit IEC 870 5 104 Use IP List t3 timeout set value Override StartDT Clear queue on close ti timeout set value meo a e t3 timeout set value Seances maximum queue w latest ack threshold Time DB Offset CO REM Command Delay Timer Definition Error Offset Timeout for test frame on idle Common Address of ASDU state 1 255 Cyclic data transmission Select Operate Timeout Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Interval For Freeze Set Priority Queues M SP NA Priority M DP NA Priority M ST NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Reset Tag Reset All v OK Cancel ENNER O NI UJ 4 Ul In the example above the module would send a TESTFR ACT message 30 seconds after receiving the last message Client Server Msg 1 a lt TestFR act lt TestFR con ProSoft Technology In
58. scan for events M ME NB Time Type gt CP56 M ME NB Use Recent report multiple M ME NC Scan Events scan for events M ME NC Time Type CP56 M ME NC Use Recent report multiple M IT NA Time Type CP56 If this parameter is set to 0 REPORT MULTIPLE the default events for each configured IEC monitor type data point will be stored in a buffer Each monitor point data type has its own unique buffer that can hold to 99 events When the events are reported to the remote Client the buffer will be cleared and will begin to accumulate new events as they happen storing them until the next time they can be reported If the number of events that occur between reports exceed 99 for any given data type then the oldest event entry in the queue will be deleted to make room for the most recent event The advantage to this setting is that with proper configuration all events will be captured and reported to the Client The disadvantage is that the event buffers can contain high volumes of data that will have to be transferred to the Client If this parameter is set to 1 REPORT SINGLE only the most recent event for each IEC database monitor point will be held in the buffer and reported to the Client This means that any events other than the most recent one for each point will not be available The advantage to this setting is that it limits the volume of event data that may need to be transmitted to the Client to the total number
59. see the previous 100 registers of data start 500 registers before the currently displayed page Moving Forward Through 5 Pages of Hegisters Press from the Database View menu to skip five pages ahead in the database to see the next 100 registers of data Viewing the Previous 100 Registers of Data Press P from the Database View menu to display the previous 100 registers of data Viewing the Next 100 Registers of Data Press N from the Database View menu to select and display the next 100 registers of data Viewing Data in Decimal Format Press D to display the data on the current page in decimal format Viewing Data in Hexadecimal Format Press H to display the data on the current page in hexadecimal format Viewing Data in Floating Point Format Press F from the Database View menu Use this command to display the data on the current page in floating point format The program assumes that the values are aligned on even register boundaries If floating point values are not aligned as such they are not displayed properly Viewing Data in ASCII Text Format Press A to display the data on the current page in ASCII format This is useful for regions of the database that contain ASCII data Returning to the Main Menu Press M to return to the Main Menu Page 124 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Diagnostics and Troubleshooting 46TIEC 60870 5 104 Server for Quantum 1
60. send the object point address and value for only the first point of a sequence of points send only the data value without point address for any remaining points in the sequence and the Sequence Flag SQ will be set to one 1 When SQ 1 the Client assumes that all points after the first point use information object addresses in a contiguous order using the first point as the reference starting address Note Refer to the Client device specification to verify if this feature is supported before you consider using it Cable Connections The PTQ 104S module has the following communication connections on the module One Ethernet port RJ45 connector One RS 232 Configuration Debug port DB9 connector Page 174 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference A6TIEC 60870 5 104 Server for Quantum 12TUser Manual 9 3 1 Ethernet Connection The PTQ 104S module has an RJ45 port located on the front of the module labeled Ethernet for use with the TCP IP network The module is connected to the Ethernet network using an Ethernet cable between the module s Ethernet port and an Ethernet switch or hub Note Depending on hardware configuration you may see more than one RJ 45 port on the module The Ethernet port is labeled Ethernet Warning The PTQ 104S module is NOT compatible with Power Over Ethernet IEEE802 3af IEEE802 3at networks Do NOT connect the module to Ethernet devi
61. will scan the PC for a valid com port this may take a few seconds When PCB has found a valid com port the DOWNLOAD dialog box will open Download files from PC to module X SS STEP 1 Select Communication Path Select Connection Type X se s Ethernet 192 168 0 100 CIPconnect IP Path E STEP 2 Transfer File s 1 Ok Cancel Page 106 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Downloading the P roject to the Module 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 4 Choose the com port to use from the dropdown list and then click the DOWNLOAD button The module will perform a platform check to read and load its new settings When the platform check is complete the status bar in the DOWNLOAD dialog box will display the message Module Running r gt Download files from PC to module T Module Running E STEP 1 Select Communication Path Select Connection Type X Ethernet CIPconnect STEP 2 Transfer File s E E Taare OK ProSoft Technology Inc Page 107 of 201 March 4 2013 Downloading the Project to the Module 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Page 108 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Hot Standby Support 46TIEC 60870 5 104 Server for Quantum 12TUser Manual
62. 0 5 104 This section provides information required to configure a server application with the module An item of concern is the maximum size of the total database Although it is possible to configure a database of considerable size the maximum Class 0 request may not exceed 2048 bytes in size Edit IEC 870 5 104 Use IP List Use IP List Override StartDT Clear queue on close as t1 timeout set value t2 timeout set value t3 timeout set value k maximum queue w latest ack threshold Time DB Offset Command Delay Timer Error Offset Use IP list to validate Common Address of ASDU connection Yes No Cyclic data transmission Select Operate Timeout Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Not Used Interval For Freeze 30 Set Priority Queues Yes M SP NA Priority M DP NA Priority M ST NA Priority Comment Definition M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Reset Tag Reset All OK Cancel F O iP Q I ON UO PU O Page 76 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 6 1 Use IP List No 0 or YEs 1 This parameter specifies if the IP address of the host connected to the system will be validated If the parameter is set to No 0
63. 0 and 41 Double word address 20 501 Words 64 and 65 Double word address 32 502 Word 104 and 105 Double word address 52 ProSoft Technology Inc March 4 2013 Page 147 of 201 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum 9 2 4 Using Control Command Points The following control points are supported by the PTQ 104S module C DC NA Dual Point Command C RC NA Step Point Command C SE NA Measured Normalized Point Command C SE NB Measured Scaled Point Command C SE NC Measured Short Floating Point Command Each control point is identified by its Information Object Address For each control point configure the following parameters Point This is the information object address of the point It identifies the point in the network This address must be unique for each Common ASDU Address in the network DB Address This is the database location in the PTQ 104S module associated with the Control Point Monitor DB Address The user might optionally configure a monitor point to be sent by the PTQ 104S module when it receives the command for that specific point Example C SC NA E Edit C_SC_NA_1 104 Point DB Address Monitor Point Monitor DB Addr Require Select Comment X1 700 3200 100 1600 0 DB Address Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cance
64. 00000000 E 00 0 1 000000000000 Page 1460f 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual Bit 5 4 DB R lH 109 8 7 65 4 3 2 1 90 d 0 1 1 0 000000000000 3210h iene Ot e OO tO 0 9 0 X X 9 0 5 Examples A value of 4000hex only Bit 14 set all others clear is interpreted as 0 5 decimal A value of 2000hex only Bit 13 set all others clear is interpreted as 0 25 decimal A value of 1000hex only Bit 12 set all others clear is interpreted as 0 125 decimal and so on until A value of 0001hex Only Bit O set all others clear is interpreted as 0 000030517578125 Therefore the actual data values transmitted may be any combination of the decimal values for any given bit pattern M ME NC and M IT NA The monitored measured short floating point and monitored integrated total points occupy two words with double word addressing For example if you configured the following points Wil Edit M ME NC 1 104 Point DB Address Groups Default Deadband IV DB Bit Comment X 1 500 80000000 Q0 0 42 501 3 502 00000200 0 00000400 0 Comment Value Status OK 0 0 Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel The following table describes how these points would be stored in the module 500 Words 4
65. 000008 Interrogated by group 3 interrogation 0x00000010 Interrogated by group 4 interrogation 0x00000020 Interrogated by group 5 interrogation 0x00000040 Interrogated by group 6 interrogation 0x00000080 Interrogated by group 7 interrogation 0x00000100 Interrogated by group 8 interrogation 0x00000200 Interrogated by group 9 interrogation 0x00000400 Interrogated by group 10 interrogation 0x00000800 Interrogated by group 11 interrogation 0x00001000 Interrogated by group 12 interrogation 0x00002000 Interrogated by group 13 interrogation 0x00004000 Interrogated by group 14 interrogation 0x00008000 Interrogated by group 15 interrogation 0x00010000 Interrogated by group 16 interrogation 0x00020000 Interrogated by general counter request 0x00040000 Interrogated by group 1 counter request 0x00080000 Interrogated by group 2 counter request 0x00100000 Interrogated by group 3 counter request 0x00200000 Interrogated by group 4 counter request 0x40000000 Disable event scanning of this point 0x80000000 Periodic cyclic data returned from unit The module will periodically send all points configured for periodic cyclic poll 0x80000000 at every x milliseconds where x is configured with the following parameter Edit IEC 870 5 104 Use IP List Override StartDT Clear queue on close t1 timeout set value t2 timeout set value t3 timeout set value k maximum queue w latest ack threshold Time DB Offset Command Delay Timer Err
66. 01 March 4 2013 Reference 12TUser Manual A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum The following illustration shows an example configuration IEC 60870 5 104 104S Module Memory 0 Monitor Points DB 199 Monitor Points 400 Module Memory Not Used 3999 Monitor Points Client 200 l PLC Control Points Control Control Points or e DB PAC Controller 3999 In this example all monitor points are located between database addresses 0 and 199 and all control points are located between address 200 and 399 9 2 3 Using Monitor Points The following monitor points are supported by the PTQ 104S module M SP NA Monitored Single Points 1 bit Bit M DP NA Monitored Dual Points 2 bits Bit M ST NA Monitored Step Points 1 byte Byte M ME NA Monitored Measured Normalized Points 1 word Word M ME NB Monitored Measured Scaled Points 1 word Word M ME NC Monitored Measured Short Floating Points 2 words Double Word M IT NA Monitored Counter Points 2 words Double Word Each monitor point is identified by its Information Object Address it should be Page 136 of 201 unique for each Common ASDU Addaress in the network For each monitor point configure the following parameters Point The information object address of the point It identifies the point in the network DB Address The database location in the PTQ 104S mod
67. 13 Configuring the Processor with ProWORX 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Page 48 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Module Configuration 12TUser Manual 5 Module Configuration In This Chapter Using ProSoft Configuration Builder eee 50 Backplane Configuration eene 54 Backplane Data Exchange sseee 55 Modify the Backplane Data Exchange Section 63 ISNTP GLIENT S aite rU rU ORDRE 74 EGC 870 5 104 neant n ere e eer 76 IEC 60870 5 104 Server section ssssseeee 87 IEC 870 5 104 Database esee 88 IEC 870 5 104 IP Addresses 92 M SP NA 1 104 icio crece eee Dee eer cR decis 92 M DP NA 1 104 iiti eet eR eres 93 MESTNA 1 104 iiiter tete tette prec te cepe s 93 M BONA 1104 etate tate caeteri e ce once cn ras 93 M MENAz 1 104 in erp e Ut EC 94 M ME NB 17104 iino deett 94 MME ING F 104 a eet ee Tees Lr ted im eec dis 94 IM TENA 517104 aei ier tete ceo et ree teen ne t e ien tg 95 G SGC NA 1 104 5i iere ote e rte 95 CDC NA 1 104 ro rne e eee mete Tea 96 G RGNA 1 104 niihi eee dhe ied 96 C BO NAA TOA ei EE iet ete t Re od tree c eet dis 96 CSE NA 71104 itti eee e
68. 2TUser Manual 8 1 7 Network Menu The network menu allows you to send receive and view the WATTCP CFG file that contains the IP and module addresses and other network information M Main Menu Network Menu Transferring WATTCP CFG to the Module Press R to transfer a new WATTCP CFG file from the PC to the module Use this command to change the network configuration for the module for example the module s IP address Press Y to confirm the file transfer and then follow the instructions on the terminal screen to complete the file transfer process Transferring WATTCP CFG to the PC Press S to transfer the WATTCP CFG file from the module to your PC Press Y to confirm the file transfer and then follow the instructions on the terminal screen to complete the file transfer process After the file has been successfully transferred you can open and edit the file to change the module s network configuration Viewing the WATTCP CFG file on the module Press V to view the module s WATTCP CFG file Use this command to confirm the module s current network settings WATTCP CFG FILE ProLinx Communication Gateways Inc Default private class 3 address ny ip 192 168 8 75 Default class 3 network mask netmask 255 255 255 0 name server 1 up to 9 may be included nameseruer xxx xxx Xxx XXx name server 2 nameseruer xxx Xxx XXX XXX The gateway I wish to use
69. 3 4 Setting the Time of Day 1 Inthe list of options on the left side of the PLC Configuration dialog box double click SPECIALS amp Concept CA CONCEPT TESTPR J untitled File Configure Project Online Options Window Help D spate m 5j e 9 Blas So 8 se e egea Sul iLe Configuration El xi a FPLC B Summary Type 140 CPU 53414 Available Logic Area 65535 B PLC Selection IEC Enabled IEC Heap Si 300 E PLC Memory Partition 2 Vocis B les PLC Memory Partition I Loadables Coils 000001 001536 Number installed 0 Discrete Inputs 100001 100512 Input Registers 300001 300512 Holding Registe400001 401872 onfig Extensions IB 1 0 Map El Segment Scheduler B Modbus Port Settings Specials 4 SegmentScheduer Battery Coil ss Segments E Timer Register Time of Day 400007 Config Extensions ASCII Data Protection Number of Messages 0 Peer Cop Message Area Size Hot Standby Mieen nr E Dishes n of La Da Open Dialog PLC Configuration Overview double click in window to edit sections NOT CONNECTED 2 This action opens the SPECIALS dialog box Maimun I Battery Coil Ox 1536 Timer Register 4x 1872 Time Of Day 4x 400007 1865 JT Allow Duplicate Coils LL984 only First Coil Address Ox Watchdog Timeout ms 10 fao Online Editing Timeslice ms zo OK Cancel Help ProSof
70. 3 Using Monitor Poirits esas rrr tr ele Rh S detente D ERE 136 9 2 4 Using Control Command Points essen 148 9 2 5 Data Comrm nicatioti s 2 a petet trot conse Erde EDU tr RD d REED X RAE ERE 154 9 2 6 E A E A EAN ie Gp Dita in dabit mat ict ercrereer cece rr 161 9 2 7 Sequence FAG size ipit eiim eo E ER IET naaa ESTE Eaa ecc uo A EaI Tela 173 9 3 Cable COnDFectilors Leech rte a IRR E PER ERE rte reu ee pe eet 174 9 3 1 Ethernet COnBecltion uei tpe tet Er et Pe ERRORES REFER E RERRE XE ERRERR 40544 175 9 3 2 RS 232 Configuration Debug Port 175 9 4 ErrOr Status able e PEE 176 9 5 Group GOGOS nre ei tme rese eid aa Stones ar a AE E eed 179 9 6 IEC 60870 5 104 Server Interoperability Statement sess 180 9 6 1 System or device ie ee cd aee aeree e ec eben Ed d v ines 180 9 6 2 Application LaygE uiiui cuerpo cete nece pee deed 180 9 6 3 Selection of standard ASDUS ssssssssssssssseeeereneeee eene nennen 181 9 6 4 Type identifier and cause of transmission assignments ssssss 184 9 6 5 Basic Application FUNCIONS soderedinsiniiarara in i i nene enne 186 9 7 PTQ 104S Database Design Forms sse 191 9 7 1 M SP NA 1 M DP NA 1 M ST NA 1 and M IT NA 1 Form 191 9 7 2 M ME NA 1 and M ME NB 41 Form sese 192 9 7 3 Form for All C Command Data Types Except C RC NA 1
71. 38 onitor Direction and Control Direction Point Definition 134 onitor Points Addressing 144 oving Back Through 5 Pages of Registers 124 oving Forward Through 5 Pages of Registers 124 N avigation 114 Network Menu 125 NTP Server IP Address 75 O Opening the Database Menu 115 120 Opening the IEC 870 5 104 Menu Z 116 Opening the IEC 870 5 104 Server Menu 121 Override Command Qualifier 89 P Package Contents 12 Parameter activation 189 Parameter in control direction 184 Parameter loading 189 Parameter Offset 91 PC and PC Software 13 Pinouts 3 174 Point Count 89 Point Level 167 Point Setup 119 Port number 190 Process information in control direction 183 Process information in monitor direction 181 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Index 12TUser Manual Product S pecifications 9 128 PTQ 1045 Database Design Forms 191 PTQ 1045 Protocol Implementation 56 131 Q Quantum Hardware 12 R Read Module s Time to Processor 9970 72 Read procedure 186 Read Status 9250 69 176 Receiving the Configuration File 121 Redisplaying the Menu 115 Reference 9 127 Register Count 101 Required Hardware 112 Resetting diagnostic data 116 Returning to the Main Menu 124 125 RFC 2200 suite 190 RS 232 Configuration Debug P ort 175 S
72. 4 Server for Quantum 5 3 3 Defining Data to be Retrieved from the PTQ Database Your application may need to retrieve 105 words of data from other devices on the network These devices have either sent you the data if you are a server or you have obtained it for your use if you happen to be a master in your application Assuming that the data resides in registers 207 to 312 within the PTQ modules memory and you wish to place this information in addresses 400208 to 400313 within the Quantum you could use Command Function 2 to transfer the information Because the total amount of data does not exceed 130 words in length a single command can be used to transfer the data This additional entry will be added to our Backplane Data Exchange section and it would look like the third command below Wil Edit Backplane Data Exchange Command Type PTO Address Point Type QUANTUM Address Word Count Comment Quantum to ProTalk 0 43x 1 100 Quantum to ProTalk 100 104 107 OCR 207 208 105 Command Type Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel The third command states Field Value Meaning Command Type 2 The type of operation to perform 2 Write data from the PTQ to the Quantum PTQ Address 207 The destination address within the PTQ Point Type 4 The range of registers to read from the Quantum 4 4x st
73. 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 11 M DP NA 1 104 This section defines the monitored dual point database This information is sourced from the database and is transferred to the remote Client unit Each point in the database can have one of four possible states 00 intermediate 01 Point Off 10 Point On and 11 intermediate This section takes the following parameters Point DB Address Group s V DB Bit Each point is two bits and the DB address value corresponds to the bit offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual 5 12 M_ST_NA_1 104 This section defines the monitored step database This information is sourced from the database and is transferred to the remote Client unit This section takes the following parameters Point DB Address Group s V DB Bit Each point is one 8 bit byte and the DB Address value corresponds to the byte offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual 5 13 M_BO_NA_1 104 This section defines the 32 bit Bitstring database for the server device emulated This information is sourced from the database and is transferred to the remote client unit This section takes the following parameters Point DB Address Group page 98 V DB Bit Each point is four
74. 46TIEC 60870 5 104 Server for Quantum 12TUser Manual The first command states Field Value Meaning Command Type 1 The type of operation to perform 1 Read data from the Quantum into the PTQ PTQ Address 0 The destination address within the PTQ Point Type 4 The range of registers to read from the Quantum 4 4 x style register Quantum Address 1 The starting address of the data within the Quantum This would be Point Type offset Example 40000 1 40001 Word Count 100 The number of registers to transfer The second command states Field Value Meaning Command Type 1 The type of operation to perform 1 Read data from the Quantum into the PTQ PTQ Address 100 The destination address within the PTQ Point Type 4 The range of registers to read from the Quantum 4 4 x style register Quantum Address 104 The starting address of the data within the Quantum This would be Point Type Quantum Address Example 40000 104 40104 Word Count 107 The number of registers to transfer The following diagram shows the result of this example Quantum Memory Address PTQ Memory Address 40001 0 40010 First Command 9 40020 19 40030 29 40040 39 40060 e 59 40070 69 40080 79 40090 89 40100 99 40104 100 40111 Second Command 110 40200 199 40207 206 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 10
75. 70 5 104 Server for Quantum The following table describes how these points would be stored in the module 300 Low Byte of word 20 Byte address 40 301 Low Byte of word 30 Byte address 60 302 High Byte of word 40 Byte address 81 M ME NA and M ME NB A Monitored Measured Normalized point or Monitored Measured Scaled point occupies one word and uses word addressing For example if you configured the following points Wil Edit M ME NA 1 104 Point DB Address Groups Default Deadband IV DB Bit Comment 1 E io 80000000 0 D 42 401 12 00000200 0 4X3 402 18 00000400 0 0 lt Point Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel The following table describes how these points would be stored in the module 400 Word 10 Word address 10 401 Word 12 Word address 12 402 Word 18 Word address 18 Monitored Measured Normalized points use a data representation defined by the protocol specification to represent fractional decimal values The following table describes the value for each bit as a reciprocal power of two 2 that is two 2 raised to the power of a negative exponent 1 through 15 Bit 15 is the Sign Bit Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Value 800 400 200 100 80 40 20 10 Hex h ao om p A d d h AR 4 22052229 Decimal NE UP ED COP IE 4000h ie 01 0 0000000000000 ped 00 1 00000
76. 8 bit bytes two 16 bit words and the DB ADDRESS value corresponds to the double word offset in the module memory database The DB ADDRESS should be located in a database area that is being constantly moved from the Quantum to the Master For additional information on how to set these parameters see the Reference chapter of this manual ProSoft Technology Inc Page 93 of 201 March 4 2013 Module Configuration 12TUser Manual 5 14 5 15 5 16 Page 94 of 201 M ME NA 1 104 This section defines the monitored measured value normalized database This information is sourced from the database and is transferred to the remote Client unit To determine the IOA Information Object Address for each object add the Point IOA in the following section to the value of the M ME NA Parameter Offset as entered in the JEC 870 5 104 Database section This section takes the following parameters Point DB Address Group s Default Deadband IV DB Bit Each point is one 16 bit word and the DB Address value corresponds to the word offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual M ME NB 1 104 This section defines the monitored measured value scaled database This information is sourced from the database and is transferred to the remote Client unit To determine the IOA Information Object Address for each object add the Point IOA
77. 8TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 2 4 1 Connecting to the Processor with TCP IP The next step is to download copy the project file to the processor The following steps demonstrate how to use an Ethernet cable connected from the Processor to your PC through an Ethernet hub or switch Other connection methods may also be available depending on the hardware configuration of your processor and the communication drivers installed in Unity Pro 1 2 If you have not already done so connect your PC and the processor to an Ethernet hub Open the PLC menu and then choose SET ADDRESS Important Notice that the Set Address dialog box is divided into two areas Enter the address and media type in the PLC area of the dialog box not the SIMULATOR area Enter the IP address in the address field In the MEDIA dropdown list choose TCPIP Click the TEST CONNECTION button to verify that your settings are correct Set Address Cancel Communication Parameters Communication Parameters Help 2 5 Download the Project to the Processor 1 Open the PLC menu and then choose CONNECT This action opens a connection between the Unity Pro software and the processor using the address and media type settings you configured in the previous step On the PLC menu choose TRANSFER PROJECT TO PLC This action opens the TRANSFER PROJECT TO PLC dialog box If you would like the PLC to go t
78. ACTTERM with step Freeze Start Type Interval For Freeze Set Priority Queues M_SP_NA Priority M_DP_NA Priority M_ST_NA Priority M_ME_NA Priority M_ME_NB Priority M_ME_NC Priority M_IT_NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay M_SP_NA Scan Events M_SP_NA Time Type M_DP_NA Scan Events M_DP_NA Time Type M_ST_NA Scan Events M_ST_NA Time Type M_ME_NA Scan Events M_ME_NA Time Type M_ME_NB Scan Events M_ME_NB Time Type M_ME_NC Scan Events M_ME_NC Time Type M_IT_NA Time Type ProSoft Technology Inc March 4 2013 P NJ ND ie e O IND 0 4 Ul OY o scan for events CPS6 scan for events CP56 scan for events CP56 scan for events CP56 scan for events CP56 scan for events CPS6 CP56 Select Operate Timeout 20000 Comment Definition Milliseconds before select timeout 0 4294967296 Reset Tag Reset All OK Cancel Page 149 of 201 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Command Points Addressing Command points must be configured in a database area that is updated in the module You must associate each point to a database address in the PTQ 104S module The interpretation of the DB address parameter in the configuration tables depends on the point type configured and the type of addressing associated with that point type Data Type Data Size Addressing
79. C To DEVICE j Untitled ProSoft Configuration Builder File View Tools Help Defau Project gt Name PTQ 104C a Di Location gt im E Module r Delete E File 7 Rename T Port gt Copy Ee Paste Protocol gt zs E Group r Choose Module Type E Field Network gt Configure Hg eerren comman Verify H a Comment A Ethernet Configuration ged ene const E Write to Compact Flash Export Configuration File s Load Config File Add External File zm Download from PC to Device Upload from Device to PC Diagnostics ProSoft Technology Inc Page 105 of 201 March 4 2013 Downloading the Project to the Module 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Or right click the PTQ 104S icon in PCB and select DOWNLOAD FROM PC To DEVICE j Untitled ProSoft Configuration Builder File View Project Tools Help Default Project Name Default Location PTQ 104C Sha PTO t aba Mod Delete afa SNT Rename TT 2 Copy 3 49 IEC a IEC Paste vata IEC Choose Module Type SEC Lo 3 4 IEC 1 onfigure Gg Com Verify S Ethe View Configuration Write to Compact Flash Export Configuration File s Load Config File Add External File E Download from PC to Device Upload from Device to PC Diagnostics 3 The program
80. Caution Some of the commands available to you from this menu are designed for advanced debugging and system testing only and can cause the module to stop communicating with the processor or with other devices resulting in potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff Some of these command keys are not listed on the menu but are active nevertheless Please be careful when pressing keys so that you do not accidentally execute an unwanted command Press Esc to restart the module and force all drivers to be loaded The module will use the configuration stored in the module s Flash memory to configure the module Page 122 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Diagnostics and Troubleshooting 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 8 1 6 Database View Menu Press D from the Main Menu to open the Database View menu Use this menu command to view the current contents of the module database Press to view a list of commands available on this menu D Database Menu Display Menu ay Redisplays refre shes this menu 0 3 Pages 0 to 3000 Selects page 0 1000 2000 or 3000 Show Again p Redisplays last selected page of data Back 5 Pages ey Goes hack five pages of data P Previous Page Goes back on
81. Check failures are counted and held in separate IV Bit Check Failure accumulators for each IEC monitor point configured for validity checking If the value in any point s failure accumulator becomes equal to the value set in this IV FAIL COUNT parameter the module will consider data from this point as invalid and report to the Client this invalid status along with the point s data value Setting this parameter to zero 0 will disable data validity checking ProSoft Technology Inc Page 83 of 201 March 4 2013 Module Configuration 12TUser Manual 48TPTQ 1045 Rev 1 47TQuantum Platform A6TIEC 60870 5 104 Server for Quantum 5 6 26 Scan Events 0 No SCANNING or 1 SCAN FOR EVENTS Separate parameters exist for multiple point types Defines whether events of this point type will be generated by the module If set to zero 0 for NO SCANNING then events will not be generated If set to SCAN FOR EVENTS events will be scanned and generated on data change Page 84 of 201 M SP NA M SP NA M SP NA M DP NA M DP N M DP N M ST NA M ST NA M ST N M BO NA M BO NA M BO NA M ME NA M ME N M ME N gt M ME NB M ME NB M ME NB M ME NC M ME NC M ME NC M IT NA Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events
82. Configuration Debug port on the ProTalk module as shown TUI HI Mi i DN HAM To connect to the module s Configuration Debug serial port 1 Start PCB and then select the module to test Click the right mouse button to open a shortcut menu Default Project Default Location Aa Page 16 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Start Here 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 2 Onthe shortcut menu choose DIAGNOSTICS gg Default Project Default Location Mh EEE Delete Rename Copy Choose Module Type View Configuration Export Configuration File s Load Config File Download from PC to Device Upload from Device to PC This action opens the DIAGNOSTICS dialog box 3 Press to open the Main Menu Li Diagnostics Connection Log Module Xs olx s MODULE MENU Display Menu B Block Transfer Statistics C Module Configuration D Database View R Transfer Configuration from PC to Unit S Transfer Configuration from Unit to PC U Reset diagnostic data V Version Information W Warm Boot Module Network Menu Esc Ex1t Program Time 14 20 46 Path Serial Com 1 Important The illustrations of configuration debug menus in this section are intended as a general guide and may not exactly match the configuration debug menus in your own module ProSoft Technology Inc Pag
83. DELAY TIME The values for the parameters must permit the driver to properly execute the logic For example the value for CYCLIC SET IV TIME should be twice the IV CHECK DELAY TIME multiplied by the IV FAIL COUNT If the cyclic timer is set to a smaller value the logic may not execute correctly ProSoft Technology Inc Page 169 of 201 March 4 2013 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum In order to configure points for this feature the IV DB Bir field for each data type must be set to the database configuration records in the configuration file For example Mii Edit M SP NA 1 Point DB Address Groups IV DB Bit Comment 0 OFFFFFFF 48 P1 PSHH Discharge pressure SD 101 1 00000001 49 P1 PSH High discharge pressure 102 2 00000003 50 P1 PSL Low suction pressure 103 3 oooo0001 51 PT FSL Low flow Point Value Status OK Setto Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row Paste Row OK Cancel Bl Edit M DP NA 1 DB Address Groups IV DB Bit Comment OFFFFFFF 52 Pump 1 Status 00000001 52 MOV101 position switch 00000001 52 MOV102 position switch 00000001 52 MOV103 position switch Point Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row Paste Row OK Cancel Bil Edit M ME NA 1 DB Address Gro
84. ENC Off 2600 i Enabled 10 31 09 Enabled Enabled Enabled Enabled Enabled Enabled Page 119 of 201 Diagnostics and Troubleshooting 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 8 1 5 Main Menu When you first connect to the module from your computer your terminal screen will be blank To activate the main menu press the key on your computer s keyboard If the module is connected properly the following menu will appear IEC 870 5 104 SERVER COMMUNICRTION MODULE PTQ 104S MENU Display Menu B Block Transfer Statistics C Module Configuration D Database View I IEC 870 5 104 Menu N Display SNTP Data P Backplane Command List R Receive Configuration File S Send Configuration File V Version Information W Warm Boot Module Network Menu Esc Exit Program Caution Some of the commands available to you from this menu are designed for advanced debugging and system testing only and can cause the module to stop communicating with the processor or with other devices resulting in potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff Some of these command keys are not listed on the menu but are active nevertheless Please be careful when pressing keys so that you do not accidentally execute an unwanted command Viewing Block Transfer Statistics Press B
85. FF OR THE AREA IS KNOWN TO BE NON HAZARDOUS AVERTISSEMENT RISQUE D EXPLOSION AVANT DE D CONNECTER L QUIPEMENT COUPER LE COURANT OU S ASSURER QUE L EMPLACEMENT EST DESIGNE NON DANGEREUX Class l Division 2 GPs A B C D 3G Ex nA IIC X 0 C lt Ta lt 60 C Il Equipment intended for above ground use not for use in mines 3 Category 3 equipment investigated for normal operation only G Equipment protected against explosive gasses Warnings North America Warnings A Warning Explosion Hazard Substitution of components may impair suitability for Class I Division 2 B Warming Explosion Hazard When in hazardous locations turn off power before replacing or rewiring modules Warning Explosion Hazard Do not disconnect equipment unless power has been switched off or the area is known to be non hazardous C Suitable for use in Class Division 2 Groups A B C and D Hazardous Locations or Non Hazardous Locations ATEX Warnings and Conditions of Safe Usage Power Input and Output I O wiring must be in accordance with the authority having jurisdiction A Warning Explosion Hazard When in hazardous locations turn off power before replacing or wiring modules B Warning Explosion Hazard Do not disconnect equipment unless power has been switched off or the area is known to be non hazardous C These products are intended to be mounted in an IP54 enclosure The devices shall provide external means to p
86. IGHT SAVINGS TIME No Yes or No DATABASE REGISTER 3000 database word location to store time 1l ignore This register value should be an even number Page 74 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Edit SNTP CLIENT NTP SERVER IP ADDRESS 8 TIME ZONE USE DAYLIGHT SAVINGS TIME 0 0 a 5 8 DATABASE REGISTER Comment Definition IP address of the NTP server For example IP address for NIST at Boulder Colorado is 132 163 4 1p2 Reset Tag Reset All OK Cancel The SNTP driver will compute a new clock value every 5 minutes using the average value of 10 samples each collected over an approximate 6 second period This new value will be used to adjust the clock maintained by the SNTP driver and used by the application If a valid database register is specified the driver will place the time value into the module s database The first two registers will contain the number of seconds and the next two registers will contain the number of microseconds since January 1 1970 A list of some of the common NTP servers can be obtained at http www ntp org or http support ntp org bin view Servers WebHome Other server lists can be found by searching the World Wide Web for NTP Servers 5 5 1 NTP Server IP Address Enter in dotted notation This parameter sets the IP addre
87. Load 1100 mA maximum 5 Vdc 5 Operating Temperature 0 C to 60 C 32 F to 140 F Storage Temperature 40 C to 85 C 40 F to 185 F Relative Humidity 5 to 95 without condensation Vibration Sine vibration 4 100 Hz in each of the 3 orthogonal axes Shock 30G 11 mSec in each of the 3 orthogonal axes Dimensions HxWxD 250 x 40 34 x 103 85 mm Approx 9 84 x 1 59 x 4 09 in LED Indicators Module Status Backplane Transfer Status Serial Port Activity LED Serial Activity and Error LED Status Debug Configuration Port Debug CFG Port DEBUG DB 9M PC Compatible RS 232 only No hardware handshaking Application Ports Application Ethernet port RJ45 Connector Link and Activity LED indicators Electrical Isolation 1500 V rms at 50 Hz to 60 Hz for 60 S applied as specified in section 5 3 2 of IEC 60950 1991 Ethernet Broadcast Storm Resiliency less than or equal to 5000 ARP frames per second and less than or equal to 5 minutes duration 9 1 4 Functional Specifications The PTQ 104S module accepts data read write commands from a master client on the network In addition the module can be configured to generate unsolicited messages in either a spontaneous or cyclic fashion The module has 4000 words of user defined internal register space that are accessible to the protocol driver and to the Quantum processor memory Any of the supported database types can be individually located withi
88. M M M M M M scan for events CP56 scan for events CP56 scan for events CP56 scan for events CP56 scan for events CP56 scan for events CP56 Reset Tag Reset All Y OK Cancel The client unit sends the following requests General Interrogation for Group 1 every 12 seconds General Interrogation for Group 2 every 15 seconds Page 156 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual The following illustration shows how the communication would be performed between the client and the gateway Client 104S Gateway 1OA 100 General Interrogation for Group 1 20 secs General Interrogation for Group 2 oon 12 secs 1OA 100 1 secs General Interrogation for Group 1 IQA 101 104 102 12 secs General Interrogation for Group 2 20 secs RR al oS General Interrogation for Group 1 IQA 101 104 102 1OA 100 D ProSoft Technology Inc Page 157 of 201 March 4 2013 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum STARTDT amp STOPDT STARTDT Start Data Transfer and STOPDT Stop Data Transfer are used by the client to control the data transfer from the PTQ 104S module When the connection is established user data is not automatically enabled in the server until it receives a STARTD
89. P ADDRESSES IP ADDRESS Comment 192 168 0 207 V2 192 168 0 203 3 182168081 IP ADDRESS Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel If the Use IP List parameter is set to YES the module will only accept a connection from one of the three IP addresses listed as in the example above The following illustration shows that the Server will accept a connection from Client A whose address is on the list but will reject a connection from Client B whose address is not on the list Client B Client A 192 168 0 207 Server 192 168 0 100 Connection Accepted Connection Not Accepted Common ASDU Address At the application level the module is identified by the Common ASDU 192 168 0 130 Application Service Data Unit Address This address must match the CASDU sent by the Client unit An ASDU is a data unit that transfers information objects between the Client and the server ProSoft Technology Inc March 4 2013 Page 133 of 201 Reference 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum If the Client sends a message to a different Common ASDU the module ignores the command To configure the Common ASDU Address for the PTQ 104S use the Common Address of ASDU parameter in the configuration file Edit IEC 870 5 104 Common Address of ASD
90. P socket connection will be closed The connection can be re established by the remote Client by opening a new connection 5 6 5 t1 Timeout Set Value 1 to 255 This is the timeout of send or test ASDUs in seconds After a packet is sent from the unit the Client must acknowledge the packet within this time interval or else the unit will close the connection ProSoft Technology Inc Page 77 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 6 6 12 Timeout Set Value 1 to 255 This is a timeout of when to send an S format message to the host to acknowledge outstanding messages received This parameter is in units of seconds and must be less than the value set for t1 5 6 7 t3 Timeout Set Value 1 to 255 This is the timeout to wait on an idle line before the unit will send a TestFr Act message This value is in units of seconds 5 6 8 k maximum queue 1 to 20 This parameter specifies the number of unacknowledged messages the unit will buffer This parameter must match that in the host If the set number of buffers are filled in the unit no other messages will be sent until the host unit acknowledges some or all the messages 5 6 9 w latest ack threshold 1 to 20 This parameter must match that of the host unit and specifies the number of messages the module will receive before sending an S format sequence acknowledge message when
91. PRJINEWDFNT Een Disabled m Ga Open Dialog Save current project using a different database name Page 40 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Configuring the Processor with Concept 12TUser Manual 2 This action opens the Save Project As dialog box NEWPROJ PRJ NEWTEST PRJ testprj pri Save file as type Concept Projects pr Y File name Folders pd c conceplMestpri Cancel NEWDFNT PRJ x f e f CONCEPT f TESTPRJ db NEWDFNT BAK 3 NEWDFNT DIA v Network Drives gc 3 Name the project and then click OK to save the project to a file ProSoft Technology Inc March 4 2013 Page 41 of 201 Configuring the Processor with Concept 12TUser Manual 48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum 3 6 Downloading the Project to the Processor Next download copy the project file to the Quantum Processor 1 Use the null modem cable to connect the PC s serial port to the Quantum processor as shown in the following illustration Note A Modbus Plus Network Option Module NOM can be used in place of the serial port if necessary 2 Open the PLC menu and then choose CONNECT 3 Inthe PLC Configuration dialog box open the ONLINE menu and then
92. PTQ DFNT PTQ DH485 m PTQ DNPSNET PTQ DNPSNET Q PTQ GEC PTQ HART PTQ LNG T Carce The next task is to set the module parameters Page 52 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 1 2 Set Module Parameters Notice that the contents of the information pane and the configuration pane changed when you added the PTQ 104S module to the project Gj Untitled ProSoft Configuration Builder cl File View Project Tools Help Default Project Name Status Information E ig Default Location PTQ 104S Configured PTQ 104S h PTQ 84sQ 205 Backplane Configuration Values OK SNTP CLIENT Values OK 1 104S Values OK Comment Values OK WATTCP Values OK Module Information Last Change Never Last Download Never Application Rev OS Rev Loader Rev MAC Address ConfigEdit Version 4 1 0 Build 4 EtherNet Configuration my_ip 192 168 0 100 netmask t 255 255 255 0 gateway 192 168 0 1 Module configuration Module Module Type PTQ 104sS Module Name PTQ 104S be lt m Ready PTQ 104S NUM At this time you may wish to rename the Default Project and Default Location folders in the tree view To rename an object 1 Select the object and then click the right mouse button to open a shortcut menu
93. ProSoft PECH NOFO GY Where Automation Connects o Prolalk PTQ 104S Rev 1 Quantum Platform IEC 60870 5 104 Server for Quantum March 4 2013 USER MANUAL Your Feedback Please We always want you to feel that you made the right decision to use our products If you have suggestions comments compliments or complaints about our products documentation or support please write or call us ProSoft Technology 5201 Truxtun Ave 3rd Floor Bakersfield CA 93309 1 661 716 5100 1 661 716 5101 Fax www prosoft technology com support prosoft technology com Copyright 2013 ProSoft Technology Inc All rights reserved PTQ 104S Rev1 User Manual March 4 2013 ProSoft Technology ProLinx 9 inRAx ProTalk and RadioLinx are Registered Trademarks of ProSoft Technology Inc All other brand or product names are or may be trademarks of and are used to identify products and services of their respective owners In an effort to conserve paper ProSoft Technology no longer includes printed manuals with our product shipments User Manuals Datasheets Sample Ladder Files and Configuration Files are provided on the enclosed DVD and are available at no charge from our web site http www prosoft technology com Content Disclaimer This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications It is the d
94. ProSoft Configuration Builder 112 8 1 3 Navigation zi ite b Eder nn SS 114 8 1 4 IEC 870 5 104 Server Menu sssssssssssseeeee eene nnne nennen snnt snnt 117 8 1 5 MalliMenmts 56e occi seh S ULL iA a 120 8 1 6 Database View Menu eeesseseesesieeeee eene en nre nennen nnns 123 8 1 7 Network Menu unte opSEDeSeDeUp Sepe cea et 125 8 2 BED IndicatorSss utet tes pnts rth Perens LE i lh EE LI Er 126 8 2 1 Ethernet LED Indicators 0 0 2 2 ceceecceeeeseceeeeeeeeeeeeeeneeeeeaneeseeseneeseeneneeeeeneneeeeenenees 126 8 2 2 Error Status Lable uoto ORB A c 126 ProSoft Technology Inc March 4 2013 Page 7 of 201 Contents 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 9 Reference 127 9 1 Product Specifications ssssssssssssssssses esee enn 128 9 1 1 Standards iius ied eif etit Nt Eae bt ata iv e inte anaes 128 9 1 2 General Specifications sse nennen 128 9 1 3 Hardware Specifications sssssssssssssssees enne nennen 129 9 1 4 Functional Specifications sssssssssssssseeeeenenneee enne 129 9 2 PTQ 104S Protocol Implementation ssssseee eene 131 9 2 1 Module Addr6ss iui tite repeteret ete eie lerne ing 131 9 2 2 Monitor Direction and Control Direction Point Definition ssssss 134 9 2
95. Rev 1 47TQuantum Platform Configuring the Processor with ProWORX 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 6 Run the ProWORX 32 software Whether a new or existing project is used click on the Traffic Cop section to display the rack to be edited ProWORX 32 NewProject Offline Traffic Cop NewProject ff file Edit View Project Controller Server Utilities Window Help B HuaigajgexuandaseBNeeo Bsumse e mm 3 z05 3 Hit Wit m 2RHOO Lwa PPPs DB X EE Quantum Traffic Cop co Rack 1 4 Direct To Online EB Head 00 Local pep Rack Rack l Workspace Tl Drop 01 Quantum Series 2T31415 1617 TL 45 NewProject Offline E f Rack 01 TUE I 4 s CPS114 20 CPU 534 yj Data Editors Configuration Extensions ASCII Messages H PLC Status Analyze Device 1 rc3cem umumaadoado KI Knowledge Base ACIO30 00 ACI040 00 ACI050 00 ACI051 00 ACI052 00 ACD020 00 Properties Slot 03 ACO130 00 11330 00 AII330 10 Projects 4033000 enpo cuantum 534 Me T gt AM MUSD 00 NewProject Quantum 534 MB 1 gt ARID30 10 Status Reaister 3x ZMy Projeci Pire Input Points 0000 1024 Berane pecumeni AVID3O 0D Output Points 0000 1024 Logged in user N A PROGRAM NewProject Quantum 534 MB 1 gt Offline CAProWORXX32iProjectsiNewProject pwx 7 Highlight Slot x by clicking on the slot in the rack display In this
96. Review the elements of the project in the Project Browser 2 When you are satisfied that you are ready to download the project open the BUILD menu and then choose REBUILD ALL PROJECT This action builds compiles the project into a form that the processor can use to execute the instructions in the project file This task may take several minutes depending on the complexity of the project and the resources available on your PC 3 Asthe project is built Unity Pro reports its process in a Progress dialog box with details appearing in a pane at the bottom of the window The following illustration shows the build process under way Ta Structural view fox J Station 140 CPU 651 60 02 00 x 3 Configuration A 1 Local Bus 1 Local Quantu BINS aft Ce ee reg LI is fis 16 1 90 x8F I Derived Data Types Generating Variables t3 Derived FB Types Ej p Variables amp FB instan me TITTLE LILLE LOL DELL lerived Variables IO Derived Variables Flementari FR Instan Local Quantum Drop Analog Communication Counting Discrete Expert Motion HMI RAV mode OFFLINE MODBUSO1 1 ProSoft Technology Inc Page 25 of 201 March 4 2013 Configuring the Processor with Unity Pro 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum After the build process is completed successfully the next step is to download the compiled project to the processor 2 4
97. S Protocol Implementation page 131 to see how this method works It contains a very simple example of reading and writing to the PLC and should help to illustrate the concept If you have the equipment available to use this would be a great way to get a feel for the command functions used to transfer data The following discussion is generic in nature and is meant outline the steps required to create your first application 5 3 2 Defining Data to be Sent to the PTQ Database You might be asked to provide access to 207 words of information for other devices on the network This information resides in the PLC at addresses 400001 to 400207 and you must make this the first 207 words of the database inside the module This would require the use of Command Function 1 Because the total amount of data exceeds the maximum length of any single command function you will need two entries in the Backplane Data Exchange section of your configuration file This might look like the following Wil Edit Backplane Data Exchange Command Type PTO Address Point Type QUANTUM Address Word Count Comment 1 Quantum to ProTalk U 4x 1 100 v 2 QuantumtoProTak 100 4x 104 107 Command Type Value Status OK Set to Defaults Add Row Insert Row Move Up Move Down Edit Row Copy Row OK Cancel Page 56 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration
98. S Rev 1 47TQuantum Platform Diagnostics and Troubleshooting 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Keystrokes The keyboard commands on these menus are almost always non case sensitive You can enter most commands in lower case or capital letters The menus use a few special characters that must be entered exactly as shown Some of these characters will require you to use the SHIFT CTRL or ALT keys to enter them correctly For example on US English keyboards enter the command as SHIFT Also take care to distinguish capital letter I from lower case letter L L and number 1 Likewise for capital letter O and number 0 Although these characters look nearly the same on the screen they perform different actions on the module Redisplaying the Menu Press to display the current menu Use this command when you are looking at a screen of data and want to view the menu choices available to you Viewing Module Configuration Press C to view the Module Configuration screen Use this command to display the current configuration and statistics for the module Opening the Database Menu Press D to open the Database View menu Use this menu command to view the current contents of the module s database Viewing SNTP Status Press N to view configuration information about the SNTP client SNTP CLIENT CONFIGURRTION NTP SERVER IP 0 0 0 0 DB REGISTER TIME ZONE USE DS
99. S module can be found on page 116 This guide is intended to guide you through the ProTalk module setup process from removing the module from the box to exchanging data with the processor In doing this you will learn how to Setup the processor environment for the PTQ module View how the PTQ module exchanges data with the processor Edit and download configuration files from your PC to the PTQ module Monitor the operation of the PTQ module ProSoft Technology Inc Page 11 of 201 March 4 2013 Start Here 12TUser Manual A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum 1 1 Hardware and Software Requirements 1 1 1 Package Contents e i i ES ProTalk Module ProSoft Solutions DVD 1 1 2 Quantum Hardware Null Modem Serial Cable This guide assumes that you are familiar with the installation and setup of the Quantum hardware The following should be installed configured and powered up before proceeding Quantum Processor Quantum rack Quantum power supply Page 12 of 201 Quantum Modbus Plus Network Option Module NOM optional Quantum to PC programming hardware NOM Ethernet or Serial connection to PC ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Start Here 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 1 2 1 1 3 PC and Software Windows based PC with at least one COM port Quantum pro
100. ST TIME VALID REQUESTS RESPONSES COMPUTRTIONS TIME SET CNT TIMEOUT ERRS Refer to SNTP Support for more information on configuring and using this function Viewing the Backplane Command List Press P from the Main Menu to view the Backplane Data Exchange List Use this command to display the configuration and statistics of the backplane data transfer operations BACKPLANE DATA EXCHANGE LIST COMMANDS 0 TO 9 TYPE DBREG DBTVPE ADDRESS COUNT LASTERR 040000 040000 040000 040000 040000 040000 040000 040000 040000 040000 qucm Buc Esc Bac Rec Rec Rc Bac eco v Becr Eco Bac Rec Rec Buc Ec Race Coco co coco cc ccc cocco 0c 0 0 0 0 0 0 0 0 0 0 Tip Repeat this command at one second intervals to determine the number of blocks transferred each second Receiving the Configuration File Press R to download receive the current configuration file from the module For more information on receiving and sending configuration files please see Uploading and Downloading the Configuration File page 105 ProSoft Technology Inc Page 121 of 201 March 4 2013 Diagnostics and Troubleshooting 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Sending the Configuration File Press S to upload send a configuration file from the module to your PC For more information on receiving and sending configuration files please see Uploading and Downloading the Co
101. Scan Events 84 Select O perate Timeout 80 Selection of standard ASDUs 181 Sending the Configuration File 115 122 Sequence Flag 90 173 Set Module Parameters 53 Set Priority Queues 81 Set Up Command Function 1 Read data from the Quantum 64 Set Up Command Function 2 Write data to the Quantum 66 Set Up Command Function 3 Special Functions 68 Set up Data Memory in Project 39 Set Up the Project 50 Setting Up the ProTalk Module 14 Short Pulse Time 88 SNTP Support 173 Spontaneous transmission 186 Standards 128 Start Here 9 11 STARTDT amp STOPDT 158 Station initialization 186 Station Interrogation 187 Support Service amp Warranty 9 197 Swap Code 101 System information in control direction 183 System information in monitor direction 183 System or device 180 T t0 Connection Timeout 77 tl Timeout Set Value 77 t2 Timeout Set Value 78 t3 Timeout Set Value 78 Test procedure 189 TESTFR Requests 159 ProSoft Technology Inc March 4 2013 The Configuration Debug Menu 112 Time DB Offset 78 Time Information 168 Time Type 85 Time Zone 75 To Address 100 To configure module parameters 53 To Create Optional Comment Entries 102 To print a configuration file 53 102 Transferring WATTCP CFG to the Module 125 Transferring WATTCP CFG to the PC 125 Transmission mode for application data 180 Transmission of Integrated
102. Send TestFR ACT 51 Wait for TestFR Con 60 Send S Format Message 1000 Close Socket 1001 Wait for Socket to Close 25 Socket Open Count This word contains the number of times the socket listen function was executed Page 70 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Word Offset in Block Data Field s Description 26 Socket Close Count This word contains the number of times the an active close function was executed 27 Socket Connect This word contains the number of times a Count connection was established between with the remote host unit 28 Event Buffer 0 Event data from MSP free events 29 Event Buffer 1 Event data from MDP free events 30 Event Buffer 2 Event data from MST free events 31 Event Buffer 3 Event data from MMA free events 32 Event Buffer 4 Event data from MMB free events 33 Reserved Reserved 34 Event Buffer 6 Event data from MIT free events 5 4 5 Event Messages 9958 Block 9958 is reserved to send event messages from the processor to the module Each block can send up to 10 events to the module If a value of 9958 is placed in the control register event messages are sent from the processor to the module Refer to Events page 161 for more information about time stamped events The module supports a buffer queue of 99 events per data type When the queu
103. Sent to the PTQ Database sssssseeeeeeee 56 Defining Data to be Retrieved from the PTQ Database sesssssses 58 Defining Special Functions sssssssssssseeeeseneeneen enne 59 Implementing Ladder to Support Special Functions sss 62 Modify the Backplane Data Exchange Section sssssssssss 63 Set Up Command Function 1 Read data from the Quantum 64 Set Up Command Function 2 Write data to the Quantum sessss 66 Set Up Command Function 3 Special Functions sssssssssss 68 Read Status 9250 1 pi i e eid eeu eei eds 69 Event Messages 9958 ener eene nnn trennen neas 71 Read Module s Time to Processor 9970 ssssee eem 72 Block 9971 Set Module Time ssssssssssessseseeee enne 73 Block 9998 or 9999 Reboot Module eeeeeeeneennen 74 ISNTP CLIENT mp 74 NTP Server IP Address uri n nd E AE etn re qai e re RR 75 Time ZOnQeszc ian ete teet E entiende ania sudeste 75 Use Daylight Savings Time nennen 76 Database Register xe cta emet atee it d TAEA 76 EG 870 5 104 Lite etit toti et ede eet EI ee eae 76 Use IP EISE E er tee e te t thee er i E ee kd eeu ii pf 77 Override Sta D Wess i eis oad sete eret ri derer P ridere ce bres dde Teka de Pra d etw reas de tthe 77 Clear Queue on GloSe
104. T TIME VALID REQUESTS RESPONSES COMPUTRTIONS TIME SET CNT TIMEOUT ERRS Refer to SNTP Support for more information on configuring and using this function Sending the Configuration File Press S to upload send a configuration file from the module to your PC For more information on receiving and sending configuration files please see Uploading and Downloading the Configuration File page 105 ProSoft Technology Inc Page 115 of 201 March 4 2013 Diagnostics and Troubleshooting 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Resetting diagnostic data Press U to reset the status counters for the client and or servers in the module Viewing Version Information Press V to view Version information for the module Use this command to view the current firmware version of the software Software Revision Level for the module as well as other important values You may be asked to provide this information when calling for technical support on the product Values at the bottom of the display are important in determining module operation The Program Scan Counter value is incremented each time a module s program cycle is complete Tip Repeat this command at one second intervals to determine the frequency of program execution Opening the IEC 870 5 104 Menu Z Press Z to view all data associated with the IEC 60870 5 104 server driver Exiting the Program Cau
105. T overwrite your application database in the PTQ but merely serves as an additional flag to notify the module of the unique nature of the command Point Type The type of register within the Quantum 0 x 0 1 x 2 1 3 x 3 or 4x 4 Quantum Address The source register within the Quantum The address is expressed without the use of the register range for example 400001 would be entered as 1 400001 400000 1 or 40001 40000 1 Word Count This value is ALWAYS 64 Care should be taken to assure that 64 words of memory are available within the Quantum Page 68 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Example 3 x or 4 x Register Transfer The following example shows a typical command used to retrieve a special function command from the Quantum In this example registers 400500 to 400563 from the Quantum will be used to provide the information required by the module The following section shows the functions that may be performed by using the Command Function 3 5 4 4 Read Status 9250 Use block 9250 to request the module s status data The module supports a buffer queue of 99 events per data type The application can verify the status of the queue free space in the queue through the module s status data Block 9250 When the queue is full the module will delete the older event i
106. T act request from the client The server should respond with a STARTDT con response to acknowledge the Client request Once this procedure is concluded the server can send monitor data to the client The Client can interrupt the monitor data flow at any time by sending a STOPDT act command to the server Client Server STARTD act gt STARTDT con Monitor Points Monitor Points In some circumstances the Client unit may not support STARTDT and STOPDT messages The module may also be tested with simulator software that does not support these features During these situations you may want to disable the STARTDT and STOPDT features using the following parameter Edit IEC 870 5 104 Pac Override stator t1 timeout set value t2 timeout set value t3 timeout set value k maximum queue w latest ack threshold Time DB Offset Command Delay Timer Error Offset Used to ignore Common Address of ASDU STARTDT STOPDT state Cyclic data transmission Yes No Select Operate Timeout Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Interval For Freeze Set Priority Queues Comment Definition Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Reset Tag Reset All PHONE HO IO D AUD 5 o a OK Cancel If this parameter is set to YES 1 the module will ignore the STARTDT and STOPDT requests by the Client unit Page 158
107. Time Type Use Recent Scan Events Time Type Use Recent Time Type scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple CP56 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Module Configuration 12TUser Manual 5 6 27 Time Type 0 NONE 1 CP24 or 2 CP56 Separate parameters exist for multiple point types This parameter defines the time format used with data events M SP N M SP NA M SP N M DP N M DP NA M DP N M ST N M ST N M ST N M BO N M BO N M BO N M ME N M ME NA M ME N M ME NB b M ME NB M ME NB M ME NC gt M ME NC M ME NC M IT NA ProSoft Technology Inc March 4 2013 Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Time Type scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan
108. U 1Mb Program PCMCIA Ethemet TCP 140 CPU 671 60 02 00 P266 CPU Hot Standby 1Mb Program PCMCIA 2 Next add a power supply to the project In the Project Browser expand the Configuration folder and then double click the 1 LOCALBUS icon This action opens a graphical window showing the arrangement of devices in your Quantum rack 4 Unity Pro XL lt No name gt File Edit View Services Tools Build PLC Debug Window Help alg hOB Project Browser Tg Structural view QY Station Configuration 1 Local Bus Og 1 Local Quantur sq 1 40 xBF D Derived Data Types D Derived FB Types QY Variables amp FB instan Elementary Variables 9 Derived variables Gy IO Derived Variables Flementar FR Instan gt Local Quantum Drop EE Analog Communication Counting Discrete Expert F Motion 4 AD Te Local Bus R0 B7 STATE TE Build A Imoorlexoot A User eros J Search Redze J Ready HMI RAW mode OFFLINE Page 22 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with Unity Pro A6TIEC 60870 5 104 Server for Quantum 12TUser Manual 3 Select the rack position for the power supply and then click the right mouse button to open a shortcut menu On the shortcut menu choose NEW DEVICE M Local Bus 140 CPU 651 60 02 00 e New Device 4
109. U 1 Common Address of ASDU yclic data transmission ajeje Select Operate Timeout 2000 Use ACTTERM with setpoint Yes Use ACTTERM with step Yes Freeze Start Type Not Used Interval For Freeze 30 Eon Set Priority Queues Yes M_SP_NA Priorit 6 ace M DFL NA Priority EDO M ST NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time Range 1 to 65535 oo IV Check Delay Time IV Fail Count Event Scan delay M SP NA Scan Events scan for events M_SP_NA Time Type CP56 scan for events CP56 scan for events CP56 E NA Scan Events scan for events E NA Time Type CP56 E NB Scan Events scan for events Reset Tag Reset All E NB Time Type CP56 E NC Scan Events scan for events OK F O P Ql ONU PU Cancel 9 2 2 Monitor Direction and Control Direction Point Definition The protocol specification defines two directions of data monitor direction and control direction Monitor Direction The direction of transmission from a server to a Client Control Direction The direction of transmission from a Client to a server Client Server Monitor Diracton Direction en Direction Page 134 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference A6TIEC 60870 5 104 Server for Quantum 12TUser Manual The points that are typically transferred from a server to a Client are also known as Monitor Points or Monitor Information Objects
110. a within the Quantum The address is expressed without the use of the register range for example 400001 would be entered as 1 400001 400000 1 or 40001 40000 1 Word Count The number of words to copy The length of this copy may be any length of 1 to 130 inclusive If your application requires the movement of additional data you may enter additional commands Page 64 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Example 3 x or 4 x Register Transfer The following example shows a typical command used to read 4 x data from the Quantum In this example registers 400001 to 400099 from the Quantum will be transferred to registers 0 to 99 within the module Edit Row 1 Command Type Quantum to ProTalk Command Type PTQ Address 0 EN Adr aux Quantum to ProTalk Word Count Comment Definition Reset Tag Reset All OK Cancel Example 0 x or 1 x Register Transfer The transfer of Coils and Input bits require some forethought as the command transfers words and not bits This means that if you want to transfer bits 000005 to 000007 from the Quantum to word 21 in the module you would have to transfer the word within the Quantum containing bits 000001 to 000016 to a word within the modules memory Take care with the transfer of bits while planning the application so as to optimize the usa
111. ag Kl lt 11 gt Measured value scaled value M ME NB 1 Kl lt 12 gt Measured value scaled value with time M_ME_TB_1 ta Kl lt 13 gt Measured value short floating point M ME NC I value E lt 14 gt Measured value short floating point M ME TOC 1 value with time tag d lt 15 gt Integrated totals M IT NA 1 d lt 16 gt Integrated totals with time tag M IT TA 1 D lt 17 gt Event of protection equipment with time M EP TA 1 ta Oo lt 18 gt Packed start events of protection M_EP_TB_1 ProSoft Technology Inc March 4 2013 Page 181 of 201 Reference 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Type ID Description Type equipment with time tag D lt 19 gt Packed output circuit information of M EP TC 1 protection equipment with time tag Oo lt 20 gt Packed single point information with M PS NA 1 status change detection O lt 21 gt Measured value normalized value M_ME_ND_1 without quality description lt 30 gt Single point information with time tag M_SP_TB_1 CP56Time2a lt 31 gt Double point information with time tag M_DP_TB_1 CP56Time2a lt 32 gt Step position information with time tag M_ST_TB_1 CP56Time2a Oo lt 33 gt Bitstring of 32 bit with time tag M_BO_TB_1 CP56Time2a DH lt 34 gt Measured value normalized value with M_ME_TD_1 time tag CP56Time2a lt 35 gt Measured value scaled value
112. alue of 9958 5 4 6 Read Module s Time to Processor 9970 If a value of 9970 is placed in the control register the processor will read the module s current time Page 72 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Block Format for Write The following table shows the block format for write Word Offset in Block Data Field s Description 1 Block ID This field contains the value of 9970 identifying the block type to the module Block Format for Read The module responds to a valid 9970 request with a block containing the requested date and time The block format is shown in the following table Word Offset in Block Data Field s Description 1 Block ID This word will contain the value of 9970 2 Year This field contains the four digit year for the new time value 3 Month This field contains the month value for the new time Valid Values 1 to 12 4 Day This field contains the day value for the new time Valid Values 1 to 31 5 Hour This field contains the hour value for the new time Valid Values 0 to 23 6 Minute This field contains the minute value for the new time Valid Values 0 to 59 7 Seconds This field contains the second value for the new time Valid Values 0 to 59 8 Milliseconds This field contains the millisecond value for the new time Valid Values 0 to 999
113. and 2 6 9 8 6 Does the module work in a remote rack The module is designed to be located in the chassis with the PLC and will not operate in a remote chassis 9 8 7 Canluse the module in a hot backup system The PTQ 104S Rev 1 manual does not support Hot Standby v2 does Refer to the PTQ 104S Rev 2 user manual for additional details on the HSBY support added for the Rev 2 modules ProSoft Technology Inc Page 195 of 201 March 4 2013 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Page 196 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Support Service amp Warranty 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 10 Support Service amp Warranty In This Chapter Contacting Technical Support Warranty Information esssen mem Contacting Technical Support ProSoft Technology Inc ProSoft is committed to providing the most efficient and effective support possible Before calling please gather the following information to assist in expediting this process 1 Product Version Number 2 System architecture 3 Network details If the issue is hardware related we will also need information regarding Module configuration and associated ladder files if any Module operation and any unusual behavior Configuration Debug status information LED patterns Details about the serial Ethernet or
114. antum processor s data registers The IEC 60870 5 104 Server functionality supported by the module includes The IEC 60870 5 104 communication driver is built in accordance to the approved IEC specification The module functions as a Server on the network supporting data read write commands from an IEC 60870 5 104 client on the network One TCP server socket Supports unsolicited messages either cyclic or spontaneous cyclic rate is configurable Supports clock synchronization commands from client or from the Quantum Supports Group interrogation Global General 1 to 16 Global Counters Counters 1 to 4 Event time stamping configurable by type None 24 bit 56 bit Event queue supports 99 points for each data type Optional user defined list of acceptable client host IP addresses Configurable Common ASDU address sector and Information Object Address An IEC Interoperability Document for the ProTalk is available which fully documents data types supported by the module Page 130 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference A6TIEC 60870 5 104 Server for Quantum 12TUser Manual 9 2 PTQ 104S Protocol Implementation The intent of this section is to provide a quick understanding of how the PTQ 104S module implements the IEC 60870 5 104 protocol without going into complex details of the specification The IEC 60870 5 104 protocol applies to Telecontrol equipmen
115. at go with the Concept version being used and then click OK This action opens the Add New Modules dialog box ii Concept Module Installation zol xl File Modules Help Installed jy Add New Modules x DES Available Modules in a ptq_2_60 mde MDC P EZMmEFEIUI MDC P MDC P MDC P MDC P MDC P MDC P Module Provide BA Versior Copyric 5 Click the ADD ALL button A series of message boxes may appear during this process Click YES or OK for each message that appears 6 When the process is complete open the FILE menu and choose EXIT to save the changes 3 2 Creating a New Project This phase of the setup procedure must be performed on a computer that has the Concept configuration software installed 1 From the computer choose START PROGRAMS CONCEPT V2 6 XL EN CONCEPT This action opens the Concept window ProSoft Technology Inc Page 33 of 201 March 4 2013 Configuring the Processor with Concept 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 2 Open the File menu and then choose NEW PROJECT This action opens the PLC Configuration dialog box amp Concept C CONCEPT TESTPRJ untitled File Configure Project Online Options Window Help Ds pem fe ea a wal 0 SoS e 8 nm s ra gogo m 9 PLC oOummary Type Unsupported controller Available Logic Area 65535 B PLC Selection EC UNKNOWN
116. ations essere 128 PTQ 104S Protocol Implementation eeeeeeeeeene 131 Gabl GCorinections 2 2 0 6 2h WEA cee teed RP erent oe 174 Error StatussT able ee ces ect sete aes 176 Group Codes us iode tte be recited bee Po DU Ee gie DR erdum 179 IEC 60870 5 104 Server Interoperability Statement 180 PTQ 104S Database Design Forms see 191 Frequently Asked Questions essen 195 ProSoft Technology Inc March 4 2013 Page 127 of 201 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum 9 1 Product Specifications 9 1 1 Standards The standards used in developing the product are listed in the following table PUBLICATION TITLE IEC 60870 5 104 Companion Standard for Basic Telecontrol Tasks IEC 60870 5 104 Companion Standard for Basic Telecontrol Tasks Amendment 1 IEC 60870 5 1 Transmission Frame Formats IEC 60870 5 2 Link Transmission Procedures IEC 60870 5 3 General Structure of Application Data IEC 60870 5 4 Definition and Coding of Application Information Elements IEC 60870 5 5 Basic Application Functions The PTQ IEC 60870 5 104 Server Communication Module allows Quantum compatible processors to interface easily with IEC 60870 5 104 protocol compatible hosts The PTQ 104S module acts as an input output module between the
117. c Page 159 of 201 March 4 2013 Reference 12TUser Manual 48TPTQ 104S Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum If the module does not receive the TESTFR con message within a certain amount of time it will timeout and close the connection You can configure the timeout period using the following parameter Edit IEC 870 5 104 Page 160 of 201 Use IP List Override StartDT a a t1 timeout sei t3 timeout set value k maximum queue w latest ack threshold Time DB Offset Command Delay Timer Error Offset Common Address of ASDU Cyclic data transmission Select Operate Timeout Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Interval For Freeze Set Priority Queues M_SP_NA Priority M_DP_NA Priority ST_NA Priority ME_NA Priority IT_NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Client t1 timeout set value Comment Definition Timeout of send or test ASDU 1 255 Reset Tag Reset All OK Cancel Me NJ ie e QO INI C AU Server Msg 1 amp TestFR act u Close Connection ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual When closing the connection the module can be configured to clear all the messages in its queue The following parameter is
118. ces hubs switches or networks that supply AC or DC power over the Ethernet cable Failure to observe this precaution may result in damage to hardware or injury to personnel Important The module requires a static fixed IP address that is not shared with any other device on the Ethernet network Obtain a list of suitable IP addresses from your network administrator BEFORE configuring the Ethernet port on this module Ethernet Port Configuration wattcp cfq The wattcp cfg file must be set up properly in order to use a TCP IP network connection page 18 You can view the current network configuration in the PCB Diagnostics window page 125 9 3 2 RS 232 Configuration Debug Port This port is physically an RJ45 connection An RJ45 to DB 9 adapter cable is included with the module This port permits a PC based terminal emulation program to view configuration and status data in the module and to control the module The cable for communications on this port is shown in the following diagram RS 232 Config Debug Port Cable DB 9 Male Config Debug Port RxD 2 H t TxD s 8e COM s COM ProSoft Technology Inc Page 175 of 201 March 4 2013 Reference 12TUser Manual 48TPTQ 104S Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum 9 4 Error Status Table This section contains a listing of the PTQ 104S module s status data area copied automatically to the database starting at addres
119. ch queue containing events by reporting events from each queue one queue after the other in a repeating cycle with all the data for each ASDU being packed into one or more messages This methodology limits the possibility of a buffer overflowing and still maximizes the use of bandwidth on the communication channel SNTP Support SNTP is used for time synchronization of produced and consumed commands When an exchange occurs the driver compares time stamps from the previous exchange When the new exchange time is less than the previous exchange the exchange is ignored This can occur when the Ethernet packets are routed and delayed Time synchronization provides for data integrity The following table lists the parameters defined in this section The SNTP driver will compute a new clock value every 5 minutes using the average value of 10 samples each collected over an approximate 6 second period This new value will be used to adjust the clock maintained by the SNTP driver and used by the application If a valid database register is specified the driver will place the time value into the module s database The first two registers will contain the number of seconds and the next two registers will contain the number of microseconds since January 1 1970 A list of some of the common NTP servers can be obtained at http Awww ntp org http www eecis udel edu mills ntp servers html along with the appropriate IP address Other server lists can be
120. choose CONNECT This action opens the Connect to PLC dialog box Connect to PLC x xj Protocol type Protocol settings Modbus one Plus PLC Node i Device 9600 e 8 1 IEC Simulator 32 b foot zm COM1 7 Port Settings k r Access Level List of nodes on Modbus Plus network Monitor only C Change Data C Change Program Change Configuration zi 4 Leave the default settings as shown and click OK Page 42 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Configuring the P rocessor with Concept 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Note Click OK to dismiss any message boxes that appear during the connection process 5 Inthe PLC Configuration window open the ONLINE menu and then choose DOWNLOAD This action opens the Download Controller dialog box Download Controller q xj Stat will be cleared I IEC program sections No Upload information Po 984 ladder logic F amp SGIl message Al State RAM initial values only Extended memory Select parts to download then press lt Download gt Download Close Help 6 Click ALL and then click DOWNLOAD If a message box appears indicating that the controller is running click YES to shut down the controller The Download Controller dialog box displays the status of the download as shown in the following illustration Download Controller x Iv Configuratior J IEC program section Na Upload information
121. ckage Contents Quantum Hardware PC and Software Install ProSoft Configuration Builder Software Setting Up the ProTalk Module Install the ProTalk Module in the Quantum Rack Connect the PC to the ProTalk Configuration Debug Port Ethernet Configuration Create a New Project Add the PTQ Module to the Project Build the Project Connect Your PC to the Processor Connecting to the Processor with TCP IP Download the Project to the Processor Information for Concept Version 2 6 Users Installing MDC Configuration Files Creating a New Project Adding the PTQ Module to the Project Setting the Time of Day Saving the Project Downloading the Project to the Processor 5 Module Configuration 5 1 5 1 5 1 5 2 5 2 1 ProSoft Technology Inc March 4 2013 Using ProSoft Configuration Builder Setting Up the Project Set Module Parameters Backplane Configuration Module Name 2 c eceeceeeeeeeeeenteeeeeees Page 5 of 201 Contents 12TUser Manual A8TPTQ 1045 Rev 1 47TQuantum Platform A6TIEC 60870 5 104 Server for Quantum 5 2 2 5 2 3 5 2 4 5 3 5 3 1 5 4 5 7 5 8 Page 6 of 201 Failure Flag COUN aito date tat celeste empire states 54 Error OffSel 5 neo ba oed o ER a dee a ed Rr a IR wean FER x e aede Pose 55 Initialize Output Data sse ennemis 55 Backplane Data Exchange sse ener enn 55 Data TranstGr a estere x tur LL E Uere D tat E 55 Defining Data to be
122. col ProSoft Technology Inc Page 99 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum You can also use the Data Map to condense widely dispersed data into one contiguous data block making it easier to access Edit Row 1 From Address From Address To Address 2000 Register Count 1 4000 Swap Code No Change Delay Preset 2000 Comment Definition From Address Reset Tag Reset All OK Cancel Wil Edit DATA MAP FromAddress ToAddress Register Count Swap Code Delay Preset Comment 4 En 2000 1 No Change 2000 From Address Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel 5 26 1 From Address 0 to highest Status Data address This field specifies the internal database register to copy from This address can range from the Data area as well as the Status Data Area of the product 5 26 2 To Address 0 to 3999 The destination for the copy is always within the User Data registers area Take care to specify a destination address that will not overwrite data that may be required for other purposes Page 100 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 26 3 Register Count 1 to 100 This parameter specifies the number of r
123. count C SC NA point count C DC N point count C RC NA point count C BO NA point count C SE NA point count SE NB point count SE MC point count SP N Sequence Report separate SQ 0 DP_NA Sequence Report separate SQ 0 BO M Sequence Report separate SQ 0 ME N Sequence Report separate SQ 0 ME NB Sequence Report separate SQ 0 M ME NC Sequence Report separate SQ 0 M IT N Sequence Report separate SQ 0 M ME N Parameter Offset 2000 M_ME_NB Parameter Offset 2000 Reset Tag Reset All M_ME_NC Parameter Offset 2000 OK Cancel Comment Definition mSec for short pulse command 0 2147483647 C C M M M M M cOOOoOcocoocooooooooco 5 8 1 Short Pulse Time 0 to 2 147 483 647 2 raised to the power of 31 milliseconds This parameter defines the number of milliseconds to keep an IEC Command Point set ON HIGH equal to one 1 before returning the point to OFF LOW equal to zero 0 whenever a pulse point command is sent by the Client and the default value of the Default Command Qualifier parameter is set to SHORT 5 8 2 Long Pulse Time 0 to 2 147 483 647 2 raised to the power of 31 milliseconds This parameter defines the number of milliseconds to keep an IEC Command Point set ON HIGH equal to one 1 before returning the point to OFF LOW equal to zero 0 whenever a pulse point command is sent by the Client and the default value of the Default Command Qualifier parameter is set to LONG Page 88
124. curacy of the module s internal clock Edit IEC B70 5 104 Database Short Pulse Time Short Pulse Time Long Pulse Time 2000 Default Command Qualifier Short Pulse Override Command Qualifier No Comment Definition mSec for short pulse command 0 2147483647 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 000 Reset Tag Reset All M ME NC Parameter Offset OK Cancel These parameters specify the number of point values that can be assigned for each database Type ID Point Database Description Range M SP NA Monitored Single Point 0 to 1000 MDPNA Monitored Double Point Ot 100 M ST NA Monitored Step Position Point 0 to 1000 ProSoft Technology Inc Page 89 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Type ID Point Database Description Range M_BO_NA Monitored 32 bit Bitstring Data Point 0 to 1000 M_ME_NA Monitored Normalized Measured Point 0 to 1000 M_ME_NB Monitored Scaled Measured Point 0 to 1000 M_ME_NC Monitored Short Floating Point Measured Point 0 to 50 M IT NA Monitored Integrated Total 0 to 99 C SC NA Command Single Point 0 to 1000 C DC NA Command Double Point 0 to 1000 C RC NA Command Step Point 0 to 1000 C BO NA Command 32 bit Bitstring Point 0 to 1000 C SE NA Com
125. cy The frequency is set in the Cyclic Data Transmission parameter in the configuration file Remember that a point can be assigned to more than one group Group Code Description 0x00000001 Interrogated by general interrogation station or global 0x00000002 Interrogated by group 1 interrogation 0x00000004 Interrogated by group 2 interrogation 0x00000008 Interrogated by group 3 interrogation See Note 1 below 0x00000010 Interrogated by group 4 interrogation 0x00000020 Interrogated by group 5 interrogation 0x00000040 Interrogated by group 6 interrogation 0x00000080 Interrogated by group 7 interrogation 0x00000100 Interrogated by group 8 interrogation 0x00000200 Interrogated by group 9 interrogation 0x00000400 Interrogated by group 10 interrogation 0x00000800 Interrogated by group 11 interrogation 0x00001000 Interrogated by group 12 interrogation 0x00002000 Interrogated by group 13 interrogation 0x00004000 Interrogated by group 14 interrogation 0x00008000 Interrogated by group 15 interrogation Page 98 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Group Code Description 0x00010000 Interrogated by group 16 interrogation 0x00020000 Interrogated by general counter request 0x00040000 Interrogated by group 1 counter request 0x00080000 Interrogate
126. d V alid Cyclic Set IV Time set database invalid bit IV Check Delay Time check database invalid bit If the IV bit field is absent or set to 0 the invalid quality state for the point will always be reported as valid If a database bit address 1 to 64000 is present the application may consider the point with an invalid flag if the previous logic checks the IV bit as 1 during consecutive IV Check Delay scans The IV bits would have to be reset to 0 to set the point to valid state The IV DB bit defined for each point can be unique or many points may share the same bit The last case could be used when the points on an I O module are to be considered as one set In this case only a single bit is required For a point that is the result of a computation the valid quality state could be set for each point individually Monitor Data Transfer Typically you should properly configure the group code for each monitor point to define how the Master will poll for the point The group codes are defined as follows Page 138 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Group Code Description 0x00000001 Interrogated by general interrogation station or global 0x00000002 Interrogated by group 1 interrogation 0x00000004 Interrogated by group 2 interrogation 0x00
127. d by group 2 counter request 0x00100000 Interrogated by group 3 counter request 0x00200000 Interrogated by group 4 counter request 0x40000000 Disable event scanning of this point 0x80000000 Periodic cyclic data returned from unit Note 1 Group 3 interrogation also retums the parameter data ASDU 110 threshold low limit and high limit for all monitored measured points If the highest bit bit 31 is set data will be produced by the driver for the specified point at the rate set for periodic data generation Bit 30 0x40000000 enables scanning of this point for event generation If the bit is clear and the data type is set for scanning events will be generated for the point If the bit is set events will not be generated for the point This feature can be used to select which points will generate events for the controlling station and can get rid of event data that is not important to the application 5 26 CommonNet Data Map The Data Map section allows you to copy data between areas in the module s internal database You can copy a maximum of 100 registers per Data Map command and you can configure a maximum of 200 separate copy commands For example you can copy data from the error or status tables in upper memory to internal database registers in the User Data memory area You can also rearrange the byte and or word order during the copy process for example to convert floating point values to the correct format for a different proto
128. e is full the module will delete the older event in the queue if a new event is received This block should only be used to pass events with a predefined timestamp the module will also send time stamped events when database values change While using block 9958 disable the events for those specific points refer to Group Interrogation table to avoid multiple event generation caused by point value update through the database The following table shows the block format for write Block Format for Write Word Offset in Block Data Field s Description 1 Block ID This field contains the value of 9958 identifying the block type to the module 2 Event Count Number of events present in the block Valid Values 1 to 4 3 Event 1 Event data to add to event message queue 18 Event 2 Event data to add to event message queue 33 Event 3 Event data to add to event message queue 48 Event 4 Event data to add to event message queue ProSoft Technology Inc Page 71 of 201 March 4 2013 Module Configuration 12TUser Manual A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum The structure of each event record in the block is shown in the following table Word Offset in Event Record Data Field s Description 0 DB Index This is the index for the point in the module s database This corresponds to the order of point definition for the module data types This is not the
129. e message is the ability to schedule its execution This ability is normally left to the programmer in the PLC environment However in the PTQ module this is not included so that the commands may run as fast as possible to maintain the synchronization of the two databases One command from the list will execute during each I O service interval at the end of the PLC ladder logic evaluation So as an example if your configuration contains 10 Backplane Data Exchange commands it will require 10 PLC scans to process the entire list This section may contain up to 100 individual commands used in any combination to transfer data to from the Quantum The following topics provide information on the use of the commands as well as simple examples 5 4 1 Set Up Command Function 1 Read data from the Quantum This section provides information on how to read data from the Quantum into the module Command Function 1 is designed to transfer data from the Quantum to the module on a continuous basis The command s required to transfer your application data should be entered in the BACKPLANE DATA EXCHANGE section of your configuration file as required This command takes the following parameters Command type 1 Read data from the Quantum PTQ Database Address The destination for the data retrieved from the Quantum Point Type The type of register within the Quantum 0 x 0 1 x 1 3xx 3 or 4x 4 Quantum Address The source of the dat
130. e 17 of 201 March 4 2013 Start Here A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum If there is no response from the module follow these steps 1 Click to configure the connection On the Connection Setup dialog box select a valid com port or other connection type supported by the module COSE Connection Setup Select Connection Type Com 1 v Ethernet sae ProSoft Discovery Service PDS EN CiPconnect 2 Verify that the null modem cable is connected properly between your computer s serial port and the module A regular serial cable will not work 3 On computers with more than one serial port verify that your communication program is connected to the same port that is connected to the module 4 Ifyou are still not able to establish a connection contact ProSoft Technology for assistance 1 3 3 Ethernet Configuration Use this procedure to configure the Ethernet settings for your module You must assign an IP address subnet mask and module address After you complete this step and download the configuration to the module you can connect to the module with an Ethernet cable 1 Determine the network settings for your module with the help of your network administrator if necessary You will need the following information o IP address fixed IP required o Subnet mask o Gateway address Note The module Address is optional and is not required for net
131. e page of data Skip 5 Pages E Goes fonward five pages of data N Next Page Goes fonward one page of data D Decimal Display E Displays data in decimal format b NE H Hexadecimal Display EM Displays data in hexformat F Float Display Rs Displays data infloating point format A ASCII Display Pay Displays data intext format _ n a M Main Menu Goes up one level to main menu Viewing Register Pages To view sets of register pages use the keys described below Command Description 0 Display registers 0 to 99 1 Display registers 1000 to 1099 2 Display registers 2000 to 2099 And so on The total number of register pages available to view depends on your module s configuration Displaying the Current Page of Registers Again Press S from the Database View menu to show the current page of registers again DATABASE DISPLAY TO 99 lt DECIMAL gt 1 16 162 12 13 1 T OcOoOSOoOSSv y Seegqooaggnn eesoeocegoecoaunn Seeqgesego0gnn Occo coco OcOoOSOSSo Occo b 11 L a L L L L L a This screen displays the current page of 100 registers in the database ProSoft Technology Inc Page 123 of 201 March 4 2013 Diagnostics and Troubleshooting 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Moving Back Through 5 Pages of Registers Press from the Database View menu to skip five pages back in the database to
132. ea contains the text values for the operating system number 9 to 10 Run Number This two word data area contains the text values for the run number 11 Number of block This data area contains the total number of block reads read errors 12 Number of block This word contains the total number of block write writes errors 13 Number of blocks This word contains the total number of write parsed blocks successfully parsed 14 Number of block This word contains the total number of block transfer errors transfer errors 15 t0 Timeout Number of t0 errors recognized by the module 16 t1 Timeout Number of t1 errors recognized by the module 17 t2 Timeout Number of t2 errors recognized by the module 18 t3 Timeout Number of t3 errors recognized by the module 19 Receive Sequence This word contains the current Receive Sequence number NR sent by the module This value is a part of every message sent to the client unit 20 Bad Address This word contains the number of messages received with a wrong Common ASDU Address value 21 Bad Length This word contains the number of messages received by the host that does not contain a valid length field 22 Rx Count Number of messages sent 23 Tx Count Number of messages received 24 Socket State This word contains the current socket state as follows 1 Open Socket 0 Wait for Connection 1 Transmit Message if Ready 2 Receive Packet and process message 3 Process multiple messages in packet 50
133. echnology com Languages spoken include Spanish English Latin America Tel 52 222 3 99 6565 location in Puebla Mexico E mail soporte prosoft technology com Languages spoken include Spanish Brasil Tel 55 11 5083 3776 location in Sao Paulo E mail brasil prosoft technology com Languages spoken include Portuguese English 10 1 Warranty Information For complete details regarding ProSoft Technology s TERMS amp CONDITIONS OF SALE WARRANTY SUPPORT SERVICE AND RETURN MATERIAL AUTHORIZATION INSTRUCTIONS please see the documents on the Product CD DVD or go to www prosoft technology warranty Documentation is subject to change without notice Page 198 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Index 12TUser Manual Index Backplane Configuration 54 C BO NA 1104 96 C DC NA 1 104 96 C RC NA 1 104 96 C SC NA 1104 95 C SE NA 1104 97 C SE NB 1104 97 C SE NC 1104 98 IEC 870 5 104 Database 88 IEC 870 5 104 IP Addresses 92 IEC 870 5 104 76 M BO NA 1104 93 M DP NA 1104 93 M IT NA 1104 95 M ME NA 1104 94 M ME NB 1104 94 M ME NC 1104 94 M SP NA 1104 92 M ST NA 1104 93 SNTP CLIENT 74 A Add the PTQ Module to the Project 24 36 Application Layer 180 B Background scan 189 Backplane Data Exchange 55 195 Basic Application Functions 186 Block 9971
134. ection timeout tl timeout set value t2 timeout set value t3 timeout set value k maximum queue w latest ack threshold Time pB offset Error offset Command Delay Timer Freeze Start Type Interval For Freeze Common Address of ASDU cyclic data transmission Select Operate Timeout Use ACTTERM with setpoint Use ACTTERM with step Event scan delay Set Priority Queues M SP NA Priority M DP NA Priority M ST NA Priority M BO NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic set IV Time Iv check Delay Time Iv Fail Count M SP NA Scan Events M SP NA Time Type M SP NA Use Recent M DP NA Scan Events M DD NA Tima Tuna PTQ 1045 1500 10000 Not Used 20 1 1000 2000 Yes Yes 1i scan for events CP56 report multiple scan for events FDSA w gt NUM Page 87 of 201 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 8 IEC 870 5 104 Database This section describes parameters in the IEC 870 5 104 Database section Edit IEC 870 5 104 Database Short Pulse Time Short Pulse Time Long Pulse Time 2000 Default Command Qualifier Short Pulse Override Command Qualifier No M SP N point count M DP N point count M ST N point count M BO N point count M ME N point count M ME NB point count M ME NC point count M IT N point
135. egisters to copy 5 26 4 Swap Code No Change Word Swap Word and Byte Swap Byte Swap You may need to swap the order of the bytes in the registers during the copy process in order to change the alignment of bytes between dissimilar protocols This parameter is helpful when dealing with floating point or other multi register values as there is no standard method of storage of these data types in slave devices The following table defines the values and their associated operations Edit Row 1 o Chan Word Swap ord and Byte Swap te Swap N Wi By Definition Swap Code Reset Tag Reset All OK Cancel Swap Code Description No Swap No Change is made in the byte ordering 1234 1234 Word Swap The words are swapped 1234 3412 Word and The words are swapped then the bytes in each word are swapped 1234 4321 Byte Swap Bytes The bytes in each word are swapped 1234 2143 5 26 5 Delay Preset This parameter sets an interval for each Data Map copy operation The value you put for the Delay Preset is not a fixed amount of time It is the number of firmware scans that must transpire between copy operations The firmware scan cycle can take a variable amount of time Each firmware scan can take from 1 to several milliseconds to complete Therefore Data Map copy operations cannot be expected to happen at regular intervals ProSoft Technology Inc Page 101 of 201 March 4 2013 Module Configu
136. er operating results Failure to observe this information can result in injury or equipment damage 2013 ProSoft Technology All rights reserved Printed documentation is available for purchase Contact ProSoft Technology for pricing and availability North America 1 661 716 5100 Asia Pacific 603 7724 2080 Europe Middle East Africa 33 0 5 3436 87 20 Latin America 1 281 298 9109 Information for ProTalk Product Users The statement power input and output I O wiring must be in accordance with Class I Division 2 wiring methods Article 501 10 b of the National Electrical Code NFPA 70 for installations in the U S or as specified in section 18 1J2 of the Canadian Electrical Code for installations within Canada and in accordance with the authority having jurisdiction The following or equivalent warnings shall be included A Warning Explosion Hazard Substitution of components may Impair Suitability for Class l Division 2 B Warning Explosion Hazard When in Hazardous Locations Turn off Power before replacing Wiring Modules and C Warning Explosion Hazard Do not Disconnect Equipment unless Power has been switched Off or the Area is known to be Nonhazardous D Caution The Cell used in this Device may Present a Fire or Chemical Burn Hazard if Mistreated Do not Disassemble Heat above 100 C 212 F or Incinerate WARNING EXPLOSION HAZARD DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED O
137. errogation Station specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions global group 1 group 7 group 13 group 2 group 8 group 14 group 3 group 9 group 15 group 4 group 10 group 16 group 5 group 11 group 6 group 12 Clock synchronization Station specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions Clock synchronization O Day of week used m RES1 GEN time tag substituted not substituted used O SU bit Summertime used Optional ProSoft Technology Inc Page 187 of 201 March 4 2013 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Command transmission Object specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions Direct command transmission Direct set point command transmission Select and execute command Select and execute set point command C SE ACTTERM used No additional definition Short pulse duration duration determined by a system parameter in the outstation x Long pulse duration duration determined by a system parameter in the outstation Persistent output Supervision of maximum delay in command direction of commands and s
138. erval of the PLC What this means is that if you had a list of 10 commands at the end of every PLC scan one command would execute This would mean that it would take 10 PLC scans to execute the 10 commands contained within the Backplane Data Exchange section of the configuration file 9 8 2 What is the maximum number of words can transfer with a Backplane Data Exchange command For command types 1 amp 2 you may move up to 130 words with each command Function 3 is somewhat different in that it provides only 64 words of data movement BUT because it is intended to solve very specialized operations its size must be restricted 9 8 3 How do configure the module The ProTalk requires a simple text based configuration generated by ProSoft Configuration Builder software to make it operational For a really quick tutorial on the modules communications with the PLC you should review Module Configuration page 49 For more in depth information refer to Backplane Data Exchange page 55 9 8 4 What kind of data transfer rates can I expect between the PLC and the module Data transfer rates between the PLC and the module depend on a number of variables among them the number of words being transferred per command the amount of other network traffic at the time data is being transferred and overall processor scan times 9 8 5 Is a MDC available for configuration of the Module Yes The included DVD will have a version for both Concept 2 5
139. et IV TMe c edic iieri im ette E ER ee n RE mis re enced 82 IV Gheck Delay Times esi e oen tenti i ERREUR ERR SERERE cee races 83 AUR M 83 SCalisE Veiis 5nd iere dac Evi ME ET AA GET ERN IUE NENNT SEE MN EIS E 84 TIME Type xcii nr ci o tie inten So E aati a e EEUU IEEE IY Sen BER XAR SEAT c LER ER NUR Eee 85 UU Mefze ppM TEILE 86 IEC 60870 5 104 Server section sssssssssssseseneeeeeeen nens 87 IEC 870 5 104 Database ssssssssssssessseeee entrent nnne 88 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Contents 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 5 8 1 Short Pulse TIie s toe ter lt ot elu pn eee 88 5 8 2 Long Pule Time eer e reb ee db ets 88 5 8 3 Default Command Qualifier nnns 89 5 8 4 Override Command Qualifier sssssssssseeneneeeeen nnne 89 5 8 5 Point Coulter aM LS e ETE 89 5 8 6 Sequence Flag ie aueh E UT MIU Lr 90 5 8 7 Parameter Offsets siete teo e eee A a a 91 5 9 IEC 870 5 104 IP Addresses 92 5 10 M SP NAA AOA conte pde eie e e deed Meee 92 5 11 M DP NA 71 104 5 x antacid cane e ehe die gi dare a 93 5 12 MST NAA 1104 nee intere pde eh iege dee oe e Ed eda 93 5 13 M BO NA 1 104 nte cae eel ped a a i adaa 93 5 14 M ME NA 1 104 intere p deb edic tie Ma eee 94 5 15 M ME NB 1 104 nte cai Re Deiode ga dre Pese
140. et point commands 60 seconds Maximum allowable delay of commands and set point commands Pd bd Bd bd bd Pd B4 Ll P4 Transmission of Integrated totals Station or object specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions Mode A Local freeze with spontaneous transmission m Mode B Local freeze with counter interrogation O Mode C Freeze and transmit by counter interrogation commands Mode D Freeze by counter interrogation command frozen values reported spontaneously m Counter read Counter freeze without reset O Counter freeze with reset m Counter reset O General request counter Request counter group 1 Request counter group 2 Request counter group 3 Request counter group 4 Page 188 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference A6TIEC 60870 5 104 Server for Quantum 12TUser Manual Parameter loading Object specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions Threshold value m Smoothing factor Low limit for transmission of measured value High limit for transmission of measured value Parameter activation Object specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in
141. for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple CP56 Page 85 of 201 48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Module Configuration 12TUser Manual 5 6 28 Use Recent 0 REPORT MULTIPLE 1 REPORT SINGLE This parameter determines how the events will be stored at the event queue and reported to the remote Client The 104S protocol supports event queues for each data type that can store multiple time stamped events as they happen and report those events to a remote Client Some applications may require all events that transpire be added to the queue and be reported Other applications may require only the most recent event of each IEC database point to be reported M SP NA M SP NA M SP NA M DP NA M DP NA M DP NA M ST NA M ST NA M ST NA M BO NA M BO NA Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type Use Recent Scan Events Time Type scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 b M BO NA Use Recent report multiple M ME NA Scan Events scan for events M ME NA Time Type CP56 M ME NA Use Recent report multiple M ME NB Scan Events
142. found on the Internet by searching on NTP Servers with your browser 9 2 7 Sequence Flag YES or No ProSoft Technology Inc Page 173 of 201 March 4 2013 Reference 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum 9 3 In order to save bandwidth you can configure the Sequence Flag feature using the following parameters Edit IEC B70 5 104 Database Short Pulse Time M SP N Sequence Long Pulse Time M_SP_NA point count 7 M DP M point count M ST N point count M ME NA point count M ME NB point count M ME NC point count M IT N point count AMET C SC NA point count Definition C DC NA point count Y ASDU in sequence with C RC NA point count SQz1 N report separate C SE NA point count C SE NB point count C SE NC point count M SP M Sequence M DP N Sequence Report separate SQ 0 M ME N Sequence Report separate SQ 0 M Comment ME NB Sequence Report separate SQ 0 M_ME_NC Sequence Report separate SQ 0 M IT N Sequence Report separate SQ 0 W ME NA Parameter Offse M ME NB Parameter Offset M ME NC Parameter Offset Reset Tag Reset All OK Cancel If this parameter is set to No this feature is not selected the module will send the object address and value for every monitored point sent to the Client and the Sequence Flag SQ will be set to zero 0 If this parameter is set to YES this feature is selected the module will
143. from the Main Menu to view the Block Transfer Statistics screen Use this command to display the configuration and statistics of the backplane data transfer operations between the module and the processor The information on this screen can help determine if there are communication problems between the processor and the module Tip To determine the number of blocks transferred each second mark the numbers displayed at a specific time Then some seconds later activate the command again Subtract the previous numbers from the current numbers and divide by the quantity of seconds passed between the two readings Viewing Module Configuration Press C to view the Module Configuration screen Use this command to display the current configuration and statistics for the module Opening the Database Menu Press D to open the Database View menu Use this menu command to view the current contents of the module s database Page 120 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Diagnostics and Troubleshooting 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Opening the IEC 870 5 104 Server Menu Press I to open the IEC 870 5 104 Server Menu Use this command to view all data associated with the IEC 870 5 104 server driver Viewing SNTP Status Press N to view configuration information about the SNTP client SNTP CLIENT CONFIGURRTION NTP SERVER IP 0 0 0 0 DB REGISTER TIME ZONE USE D
144. fset Command Delay Timer Error Offset Common Address of ASDU Cyclic data transmission Select Operate Timeout Freeze Start Type x Comment Definition D Day H Hour M Minute N Not used The Freeze Start Type Parameter defines when the Use ACTTERM with setpoint e ACTTERM with ste e Start Type module starts sending the M IT messages Set Priority Queues M SP NA Priority M DP NA Priority M ST NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Reset Tag Reset All OK Cancel P N ND Ie eO INO CQ s Ul So the gateway would send events as follows Hours Minutes Seconds 17 00 00 17 45 00 18 00 00 18 45 00 19 00 00 19 45 00 Mode D To select the Mode D configure the Freeze Start Type parameter as N For this mode the master would periodically send Counter Interrogation Commands to perform the freeze operation After the values are frozen the gateway will return the counter points as events The counter points must be properly configured for counter interrogation groups for Mode D operation Monitor Points Addressing As discussed before the monitor points must be configured in a database area in the PTQ 104S module The monitor data types are described in the following table Page 144 of 201 Data Type Data Size Addressing Type M SP NA 1 bit Bit
145. g the Project certior nece eie des 40 Downloading the Project to the Processor seeeeeeeess 42 The following steps are designed to ensure the processor is able to transfer data successfully with the PTQ module As part of this procedure Concept configuration software from Schneider Electric will be used to create a project add the PTQ module to the project set up data memory for the project and download the project to the processor Important Note Concept software does not report whether the PTQ module is present in the rack Therefore it is not able to report the health status of the module when the module is online with the Quantum processor Please consider this when monitoring the status of the PTQ module ProSoft Technology Inc Page 31 of 201 March 4 2013 Configuring the Processor with Concept 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 3 4 Information for Concept Version 2 6 Users This guide uses Concept PLC Programming Software version 2 6 to configure the Quantum PLC The ProSoft Solutions DVD includes MDC module configuration files that help document the PTQ installation Although not required these files should be installed before proceeding to the next section 3 1 1 Installing MDC Configuration Files 1 From a PC with Concept 2 6 installed choose START PROGRAMS CONCEPT MODCONNECT TOOL This action opens the Concept Module In
146. ge of the available bits and to preserve the integrity of your information ProSoft Technology Inc Page 65 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum The following example shows how this could be accomplished Edit Row 2 Command Type Quantum to ProTalk Command Type 21 PTQ Address Point Type 0 x uantum to ProTalk sd QUANTUM Address 1 L z Word Count 1 Comment Definition Reset Tag Reset All OK Cancel 5 4 2 Set Up Command Function 2 Write data to the Quantum This section provides information on how to write data from the module to the Quantum Command Function 2 two is designed to transfer data from the module to the Quantum on a continuous basis The command s required to transfer your application data should be entered in the BACKPLANE DATA EXCHANGE section of your configuration file as required This command takes the following parameters Command type 2 Write data to the Quantum PTQ Database Address The source of the data within the PTQ to be sent to the Quantum Point Type The type of register within the Quantum 0 x 0 1 x 1 3 x 2 3 or 4x 4 Quantum Address The destination register within the Quantum The address is expressed without the use of the register range for example 400001 would be entered as 1 400001 400000 1 or 40001 40000 1 Word Co
147. gister the module will perform a cold boot operation In this application module both of these operations perform the same function They exit the program and then restart the program Many of the program parameters set in the user configuration must be set at program initialization and cannot be set while the program is running Therefore both functions operate the same way 5 5 SNTP CLIENT The SNTP CLIENT section is used to specify the parameters for the Simple Network Time Protocol SNTP Client provided with the protocol driver This client is read in order to keep the driver s internal clock set correctly This version of the driver supports SNTP Revision 3 and stratum between 1 and 14 SNTP is used for time synchronization of produced and consumed commands When an exchange occurs the driver compares time stamps from the previous exchange When the new exchange time is less than the previous exchange the exchange is ignored This can occur when the Ethernet packets are routed and delayed Time synchronization provides for data integrity This section used to define the parameters required for the Simple Network Time Protocol SNTP client SNTP CLIENT NTP SERVER IP ADDRESS 132 163 4 102 IP address for NIST Boulder Colorado NTP SERVER IP ADDRESS 0 0 0 0 IP Address for NTP Server IME ZONE 8 Number of hours from GMT 11 to 11 USE DAYL
148. gramming software installed on machine Or Concept PLC Programming Software version 2 6 Or ProWORX PLC Programming Software Or Unity Pro PLC Programming Software Note ProTalk modules are compatible with common Quantum programming applications including Concept and Unity Pro For all other programming applications please contact technical support Install ProSoft Configuration Builder Software This manual is meant for use of PTQ 104S Rev1 PCB version 2 2 0 and older must be used for Rev1 Older versions of PCB can be found at http www prosoft technology com pcb ProSoft Configuration Builder PCB software is used to configure the module To install ProSoft Configuration Builder from the ProSoft Web Site 1 Open your web browser and navigate to htto www prosoft technology com pcb 2 Click the DOWNLOAD HERE link to download the appropriate version of ProSoft Configuration Builder 3 Choose SAVE or SAVE FILE when prompted 4 Save the file to your Windows Desktop so that you can find it easily when you have finished downloading 5 When the download is complete locate and open the file and then follow the instructions on your screen to install the program If you do not have access to the Internet you can install ProSoft Configuration Builder from the ProSoft Solutions DVD included in the package with your module To install ProSoft Configuration Builder from the Product DVD 1 Insert the ProSoft Solutions Product
149. h setpoint Yes Use ACTTERM with step Yes Freeze Start Type Not Used Interval For Freeze 30 Set Priority Queues M_SP_NA amp Priority M DP NA Priority M ST NA Priority M ME N Priority M ME NB Priority Number of sec intervals M ME NC Priority between IV sets Range 0 to M IT N Priorit 65535 Cyclic Set IV Time 0 IV Fail Count 2 Event Scan delay i M SP M Scan Events scan for events M SP N Time Type CP56 M DP N Scan Events scan for events M DP N Time Type CP56 M ST NA Scan Events scan for events M ST NA Time Type CP56 M ME N Scan Events scan for events M ME N Time Type CP56 M ME NB Scan Events scan for events M ME NB Time Type CP56 M ME NC Scan Events scan for events Reset Tag Reset All M ME NC Time Type CP56 M IT M Time Type CP56 Comment Definition Cancel To disable this feature set the IV Fail Count parameter to 0 If the IV bit field is absent or set to 0 the invalid quality state for the point will always be reported as valid If used the Cyclic Set IV Time parameter must be at least 3 times larger than the IV Check Delay Time The CvcLic SET IV TiME parameter determines the interval at which the driver will set all the IV bits for the points being monitored If the IV bit is ON for the number of times specified by the IV FAIL COUNT parameter the point is in an invalid state The driver will check the state of each bit at the frequency determined by the IV CHECK
150. he Modules pane use the scroll bar to locate and select the ProTalk module and then click OK This action copies the description of the ProTalk module next to the assigned rack and slot number of the Local Quantum Drop dialog box Local Quantum Drop x Drop r Module Modules 1 ASCII Port none Y Bisin 0 Bits In 0 Bits Out 0 Bits Qut 0 Status Table Rack Slot Module Detected InRef Description 4 14 12 eb IEC6087 5 104 Server 5 Repeat steps 3 through 5 for each ProTalk module that is being installed When finished installing the ProTalk modules click OK to save the settings Click YES to confirm the settings ProSoft Technology Inc Page 37 of 201 March 4 2013 Configuring the Processor with Concept 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Tip Select a module and then click the Help on Module button for help pages PTOMDC DAR File Edit Bookmark Options Help omens ro Era Hebe Back m Opie e Welcome 67 Profalk Q ProTalk Products How to Contact Us Sales and Support ProTalk Modules PTQ 101M PTQ 1015 PTQ 103M PTQ 1045 PTQ A4DM PTQ ADMNET PTGQ AFC PTQ DFCM PTQ DFNT PTO DH485 PTQ DNET PTQ DNP Page 38 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the P rocessor with Concept 46TIEC 60870 5 104 Server for Quantum 12TUser Manual
151. he module supports a buffer queue of 99 events per data type When the queue is full the module will delete the oldest event in the queue replacing it with the newest event received for that data type ProSoft Technology Inc Page 161 of 201 March 4 2013 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Deadbands The Monitored Measured points M ME NA and M ME NB will generate events only if the data value changes an amount greater than or equal to the configured deadband value For example with the following point configured E Edit M_ME_NB_1 104 Point DB Address Groups Default Deadband IV DB Bit Comment 1 500 105 NN 100 Groups Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel If the current value for this point is 130 it would only generate an event only if NEW VALUE is less than or equal to 30 OR NEW VALUE is greater than or equal to 230 You can set the deadband for each Monitored Measured point through the configuration file The Client may also dynamically change the deadband for each Monitored point The Client may send one of the following commands Type Command 110 Parameter of Measured Normalized Data M_ME_NA 111 Parameter of Measured Scaled Data M ME NB 112 Parameter of Measured Short Floating Point M ME NC Page 162 of 201 ProSoft Technolog
152. hrough T for Control Points to display the point configuration for each data type The information includes point address group and its current value Diagnostics Connection Log Module a ON AO Z IEC 870 Database Cfg M_SP_NA Setup Menu selected M_SP_NA_1 CONFIGURATION VIEW MENU Display Menu S show Again P Previous Page N Next Page M Main Menu M SP NA Setup CO to 3 Index Point DB Addr Group s value 100 80000000 0 1 101 00000000 0 2 102 00000000 0 Path Serial Com 1 Database Configuration From the IEC 870 5 104 Server Menu press Z to display the Database Configuration screen It displays the number of configured points and the event configuration for each data type Diagnostics Connection Log Module a OFS IEC 870 5 104 DATABASE CONFIGURATION PMENA Offs 2400 PMENB Off 2500 M_SP_NA point count Event M DP NA point count Event M ST NA point count Event M BO NA point count Event M ME NA point count Event M ME NB point count Event M ME NC point count Event M IT NA point count C SC NA C DC NA C RC NA C BO NA C SE NA C SE NB C SE NC point point point point point point point count count count count count count count W CO UJ UJ UJ N N O W O UJ UJ UJ UJ UJ www Path Serial Com 1 ProSoft Technology Inc March 4 2013 Scanning Scanning Scanning Scanning Scanning Scanning Scanning Time 10 29 31 Iv Db IV Count 0 0 Time PM
153. icon and then click the right mouse button to open a shortcut menu 2 Onthe shortcut menu choose VIEW CONFIGURATION This action opens the View Configuration window Page 102 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 3 Onthe View Configuration window open the FILE menu and choose PRINT This action opens the Print dialog box 4 Onthe Print dialog box choose the printer to use from the dropdown list select printing options and then click OK ProSoft Technology Inc Page 103 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Page 104 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Downloading the P roject to the Module 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 6 Downloading the Project to the Module In This Chapter Downloading via serial connection seese 105 6 1 Downloading via Serial Connection For the module to use the settings you configured the Project file must be downloaded from your PC to the module To Download the Project File 1 Inthe tree view in ProSoft Configuration Builder click once to select the PTQ 104S module 2 Open the PROJECT menu from the top of the PCB window and mouse over MODULE Select DOWNLOAD FROM P
154. in the PLC area of the dialog box This action opens the PLC Communication Parameters dialog box PLC Communication Parameters X Request failure recovery Number of ties a Timeout ms 3000 fz Driver Settings Cancel Help 4 Click the DRIVER SETTINGS button to open the SCHNEIDER Drivers management Properties dialog box SCHNEIDER Drivers management Properties MODBUS SERIAL Driver MODBUS Test XWAY Test DRIVERS Manager PLC USB Driver Drivers Manager V2 1 IE14 Drivers System info 2 installed drivers Windows NT 5 1 Build 2600 Y Extended info Service Pack 3 Winsock V2 2 Install update DLLs XWAY V6 1 23 5 Uninstall this driver NetAccess V1 0 8 14 SETIP Fiii 5 Click the INSTALL UPDATE button to specify the location of the Setup exe file containing the drivers to use You will need your Unity Pro installation disks for this step Driver installation update Insert the driver installation disk in the selected device then click OK Cancel A Nsetup exe Browse Install the driver from 6 Click the BROWSE button to locate the Setup exe file to execute and then execute the setup program After the installation restart your PC if you are prompted to do so Refer to your Schneider Electric documentation for more information on installing drivers for Unity Pro ProSoft Technology Inc Page 27 of 201 March 4 2013 Configuring the Processor with Unity Pro 4
155. ion is sourced from the remote Client and is transferred to the database You can associate a command with a monitored normalized database value to coordinate the command monitor operation You must enter the correct Monitor Point and Monitor DB Addr values in the table If the Require Select parameter is not set to zero a select command must be received before an execute command will be processed This section takes the following parameters Point 4 DB Address Monitor Point Monitor DB Address Require Select Each point is one 16 bit word and the DB Address value corresponds to the word offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual 5 23 C SE NB 1 104 This section defines the scaled setpoint database This information is sourced from the remote Client and is transferred to the database You can associate a command with a monitored scaled database value to coordinate the command monitor operation You must enter the correct Monitor Point and Monitor DB Addr values in the table If the Require Select parameter is set to one 1 or YES a Select command must be received from the Client before an execute command from the Client will be processed This section takes the following parameters Point DB Address Monitor Point Monitor DB Address Require Select ProSoft Technology Inc Page 97 of 201 March 4 2013 Module Config
156. ion on how to set these parameters see the Reference chapter of this manual ProSoft Technology Inc Page 95 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 19 5 20 5 21 C DC NA 1 104 This section defines the double point command database This information is sourced from the remote Client and is transferred to the database You can associate a command with a monitored double point database value to coordinate the command monitor operation You must enter the correct Monitor Point and Monitor DB Adar values in the table If the Require Select parameter is not set to zero a select command must be received before an execute command will be processed This section takes the following parameters Point DB Address Monitor Point Monitor DB Address Require Select Each point is two bits and the DB Address value corresponds to the bit offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual C RC NA 1 104 This section defines the step command database This information is sourced from the remote Client and is transferred to the database The control value can be associated with a monitored point as described in the previous example This section takes the following parameters Point DB Address Monitor Point Monitor DB Addres
157. ister 400500 3 Clear your permissive condition The module will read the data in and either clear the registers in the array or return the requested data and clear the Block ID register 400500 in this example 5 4 Modify the Backplane Data Exchange Section The previous sections provided an overview of what is required to modify the Backplane Data Exchange section With this information you are now ready to make the necessary modifications to the configuration file to work with your application The following is an example of a typical Backplane Data Exchange section Wil Edit Backplane Data Exchange Command Type PTO Address Point Type QUANTUM Address Word Count Comment Quantum to ProTalk o x 1 100 x 2 QuantumtoProTalk 100 4x 104 107 v 3 ProTak to Quantum 207 4x 208 105 A Control Block 0 4x 500 64 Command Type Value Status OK GettoDefauts AddRow ImetRow DeleteRow MoveUp Move Down Edit Row Copy Row ok Cancel ProSoft Technology Inc Page 63 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum This example shows an application that reads 207 words from the Quantum to the module and writes 105 words from the module to the Quantum The Backplane Data Exchange section is a series of messages that instruct the module how to transfer data to from the Quantum What is missing from th
158. l In the example above each time the module receives a command for single command point 700 it sends a response containing a monitored single point information object address 100 with the value at database bit address 1600 Page 148 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual Require Select This parameter configures the point to require a Select request before the Operate command Client Control Data Transfer C SC NA 700 M ME NA 100 The control communication typically occurs when the Client sends a command request to update the module s command points The data types addressing are described in the following table Data Type Data Size Addressing Type C SC NA 1 bit Bit C DC NA 2 bits Bit C RC NA 1 byte Byte C SE NA 1 word Word C SE NB 1 word Word C SE NC 2 words Word Some of the command points may be configured to be selected before executed Refer to the following parameter to configure the select operate timeout period After the module receives the SELECT operation it will wait for this period of time for the EXECUTE operation If the module does not receive an EXECUTE operation within this period of time it will require another SELECT operation before the EXECUTE operation Edit IEC 870 5 104 Select Operate Timeout Use A RM with setpoin Use
159. le as shown in the following illustration Jumpers E Setup Jumper E X Do not move this jumper pipi zip eo unless instructed to do so by us App Port 1 aa ProSoft Technical Support om App Por 2 o Page 14 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Start Here 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Install the ProTalk Module in the Quantum Rack 1 Place the Module in the Quantum Rack The ProTalk module must be placed in the same rack as the processor 2 Tiltthe module at a 45 angle and align the pegs at the top of the module with slots on the backplane Caution The PTQ module is hot swappable meaning that you can install and remove it while the rack is powered up You should not assume that this is the case for all types of modules unless the user manual for the product explicitly states that the module is hot swappable Failure to observe this precaution could result in damage to the module and any equipment connected to it ProSoft Technology Inc Page 15 of 201 March 4 2013 Start Here A48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 1 3 2 Connect the PC to the ProTalk Configuration Debug Port Make sure you have exited the Quantum programming software before performing these steps This action will avoid serial port conflict Using the supplied Null Modem cable connect your PC to the
160. le in the Default Location folder The following illustration shows the ProSoft Configuration Builder window with a new project j Untitled ProSoft Configuration Builder c X File View Project Tools Help a Default Project Name Status Information Default Location A Default Module Please Select Module Type 1 Default Module Unknown Product Line Last Change Never Last Download Never 4 m Module Information Last Change Never Last Download Never Application Rev OS Rev Loader Rev MAC Address configEdit version 4 1 0 Build 4 Module configuration Module Module Type Module Name Default Module Ready Default Module NUM Page 50 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Your first task is to add the PTQ 104S module to the project 1 Use the mouse to select DEFAULT MODULE in the tree view and then click the right mouse button to open a shortcut menu j Untitled ProSoft Configuration Builder File View Project Tools Help Default Project g Default Location A 2 Defeutt Module Delete Rename Copy Paste Choose Module Type Configure Verify View Configuration Write to Compact Flash Export Configuration File s Load Config File Add External File Download fr
161. lication so as to optimize the usage of the available bits and to preserve the integrity of your information ProSoft Technology Inc Page 67 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum The following example shows how this could be accomplished Edit Row 2 Command Type Quantum to ProTalk Command Type PTQ Address 49 Point Type 0 x antum to ProTalk m QUANTUM Address 1 em El Word Count 1 Comment Definition Reset Tag Reset All OK Cancel 5 4 3 Set Up Command Function 3 Special Functions This section provides information on how to request the module to perform special non typical functions that may be required by an application Command Function 3 if required should be the first item entered in the BACKPLANE DATA EXCHANGE section of your configuration file This may be used with all modules to implement the following functionality Force a reboot of the PTQ module Special Function 9998 or 9999 available on all products Set Retrieve Time and Date DNP and IEC only Register events with the protocol DNP and IEC only Other modules may implement additional functionality which will be described in the Special Functions section of this manual This command takes the following parameters Command type 3 Control Block PTQ Database Address This value is ALWAYS 0 Note This will NO
162. mand Normalized Set Point 0 to 1000 C_SE_NB Command Scaled Set Point 0 to 1000 C SE NC Command Short Floating Point Set Point 0 to 50 5 8 6 Sequence Flag YES or NO In order to save bandwidth you can configure the module to use the Sequence Flag feature using the following parameters Edit IEC 870 5 104 Database Short Pulse Time Long Pulse Time Default Command Qualifier Override Command Qualifier M SP N point count M DP N point count M ST NA point count M BO M point count M ME M point count M ME NB point count M ME NC point count M IT N point count C SC NA point count C DC N point count C RC N point count C BO NA point count C SE N point count C SE NB point count C SE NC point count SP M Sequence M DP N Sequence M BO N Sequence V4 EL ila EAESCES UE EH M ME N Sequence M ME NB Sequence M ME NC Sequence M IT M Sequence 4 ME N Parameter Offse M ME NB Parameter Offset M ME NC Parameter Offset 2000 Short Pulse No coOooOooooooooooooo Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Report separate SQ 0 Short Pulse Time Comment Definition Y ASDU in sequence with SQz1 N report separate SQ 0 Reset Tag Reset All il OK Cancel If this parameter is set to No this feature is not selected the module will send the object address and value for every moni
163. mment Definition M_ME_NB Priority Number of sec intervals M_ME_NC Priority between IV sets Range 0 to NA Priori 65535 M A Cyclic Set IV Time 10 IV Check Delay Time 2 IV Fail Count 2 Event Scan delay M_SP_NA Scan Events scan for events M_SP_NA Time Type CP56 M DP NA Scan Events scan for events M DP NA Time Type CP56 M ST NA Scan Events scan for events M ST NA Time Type CP56 M ME NA Scan Events scan for events M ME NA Time Type CP56 M ME NB Scan Events scan for events M ME NB Time Type CP56 M ME NC Scan Events scan for events Reset Tag Reset All M ME NC Time Type CP56 M_IT_NA Time Type CP56 v OK Cancel To disable this feature set the IV Fail Count parameter to 0 If used the Cyclic Set IV Time parameter must be at least 3 times larger than the IV Check Delay Time The Cyclic Set IV Time parameter must be set to determine how frequently the IV Checks will be performed If the IV bit is ON for a number of times given by the IV Fail Count parameter the module will consider the point as invalid ProSoft Technology Inc Page 137 of 201 March 4 2013 Reference 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum The following illustration shows how these parameters are implemented t0 V alid State Invalid Valid Invalid for IV Fail Count times User Clear Bit User Clear Bit User Clear Bit User Clear Bit Database Invali
164. mmon ASDU Address value This word contains the number of messages received by the host that does not contain a valid length field Active 1 Yes 0 No Socket State This word contains the current socket state as follows 1 Open Socket 0 Wait for Connection 1 Transmit Message if Ready 2 Receive Packet and process message 3 Process multiple messages in packet 50 Send TestFR ACT 51 Wait for TestFR Con 60 Send S Format Message 1000 Close Socket 1001 Wait for Socket to Close Socket Open Count This word contains the number of times the socket listen function was executed 10 Socket Close Count This word contains the number of times the an active close function was executed 11 Socket Connect Count This word contains the number of times a connection was established between with the remote host unit Page 178 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual 9 5 ProSoft Technology Inc Group Codes One aspect of the point configuration database that leads to confusion is the group definition field which assigns each point to one or more interrogation groups Use of interrogation groups permits the controlling unit to interface with a specific set of data Refer to the IEC 60870 5 104 standard for a full discussion of interrogation groups A specific
165. mmunicates to the module through a backplane input output driver must be programmed to provide data validity information as well as the actual data to be transferred This logic application must write bit values of zero 0 or one 1 to the proper module database addresses along with the data for each IEC database point Page 82 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual This means the other protocol application or the logic application will be responsible for clearing the IV Bits for data points which contain valid data at a time interval less than the amount of time required to accumulate the required number of IV Bit Check failures In cases where ProTalkQ modules are used backplane communication happens so quickly that cyclic setting of the IV Bits will be quickly undone by data transfers from processor memory However if the process logic or other protocol application does not clear the IV Bits set by firmware then all IEC database monitor point values will be reported to the Client as invalid NOTE If one or more of the Cyclic Set IV Time the IV Check Delay Time or the IV Fail Count parameters are set to zero the data validity checking feature will be disabled for all points in the IEC database and the data reported to the remote Client will always be reported as valid data If you wish to have actual data validit
166. n the queue if a new event is received There are two ways to request status data Read the data in the database starting at word 4000 Refer to Error Status Table page 176 for detailed information Request the entire status block with a block 9250 block request The module responds to a valid block 9250 request with a block containing the requested status data The status data area for the module starts at address 4000 in the database The format of this block is shown in the following table Block Format for Write Word Offset in Block Data Field s Description 0 Block ID This field contains the value of 9250 identifying the block type to the module 1 to 247 Not Used Not Used ProSoft Technology Inc Page 69 of 201 March 4 2013 Module Configuration A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Block Format for Head Word Offset in Block Data Field s Description 0 Done Flag The word will be set to 0 when the command is complete 1 Block ID This word will contain the value of 9250 2 Scan Count This status value contains a counter incremented on each scan of the module s main loop 3104 Product Name This two word data area contains the text values representing the product name 5106 Revision This two word data area contains the text values for the revision number 7108 Op Sys This two word data ar
167. n the total database size limit of 4000 words and each database point is mapped within the module and can be assigned to one or more Groups The supported database point types are March 4 2013 Database Type Description Event Generation Point Size SP NA onitored single point database State Change 1 bit DP NA onitored dual point database State Change 2 bits ST NA onitored step point database State Change 1 byte ME NA onitored normalized point database Dead band 1 word ME NB onitored scaled point database Dead band 1 word ME NC onitored short float point database Deadband 2 words IT NA onitored integrated total database N A 2 words C SC NA Command single point database N A 1 bit ProSoft Technology Inc Page 129 of 201 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Database Type Description Event Generation PointSize C DC NA Command dual point database N A 2 bit C RC NA Command step point database N A 1 byte C SE NA Command normalized point database N A 1 word C SE NB Command scaled point database N A 1 word C SE NC Command short float point database N A 2 words IEC 60870 5 104 Server Specifications Operating in the Server mode the module accepts commands from a Client s to read write data stored in the module s internal registers This data is easily and continuously transferred between the ProTalk module and the Qu
168. nc Page 171 of 201 March 4 2013 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Event Priority Event Priority permits ASDUs that generate events to be placed in priority queues that are set by the user The configuration file contains the following parameters to support this feature Edit IEC 870 5 104 Select Operate Timeout 2000 Set Priority Queues Use ACTTERM with setpoint Yes Use ACTTERM with step Yes Yes Freeze Start Type Not Used Interval For Freeze 30 Set Priority Queues 3 M SP N Priority omen M DP N Priority M ST NA Priority CM M ME NA Priority Definition M ME NB Priority Set user defined priority M ME NC Priority queues M IT MA Priority IV Check Delay Time IV Fail Count Event Scan delay M SP N Scan Events M SP N Time Type M DP N Scan Events M DP NM Time Type M ST M Scan Events M ST N Time Type M ME N Scan Events M ME N Time Type M ME NB Scan Events M ME NB Time Type M ME NC Scan Events M scan for events CP56 scan for events CP56 scan for events CP56 scan for events CP56 scan for events CP56 scan for events Reset Tag Reset All ME NC Time Type CP56 M IT N Time Type CP56 v OK Cancel The Set Priority Queues parameter must be enabled for this feature to be used Each of the ASDUs affected by this feature must be assigned a unique priority index from 0 to 6 When events of the ASDU with
169. nfigurable time outs 1 to 255 seconds accuracy 1 second t1 t2 and t3 only Maximum number of outstanding format APDUs k and latest acknowledge APDUs w Parameter Default Value Remarks Selected Value k 12 APDUs Maximum difference receive sequence number to send state variable Maximum value is 19 w 8 APDUs Latest acknowledge after receiving w I format APDUs Maximum range of values k 1 to 32767 2 1 APDUs accuracy 1 APDU Maximum range of values w 1 to 32767 2 1 APDUs accuracy 1 APDU Recommendation w should not exceed two thirds of k Port number Parameter Value Remarks Port number 2404 In all cases RFC 2200 suite RFC 2200 is an official Internet Standard which describes the state of standardization of protocols used in the Internet as determined by the Internet Architecture Board IAB It offers a broad spectrum of actual standards used in the Internet The suitable selection of documents from RFC 2200 defined in this standard for given projects has to be chosen by the user of this standard Ethernet 802 3 m Serial X 21 interface L1 Other selection from RFC 2200 Page 190 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference A6TIEC 60870 5 104 Server for Quantum 12TUser Manual 9 7 PTQ 104S Database Design Forms This section contains a set of forms that can be used to design the databases required by the module 9 7 1 M SP NA 1 M DP NA
170. nfiguration File page 105 Viewing Version Information Press V to view Version information for the module Use this command to view the current version of the software for the module as well as other important values You may be asked to provide this information when calling for technical support on the product Values at the bottom of the display are important in determining module operation The Program Scan Counter value is incremented each time a module s program cycle is complete Tip Repeat this command at one second intervals to determine the frequency of program execution Warm Booting the Module Caution Some of the commands available to you from this menu are designed for advanced debugging and system testing only and can cause the module to stop communicating with the processor or with other devices resulting in potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff Some of these command keys are not listed on the menu but are active nevertheless Please be careful when pressing keys so that you do not accidentally execute an unwanted command Press W from the Main Menu to warm boot restart the module This command will cause the program to exit and reload refreshing configuration parameters that must be set on program initialization Only use this command if you must force the module to reboot Exiting the Program
171. nfiguration file Wil Edit Backplane Data Exchange Command Type PTO Address Point Type QUANTUM Address Word Count Comment Quantum to ProTalk 0 Ax 1 100 Quantum to ProTalk 100 4x 104 107 ProTalk to Quantum 207 4x 208 105 4 Control Block 4x 500 64 Command Type Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel The fourth command states Field Value Meaning Cmd Type 3 The type of operation to perform 3 Read Write special function to the Quantum PTQ Address 0 This is ALWAYS 0 and will not overwrite your database Point Type 4 The range of registers to read from the Quantum 4 4 x style register Quantum Address 500 The starting address of the data within the Quantum This would be Point Type Quantum Address Example 40000 500 40500 Word Count 64 This is ALWAYS 64 words in length Note This command requires two PLC scans to complete When you issue a Function 3 we will examine the Quantum Address registers process the information clear the registers and post the Status if applicable Page 60 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual The following diagram shows this example Quantum Mem
172. nia e tese es 97 GSE NB 1 104 ettet teen eene 97 C SE NCT 104 rre eges eret e eo ver e 98 Group Codes ficient pertum qn deett eode ities 98 CommonNet Data Map sesseeeeeeeeneeneenneennen nennen nennen 99 Download the Project to the Module eeeeeeeeee 103 To Create Optional Comment Entries sss 102 To Print a Configuration File eseeeennn 102 ProSoft Technology Inc March 4 2013 Page 49 of 201 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 1 Using ProSoft Configuration Builder ProSoft Configuration Builder PCB provides a quick and easy way to manage module configuration files customized to meet your application needs PCB is not only a powerful solution for new configuration files but also allows you to import information from previously installed known working configurations to new projects 5 1 1 Setting Up the Project To begin start ProSoft Configuration Builder If you have used other Windows configuration tools before you will find the screen layout familiar ProSoft Configuration Builder s window consists of a tree view on the left an information pane and a configuration pane on the right side of the window When you first start ProSoft Configuration Builder the tree view consists of folders for Default Project and Default Location with a Default Modu
173. nning of this point 0x80000000 Periodic cyclic data returned from unit Note 1 Group 3 interrogation also retums the parameter data ASDU 110 threshold low limit and high limit for all monitored measured points If the highest bit bit 31 is set data will be produced by the driver for the specified point at the rate set for periodic data generation Bit 30 0x40000000 enables scanning of this point for event generation If the bit is clear and the data type is set for scanning events will be generated for the point If the bit is set events will not be generated for the point This feature can be used to select which points will generate events for the controlling station and can get rid of event data that is not important to the application March 4 2013 Page 179 of 201 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum 9 6 IEC 60870 5 104 Server Interoperability Statement This companion standard presents sets of parameters and alternatives from which subsets have to be selected to implement particular telecontrol systems Certain parameter values such as the number of octets in the COMMON ADDRESS of ASDUS represent mutually exclusive alternatives This means that only one value of the defined parameters is admitted per system Other parameters such as the listed set of different process information in command and in monitor direction allow the specification of the
174. nt C NA point count C NA point count E NA point count NB point count NC point count 0 NA Sequence ASDU in sequence SQ 1 P NA Sequence Report separate SQ 0 E NA Sequence Report separate SQ 0 E NB Sequence Report separate SQ 0 E_NC Sequence Report separate SQ 0 IT NA Sequence Report separate SQ 0 M ME NA Parameter Offset 2000 M ME NB Parameter Offset 2000 M ME NC Parameter Offset 2000 2000 Comment Definition MSec for short pulse command 0 2147483647 OoOooooooooooco zzzzzezo000000zszsz Reset Tag Reset All OK Cancel C_RC_NA A Step Point Command point occupies one byte and uses byte addressing For example if you configured the following points Ei Edit C_RC_NA_1 104 Point DB Address Monitor Point Monitor DB Addr Comment 1 1000 500 300 40 2 10001 520 301 60 3 100 302 8 DB Address Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row Paste Ro OK Cancel ProSoft Technology Inc Page 151 of 201 March 4 2013 Reference 48TPTQ 1045S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum The following table describes how these points would be used Inf Object Address Module Database Address 1000 Low Byte of word 250 Byte address 500 300 Low Byte of word 20 Byte address 40 Must match configuration of point 300 in M ST NA
175. o Run mode immediately after the transfer is complete select check the PLC RUN AFTER TRANSFER check box Transfer Project to PLC verwritten PLC Project PC Project Name Station Station Version oat a 01 Last Build September 25 2006 3 37 26 PM Last Build September 25 2006 3 37 26 PM taa Page 28 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with Unity Pro 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 3 Click the TRANSFER button to download the project to the processor As the project is transferred Unity Pro reports its process in a PROGRESS dialog box with details appearing in a pane at the bottom of the window When the transfer is complete place the processor in Run mode ProSoft Technology Inc Page 29 of 201 March 4 2013 Configuring the Processor with Unity Pro 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Page 30 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with Concept 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 3 Configuring the Processor with Concept In This Chapter Information for Concept Version 2 6 Users 32 Creating a New Project nennen 33 Adding the PTQ Module to the Project 36 Setting the Time of Day nennen 39 Savin
176. odule will not generate events for any points A non zero value will configure how frequently the module will scan for events in the database Data Type Level The user may configure if a data type should generate events or not Each data type has a configuration parameter to control the generation of events Edit IEC 870 5 104 Select Operate Timeout M SP NA Scan Events Use ACTTERM with setpoint a Freeze Start Type Interval For Freeze Set Priority Queues x M_SP_NA Priority Sii M_DP_NA Priority 5 M ST NA Priorit d M ME NA Priority Definition M ME NB Priority Scan for events or do not scan M ME NC Priority for events M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan dela M SP NA Scan Events scan for events M_SP_NA Time Type CP56 M DP NA Scan Events No scanning M DP NA Time Type CP56 M ST NA Scan Events No scanning M ST NA Time Type CP56 M ME NA Scan Events No scanning M ME NA Time Type CP56 M_ME_NB Scan Events No scanning M_ME_NB Time Type M_ME_NC Scan Events ing Reset Tag Reset All a _ME_N ime Type P56 M_IT_NA Time Type v OK Cancel Vent i ip a A Le In the example above only the M_SP_NA points would generate events Point Level You can configure whether or not each point should generate events on a point by point basis by using the Group field for each point configuration Set the value as 40000000 to disable the gene
177. of points of all types in the IEC database The disadvantage is that events for some points may be lost and not reported to the Client Page 86 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Module Configuration 12TUser Manual 5 7 IEC 60870 5 104 Server section The IEC 104 Server section allows the user to setup the following features General Server parameters General Database parameters IP Access List addresses IEC Database points for each data type S Untitled ProSoft Configuration Builder File View Project Tools Help J Default Project Gq Default Location PTQ 1045 Backplane Configuration hg SNTP CLIENT d B IEC 870 5 104 amp IEC 870 5 104 Database Ef 1EC 870 5 104 IP ADDRESSES EB M SP NA 1104 EB M DP NA 1 104 EB M ST NA 1 104 E M BO NA 1 104 E M ME NA 1 104 E M ME NB 1 104 E M ME NC 1 104 E M IT NA 1 104 E C SC NA 1 104 EB C DC NA 1 104 EB C RC NA 1 104 EB C BO NA 1 104 EB C sE NA 1104 EB C sE NB 1 104 EB C sE NC 1 104 Comment amp f amp Ethernet Configuration ProSoft Technology Inc March 4 2013 Configured IEC 870 5 104 OK IEC 870 5 104 Database OK IEC 870 5 104 IP ADDRESSES OK M SP NA 1 104 OK M DP NA 1 104 OK M ST NA 1 104 OK M BO NA 1 104 OK M ME NA 1 104 OK M ME NB 1 104 OK 1EC 870 5 104 Use IP List override StartDT Clear queue on close tO conn
178. ol specification to represent fractional decimal values The following table describes the value for each bit as a reciprocal power of two 2 that is two 2 raised to the power of a negative exponent 1 through 15 Bit 15 is the Sign Bit Bit 5 4 B 2 dH 109 8 7 65 43 2 1 Q0 Value 800 400 200 100 80 40 20 10 2000h 1000h 4h 2h 1h Hex h Sign ae x A h h h h h h 2 28 24 22 Decimal 24 293 28 DA 29 29 2310 2 d o1 0 0 0 00000000000 AN 00 1 0 000000000000 en 0 59 0 1 000000000000 m o1 1 0 000000000000 3210h a oup d dt 8 105 47 205 20 30 70720 30 704 00 Examples A value of 4000hex only Bit 14 set all others clear is interpreted as 0 5 decimal A value of 2000hex only Bit 13 set all others clear is interpreted as 0 25 decimal A value of 1000hex only Bit 12 set all others clear is interpreted as 0 125 decimal and so on until A value of 0001hex Only Bit O set all others clear is interpreted as 0 000030517578125 Therefore the actual data values transmitted may be any combination of the decimal values for any given bit pattern C SE NC A Measured Short Floating point Command point occupies two words and uses double word addressing ProSoft Technology Inc Page 153 of 201 March 4 2013 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum For example if you configured the following points Wi Edit C SE NC 1 104
179. oltage is OK and functioning On The battery voltage is low or the battery is not present The battery LED will illuminate briefly upon the first installation of the module or if the unit has been un powered for an extended period of time This behavior is normal however should the LED come on in a working installation please contact ProSoft Technology If your module is not operating and the status LEDs are not illustrated in the table above please call ProSoft Technology for technical assistance 8 2 1 Ethernet LED Indicators LED State Description Data Off No activity on the Ethernet port Green Flash The Ethernet port is actively transmitting or receiving data Link Off No physical network connection is detected No Ethernet communication is possible Check wiring and cables Green Solid Physical network connection detected This LED must be on solid for Ethernet communication to be possible 8 2 2 Error Status Table The program maintains an error status table that is transferred to the processor in each read block You can use the error status data to determine the health of the module Refer to Error Status Table page 176 for data block structure Page 126 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual 9 Reference In This Chapter Dd Dd Dd Dd Dd Dd Dd Product Specific
180. om PC to Device Upload from Device to PC Diagnostics 2 Onthe shortcut menu choose CHOOSE MODULE TYPE This action opens the CHOOSE MODULE TYPE dialog box Kj Untitled ProSoft Configuration Builder File View Project Tools Help E 3 Default Project Name Status n Gal Default Location Default Module Please Select Module Type 34 Default Module Unknown Product Line Choose Module Type m Product Line Filter c C PLXao00 C pLx6000 C MVI46 C MvI56 C MvI71 C All C PLxso00 C PLX30 C MvI69 C mMvIS6E PTQ C MVI69E C MVI69L Search Module Type STEP 1 Select Module Type Module Definition STEP 2 Define Ports Section Status Action Required OK Cancel ProSoft Technology Inc Page 51 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 3 In the PRODUCT LINE FILTER area of the dialog box select PTQ In the SELECT MODULE TYPE dropdown list select PTQ 104S and then click OK to save your settings and return to the PROSOFT CONFIGURATION BUILDER window r gt Choose Module Type E Product Line Filter C PLX4000 C PLX6000 C MVI46 C MVI56 C MVI71 C PLXsO00 C PLX30 C MvI69 C MVI56E PTQ C MVI69E C MVI69L C all Search Module Type STEP 1 Select Module Type Module Definition X PTQ 101M PTQ 101S PTQ 103M PTQ 104C Q Action Required PTQ DFCM
181. ommand with time tag CP56Time 2a 59 Double command with time tag CP56Time 2a 60 Regulating step command with time tag CP56Time 2a 61 SetPoint command normalized value with time tag CP56Time 2a 62 SetPoint command scaled value with time tag CP56Time 2a 63 SetPoint command short floating point with time tag CP56Time 2a 107 Test command with time tag CP56Time2a If the value is less than 1000 milliseconds the module will default to 5000 milliseconds 5 6 13 Maximum ASDU Resp Len 25 to 246 This parameter limits the maximum size of the ASDU portion of a response message Most applications will use a value of 246 5 6 14 Freeze Start Type D DAY H Hour M MINUTE N NOT USED The Freeze Start Type parameter defines when the module starts sending the M IT messages 5 6 15 Interval for Freeze 0 to 65535 seconds Freeze Start Type and Interval for Freeze are used if Mode A operation is to be used for the counter freeze operation If they are not used the module will operate in Mode D ProSoft Technology Inc Page 79 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 6 16 Common Address of ASDU 0 to 65535 This parameter specifies the common address of the ASDU section address for access to data in the module There is only one value entered for access to all data in the module 5 6 17 Cyclic Data Transmission 0 to
182. or Offset Ommon dadress o Cyclic data transmiss Cyclic data transmission Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Interval For Freeze 30 Not Used Set Priority Queues M SP NA Priority M DP NA Priority M ST NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay ProSoft Technology Inc March 4 2013 BPNNBE e OO IN WB UL OV 20000 Comment Definition Number of milliseconds between cyclic updates 0 4294967296 Reset Tag Reset All Ok Cancel Page 139 of 201 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Example Periodic Monitor Polling If the following point is configured for monitor polling Wil Edit M ME NB 1 104 Point DB Address Groups Default Deadband IV DBBit Comment X0 0 80000000 100 Point Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row Paste Row OK Cancel If you configure the periodic polling for 10 seconds 10000 milliseconds as follows Edit IEC 870 5 104 Use IP List Cyclic data transmission Override StartDT Clear queue on close t1 timeout set value t2 timeout set value t3 timeout set value commen k maximum queue w latest ack th
183. ort 1 Start PCB and then select the module to test Click the right mouse button to open a shortcut menu Default Project Default Location Demo Module Page 112 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Diagnostics and Troubleshooting 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 2 Onthe shortcut menu choose DIAGNOSTICS gg Default Project Default Location Mh EEE Delete Rename Copy Choose Module Type View Configuration Export Configuration File s Load Config File Download from PC to Device Upload from Device to PC This action opens the DIAGNOSTICS dialog box 3 Press to open the Main Menu f Diagnostics Connection Log Module X ox F O MODULE MENU Display Menu B Block Transfer Statistics C Module Configuration D Database View R Transfer Configuration from PC to Unit S Transfer Configuration from Unit to PC U Reset diagnostic data V Version Information W Warm Boot Module Network Menu Esc Ex1t Program Time 14 20 46 Path Serial Com 1 Important The illustrations of configuration debug menus in this section are intended as a general guide and may not exactly match the configuration debug menus in your own module ProSoft Technology Inc Page 113 of 201 March 4 2013 Diagnostics and Troubleshooting 48TPTQ 104S Rev 1 47T Quantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quant
184. ory Address PTQ Memory Address 40001 0 40010 First Command 9 40020 19 40030 29 40040 39 40060 59 40070 69 40080 79 40090 89 40100 99 40104 100 40111 Second Command 110 40200 199 40207 206 40208 207 40210 Third Command 209 40310 309 40313 312 40500 N A 40510 Fourth Command N A 40520 1st Scan N A 40530 N A 40540 2nd Scan N A 40550 4 N A 40560 N A 40563 N A ProSoft Technology Inc Page 61 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 3 5 Implementing Ladder to Support Special Functions The previous discussions about Command Function 1 and Command Function 2 have not required that you implement any form of logic within the PLC however if you are required to use the Command Function 3 you must implement some form of control logic The following section uses structured text language to illustrate how a typical function might be implemented Example Rebooting the module MyTrigger is an alias for register 401000 MyFunction3 is an alias for register 400500 MyDatal MyData63 are aliases for 400501 400563 The premise for this logic is IF MyTrigger SOMEVALUE THEN Fill the buffer set MyFunction3 to the appropriate value Clear MyTrigger with a 0 END IF 5 IF MyTrigger 9999 THEN MyFunction3 MyTrigger MyTrigger 0 END IF
185. own Send Sequence Number as a Receive Sequence Number The buffer status information is available at the following status parameters In Queue Queue First Queue Index 4023 Received Packets This word contains the number of messages received by the client but without being acknowledged by the module 4024 In Queue This word contains the number of messages in the queue that have not been acknowledged by the client yet 4025 Queue First This word should contain a value of 0 4026 Queue Index This word contains the current index number of the latest message in the buffer queue 4027 Tx Count Number of messages received 4028 Rx Count Number of messages sent 4029 t0 Timeout Number of t0 errors recognized by the module 4030 t1 Timeout Number of t1 errors recognized by the module 4031 t2 Timeout Number of t2 errors recognized by the module 4032 t3 Timeout Number of t3 errors recognized by the module Page 176 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Word Offset in Block Data Field s Description 4033 Sequence Number This word contains the number of sequence Errors number errors recognized by the module When the send sequence number received by the module does not match the expected sequence number the connection is closed and this counter is incremented 4034 Bad Address This word contains the number of messages
186. p Module Modules 0 ASCII Port Bits In Fens Bits In 0 Bits Out Bits Out 0 Status Table Prev Next Clear Dee elete Low Paste Rack Slot Module Detected In Ref InEnd QutRef OutEnd Page 36 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with Concept 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 3 Click the MODULE button next to the rack slot position where the ProTalk module will be installed This action opens the O Module Selection dialog box Local Quantum Drop x r Drop Module Modules 0 ASCII Port none _ Bits In 0 Params Bits In 0 Bits Out Bits Qut 0 Status Table 4 4 4 4 170 Module Selection x py Categories Modules 140 E14 921 00 4S i1 Channel 140 NO4 611 00 IBS Head Mode 2 140 NO4 611 10 IBUS S Master w PCP 140 NOL 811 x I F to LonWorks 140 PTQ 101M IEC6087 5 101 Master 140 PTQ 1015 1EC6087 5 101 Slave 140 PTQ 103M IECB087 5 103 Master 140 PTG 1045 IEC6087 5 104 Server 140 PTQ 4DM Application Development Module 140 PTQ ADMNET Application Development Module with 140 PTQ AFC Oil and Gas Flow Computer 140 PTQ DFCM Rockwell Automation DF1 Half Duple 140 PTQ DFNT Rockwell Automation Ethemet IP sa Paste a Tan PTEI DH ARR DH 48 Module 4 Cancel Help Help on Module ok Cancel Hep F Fal E 4 Int
187. point address for the event For example to refer to the third configured point enter a value of 2 first event is 0 ASDU This is the ASDU data type for the event message Valid entries for this field are as follows 1 single point 3 double point 5 step 9 normalized 11 scaled 15 integrated total Qualifier Year This is the qualifier code for the event message This parameter is only used for ASDU types 5 9 11 and 15 Refer to the IEC Protocol Specification for a full listing of valid qualifier codes for one of these ASDU types This field contains the four digit year for this event Month Day This field contains the month value for the event Valid Values 1 to 12 This field contains the day value for the event Valid Values 1 to 31 Hour This field contains the hour value for the event Valid Values 0 to 23 Minute This field contains the minute value for the event Valid Values 0 to 59 Seconds and Milliseconds This field contains the seconds and milliseconds value for the event Valid Values 0 to 59 999 59 seconds and 999 milliseconds 9 to 14 Data These words contain the data for the event For single and double point step and measured value events the first word is used For integrated total events the first two words are used Block Format for Read Word Offset in Block Data Field s 1 Block ID Description This word will contain the v
188. points are configured for General Interrogation If you configure the following data points Wil Edit M SP NA 1 104 DB Address Groups IV DB Bit Comment 1600 oooo0002 O 1601 oooo0002 O 1602 oooo0004 O Point Value Status OK Add Row Cancel ProSoft Technology Inc Page 141 of 201 March 4 2013 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum This feature allows you to separate the points into different groups according to the priority level that these should be reported to the Master In the example above points 100 and 101 would be returned with a General Interrogation for Group 1 and point 102 would be returned with a General Interrogation for Group 2 Counter Points There are four modes of acquisition of integrated totals M IT NA points defined by the protocol specification The actual values may be memorized copied periodically to frozen values by a freeze command received from the master or initiated locally within the module Actual Value Ereeze Transmitted Value The gateway supports the following modes Mode A Local freeze with spontaneous transmission Mode D Counter interrogation commands from the master initiate the freeze operation and the frozen values are reported spontaneously Example Mode A To use Mode A configure the following parameters Edit IEC 870 5 104 Use IP List F
189. ration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum If multiple copy operations several rows in the Data map section happen too frequently or all happen in the same update interval they could delay the process scan of the module protocols which could result in slow data updates or missed data on communication ports To avoid these potential problems you should set the Delay Preset to different values for each row in the Data Map section and set them to higher rather than lower numbers For example Delay Preset values below 1000 could begin to cause a noticeable delay in data updates through the communication ports And you should not set all Delay Presets to the same value Instead use different values for each row in the Data Map such as 1000 1001 and 1002 or any other different Delay Preset values you like This will prevent the copies from happening concurrently and prevent possible process scan delays 5 27 To Create Optional Comment Entries 1 Click the plus sign to the left of the a comment icon to expand the module Comments 2 Double click the 18 v coe icon The Edit Module Comment dialog appears Edit Module Comment Comment Put Comment Here Comment Comment Put Comment Here Definition Reset Tag Reset All OK Cancel 3 Enter your comment and click OK to save your changes 5 28 To Print a Configuration File 1 Select the module
190. ration of events for any specific point E Edit M_SP_NA_1 104 Point DB Address Groups IVDBBit Comment X1 10 0 DB Address Value Status OK Setto Default Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel ProSoft Technology Inc Page 167 of 201 March 4 2013 Reference 48TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Time Information Each event may also send the date and time when it occurred The PTQ 104S module supports the CP56 time format as defined in the protocol specification This format contains the millisecond second minute hour day month and year when the event occurred The PTQ 104S gateway may also be configured not to send any time information with each event for certain data types The following Time Type parameters may be used to control the time information for each data type Edit IEC 870 5 104 Select Operate Timeout M_SP_NA Time Type Use ACTTERM with setpoint Use ACTTERM with step E Freeze Start Type Interval For Freeze Set Priority Queues M SP NA Priority M DP NA Priority M ST NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay M SP NA Scan Events N aN no o Comment Definition None or CP56 time PESE CIEN LR d io w
191. received with a wrong Common ASDU Address value 4035 Bad Length This word contains the number of messages received by the host that does not contain a valid length field 4036 Active l0 Yes 0 No 4037 Socket State This word contains the current socket state as follows 1 Open Socket 0 Wait for Connection 1 Transmit Message if Ready 2 Receive Packet and process message 3 Process multiple messages in packet 50 Send TestFR ACT 51 Wait for TestFR Con 60 Send S Format Message 1000 Close Socket 1001 Wait for Socket to Close 4038 Socket Open Count This word contains the number of times the socket listen function was executed 4039 Socket Close This word contains the number of times the an Count active close function was executed 4040 Socket Connect This word contains the number of times a Count connection was established between with the remote host unit 4041 Event Buffer 0 Event data from MSP free events 4042 Event Buffer 1 Event data from MDP free events 4043 Event Buffer 2 Event data from MST free events 4044 Event Buffer 3 Event data from MMA free events 4045 Event Buffer 4 Event data from MMB free events 4046 Reserved Reserved 4047 Event Buffer 6 Event data from MIT free events The module has two parameters to copy parts of the status registers to the database as follows Backplane Configuration section Error Offset Word Offset in Block Data Field s Description
192. reeze Start Type Override StartDT Clear queue on close t1 timeout set value t2 timeout set value t3 timeout set value k maximum queue w latest ack threshold Time DB Offset Command Delay Timer Error Offset D Day H Hour M Minute Common Address of ASDU N Not used Cyclic data transmission The Freeze Start Type Select Operate Timeout parameter defines when the Use ACTTERM with setpoint module starts sending the M_IT e ACTTERM with step messages Freeze Start Type Interval For Freeze Day v Comment Definition Set Priority Queues M_SP_NA Priority M_DP_NA Priority M_ST_NA Priority M_ME_NA Priority M_ME_NB Priority P LJ M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay o Reset Tag Reset All OK Cancel P NNI IP eO INO C s Ul Freeze Start Type The Freeze Start Type parameter will define when the gateway starts sending the M IT messages Page 142 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Example Freeze Start Type If the gateway powers up with the following date and time clock 03 25 2004 18 07 42 If you configure the Interval For Freeze parameter as follows Edit IEC 870 5 104 Use IP List Interval For Freeze Override StartDT Clear queue on close re t1 timeout set value t2 timeout set val
193. report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 report multiple scan for events CP56 connection Yes No R Reset Tag Reset All OK Cancel ProSoft Technology Inc Each of the ASDUs affected by this feature must be assigned a unique priority index from 0 to 7 Events of the ASDU with a priority of O will always be reported before any others when they are present For more information refer to Event Priority page 172 Page 81 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 6 23 Cyclic Set IV Time 1 to 65535 seconds or 0 to disable Invalid Bit Monitoring The parameter should be set to a value significantly greater than the value of the IV Check Delay Time parameter multiplied by the value of the V Fail Count parameter Example If IV Check Delay 3 And IV Fail Count 5 Then set Cyclic Set IV Time significantly greater than 15 preferably some multiple of this value like 30 45 60 or more The Cyclic Set IV Time parameter is one of three parameters needed to establish a fail safe data validation system for this protocol implementation This parameter is used with the V Check Delay Time and the V Fail Count parameters to create a way to alert the remote IEC 104 Client to situations where data being sen
194. reshold Time DB Offset ee eee Command Delay Timer Definition Error Offset Number of milliseconds between cyclic updates 0 4294967296 Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Not Used Interval For Freeze 30 Set Priority Queues Yes M_SP_NA Priority 6 M_DP_NA Priority _ST_NA Priority ME NA Priority ME NB Priority ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Reset Tag Reset All v OK Cancel P NJ NJ i e OO IND GJ BU Page 140 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual The following illustration shows the communication procedure 104S Client Module Measured Scaled Response Point 100 ACK Response g 56565 p Measured Scaled Response Point 100 Status of Link Response Therefore the point configured for a cyclic poll is periodically reported to the Master You may also create groups of points allowing the Master to poll certain points more frequently than other points The Master may send requests for different groups as follows General Interrogation station General Interrogation for Group 1 General Interrogation for Group 2 General Interrogation for Group 16 Example General Interrogation If the following
195. revent the rated voltage being exceeded by transient disturbances of more than 40 This device must be used only with ATEX certified backplanes D DO NOT OPEN WHEN ENERGIZED Electrical Ratings Backplane Current Load 1100 mA maximum 9 5 Vdc 5 Operating Temperature 0 C to 60 C 32 F to 140 F Storage Temperature 40 C to 85 C 40 F to 185 F Shock 30 g operational 50 g non operational Vibration 5 g from 10 to 150 Hz Relative Humidity 5 to 95 without condensation All phase conductor sizes must be at least 1 3 mm squared and all earth ground conductors must be at least 4mm squared Markings CSA cUL CSA CB Certified ATEX amp Important Notice C A CAUTION THE CELL USED IN THIS DEVICE MAY PRESENT A FIRE OR CHEMICAL BURN HAZARD IF MISTREATED DO NOT DISASSEMBLE HEAT ABOVE 100 C 212 F OR INCINERATE Maximum battery load 200 pA Maximum battery charge voltage 3 4 VDC Maximum battery charge current 500 pA Maximum battery discharge current 30 pA A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Contents 12TUser Manual Contents Your Feedback Please Information for ProTalk Product Users Guide to the PTQ 104S User Manual 1 Start Here 2 Configuring the Processor with Unity Pro 2 4 1 3 Configuring the Processor with Concept 3 1 1 4 Configuring the Processor with ProWORX Hardware and Software Requirements Pa
196. s 12 Hardware Specifications 129 How do configure the module 195 How fast do the 195 EC 60870 5 104 Server Interoperability Statement 180 EC 60870 5 104 Server section 87 EC 870 5 104 Configuration Menu 117 EC 870 5 104 Server Menu 117 EC 870 5 104 Status Data 118 mplementing Ladder to Support Special Functions 62 nformation for Concept Version 2 6 Users 32 nformation for P roTalk amp Product Users 3 nformation object address 181 nitialize Output Data 55 nstall ProSoft Configuration Builder Software 13 nstall the ProTalk Module in the Quantum Rack 14 15 nstalling MDC Configuration Files 32 nterval for Freeze 79 nvalid Bit Monitoring 83 169 P Address 131 s a MDC available for configuration of the Module 195 V Check Delay Time 83 V Fail Count 83 K k maximum queue 78 Keystrokes 115 Page 200 of 201 L LED Indicators 126 Length of APDU 181 Lists of Valid Hosts 118 Long Pulse Time 88 M E NA 165 ME NA andM ME NB 146 E NA 1andM ME NB lForm 192 E NB 165 E NC 166 ME NC and M IT NA 147 SP NA 145 SP NA 1 M DP NA 1 M ST NA land IT NA 1Form 191 ST NA 145 ain Menu 120 aximum ASDU Resp Len 79 aximum number of outstanding format APDUs k and latest acknowledge AP DUs w 190 odify the Backplane Data Exchange Section 63 odule Address 131 odule Configuration 49 195 odule Name 54 onitor Data Transfer 1
197. s Each point is one 8 bit byte and the DB Address value corresponds to the byte offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual C BO NA 1 104 This section defines the 32 bit Bitstring command database for the server emulated This information is sourced from the remote Master and is transferred to the database You can associate a command with a monitored double point database value to coordinate the command monitor operation You must enter the correct Monitor Point and Monitor DB Addr values in the table If the Require Select parameter is not set to zero a select command must be received before an execute command will be processed This section takes the following parameters Point Page 96 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual DB Address Monitor Point Monitor DB Address Each point is four 8 bit bytes and the DB Address value corresponds to the double word offset in the module memory database The DB Address should be located in a database area that is being constantly moved from the Master to the Quantum For additional information on how to set these parameters see the Reference chapter of this manual 5 22 C SE NA 1 104 This section defines the normalized setpoint database This informat
198. s 4000 To request the complete status block refer to Read Status 9250 on page 69 Word Offset in Block Data Field s Description 4000 Scan Count This status value contains a counter incremented on each scan of the module s main loop 4001 to 4002 Product Name This two word data area contains the text values representing the product name 4003 to 4004 Revision This two word data area contains the text values for the revision number 4005 to 4006 Op Sys This two word data area contains the text values for the operating system number 4007 to 4008 Run Number This two word data area contains the text values for the run number 4009 Reserved Reserved 4010 Block Reads 4011 Block Writes 4012 Blocks Parsed 4013 Block Errors 4020 Send Sequence This word contains the current Send Sequence number NS sent by the module This value is a part of every message sent to the client unit 4021 Receive Sequence This word contains the current Receive Sequence number NR sent by the module This value is a part of every message sent to the client unit 4022 Ack Sequence This value increments every time the messages sent by the module are acknowledged The client acknowledges a number of APDUs when it returns the Receive Sequence Number up to the number whose APDUS are properly received The module will hold the APDUs in a buffer until it receives back its
199. ss of the NTP server to utilize for time acquisition Select an NTP server with the greatest accuracy that can be accessed all the time from your network Setting this IP address to 0 0 0 0 disables SNTP server requests 5 5 2 Time Zone 11 to 11 This parameter specifies the time zone offset to be used from the UTC time zone A value of zero uses UTC time If the value entered is positive the time zone is west of the UTC time zone that is Eastern Standard Time is 5 If the value entered is negative the time zone is east of the UTC time zone that is Continental Europe is 1 ProSoft Technology Inc Page 75 of 201 March 4 2013 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 5 5 3 Use Daylight Savings Time Yes or No This parameter specifies if daylight savings time will be used in the time computation 5 5 4 Database Register 1 or 0 to 3992 as an even value This parameter specifies if the NTP time computed by the driver is to be placed into the module s database If a value of 1 is specified the time will not be placed into the database If the value is between 0 and 3992 the time will be placed in the database The first 4 bytes will represent the seconds since 1 1 1970 and the second 4 bytes will represent the number of microseconds An even value should be used for the register value in order for the data to be stored correctly 5 6 IEC 87
200. ssor to the PTQ 104S module Therefore this value should be configured in an area that is used on a Backplane Command Function 1 Refer to the Group Codes page 98 section for a listing of Group Codes M IT NA 1 104 This section defines the monitored integrated totals counter database This information is sourced from the database and is transferred to the remote Client unit This section takes the following parameters Point DB Address Group s V DB Bit Each point is two 16 bit words and the DB Address value corresponds to the double word offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual C SC NA 1 104 This section defines the single point command database This information is sourced from the remote Client and is transferred to the database You can associate a command with a monitored single point database value to coordinate the command monitor operation You must enter the correct Monitor Point and Monitor DB Address values in the table If the Require Select parameter is not set to zero a select command must be received before an execute command will be processed This section takes the following parameters Point DB Address Monitor Point Monitor DB Address Require Select Each point is one bit and the DB Address value corresponds to the bit offset in the module memory database For additional informat
201. stallation dialog box iin Concept Module Installation x File Modules Help Installed Modules in Concept Database 140 PTQ 101S IEC6087 5 101 Slave 140 PTQ 103M 140 PTQ 101M IEC6087 5 101 Master m IEC6087 5 103 Master IEC6087 5 104 Server Application Development Module l Application Development Module with Ethernet 140 PTQ AFC Oil and Gas Flow Computer Rockwell Automation DF1 Half Duplex Master 140 PTQ DFNT Rockwell Automation Ethemet IP Module 140 PTQ DH485 DH 485 Module zl Module Details Provider ProSoft Technology Inc Version 1 00 00 Copyright Copyright 2002 2010 2 Choose FILE OPEN INSTALLATION FILE This action opens the Open Installation File dialog box Open Installation File 2 x am Dn Sample mdc E c EM B BtWOTK i Nowo C3 CC2CAT Dat sz Dib List files of type Drives Module Desc mdc v c E 3 If a Quantum processor is being used the MDC files will be needed In the Open Installation File dialog box navigate to the MDC Files directory on the ProSoft Solutions DVD Page 32 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the P rocessor with Concept 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 4 Choose the MDC file and help file for the version of Concept o Concept 2 6 users select PTQ 2 60 mdc and PTQMDC hlp o Concept 2 5 users select PTQ 2 50 mdc and PTQMDC hlp Select the files th
202. t 63 gt C SE TC 1 X X X X X X X X X 64 C BO TA 1 X X X X X X X lt 70 gt MEI NA 1 lt 100 gt C IC NA 1 X X X X X X X X X lt 101 gt C CI NA 1 X X X X X X X lt 102 gt C RD NA 1 X X X X X lt 103 gt C CS NA 1 X X X X X X 105 C RP NA 1 X X X X X X ProSoft Technology Inc March 4 2013 Page 185 of 201 Reference A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Type Identification Cause of transmission 123 45 6 7 8 9 10 11 12 13 20 37 44 45 46 47 to to 36 41 lt 107 gt C TS TA 1 X X X X X X 110 P ME NA 1 X X X X X X lt 111 gt P ME NB 1 X X X X X X lt 112 gt P ME NC 1 X X X X X X lt 113 gt P AC NA 1 lt 120 gt F FR NA 1 lt 121 gt F SR NA 1 lt 122 gt F SC NA 1 lt 123 gt F LS NA 1 lt 124 gt F AF NA 1 125 F SG NA 1 lt 126 gt F DR TA 1 127 F SC NB 1 9 6 5 Basic Application Functions Station initialization Station specific parameter mark X if function is used Remote initialization Cyclic data transmission Station specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions Cyclic data transmission Read procedure Station specific parameter mark X if function is only used in the standard direction R if only used in the reverse direction and B if used in both directions
203. t Technology Inc Page 39 of 201 March 4 2013 Configuring the Processor with Concept 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum 3 Select check the Time of Day box and then enter the value 00001 as shown in the following illustration This value sets the first time of day register to 400001 x Maximum T Battery Coil wf 1536 Timer Register af 1872 V Time Of Day 4x 00001 400008 1865 Allow Duplicate Coils LL984 only First Coil Address Ox Watchdog Timeout ms 10 fao Online Editing Timeslice ms feo Cancel Help 4 Click OK to save your settings and close the Specials dialog box 3 5 Saving the Project 1 Inthe PLC Configuration dialog box choose FILE SAVE PROJECT AS i amp Concept C CONCEPTXTESTPR J untitled File Configure Project Online Options Window Help E 0 elis om 8 sl Close project Save project Save project as 140 CPU 534 14 Availz Enabled IECH New section Open section ory Partition Loada Delete section 000001 001536 Numb Section properties Inputs 100001 100512 E Section Memory egisters 300001 300512 Registe400001 401872 Import Export F R Print Coil Segmt Printer setup egister T F Day 400001 400008 View Logfile xtensions MASCI EE AIt F4 fotection Disabled Numbe d 1 Disabled 1 C CONCEPT TEST
204. t and systems with data transmission for monitoring and controlling geographically widespread processes This protocol consists essentially of the IEC 60870 5 101 protocol with the addition of TCP IP as the transport mechanism Any application with the IEC 60870 5 104 protocol consists of a client Controlling Station and one or more servers Controlled Stations The client constantly monitors and controls the data from each server in the TCP IP network Client Server The PTQ 104S works as an IEC 60870 5 104 server it can send monitor data receive commands or generate events to the client unit 9 2 1 Module Address The PTQ 104S module is identified at transport level using the IP Address and at application level using the Common ASDU Address IP Address The PTQ 104S module is identified by a unique IP address on the TCP IP network You must edit the WATTCP CFG configuration file or use the configuration tool to enter a valid IP address ProSoft Technology Inc Page 131 of 201 March 4 2013 Reference 12TUser Manual 48TPTQ 104S Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum The following example lists the default contents of the WATTCP CFG file Edit WATTCP netmask gateway 192 168 0 250 255 255 255 0 192 168 0 1 my ip FEM 168 0 250 Comment Femme o ooo Definition Default private class 3 address Reset Tag Reset All OK Cancel In this example
205. t by the module might be invalid Use the Cyclic Set IV Time parameter to set how frequently the Invalid IV Bits assigned to IEC database monitor points M xx xx points will be set ON This means that all the IEC database monitor points configured with IV Bit addresses greater than zero 0 will have their IV Bit addresses in the module database set to a value of one 1 in a timed periodic cycle based on the number of seconds entered in Cyclic Set IV Time The IV Bits are checked at the interval specified by the V Check Delay Time parameter At the end of each check delay interval if an IV Bit for any IEC database point is ON an IV Bit Check Fail accumulator for that point will be incremented If the value in any IV Bit Check Fail accumulator becomes equal to the value of the V Fail Count parameter the module will consider the data value of that point invalid and will report the invalid status of that point to the Client along with the data value If the IV Bit is cleared reset set OFF set to zero before the IV Bit Check Fail accumulator value becomes equal to the value of the V Fail Count parameter the IV Bit Check Fail accumulator will be reset to 0 The module will consider the data value of that point valid and will report the data value to the Client as valid To properly use data validity checking with a ProTalkQ rack mounted module for Modicon Quantum processor systems the logic application running in the processor that co
206. ta to be Sent to the PTQ Database 56 Defining Special Functions 59 Definition of time outs 189 Delay Preset 101 Diagnostics and Troubleshooting 9 105 109 111 Displaying the Current Page of Registers Again 123 Does the module work in a remote rack 195 Double transmission of information objects with cause of transmission spontaneous 187 Download the P roject to the Module 105 115 121 122 Download the Project to the Processor 28 40 42 E Error Offset 55 79 Error Status Table 69 126 176 Ethernet Configuration 18 Ethernet Connection 175 Ethernet LED Indicators 126 Ethernet Port Configuration wattcp cfg 175 Event Messages 9958 71 Event Priority 81 172 Event Scan Delay 80 Events 71 161 Example 0 x or 10 x Register Transfer 65 67 Example 30 Page 199 of 201 Index 12TUser Manual A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum x or 40 x Register Transfer 65 67 69 Exiting the P rogram 116 122 F Failure Flag Count 54 File transfer 184 189 Form for All C_ Command Data Types Except C RC NA 1 193 Freeze Start Type 79 Frequently Asked Questions 195 From Address 100 Functional Specifications 129 G General All Points 166 General Specifications 128 Group Codes 93 95 98 154 179 Group Communication 154 Guide to the PTQ 104S User Manual 9 H Hardware and Software Requirement
207. the PTQ 104S module is identified by IP address 192 168 0 250 in the IEC 60870 5 104 network with a netmask subnet mask of 255 255 255 0 and a default gateway address of 192 168 0 1 Because there could be several devices in the same TCP IP network some applications may require a connection control from which IP addresses the module may receive valid messages To restrict the units IP addresses from which the module will accept connections enable the Use IP List parameter Edit IEC 870 5 104 Use IP List Override StartD Clear queue on close t1 timeout set value t2 timeout set value t3 timeout set value k maximum queue w latest ack threshold Time DB Offset Command Delay Timer Error Offset Common Address of ASDU Cyclic data transmission Select Operate Timeout Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Interval For Freeze Set Priority Queues M_SP_NA Priority M_DP_NA Priority M_ST_NA Priority M_ME_NA Priority M_ME_NB Priority M_ME_NC Priority M_IT_NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Page 132 of 201 rOrRWrONUWU uro Use IP List ks Ml Comment Definition Use IP list to validate connection Yes No Reset Tag Reset All OK Cancel ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual Wil Edit IEC 870 5 104 I
208. tion Long Description Power 5 Power 4 3 Power 5 In Bytes Out Bytes Module Type Doc Only Rack View Bitmap Drop View Bitmap Has Multiple Catalog Number Terminal Strip ProSoft Technology Inc Page 45 of 201 March 4 2013 Configuring the Processor with ProWORX 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 3 Select the SAF File that is located on the DVD shipped with the PTQ module Select Import File Look in 3 Proworx32 SAF file e gam My Recent Documents File name ProtakO_v2_0 SAF Files of type Schneider Alliance File saf 4 After clicking OPEN select the I O SERIES as QUANTUM SERIES Also select the MODULE as PTQ Schneider Alliances A n QD C Sehneider Alfiansss Name Value Card ID 0424H Card Description PTO Medium Description ProtalkQ Communication Module Long Description ProtalkQ Communication Module Power 800 Number of Parameters Used Default Number of Parameters 0 In Bytes 0 Dut Bytes 0 Module Type O Discrete Doc Only 1 True MCS Simple 1 0 Ordinary MCS Simple 2 0000 0000 Default Parameter Data Rack View Bitmap PTG bmp Drop View Bitmap PTQ bmp 5 Close the Schneider Alliances application Page 46 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S
209. tion Some of the commands available to you from this menu are designed for advanced debugging and system testing only and can cause the module to stop communicating with the processor or with other devices resulting in potential data loss or other failures Only use these commands if you are specifically directed to do so by ProSoft Technology Technical Support staff Some of these command keys are not listed on the menu but are active nevertheless Please be careful when pressing keys so that you do not accidentally execute an unwanted command Press Esc to restart the module and force all drivers to be loaded The module will use the configuration stored in the module s Flash memory to configure the module Page 116 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Diagnostics and Troubleshooting 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 8 1 4 IEC 870 5 104 Server Menu Press Z from the main menu to open the IEC 870 5 104 Server Menu ti Diagnostics Connection Log Module ig ON FO IEC 870 5 104 SERVER MENU Display Menu c configuration E Display Program Status F Priority Queues G Invalid state Monitoring I List of valid hosts M Return to Main Menu M_SP_NA Setup M_ST_NA Setup M ME NB Setup M ME NC Setup C SC NA Setup C RC NA Setup C SE NB Setup C BO NA Setup IEC 870 Database cfg Time 09 36 09 NABVDVZNUWe www ww Path Serial Com 1 IEC 870
210. tion and Debug menu for this module is arranged as a tree structure with the Main Menu at the top of the tree and one or more sub menus for each menu command The first menu you see when you connect to the module is the Main menu Because this is a text based menu system you enter commands by typing the command letter from your computer keyboard in the diagnostic window in ProSoft Configuration Builder PCB The module does not respond to mouse movements or clicks The command executes as soon as you press the COMMAND LETTER you do not need to press ENTER When you type a command letter a new screen will be displayed in your terminal application 8 1 1 Required Hardware You can connect directly from your computer s serial port to the serial port on the module to view configuration information perform maintenance and send or receive configuration files ProSoft Technology recommends the following minimum hardware to connect your computer to the module 80486 based processor Pentium preferred megabyte of memory At least one UART hardware based serial communications port available USB based virtual UART systems USB to serial port adapters often do not function reliably especially during binary file transfers such as when uploading downloading configuration files or module firmware upgrades 8 1 2 Using the Diagnostic Window in ProSoft Configuration Builder To connect to the module s Configuration Debug serial p
211. tored point sent to the Client and the Sequence Flag SQ will be set to zero 0 Page 90 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual If this parameter is set to YES this feature is selected the module will send the object point address and value for only the first point of a sequence of points send only the data value without point address for any remaining points in the sequence and the Sequence Flag SQ will be set to one 1 When SQ 1 the Client assumes that all points after the first point use Information Object Addresses in a contiguous order using the first point as the reference starting address Note Refer to the Client device specification to verify if this feature is supported before you consider using it 5 8 7 Parameter Offset Edit IEC 870 5 104 Database Short Pulse Time 2000 M_ME_NA Parameter Offset Long Pulse Time 10000 Default Command Qualifier Short Pulse Override Command Qualifier No M_SP_NA amp point count a M_DP_NA amp point count M ST N point count M BO NA point count Comment Definition M ME N IOA offset for parameter data 0 3999 M ME M point count M ME NB point count M ME NC point count M IT N point count C SC NA point count C DC M point count C RC N point count C BO NA point count C SE NA point count C SE NB point count C SE
212. totals 188 Type identifier and cause of transmission assignments 184 U Use ACTTERM with Setpoint 80 Use ACTTERM with step 80 Use Daylight Savings Time 76 Use IP List 77 118 Use Recent 86 Using Control Command Points 148 Using Monitor Points 136 Using ProSoft Configuration Builder 50 Using the Diagnostic Window in P roSoft Configuration Builder 112 V Verify J umper Settings 14 Viewing Block Transfer Statistics 120 Viewing Data in ASCII Text Format 124 Viewing Data in Decimal Format 9 124 Viewing Data in Floating P oint Format 124 Viewing Data in Hexadecimal Format 124 Viewing Module Configuration 115 120 Viewing Register Pages 123 Viewing SNTP Status 115 121 Viewing the Backplane Command List 121 Viewing the Next 100 Registers of Data 124 Viewing the P revious 100 Registers of Data 124 Viewing the WATTCP CFG file on the module 125 Viewing Version Information 116 122 Ww w latest ack threshold 78 Warm Booting the Module 122 Warnings 3 Warranty Information 198 What is the maximum number of words can transfer with a 195 What kind of data transfer rates can expect between the PLC and the module 195 Y Your Feedback Please 2 Page 201 of 201
213. ts 32 Timer Register Time of Day 400007 M Contig Extensions ASCII Data Protection Disabled Number of Messages 0 Peer Cop Disabled Message Area Size Hot Standby Disabled Woman a OE n of PLC Configuration Overview double click in window to edit sections NOT CONNECTED 6 Make a note of the holding registers for the module This information will be needed when modifying the application The Holding Registers are displayed in the PLC Memory Partition pane of the PLC Configuration dialog box PLC Memory Partitio Coils 000001 001536 Discrete Inputs 100001 100512 Input Registers 300001 300512 Holding Registe400001 401872 ProSoft Technology Inc Page 35 of 201 March 4 2013 Configuring the Processor with Concept 48TPTQ 104S Rev 1 e 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum 3 3 Adding the PTQ Module to the Project 1 Inthe list of options on the left side of the PLC Configuration dialog box double click I O MAP This action opens the O Map dialog box Expansion Size 144 amj gt Insert Delete Go To LocavRemote Head Skt 2 gt Cut Cop Paste Click Here ammi E D T Quantum O m Select this row when inserting at end of ul HeadSetup _ Cancel He 2 Click the EDIT button to open the Local Quantum Drop dialog box This dialog box is where rack and slot locations are identified Local Quantum Drop Dro
214. ue t3 timeout set value oroo k maximum queue w latest ack threshold Time DB Offset Command Delay Timer Error Offset Number of seconds after start Common Address of ASDU type Cyclic data transmission Select Operate Timeout Use ACTTERM with setpoint Use ACTTERM with step Definition ari Interval For Freeze e y M SP N Priority M DP NA Priority M ST NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay Reset Tag Reset All OK Cancel Fh NJLN ij e O IND 9 AUTO x The gateway would send the counter messages every 15 seconds The gateway module gateway module Freeze Start Type parameter as follows Freeze Start Type Time to Start Sending Messages D 03 26 2004 00 00 00 H 03 25 2004 19 00 00 M 03 25 2004 18 08 00 ProSoft Technology Inc Page 143 of 201 March 4 2013 Reference 12TUser Manual 48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Example Il Freeze Start Type If the gateway should send the counter points on the hourly turnaround time and also 45 minutes later the Mode A parameters should be configured as follows Edit IEC 870 5 104 Use IP List Override StartDT Clear queue on close t1 timeout set value t2 timeout set value t3 timeout set value k maximum queue w latest ack threshold Time DB Of
215. ule associated with the point You must associate each point to a database address in the PTQ 104S module The interpretation of this parameter depends on the point type configured For example for an M SP NA point this value represents the bit address For aM ME NA point this value represents the Word address Group s This is the group definition for the point It sets how the point will be polled by the Master cyclic or group interrogation It can also be used to enable or disable the event generation for one specific point The group parameter is discussed in the Data Communication section Deadband Sets the deadband for each measured point If the value changes from more than the configured deadband the module will generate an event for this point ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual IV DB Bit This feature allows the application to set the invalid IV quality bit of the protocol for all the monitored ASDU types supported If you enable this feature the processor can determine the individual IV quality bit status of each point you configured The following parameters must be configured in order to use this feature Edit IEC 870 5 104 Select Operate Timeout Cyclic Set IV Time Use ACTTERM with setpoint Use ACTTERM with step m Freeze Start Type Interval For Freeze Set Priority Queues M SP NA Priority Co
216. um If there is no response from the module follow these steps 1 Click to configure the connection On the Connection Setup dialog box select a valid com port or Ethernet connection type Connection Setup Select Connection Type Com 1 Sd Ethernet sae ProSoft Discovery Service PDS CiPconnect 2 Verify that the null modem cable is connected properly between your computer s serial port and the module A regular serial cable will not work 3 On computers with more than one serial port verify that your communication program is connected to the same port that is connected to the module If you are still not able to establish a connection contact ProSoft Technology for assistance 8 1 3 Navigation All of the sub menus for this module contain commands to redisplay the menu or return to the previous menu You can always return from a sub menu to the next higher menu by pressing M on your keyboard The organization of the menu structure is represented in simplified form in the following illustration Main Menu Child Menu A Child Sub Menu 1 Child Sub Menu 2 Child Sub Menu 3 Child Menu B Child Sub Menu 1 Child Menu C Child Sub Menu 1 Child Sub Menu 2 The remainder of this section shows you the menus available for this module and briefly discusses the commands available to you Page 114 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104
217. unt The number of words to copy The length of this copy may be any length of 1 to 130 inclusive If your application requires the movement of additional data you may enter additional commands Page 66 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47T Quantum Platform Module Configuration 46TIEC 60870 5 104 Server for Quantum 12TUser Manual Example 3 x or 4 x Register Transfer The following example shows a typical command used to write to the 4 x registers within the Quantum In this example registers 207 to 312 from the PTQ will be transferred to registers 400208 to 400313 within the Quantum Edit Row 2 Command Type ProTalk to Quantum Command Type PTQ Address 207 Point Type dix ProTalk to Quantum X QUANTUM Address 208 E Word Count 105 Comment Definition Reset Tag Reset All OK Cancel Example 0 x or 1 x Register Transfer The transfer of Coils and Inputs require some forethought as the command transfers words and not bits This means that if you wanted to transfer the word containing the bits 805 to 806 from the module to the Quantum you would transfer the entire 50 word of the modules memory into the destination register in the Quantum The following command transfer bits 800 to 815 Word x Bits Bit Address or 50 16 800 from the modules memory to word 1 of the coils 000001 to 000016 within the Quantum Take care with the transfer of bits while planning the app
218. ups Default Deadband IV DB Bit Comment 10 OFFFFFFF 2000 P1 suction pressure 00000001 1000 P1 discharge pressure 00000001 5000 P2 suction pressure Point Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row Paste Row OK Cancel Page 170 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Reference 46TIEC 60870 5 104 Server for Quantum 12TUser Manual The following illustration shows how these parameters are implemented t0 V alid State Invalid Valid Invalid for IV Fail Count times User Clear Bit User Clear Bit User Clear Bit User Clear Bit Database Invalid V alid Cyclic Set IV Time set database invalid bit IV Check Delay Time check database invalid bit If a database bit address 1 to 64000 is present the application may consider the point with an invalid flag if the previous logic checks the IV bit as 1 during consecutive IV Check Delay scans The IV bits would have to be reset to 0 to set the point to valid state The IV DB bit defined for each point can be unique or many points may share the same bit The last case could be used when the all points on an I O module are to be considered as one set In this case only a single bit is required For a point that is the result of a computation the valid quality state could be set for each point individually ProSoft Technology I
219. uration 12TUser Manual A8TPTQ 1045 Rev 1 47TQuantum Platform A6TIEC 60870 5 104 Server for Quantum 5 24 5 25 Each point is one 16 bit word and the DB Address value corresponds to the word offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual C_SE_NC_1 104 This section defines the short float setpoint database This information is sourced from the remote Client and is transferred to the database If the Require Select parameter is set to one 1 or YES a Select command must be received from the Client before an Execute command from the Client will be processed This section takes the following parameters Point DB Address Monitor Point Monitor DB Address Require Select Each point is two 16 bit words and the DB Address value corresponds to the double word offset in the module memory database For additional information on how to set these parameters see the Reference chapter of this manual Group Codes One aspect of the point configuration database that leads to confusion is the group definition field which assigns each point to one or more interrogation groups Use of interrogation groups permits the controlling unit to interface with a specific set of data Refer to the IEC 60870 5 104 standard for a full discussion of interrogation groups A specific group Periodic data group reports data points on a set frequen
220. used to implement this task Edit IEC 870 5 104 Use IP List Clear queue on close d art Clear queue on dose CORN imeout set value t2 timeout set value t3 timeout set value Teu k maximum queue id w latest ack threshold Time DB Offset RT Command Delay Timer Definition Error Offset Clear the queue when Common Address of ASDU connection closed Yes No Cyclic data transmission Select Operate Timeout Use ACTTERM with setpoint Use ACTTERM with step Freeze Start Type Interval For Freeze Set Priority Queues M SP NA Priority M DP NA Priority M ST NA Priority M ME NA Priority M ME NB Priority M ME NC Priority M IT NA Priority Cyclic Set IV Time IV Check Delay Time IV Fail Count Event Scan delay XM mc o o Reset Tag Reset All OK Cancel P NJ i OO IND D s UL OV The above configuration would cause the module to delete all pending messages events while closing the connection to the Client 9 2 6 Events In order to improve communication efficiency most applications will require the Client to periodically poll for data changes with a higher priority than polling for other monitored data Every time a data point changes the server can send this information as an event typically with date and time information indicating when the change occurred 104S M SP NA Client Module IOA 100 0 M SP NA M SP NA M MSP NA 10 53 12 T
221. uty of any such user or integrator to perform the appropriate and complete risk analysis evaluation and testing of the products with respect to the relevant specific application or use thereof Neither ProSoft Technology nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein Information in this document including illustrations specifications and dimensions may contain technical inaccuracies or typographical errors ProSoft Technology makes no warranty or representation as to its accuracy and assumes no liability for and reserves the right to correct such inaccuracies or errors at any time without notice If you have any suggestions for improvements or amendments or have found errors in this publication please notify us No part of this document may be reproduced in any form or by any means electronic or mechanical including photocopying without express written permission of ProSoft Technology All pertinent state regional and local safety regulations must be observed when installing and using this product For reasons of safety and to help ensure compliance with documented system data only the manufacturer should perform repairs to components When devices are used for applications with technical safety requirements the relevant instructions must be followed Failure to use ProSoft Technology software or approved software with our hardware products may result in injury harm or improp
222. with time M_ME_TE_1 tag CP56Time2a O lt 36 gt Measured value short floating point M_ME_TF_1 value with time tag CP56Time2a lt 37 gt Integrated totals with time tag M_IT_TB_1 CP56Time2a O lt 38 gt Event of protection equipment with time M_EP_TD_1 tag CP56Time2a Oo lt 39 gt Packed start events of protection M_EP_TE_1 equipment with time tag CP56time2a Oo lt 40 gt Packed output circuit information of M_EP_TF_1 protection equipment with time tag CP56Time2a Page 182 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual Process information in control direction Station specific parameter mark each Type ID X if it is only used in the standard direction R if only used in the reverse direction and B if used in both directions Type ID Description Type K lt 45 gt Single command C SC NA 1 d lt 46 gt Double command C DC NA 1 K lt 47 gt Regulating step command C RC NA 1 Kl lt 48 gt Set point command normalized value C SE NA 1 d lt 49 gt Set point command scaled value C SE NB 1 X lt 50 gt Set point command short floating point C SE NC 1 value O lt 51 gt Bitstring of 32 bit C BO NA 1 d lt 58 gt Single command with time tag C SC TA 1 CP56Time2a X lt 59 gt Double command with time tag C DC TA 1 CP56Time2a K lt 60
223. works that do not use a default module Page 18 of 201 ProSoft Technology Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform Start Here 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 2 Double click the ETHERNET CONFIGURATION icon j Untitled ProSoft Configuration Builder File View Project Tools Help Default Project Default Location m f PTQ 104S s Backplane Configuration amp j gfa SNTP CLIENT ge 04S s Comment amp Ethernet Configuration 4 3 This action opens the EDiT dialog box Edit WATTCP e my ip netmask 255 255 255 0 gateway 0 0 0 0 10 1 3 189 Comment Definition Default private class 3 address Reset Tag Reset All OK Cancel 4 Edit the values for my ip netmask subnet mask and gateway default gateway 5 When finished editing click OK to save the changes and return to the ProSoft Configuration Builder window ProSoft Technology Inc Page 19 of 201 March 4 2013 Start Here A8TPTQ 1045 Rev 1 47TQuantum Platform 12TUser Manual A6TIEC 60870 5 104 Server for Quantum Page 20 of 201 ProSoft Technology Inc March 4 2013 48TPTQ 104S Rev 1 47TQuantum Platform Configuring the Processor with Unity Pro 46TIEC 60870 5 104 Server for Quantum 12TUser Manual 2 Configuring the Processor with Unity Pro In This Chapter Create a New Project
224. xy t Local Quantu sU 1 40 xB in Derived Data Types im Derived FB Types Qy Variables amp FB instant Gi Elementary Variables E Derived Variables Gy IO Derived Variables MR Flementam FR Instan ii Local Quantum Drop Analog Communication Counting Discrete Address Part Number I Local Quantum Drop Analog E Communication Local Quantum Drop 140 CRP 93X 00 140 EIA 921 00 140 NOE 311 00 140 NOE 351 00 140 NOE 771 00 140 NOE 771 01 140 NOE 771 10 RIO HEAD S908 AS I 1 CHANNEL QUANTUM SY MAX ETHERNET MODULE QUANTUM SY MAX ETHERNET MODULE ETHERNET TCP IP BASIC WEB SERVER ETHERNET TCP IP BASIC WEB SERVER ETHERNET TCP IP CONFIGURABLE WEB 140 NOE 771 11 140 NOM 2XX 00 140 NWM 100 00 FACTORYCAST HMI WEB SERVER MODULE ETHERNET TCP IP CONFIGURABLE WEB MN1 MB 3T3T T9 build A Inceetesoon A User eros J Gesch Resince J 140 XBE 100 00 EXPANDER Ready GEN NOM NOM type generic module PTQ PDP MV1 ProfiBus DP DPV1 Master Module E Counting x Next enter the module personality value The correct value for ProTalk modules is 1060 decimal 0424 hex Unity Pro XL No name gt File Edit View Services Tools Build PLC Debug Window Help xegleoligisjpa jasae B mARB sm v Tg Structural view DY Station B amp Configuration Eg 1 Local Bus E Oy l LocalQuantur mq 1 40 x8F
225. y Inc March 4 2013 A48TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Reference 12TUser Manual The protocol specification explains that the qualifier value for these commands should be configured as Bits 1to6 Value Description Not Used Threshold Value Deadband Smoothing Factor filter time constant Not Supported Low Limit Transmission of Measured Value High Limit Transmission of Measured Value 31 Reserved No Change Change Operation o Of a gt wlm o Not in Operation For the PTQ 104S gateway the Low Limit and High Limit parameters cannot be changed by command because these values are calculated as follows Low Limit LAST REPORTED VALUE Deadband High Limit LAST REPORTED VALUE Deadband These commands must be sent to a specific Information Object Address The PTQ 104S gateway associates each Monitor Measured point with a Parameter point using Parameter Offset entries Edit IEC 870 5 104 Database Short Pulse Time Long Pulse Time Default Command Qualifier Override Command Qualifier M SP N point count M DP N point count M ST N point count M BO NA point count M ME M point count M ME NB point count M ME NC point count M IT N point count C SC NA point count C DC N point count C RC N point count C BO NA point count C SE NA point count C SE NB point count C SE NC point
226. y information relayed to the Client be sure the Cyclic Set IV Time the IV Check Delay Time and the IV Fail Count parameters are set to non zero values and be sure the application has been programmed to properly manipulate the IV Bit addresses in the module database Once data validity checking has been enabled you can still turn off validity checking on a point by point basis by setting the IV Bit Address to zero 0 for any point you wish to exclude from data validity checking and reporting For more information on the data validity features of this protocol implementation refer to Invalid Bit Monitoring page 169 5 6 24 IV Check Delay Time 1 to 65535 seconds or 0 to disable Invalid Bit Monitoring This parameter sets the number of seconds between IV Bit value checks Every IEC database monitor point which has an IV Bit address set greater than O will have that bit address checked at the interval specified by this parameter Setting this parameter to zero 0 will disable data validity checking 5 6 25 IV Fail Count 1 to 65535 seconds or 0 to disable Invaild Bit Monitoring This parameter sets the number of successive IV Bit check failures which must occur before the data from a IEC database monitor point will be reported to the remote Client as invalid data An IV Bit Check Failure occurs when the IV Bit value in the module database is set ON when it contains a value of one 1 at the time an IV Bit Check is performed IV Bit
227. yle register Quantum Address 208 The starting address of the data within the Quantum This would be Point Type Quantum Address Example 40000 207 40207 Word Count 105 The number of registers to transfer Page 58 of 201 ProSoft Technology Inc March 4 2013 A8TPTQ 1045 Rev 1 47TQuantum Platform 46TIEC 60870 5 104 Server for Quantum Module Configuration 12TUser Manual The following diagram shows the result of this example Quantum Memory Address PTQ Memory Address 40001 0 40010 First Command 9 40020 19 40030 29 40040 39 40060 59 40070 69 40080 79 40090 89 40100 99 40104 100 40111 Second Command 110 40200 199 40207 206 40208 207 40210 Third Command 209 my y 40310 309 40313 312 5 3 4 Defining Special Functions Your application may perform what might be considered a special function such as setting retrieving the time and date or issuing an event to the module This section will discuss the requirements for the command and offer an example of how it might be used ProSoft Technology Inc March 4 2013 Page 59 of 201 Module Configuration 48TPTQ 104S Rev 1 47TQuantum Platform 12TUser Manual 46TIEC 60870 5 104 Server for Quantum Assuming that you have chosen registers 400500 to 400563 as the target for your Command Function 3 you could enter the following command into the Backplane Data Exchange section of your co

Download Pdf Manuals

image

Related Search

Related Contents

【小学4年】2015年度版推奨品  v-JEMAF 4 Manuel d`Installation et d`Utilisation  Logitech K810    Buty SPD SPD sko SPD 鞋 SPD 슈즈 Zapatillas SPD SPDシューズ  

Copyright © All rights reserved.
Failed to retrieve file