Home

PTQ 101M User Manual

image

Contents

1. 3 Click the Write Panel button This action updates the date and time fields in this dialog box Click OK to close this dialog box and return to the previous window 4 Click Close to close the Online Control Panel dialog box ProSoft Technology Inc Page 39 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module 5 In the PLC Configuration window open the Online menu and then choose Reference Data Editor This action opens the Reference Data Editor dialog box On this dialog box you will add preset values to data registers that will later be monitored in the ProTalk module 6 Place the cursor over the first address field as shown in the following illustration Fro Template untitled Animation ON 4 oj x Variable Name Data Type Address Value Set Value mja 7 Inthe PLC Configuration window open the Templates menu and then choose Insert addresses This action opens the Insert addresses dialog box 8 On the Insert addresses dialog box enter the values shown in the following illustration and then click OK Insert Addresses x First Reference To Insert 400001 Last Reference To Insert 400010 Number of References to Insert fig Display Format Dec s Cancel Help Page 40 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC
2. gt gt gt gt fm Concept Converter 3 Concept DFB 9 Concept Help L Concept Security gt EB Ethernet Configuration gt fP EXECLoader gt EXECLoader Help gt Hot Standby Help gt InfoSR gt ModConnect Tool Modsoft Converter gt Momentum Help gt Quantum Help gt ReadMe Simulator 16 Bit gt Simulator 32 Bit EO E eh D oh FT SF A D D ProSoft Technology Inc May 14 2008 Page 27 of 181 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Configuring the Processor with Concept 2 Create a new project and save it at the C PROJECT folder For this example we will consider the project name as PTQPRO J Save Project As x File name Folders PTOPROJ c project Cancel J es pe E gt PROJECT Network DFe Network Save file as type Drives Concept Projects pri c 3 At PLC Memory Partition make sure that the processor memory range is configured large enough for the PTQ 101M backplane usage PLC Memory Partition x Maximum State Memory 65024 State Memory Used 11018 State Memory Usage 16 Discretes Coils Oxxxx 1536 Discrete Inputs 1 xxxx 512 Registers Input registers 3xxxx 5000 Holding registers 4xxxx 5000 Cancel Help 4 On the File menu choose Close Project Open the File menu again and then choose Open to open the PTQPRO4J file again This step allows the Concept application to recognize the
3. 7 2 2 Backplane Data Transfer The current version of the PTQ 101M backplane driver version 2 10 or newer uses a Large I O model which differs from previous versions of the backplane driver in that it transfers all of the data in the Read and Write databases between the module and the processor on every scan The Backplane Configuration section of the configuration file defines the starting registers for read and write operations as well as the number of registers to use for Thes each data area values ar required to defin the data area to transfer between th module and the processor Read Register Start 0 Read Register Count 50 Write Register Start 1000 Write Register Count 50 Pass Through Events N Used to define the area in th Database start register to move to processor Number of words moved from module to processor Database start register where data placed from processor Number of words moved from processor to module Pass event messages to processor N No events will be passed to the processor Y Yes will be passed to the processor consuming block 9903 e Processor for the module to interface with 3x Register Start 4x Register Start 1 3x start register where data moved from module to processor 1 to n 1 4x start register where data moved from processor to module 1 to n Page 114 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Qu
4. MCS Simple 2 0000 0000 Default Parameter Data R ack View Bitmap PTQAFC bmp Drop View Bitmap PTQAFC bmp Page 44 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with ProWORX PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Now you can close the Schneider alliances application and run the Proworx 32 software At the Traffic Cop section select the PTQ module to be inserted at the slot E ProWORX 32 SAFTESTTEST Offline Traffic Cop SAFTESTTEST File Edit view Window Help D SR NT mM AV OY a lues 1 eo sn o i HO 2 OE Mo AE al Direct To Online ead 00 Local My Computer T Drop 01 Quantum Serie LJ Nut demo Oy Rack 01 m LJ SAFTESTTEST lt Offlin 0 cPs114 20 ces Epp H Configuration crus34 p Traffic Cop PTQ 1015 Communications s 3 Logic l Data Editors A Configuration Extensior Fal ASCII Messages H PLC Status E Analyze Device GA Knowledge Base J Rack 02 ead 02 Distributed PTQ 1015 Quantum Series Description IEC 60870 5 101 Slave Module 3 lt 3 Power Rating 800 m Gate SB Utilities Status Reaister 3x Documents EPan lt gt Input Points 0000 1024 od BAFTESTTEST C Edt Summary Traffic Cop a Drop Rack Slot 4 ProWORX 32 Tracking Help par ah HP Welcome to the Tracki
5. Page 166 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module lt 110 gt Parameter of measured value normalized value P ME NA 1 lt 111 gt Parameter of measured value scaled value P ME NB 1 XIO lt 112 gt Parameter of measured value short floating point value PMENC 1 lt 113 gt Parameter activation P AC NA 1 File transfer station specific parameter Oo lt 120 gt File ready F_FR_NA_1 lt 121 gt Section ready F SR NA 1 lt 122 gt Call directory select file call file call section F SC NA 1 lt 123 gt Last section last segment F LS NA 1 lt 124 gt Ack file ack section F AF NA 1 lt 125 gt Segment F SG NA 1 lt 126 gt Directory F DR TA 1 OODOOODOD Basic Application Functions Station initialization station specific parameter Remote initialization General Interrogation system or station specific parameter 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 Addresses per group have to be defined Clock synchronization station specific parameter Clock synchronization Command transmission object specific parameter ProSoft Technology Inc Page 167 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Direct command transmission Select a
6. Derived Variables Gy 10 Derived Variables GR Elementary FB Instances o k Derived FB Instances E Communication By Networks Eh Program son Tasks eA sections Gy gt Tim Import BV Add User Directory Add Hyperlink General Localization Condition Remote 0 Comment Name main Language FBD Protection None Cancel Apply Help main MAST DAR ProSoft Technology Inc May 14 2008 Page 55 of 181 PTQ 101M Quantum Platform Configuring the Processor with UnityPro XL IEC 60870 5 101 Master Communication Module 9 The next step is to add the Function block to the Main section Open the EDIT Menu and then choose FFB Input Assistant Unity Pro XL lt No name gt File 21g View Services Tools Build PLC Debug Wir E a Select All Ctrl A mA Data Selection Ctrl D Fa FFB Input Assistant Ctrl I New gt Select Mode Esc Link 10 This action opens the Function Input Assistant dialog box W Function Input Assistant FFB type Instance y Prototype Name Type no Commet Enty fed r Cancel Page 56 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 11 Click the button to the right of the FFB type field Function Input Assistant FFB Type Selection BIk
7. Prolalk PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module User Manual ProSoft TECHNOLOGY May 14 2008 Please Read This Notice Successful application of this module requires a reasonable working knowledge of the Schneider Electric Quantum hardware the PTQ 101M Module and the application in which the combination is to be used For this reason it is important that those responsible for implementation satisfy themselves that the combination will meet the needs of the application without exposing personnel or equipment to unsafe or inappropriate working conditions This manual is provided to assist the user Every attempt has been made to ensure that the information provided is accurate and a true reflection of the product s installation requirements In order to ensure a complete understanding of the operation of the product the user should read all applicable Schneider Electric documentation on the operation of the Schneider Electric hardware Under no conditions will ProSoft Technology be responsible or liable for indirect or consequential damages resulting from the use or application of the product Reproduction of the contents of this manual in whole or in part without written permission from ProSoft Technology is prohibited Information in this manual is subject to change without notice and does not represent a commitment on the part of ProSoft Technology Improvements and or changes in this ma
8. 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 the product documentation or support please write or call us ProSoft Technology 1675 Chester Avenue Fourth Floor Bakersfield CA 93301 1 661 716 5100 1 661 716 5101 Fax http www prosoft technology com Copyright ProSoft Technology Inc 2000 2008 All Rights Reserved PTQ 101M User Manual May 14 2008 PSFT 101M PTQ UM 08 05 14 ProSoft Technology ProLinx inRAx ProTalk and RadioLinx are Registered Trademarks of ProSoft Technology Inc Contents PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Contents PLEASE READ THIS NOT IGE vicsccccdescoonctsoccaccaus cooeesdeesconcusancaecauecodscvuacectcadococdausanoueeusuacocecaesnedtavadtesuehadedw 2 PTQ Installation and Operating Instructions ssrrnerrnrrnnnennrrnnnrnnrrrnnnnnnrrnnrennrrnneensrrennensrrensennrrensennn 2 Important Notice s inno n ee Gare eile end cageiaean es abe caida lade alee elle eae nee 2 Your Feedback Please siiin andei eniin ee a aa a aE ie abuse bere te red 3 GUIDE TO THE PTQ 101M USER MANUAL nrnnvornrnnnnvvvennnnvvvennnnvnvennnnvnnennnnnnnnennnnnnnennnnnnnernnnnnnenvnnnnnnenr 9 1 START HERE enirintan r E E aid adm ad EEA EA EAEE ERAR a 11 1 1 Hardware and Software Requirement cccccccccsecceceeeeeeeeecneeeeeeee
9. MyTrigger OutputControl OutputControl OutputControl OutputControl OutputControl OutputControl OutputControl Temp WORD_TO_I Temp Temp 1 2 SetTime MyYear 3 SetTime MyMonth 4 SetTime MyDay 5 SetTime MyHour 6 SetTime MyMinute 7 SetTime MySecond 8 SetTime MyMillisecond NT OutputControll O PRPPRPRPPPR OutputControll 0 INT_TO_WORD Temp END_IF Once the request was processed the module will send the block response and increment the received output sequence number by 1 So the output sequence number is one less than the input sequence number the module has sent a new block Page 124 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Event Pass Through Block 9903 Event Pass Through Functionality The event pass through functionality allows the module to pass events to the processor after these are received from the IEC 8707 5 101 slave devices We are considering events as the messages associated to supported ASDU types that contain timestamp Hour Minute Seconds Milliseconds Note The event pass through functionality is only available for version 1 12 or later To verify the firmware revision of your module press the V key from the main menu and look for the SOFTWARE REVISION LEVEL value If your module does not have version 1 12 installed please contact
10. N Database start register to move to processor Number of words moved from module to processor Database start register where data placed from processor Number of words moved from processor to module area in the Processor for the module to interface with 3x start register where data moved from module to processor l n 4x start register where data moved from processor to module 1 n Pass event messages to processor Modify each of the parameters based on the needs of your application 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 Read Register Start Range 0 to 3999 This parameter specifies the starting register in the module where the data transferred from the processor will be placed Valid range for this parameter is 0 to 3999 Read Register Count Range 0 to 3999 This parameter specifies the number of registers to be transferred from the module to the processor Valid entry for this parameter is 0 to 3999 Write Register Start 0 to 3999 The Write Register Start parameter assigns the starting address for data to retrieve from the processor ProSoft Technology Inc May 14 2008 Page 69 of 181 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module Write Register Count Range 0 to 4000 This
11. 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 Block Format for Read Word Offset in Block Data Field s Description 0 Sequence Number This is the sequence number received by the module incremented by one after the request is processed 1 Block ID This word will contain the value of 9971 Warm Boot 9998 or Cold Boot 9999 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 register 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 Block Format for Write Word Offset in Block Data Field s Description 0 Sequence Number This number triggers the request for the module When this number changes the module will process the
12. 7 0x0080 Invalid failure delay or confirm timeout for session 8 0x0100 9 0x0200 10 0x0400 11 0x0800 12 0x1000 13 0x2000 14 0x4000 15 0x8000 Page 154 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 7 5 2 Error Codes The following table lists all potential errors that can be generated by the IEC 60870 5 101 master driver Error Description 51 Physical layer error Error transmitting message 52 Physical layer error Intercharacter timeout occurred before message fully received 53 Physical layer error Frame not entirely received before timeout condition 54 Physical layer error Invalid frame length 101 Link layer error Invalid checksum received 102 Link layer error Address unknown to module 103 Link layer error Link established 104 Link layer error Link failed 105 Link layer error Received primary 106 Link layer error FCB error discard 107 Link layer error FCB error repeat 108 Link layer error Invalid start character received 109 Link layer error Invalid second character received 110 Link layer error Invalid ending character received 111 Link layer error Length mismatch error 112 Link layer error Illegal function 113 Link layer error No confirmation received 114 Link laye
13. Each one of these parameters should be adjusted for each specific application Data Link Configuration The protocol specification document IEC 60870 5 2 specifies an unambiguous address number for each link Each address may be unique within a specific system or may be unique within a group of links sharing a common channel The protocol specification defines that the Data Link Address may have 0 1 or 2 octets The first option should be used only during Balanced Mode Configure the following parameter to set the number of octets to be used for the Data Link Address value It is essential that the slave unit also uses the same number of octets configured for the PTQ 101M Data link address length 2 0 1 or 2 octets used for DL address You must also configure the actual Data Link Address value using the following parameter Data link address 1 Range depends on the configured DL Length This value identifies the module s address in the network Page 142 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module ASDU Configuration The protocol specification document IEC 60870 5 3 describes the Basic Application Data Units that are used in the protocol It also defines the Application Service Data Unit ASDU used by the protocol for data communication You can configure the number of bytes to be used for the following ASDU components
14. This parameter sets the minimum number of seconds to delay before polling this session when it is not online This parameter is only used in unbalanced mode Confirm Timeout 0 to 2432 1 This parameter sets the number of milliseconds to wait for a confirm response from the controlled device Retry Count 0 to 255 This parameter sets the number of retries to be performed on the controlled device when a communication occurs C1 C2 Poll Count Pend 0 to 65535 This parameter sets the maximum number of class 1 and class 2 polls performed on this session before trying the next session This parameter prevents a session from monopolizing the communication port Class 1 Polls 0 to 65535 This parameter sets the maximum number of class 1 polls performed on this session before switching to another session This parameter prevents a session from monopolizing the communication port ProSoft Technology Inc Page 73 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module Class 1 Pend Delay 0 to 2432 1 This parameter sets the minimum number of milliseconds to delay between class 1 polls for pending data Class 2 Pend Delay 0 to 2432 1 This parameter sets the minimum number of milliseconds to delay between class 2 polls for pending data Class 1 Poll Delay 0 to 2432 1 This parameter sets the minimum number of milliseconds to delay between each class 1 poll Class
15. rrrvrnrnrnrvrvrvrvevrvevrvrvevevevevevenevevevevevevevevevevenevevenenesen 94 Required Software rrrrnnrnnnnnnnonnrnrrnnnnnnnrnnnnrnnnnnnnnrnnnnnnnnnennrrnnnnnnnnnennsnn 95 Using the Configuration Debug Port ururvvvnnnnnnvrnnnenvrnnvvvrvnnnnnnrrrnrrnnnne 95 LED Status Indicators rrrarsvvvnnnnnvvvnnnnnrrvnrenvrnnevervnnrennrrnnrrnnnrnesrsvvnnenn 109 The module provides information on diagnostics and troubleshooting in the following forms Status data values are transferred from the module to the processor Data contained in the module can be viewed through the Configuration Debug port attached to a terminal emulator LED status indicators on the front of the module provide information on the module s status The Configuration Debug Menu The Configuration 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 terminal application for example HyperTerminal 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 6 1 1 Navig
16. 1 A Technical Support Engineer must pre approve all product returns 2 Module is repaired or replaced after a Return Material Authorization Number is entered and a replacement order is generated 3 Credit for the warranted item is issued within 10 business days after receipt of product and evaluation of the defect has been performed by ProSoft The credit will only be issued provided the product is returned with a valid Return Material Authorization Number and in accordance with ProSoft s shipping instructions ProSoft Technology Inc Page 171 of 181 May 14 2008 PTQ 101M Quantum Platform Support Service amp Warranty IEC 60870 5 101 Master Communication Module a If no defect is found a credit is issued b If a defect is found and is determined to be customer generated or if the defect is otherwise not covered by ProSoft s Warranty or if the module is not repairable a credit is not issued and payment of the replacement module is due 8 4 Procedures for Return of Units Out of Warranty 1 Customer sends unit in for evaluation 2 If no defect is found Customer will be charged the equivalent of US 100 plus shipping duties and taxes that may apply A new Purchase Order will be required for this evaluation fee If the unit is repaired the charge to the Customer will be 30 of the list price plus any shipping duties and taxes that may apply A new Purchase Order will be required for a product repair 3 Foran immediate exchang
17. 2 and M_SP_TB_1 30 3 M DP NA 1 Monitored Dual point Information This data Dual bit status 7 2 6 2 with 00b 0 7 3 1 3 type stores a dual point binary input value decimal indeterminate or that is valve status Associated time intermediate 01b 1 decimal Off 10b tagged event information for this type are 2 decimal On and 11b 3 decimal M_DP_TA_1 4 and M_DP_TB_1 31 indeterminate 5 M_ST_NA_1 Monitored Step point Information This data Step data 7 2 6 5 is stored in a single 7 3 1 5 type is used for step position of transformers character value with bits 0 to 6 64 to or other step position information The value 63 representing the step position and for the position ranges from 64 to 63 bit 7 representing the following states 0 Associated time tagged event information for Equipment is not in transient state 1 this type are M_ST_TA_1 6 and Equipment in transient state M_ST_TB_1 32 7 M BO NA 1 Monitored Bitstring of 32 bit data This data Each of the 32 bits in the bitstring has a 7 3 1 7 type stores 32 bit data in binary form Each value of 0 or 1 7 2 6 13 bit in the string has a value of 0 or 1 Associated time tagged event information for this type are M_BO_TA_1 8 and M_BO_TB_1 33 9 M_ME_NA_1 Monitored Normalized Measured Value This Normalized values 7 2 6 6 are stored in 7 3 1 9 data type is used for analog input data a word 16 bit data area with a range of Associated time tagged eve
18. 33 0 5 34 36 87 20 33 0 5 61 78 40 52 Fax Zone d activit de Font Grasse 17 rue des Briquetiers F 31700 Blagnac France 33 0 5 34 36 87 20 support emea prosoft technology com Languages spoken include French English Brasil office in Sao Paulo 55 11 5084 5178 55 11 5083 3776 Fax Rua Vergueiro 2949 sala 182 Edificio Vergueiro Work Center Vila Mariana Sao Paulo Cep 04101 300 Brasil 55 11 5084 5178 eduardo prosoft technology com Languages spoken include Portuguese English Return Material Authorization RMA Policies and Conditions The following RMA Policies and Conditions apply to any returned product These RMA Policies are subject to change by ProSoft without notice For warranty information see Section C below entitled Limited Warranty In the event of any inconsistency between the RMA Policies and the Warranty the Warranty shall govern Page 170 of 181 ProSoft Technology Inc May 14 2008 Support Service amp Warranty PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 8 2 1 All Product Returns 1 In order to return a Product for repair exchange or otherwise the Customer must obtain a Returned Material Authorization RMA number from ProSoft and comply with ProSoft shipping instructions In the event that the Customer experiences a problem with the Product for any reason Customer should contact ProSoft Technical Support at one of the telephone n
19. 4 CONFIGURING THE PROCESSOR WITH UNITYPRO XL rnnnnnnrnnnnnvnvennnnvnvrnnnnnnernnnnnnnvennnnnneennnner 47 4 1 Greate a New Project ooie raa a kakene ae AG ke ran 47 4 2 Add the PTQ Module to the Project reraravrrnnnnnnvvvnnnnavrvnnnnnvvnnnnrnrrrnnnernrrennsrrrrennsrsrrennsrsrnvnnnenn 49 4 3 How to Set up and Use the Sample Function Block for Unity rerennrrrrnnrnrrnnrnnnnrnrnnrnnnnnnnnn 51 4 3 1 EVENTFB Function Block Overview ccccceceeeeeee cece eeeeeeeeaeeeeeeeeeseceaeaeeeeeeeseceaeaeeeeeeeseeeeaaees 51 4 3 2 Importing the EVENTFB Function BIOCK eeeecceeeesseeeeeeeeeeeeeeeeseeeeeeesaeeeeesaaeeeeeeeeeeesnaeeeesenas 53 4 3 3 Using the EVENTFB Function BIOCK 0 0 0 eeceeeeeeceeneeeeeeneeeeeeaeeeeeeeeeeesaeeeeeeaaeeeeeneeeeesnteeeeeaas 59 4 4 Build the Pr jectuaau aa smasuradame TRAE REEERE RAE arrange 62 4 5 Connect Your PC to the ProC SSOr cececcececceceeeeeeeeceeaeceeeeeeeseceacaeceeeeeeeeseeeeceeeeeeeeeseeseaeees 63 4 5 1 Connecting to the Processor with TCPIP uusernrannvrvnrenvvnnvvsvvnnnrnnrrenrrnnrnnersvvnnrsnsreeersrvenssvsrreentnnn 64 4 6 Download the Project to the Processor mu srrrrrrrrvrvnnerrrvnnrrrvrennersrnnnersrreneerrrrrnneersrreneersnrnneenn 65 5 MODULE CONFIGURATION nnrnrrnnnnvnvrnnnnnnvnnnnnnnernnnnnnvennnnnnneennnnnneennnnnneennnnnneennnnnnnennnnnnennnnnnnnnennnner 67 5 1 Installing and Configuring the Module rraronnrrnnnonnrrnnnennnrrnnnennrrnnrennrrnnrennrrenr
20. 9 Seconds 3N UNT i Minutes 55 BYTE 4 9 Hours 11 BYTE i Month 5 BYTE Day 9 BYTE i G Year 2008 WORD 9 Qualifier 1 _WORD EP Value ARRAY 0 1 OF WORD amp Valuel0 E WORD o Yaluell 0 WORD B Eventsfl Event101M i Session 0 WORD i Sector 0 WORD i COT 3 WORD 9 Reserved 0 WORD i HM Pointindex ARRAY 0 1 OF WORD i 8 ASDUType 30 WORD i i Milliseconds 866 _UINT i Seconds 31 _UINT Minutes 55 BYTE i Hours 11 BYTE i Month 5 BYTE i 9 Day 9 BYTE 8 Year 2008 WORD E Mm Nifin la vinDN Page 60 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module In this example the remote device has sent two events with timestamp to the module in same block number The following shows an example of how the variables associated to the EVENTFB function block would be updated BIkCount shows a value of 2 because the processor has received two blocks 9903 LstPoint shows a value of 3 because the last element that was updated has an index of 3 Events 0 shows the first event received from the module Events 3 shows the Last event received from the module Modification Force Name ResetEP1 BlockCount LastPoint Events Events 0 Session Sector COT Reserved Pointlndex Pointlndex 0 Pointindex 1
21. Component Abbreviation Possible Number of Octets Cause of Transmission COT 1or2 Common Address of ASDU CASDU 1or2 Information Object Address IOA 1 20r3 These parameters must be configured to match the master s configuration as shown in the following example Common Address of ASDU len 2 Range is 1 or 2 octets Inform Object Address len 3 Range is 1 2 or 3 octets Cause of Trans Octets 2 Number of COT octets 1 or 2 The Common Address of ASDU is the station address The module only allows the addressing of the whole station some devices allows different Common Addresses to identify particular station sectors You should configure the Common ASDU Address with the following parameter Common Address of ASDU i 1 Range depends on number of octets for CASDU You should also configure the maximum number of bytes that the slave should support for each ASDU response to the Module The range lies between 25 and 252 bytes Configure the following parameter in the slave unit to set the maximum number of bytes to be transferred at every ASDU response Maximum ASDU Resp Len 252 Max ASDU response messag A value less than 252 causes the slave response to break down the message into multiple parts requiring more response messages Example Changing the ASDU Length Considering that the Module sends a General Interrogation request to poll forty M_ME_NB points measured scaled points in Unbalanced Mode ProSoft Technolo
22. D gt p ler fee 9 wal 0 e oo a e e lE Sal iojx A B Summary pi F B Type 140 CPU 53414 Available Logic Area 65535 IEC Enabled IEC Heap Size 300 B PLC Memory Partition B Loadables PLC Memory Partition _ Loadables Specials Coils 000001 001536 Number installed 0 Config Extensions Discrete Inputs 100001 100512 B 1 0 Map Input Registers 300001 300512 B Segment Scheduler Holding Registe400001 401872 B Modbus Port Settings m Specials Segment Scheduer Battery Coil Segments 32 Timer Register Time of Day 400007 M Config Extensions ASCII Data Protection Disabled Number of Messages Peer Cop Disabled Hot Standby Disabled Message rea Size Bleue mf Darba PLC Configuration Overview double click in window to edit sections NOT CONNECTED 6 Make a note of the holding registers for the module You will need this information when you modify your application as outlined in the ProTalk application Reference Guides The Holding Registers are displayed in the PLC Memory Partition pane of the PLC Configuration dialog box PLC Memory Partitioi Coils 000001 001536 Discrete Inputs 100001 100512 Input Registers 300001 300512 Holding Registe400001 401872 ProSoft Technology Inc Page 17 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module 2 3 Add the P
23. Double Point and Regulating Step Point Commands Single Double Step Control Control 0 Value Value Qualifier Code Select Execute Code Deselect Code Use Override Value Not Utilized 15 OMNOAAURVN SSO0O to Oo Page 78 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module The value field for the different data types can be derived from the module s database or that set in the command The User Override bit is utilized to select the source of the data value The values for each data type are defined below Single Point Value O0 Off 1 On Double Point Value O Not permitted 1 Off 2 On 3 Not Permitted Regulating Point Value Set by module using database value 1 next lower 1 next higher unless override enabled O Not permitted 1 Next step lower if database point is set to 1 2 Next step high if database point set to 1 3 Not Permitted The Qualifier Code area defines the operation to perform as defined below Qualifier Code Select one of the following O No additional definition slave dependent 4 Short pulse duration 8 Long pulse duration 12 Persistent output The Select Execute area defines if the command should perform a direct execute or select before execute command sequence The values for this field are as follows Select one of the values for the following list 0
24. 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 common Quantum Unity programming tools Quantum data types supported 0x 1x 3x 4x High speed data transfer across backplane provides quick data update times Sample function blocks available ProSoft Technology Inc Page 111 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module 7 1 3 Hardware Specifications Specification Value Backplane Current Load 800 MA 5V Operating Temperature 0 to 60 C 32 to 140 F Storage Temperature 40 to 85 C 40 to 185 F Relative Humidity Vibration 5 to 95 non condensing Sine vibration 4 100 Hz in each of the 3 orthogonal axes Shock LED Indicators 30G 11 mSec in each of the 3 orthogonal axes Module Status Backplane Transfer Status Serial Port Activity LED Serial Activity and Error LED Status Configuration Serial Port PRT1 DB 9M PC Compatible RS 232 only No hardware handshaking Application Serial Ports PRT2 PRT3 DB 9M PC Compatible RS 232 422 485 jumper selectable RS 422 485 screw termination included RS 232 han
25. and1 On 46 C_DC_NA_1 Double point Command This command Double Command 7 2 6 16 with 0 7 3 2 2 controls a dual point binary control device Not permitted 1 Off 2 On 3 Not such as a trip close relay permitted 47 C_RC_NA_1 Regulating Step Command This command Regulating Step Command 7 2 6 17 7 3 2 3 controls a stepping device such as a with 0 Not permitted 1 Next step transformer lower 2 Next step higher 3 Not permitted 48 C_SE_NA_1 Setpoint Command Normalized Value This Normalized values 7 2 6 6 are stored in 7 3 2 4 command controls an analog device a word 16 bit data area with a range of 1 41 2 49 C SE NB 1 Setpoint Command Scaled Value This Scaled values 7 2 6 7 are stored in a 7 3 2 5 command controls an analog device word 16 bit data area with a range of 215 4215 4 50 C_SE_NC_1 Setpoint Command Short Floating Point Short floating point number stored in 7 3 2 6 Format This command controls an analog IEEE STD 754 format Fraction device accepting an IEEE STD 754 floating Exponent Sign 7 2 6 8 point format value 51 C_BO_NA_1 Setpoint Command 32 bit Bitstring This Each of the 32 bits in the bitstring has a 7 3 2 7 command controls a bitstring in a device value of 0 or 1 7 2 6 13 The data addressing is resumed in the following table Data Size Example Single Point 1 bit Address 1600 refers to word 100 bit 1 in database Dual Point 2 bits Address 1600 refers to word 100 bits 1 and 2
26. key to confirm configuration send Sending configuration file TRANSFERRING CONFIGURATION FILES FROM MVI MODULE TO PC Select RECEIVE menu option and receive files J e0CONFIGURATION FILE TRANSFERRED TO PC cannected 000 fata detect STV EM une The file transfer will then begin automatically using the protocol and location you specified in Step 3 When the configuration file has been transferred to your PC the dialog box will indicate that the transfer is complete Confirm Send Configuration File to Remote PC by pressing Y key Sending configuration file TRANSFERRING CONFIGURATION FILES FROM MYI MODULE TO PC Select RECEIVE menu option and receive files eOCONFIGURATION FILE TRANSFERRED TO PC The configuration file is now on your PC at the location you specified File Edit View Favorites Tools Help Q sak p Search Folders E Address C C MVI File and Folder Tasks mere ile and Folder Tasks FG File 6KE 1 Make a new folder Publish this Folder to the e fa Slar Other Places amp Local Disk C My Documents 2 My Computer GJ My Network Places Details 5 You can now open and edit the file in a text editor such as Notepad When you have finished editing the file save it and close Notepad ProSoft Technology Inc May 14 2008 Page 89 of 181 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communica
27. to display I O data for the second application port in the Data Analyzer Displaying Timing Marks in the Data Analyzer You can display timing marks for a variety of intervals in the data analyzer screen These timing marks can help you determine communication timing characteristics ProSoft Technology Inc Page 101 of 181 May 14 2008 PTQ 101M Quantum Platform Diagnostics and Troubleshooting IEC 60870 5 101 Master Communication Module Key Interval 5 1 milliseconds ticks 6 5 milliseconds ticks 7 10 milliseconds ticks 8 50 milliseconds ticks 9 100 milliseconds ticks 0 Turn off timing marks Removing Timing Marks in the Data Analyzer Press 0 to turn off timing marks in the Data Analyzer screen Viewing Data in Hexadecimal Format Press H to display the data on the current page in hexadecimal format 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 Starting the Data Analyzer Press B to start the data analyzer After the key is pressed all data transmitted and received on the currently selected port will be displayed An example display is shown below lt R gt lt 01 gt lt 03 gt lt 00 gt lt OO0 gt lt OO gt lt OA gt lt C5 gt lt CD gt lt R gt TT 01 03 14 00 00 00 00 00 00 TT 09 00 00 06 00 80 80 00 00 00 60 00 80 0 A3 67
28. 00 gt lt 00 gt lt 00 gt lt A gt lt F8 gt lt D gt lt R gt TT TT TT 1 1 B8I TT TT lt R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 00 gt lt A gt lt C5 gt lt CD gt lt R gt TT TT pay DOO OO OL OHL OHL OT aa SR Or Oe SII498SI8SENEORrRSPFOPrGDN IL IL IL IL IL IL IL IL IL IL IL IL IL SSOOEEBESEEOTETVE ED NI OD Fr ED ED Fv GE DD ED md SD i JONO OO CG O O O O O O O O O OT aS ROR COR OUOMUWODOODUOOO0 NI See SQeooeoeororoqoooveouo Dr O0D DNO RV PSVOG SON 01 TT B9 GO CD IL BGI 00 QO 09 00 1411 G 1 L 1 beg Page 104 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module The lt R gt means that the module is transitioning the communications line to a transmit state All characters shown in lt gt brackets are characters being sent out by the module The lt R gt shows when the module is done transmitting data and is now ready to receive information back And finally all characters shown in the brackets is information being received from another device by the module After taking a minute or two of traffic capture you will now want to stop the Data Analyzer To do so press the S key and you will then see
29. 1 State Cmd Req Cmd Resp Cmd Err This word contains the state machine value for channel 1 This word contains the number of commands transferred out channel 1 This word contains the number of command response messages received on channel 1 This word contains the number of command errors recognized on channel 1 ProSoft Technology Inc May 14 2008 Page 133 of 181 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Offset Parameter Description 41 Requests This word contains the total number of messages transmitted on channel 1 42 Responses This word contains the total number of messages received on channel 1 43 Err Sent This word contains the number of error messages sent on channel 1 44 Err Received This word contains the number of error messages received on channel 1 45 Cfg Err This bit mapped word is used to recognized any configuration errors for channel 1 Refer to the configuration error word table for a definition of each bit 46 Current Error This word contains the error code for the current command executing on channel 1 47 Last Error This word contains the error code for the last error recognized on channel 1 48 to 63 Spare Not used User Constructed Command Block 9901 Block identification code 9901 is used to issue one or more user constructed commands When the module receives a block 9901 identification code it wil
30. 186 IEC None 984 Eq IMIO CHS Pec Configuration FPLC CPU Executive MIEC Runtime 140 CPU 113 025 140 CPU 113 02x 140 CPU 113 03 984 Only B Summary De 140 CPU 113038 JEC Heap Size KB B Contig Extensions i40CPU 21308 f fp Ki H BASCII ET Coils Memory Size Global Data KB Diser FAYETTE fo K gt I Input Cancel Help Battery Coil Segments Timer Register Time of Day 400007 Contig Extension ASCII Data Protection Disabled Number of Messages 0 Peer Cop Disabled Message Area Size Hot Standby Disabled Reg iret RS NOT CONNECTED In the CPU Executive pane use the scroll bar to locate and select the PLC to configure x PLC Family Quantum gt 586 IEC 32Bit 2500K CHS 984 Eq IMIO CHS CPU Executive r IEC 140 CPU 213 04 Runtime Enable v IEC Heap Size KB xo a E Global Data KB E Cancel Help Page 16 of 181 Configuring the Processor with Concept ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 5 Click OK This action opens the PLC Configuration dialog box populated with the correct values for the PLC you selected Br Concept C CONCEPT TESTPRJ untitled iol x Fie Configure Project Online Options Window Help
31. ASDUType Milliseconds Seconds Minutes Hours Month Day Year Qualifier Value Value 0 Value 1 P Events 1 P Events 2 vents 3 0006400000 E Session Sector COT Reserved Pointlndex Pointlndex O Pointlndex 1 ASDUType Milliseconds Seconds a Minutes Unsen 4 ARRAY 0 199 OF Event 01M Event101M ARRAY 0 1 OF WORD WORD WORD Event101M Event101M Event101M WORD WORD WORD WORD ARRAY 0 1 OF WORD WORD WORD WORD UINT UINT BYTE DYTE ProSoft Technology Inc May 14 2008 Page 61 of 181 PTQ 101M Quantum Platform Configuring the Processor with UnityPro XL IEC 60870 5 101 Master Communication Module 4 4 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 XL This is not intended to provide detailed information on using Unity Pro XL or debugging your programs Refer to the documentation for your processor and for Unity Pro XL for specialized information To build compile the project 1 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
32. IEC 60870 5 101 Master Communication Module 2 1 Information for Concept Version 2 6 Users Configuring the Processor with Concept This guide uses Concept PLC Programming Software version 2 6 to configure the Quantum PLC The ProTalk installation CD 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 2 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 Installation dialog box iff Concept Module Installation File Modules Help 15 x Installed Modules in Concept Database MDC PTQ 101M IEC6087 5 101 Master IEC6087 5 101 Slave IEC6087 5 103 Master IEC6087 5 104 Server Rockwell Automation DF1 Half Duplex Master MDC PTQ DFNT Rockwell Automation Ethemet IP Module MDC PTQ DNP DNP 3 0 Mas er Slave Module MDC PTQ DNPSNET DNP 3 0 Ethernet Server MDC PTQ HART HART Module MDC PTO LNG Landis and Gur Protocol Module Details Provider ProLinx Communication Gateways Version 1 00 00 Copyright Copyright 2002 2003 2 Choose File Open Installation File This action opens the Open Installation File dialog box a T MDC PT File name Folders MDC PT c concept MDC PT Sample mdc ev gt CONCEPT MDC PT Ca help C CC2CAT M
33. IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL SAFE PERFORMANCE INCLUDING WITHOUT LIMITATION THE OPERATION OF NUCLEAR FACILITIES AIRCRAFT NAVIGATION OF COMMUNICATION SYSTEMS AIR TRAFFIC CONTROL DIRECT LIFE SUPPORT MACHINES OR WEAPONS SYSTEMS IN WHICH THE FAILURE OF THE PRODUCT COULD LEAD DIRECTLY OR INDIRECTLY TO DEATH PERSONAL INJURY OR SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE COLLECTIVELY HIGH RISK ACTIVITIES PROSOFT SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR HIGH RISK ACTIVITIES 8 5 4 DISCLAIMER OF ALL OTHER WARRANTIES THE WARRANTIES SET FORTH IN PARAGRAPH 1 ABOVE ARE IN LIEU OF ALL OTHER WARRANTIES EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 8 5 5 LIMITATION OF REMEDIES IN NO EVENT WILL PROSOFT OR ITS DEALER BE LIABLE FOR ANY SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES BASED ON BREACH OF WARRANTY BREACH OF CONTRACT NEGLIGENCE STRICT TORT OR ANY OTHER LEGAL THEORY DAMAGES THAT PROSOFT AND ITS DEALER WILL NOT BE RESPONSIBLE FOR INCLUDE BUT ARE NOT LIMITED TO LOSS OF PROFITS LOSS OF SAVINGS OR REVENUE LOSS OF USE OF THE PRODUCT OR ANY ASSOCIATED EQUIPMENT LOSS OF DATA COST OF CAPITAL COST OF ANY SUBSTITUTE EQUIPMENT FACILITIES OR SERVICES DOWNTIME THE CLAIMS OF THIRD PARTIES INCLUDING CUSTOMERS OF THE PURCHASER AND INJURY TO PROPERTY Some areas do not allow time limitations on an implied wa
34. Inc May 14 2008 Configuring the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module PIN PIN Type Data Type Description OutputControl Output Array of Stores data to be sent from the processor to the WORD module the start address it should match what you configured your backplane exchange to start Eventinqueue Output WORD Indicates how many events are in the queue to be read EventOverflow Output WORD This will be set to yes 1 if the overflow flag is set due to 199 events in the queue waiting to be read 4 3 2 Importing the EVENTFB Function Block 1 Copy the provided function block from the ProSoft Solutions CD ROM or download the EVENTFB XDB from http www prosoft technology com For this example save the Function Block in your My Documents folder 2 Inthe Project Browser select Derived FB Types and then click the right mouse button to open a shortcut menu On the shortcut menu choose Import Project Browser Ta Structural view 3 Station a OL Configuration 3 Derived Data Types Open Get from Library a Der Put in Library Export Ko Add User Directory Ay Progra Add Hyperlink 3 This action opens a confirmation dialog box Unity Pro XL Do you want to save the changes you made in lt No name gt No Cancel 4 Click No to discard your changes unless you are importing this function block to an existi
35. Master Communication Module After the initialization procedure is completed the master and the PTQ 101M start communicating If during communication the master fails to respond to a message from the module the PTQ 101M will retry for a configured number of times If the master still fails to respond the module will initialize the line again 7 3 3 Monitor Direction and Control Direction The protocol specification defines two directions of data monitor direction and control direction These directions are defined by the protocol specification as follows Monitor Direction The direction of transmission from a slave to the master Control Direction The direction of transmission from the master to a slave Slave Master Monitor Direction lt lt Control Direction The points that are typically transferred from the slave to the master are also known as Monitor Points or Monitor Information Objects The points that are typically transferred from the master to the slave are also known as Control Points or Command Information Objects ProSoft Technology Inc Page 147 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module For the PTQ 101M the control and monitor points would be transferred as shown in the following illustration 101M Processor Module Slave Points Points Control Control You must make sure that all points are configured in the correct l
36. Measured value short floating point value with time tag CP56Time2A M ME TF 1 lt 37 gt Integrated totals with time tag CP56Time2A M IT TB 1 Oo lt 38 gt Event of protection equipment with time tag CP56Time2A M_EP_TD_1 O lt 39 gt Packed start events of protection equipment with time tag CP56time2A M EP TE 1 Oo lt 40 gt Packed output circuit information of protection equipment with time tag CPT56Time2a M_EP_TF_1 Process information in control direction station specific parameter lt 45 gt Single command C SC NA 1 lt 46 gt Double command C DC NA 1 lt 47 gt Regulating step command C RC NA 1 lt 48 gt Set point command normalized value C SE NA 1 lt 49 gt Set point command scaled value C SE NB 1 lt 50 gt Set point command short floating point value C SE NC 1 lt 51 gt Bitstring of 32 bit C BO NA 1 System information in monitor direction station specific parameter lt 70 gt End of initialization M EI NA 1 System information in control direction station specific parameter lt 100 gt Interrogation command C IC NA 1 lt 101 gt Counter interrogation command C CI NA 1 lt 102 gt Read command C RD NA 1 lt 103 gt Clock synchronization command C CS NA 1 lt 104 gt Test command C TS NB 1 lt 105 gt Reset process command C RP NC 1 lt 106 gt Delay acquisition command C CD NA 1 Parameter in control direction station specific parameter
37. Menu 96 Master Command List Menu 105 Master Driver 140 Minimum Delay 71 Module Configuration 67 Module Initialization 145 Module Name 69 Module Power Up 113 Monitor Direction and Control Direction 147 Moving Back Through 5 Pages of Registers 99 Index N Navigation 93 No Other Warranties 176 Normal Data Transfer 131 Normalized Scaled and Short Float 80 O Online General Int 75 Online State 106 Online Time Sync 75 Opening the Command List Menu 100 Opening the Data Analyzer Menu 100 Opening the Database Menu 96 Opening the IEC 101 Master Menu 97 Opening the Sector Database Menu 107 Opening the Session Configuration Menu 101 Originator address for COT 73 Output Data 4x Register Data 131 P Parameter Activation 85 Parameter Setting 84 Parity 71 Pass Through Events 70 PC and PC Software 12 Please Read This Notice 2 Point Index 78 Poll Interval 77 Procedures for Return of Units Out of Warranty 172 Procedures for Return of Units Under Warranty 171 Product Specifications 9 111 Propagation Delay 74 ProTalk Module Carton Contents 11 PTQ Installation and Operating Instructions 2 PTQ 101M Status Data Area 152 Purchasing Warranty Extension 173 Q Qualifier Parameter 78 Quantum Unity Hardware 12 R Read Command 83 Read Module s Time to Processor 9970 121 Read Register Count 69 Read Register
38. Registers Press from the Database View menu to skip back to the previous 500 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 Skipping 500 Registers of Data Hold down Shift and press to skip forward to the next 500 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 ProSoft Technology Inc Page 99 of 181 May 14 2008 PTQ 101M Quantum Platform Diagnostics and Troubleshooting IEC 60870 5 101 Master Communication Module 6 4 3 IEC 101M Master Menu Press I f
39. Start 69 Receive Timeout 71 Redisplaying the Current Page 105 107 108 Redisplaying the Menu 96 100 107 108 Reference 9 111 Removing Timing Marks in the Data Analyzer 102 Required Hardware 87 94 Required Software 87 95 Reset Process 84 Response Timeout 74 Retry Count 73 Return Material Authorization RMA Policies and Conditions 170 Returning to the Main Menu 99 103 106 107 108 Page 180 of 181 ProSoft Technology Inc May 14 2008 Index RS 232 149 Modem Connection 150 Null Modem Connection Hardware Handshaking 150 Null Modem Connection No Hardware Handshaking 151 RS 232 Configuration Debug Port 149 RS 422 152 RS 485 151 RS 485 and RS 422 Tip 152 RTS Off 71 RTS One 71 S Sector Configuration Menu 107 Sector Count 72 Sector Database Menu 108 Sector Index 77 Session Configuration Menu 106 Session Count 70 Session Index 77 Session State 106 Set Module Time Block 9971 139 Set Module s Time Using Processor Time 9971 122 Set up Data Memory in Project e 20 Setup the Concept Project 27 Single Char ACK FO 1 or 3 71 Single Point Double Point and Regulating Setup 78 Skipping 500 Registers of Data 99 Start Here 9 11 Starting the Data Analyzer 102 Status Block 9250 119 Status Data Block 9250 132 Stopping the Data Analyzer 103 Support Service amp Warranty 9 169 T Test Command 83 The C
40. TT lt R gt lt 61 gt lt 83 gt lt 00 gt lt 00 gt lt 00 gt lt OA gt lt CS gt lt CD gt lt R gt TT 01 03 14 00 00 00 00 00 00 00 06 00 00 09 00 06 00 00 TT 00 00 00 0 00 Ad 67 TT lt R gt lt 01 gt lt 635 lt 00 gt lt 00 gt lt 00 gt lt 0A gt lt C5 gt lt CD gt lt R gt TT 01 03 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 TT 00 00 00 00 00 A3 67 TT lt R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 00 gt lt A gt lt C5 gt lt GD gt lt R gt TT 61 83 14 00 00 00 60 09 TT 80 00 00 80 00 06 801 091 09 00 90 09 09 00 00 A3 67 TT lt R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 80 gt lt 04 gt lt C5 gt lt CD gt lt R gt _TT_ 61 63 14 60 90 00 09 00 00 TT 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A3 67 TT lt R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 00 gt lt A gt lt C5 gt lt CD gt lt R gt TT 01 03 14 00 00 09 00 09 00 TT 60 00 00 00 00 00 00 00 00 00 00 08 00 80 A3 67 TT lt R gt lt 01 gt lt 83 gt lt B0 gt lt 0O gt lt O0 gt lt BA gt lt CS gt lt GD gt lt R gt TT 61 83 124 09 09 89 09 09 90 08 09 90 09 00 00 00 00 00 TT 00 09 00 00 0 A3 67 TT lt R gt lt 01 gt lt 3 gt lt O gt lt OO gt lt O gt lt OA gt lt C5 gt lt CD gt lt R gt TT 61 03 14 00 00 00 00 00 00 00
41. Used for handshaking 1 Read or write data Used for handshaking 9250 Status Data 9901 User Constructed Command 9902 Command Control Block Add command to Command List Queue 9903 Event Messages from Master port 9950 Command List Error data 9970 Set PLC time using module s time 9971 Set module s time using PLC time 9998 Warm Boot Request from PLC Block contains no data 9999 Cold Boot Request from PLC Block contains no data Block identification codes 9901 to 9999 are used for special control blocks to control the module Each of these blocks is discussed in the following topics Page 130 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Normal Data Transfer Normal data transfer includes the transferring of data received by or to be transmitted to the master drivers and the status data These data are transferred through read input image and write output image blocks Refer to Module Configuration for a description of the data objects used with the blocks and the ladder logic required The following topics discuss the structure and function of each block Input Data 3x Register Data These blocks of data transfer information from the module to the Quantum processor The structure of the input image used to transfer this data is shown in the following table Offset Description Length 0 Sequence Counter 1 1 Block ID 1
42. 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 Network configuration network specific parameter Point to point Multipoint party line Multiple point to point Multipoint star Physical Layer network specific parameter Transmission speed control direction Unbalanced interchange Unbalanced interchange Balanced interchange circuit V 24 V 28 circuit V 24 V 28 circuit X 24 X 27 Standard Recommended if gt 1 200 bit s O 100 bit s 2400 bit s 2400 bit s m 56000 bit s O 200 bit s 4800 bit s 4800 bit s m 64000 bit s 300 bit s 9600 bit s 9600 bit s 600 bit s 19200 bit s 1200 bit s 38400 bit s Transmission speed monitor direction Unbalanced interchange Unbalanced interchange Balanced interchange circuit V 24 V 28 circuit V 24 V 28 circuit X 24 X 27 ProSoft Technology Inc Page 163 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Standard Recommended if gt 1 200 bit s Oo 100 bit s 2400 bit s 2400 bit s Oo 56000 bit s O 200 bit s 4800 bit s 4800 bit s O 64000 bit s 300 bit s 9600 bit s 9600 bit s 600 bit s 19200 bit s 1200 bit s 38400 bit s Link Layer network specific parameter Frame format FT 1 2 single character 1 and the fixed time out interval are used exclusively in this companion standard Link transmission procedure Addres
43. addere epaian apata aaa 111 7 1 1 Features and Benefits ariere ierre aa enea e E Eds r EE Eadar EAA Oe A IS EERE AT ESEA REER 111 7 1 2 General Specifications s r ipee Tea e a pi da epee ae aeaii o ile Opat iaa 111 7 1 3 Hardware Specifications nsession seen ieia aeaa aia N aaan 112 7 1 4 F nctional Specifications sss aeieea etane ea eea a ataa aaa aa enean iiaeie 112 7 2 Functional Overview cccccccececceecececeeeeeeeeaaeceeeeeeesecaeaeeeeeeesesenaaeaeeeeeeeeeesecsacaeeeeeeesessnnananess 113 7 2 1 General GOnGe pts EEE EEE EN A E 113 7 2 2 Backplane Data Transfer mmssvraronvronvvvvvvnnnnnrrvnrevvvnnnrvsrvnnrrnnrnnersvnnnsensranerrnnrnnersrvnnsensrsenrrnnnn 114 7 2 3 Data Type Mapping and Addressing cecceececeeeeeeeeaeceeeeesesaaeceeeeeeeseceaeeeeeeeseseenaeaeeeeeens 128 7 2 4 Master Driver nyrvastimsdsratannisat purk S A aaraa bg dia kind 140 7 3 IEC 60870 5 101 Protocol Implementation rrrrrnnrrnrrnnnrnnrnnrnrrnnrnnnrnnrn nn nn nnnrnrrnrrrnnnnnnnnenn 141 7 3 1 General Parameter Configuration eecceeeeneeeeeenneeeeeeeeeeeeaeeeeeeeeeeeenaeeeeeeaeeeseeeeeeseneeeeeeaas 142 7 3 2 Module Initialization sies Gssvsthete ideene eien ondeacs sieges deeds deen taes ast 145 7 3 3 Monitor Direction and Control Direction uvvsrrranvvrnrnnvrrnnrvvvnnnrvervnnnennrrenrrvennsrsrvnnrsnnrreevennnne 147 G4 Cable Connections issih r T aktre Gehenna hende lider and 148 7 4 1 RS 232 Configuration Debug Port
44. be used we will create the following Template This template shows the BlkCount LstPoint ResetEP ExternalCMD variables and also the first two event elements Events Event 0 and Events Event 1 E RDE Template 101M RDE Animation ON lof x Variable Name Data Type Address ResetEP BlockCount LastPoint ExternalCMD EventsArray Events 0 Session EventsArray Events 0 Sector EventsArray Events 0 COT EventsArray Events 0 Pointlndex 0 EventsArray Events 0 Pointindex 1 EventsArray Events 0 ASDU EventsArray Events 0 MilliSeconds EventsArray Events 0 Seconds EventsArray Events 0 Minutes EventsArray Events 0 Month EventsArray Events 0 Day EventsArray Events 0 Year EventsArray Events 0 Qualifier EventsArray Events 0 Value 0 EventsArray Events 0 Value 1 oeoccoc eo ec cccee ec amp EventsArray Events 1 Session EventsArray Events 1 Sector EventsArray Events 1 COT EventsArray Events 1 Pointindex 0 EventsArray Events 1 Pointindex 1 EventsArray Events 1 ASDU EventsArray Events 1 Milliseconds EventsArray Events 1 Seconds EventsArray Events 1 Minutes EventsArray Events 1 Month EventsArray Events 1 Day EventsArray Events 1 Year EventsArray Events 1 Qualifier EventsArray Events 1 alue 0 EventsArray Events 1 Value 1 eoeoeococceoc ec ec ececce ese amp In this example the remote device has sent two events with timestamp to the module in same block 9903 The following shows an example
45. 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 As the project is built Unity Pro XL 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 Fi l 8 xj Fm Ros 7 PSs Be S BAB Hi O22 oO gee BSED Tw Ending address status table Drop hold up tine 100m S MAN lt SP gt T Local Bus E Quantum Dr Ready HM RJW mode OFFLINE MODBUSOL nor sunt K After the build process is completed successfully the next step is to download the compiled project to the processor Page 62 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 4 5 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 UnityPro XL To verify address and driver settings in UnityPro XL 1
46. command control request 1 Block ID This word will contain the value of 9998 Warm Boot or 9999 Cold Boot The logic must set the values of the sequence number and block ID for one processor scan only Refer to Implementing Ladder to Support Special Functions page 123 for sample code that handles these command control blocks Page 122 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Implementing Ladder to Support Special Functions In order to use Special Functions Command Control 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 a variable that triggers this logic OutputControl variable array starts at register 4000001 The first instruction guarantees that the processor requests this block for only one scan The second instructions sets the Block Number 9999 ColdBoot and then sets the sequence number to 1 IF MyTrigger gt 0 AND OutputControll l gt 0 THEN OutputControll 0 InputData 0 OutputControll l 0 MyTrigger 0 END IF IF MyTrigger 9999 OR MyTrigger 9998 OR MyTrigger 9250 THEN OutputControll l MyTrigger Temp WORD TO INT OutputControl1 0 Temp Temp 1l OutputControll 0 INT TO WORD Temp END IF Example Retrieving the t
47. contain the text 87S6 for the MVI69 platform 5to6 Revision This two word data area contains the text values for the revision number 7to8 Op Sys This two word data area 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 Read Bik Cnt This word contains the total number of block read operations successfully executed 12 Write Bik Cnt This word contains the total number of block write operations successfully executed 13 Parse Bik Cnt This word contains the total number of write blocks successfully parsed 14 Error Blk Cnt This word contains the total number of block transfer errors 15 Event Msg Cnt This word contains the number of event messages waiting to send to the processor 16 Event Msg This word contains a value of 0 if the event Overflow message buffer has not overflowed If the event buffer overflows this word will be set to a value of 1 17 Session Count This word contains the number of session configured in the module 18 Current Cmd This word contains the index of the current command being executed in the command list 19 Cmd Busy Flag This word is set to zero if no command is currently being executed and waiting on a response If the word is set to 1 a command is currently executing ProSoft Technology Inc May 14 2008 Page 119 of 181 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Modu
48. contains a value of 0 if the event message Overflow buffer has not overflowed If the event buffer overflows this word will be set to a value of 1 17 Session Count This word contains the number of session configured in the module 18 Current Cmd This word contains the index of the current command being executed in the command list 19 Cmd Busy This word is set to zero if no command is currently Flag being executed and waiting on a response If the word is set to 1 a command is currently executing 20 Cmd Count This word contains the count of the number of commands configured for the module Page 132 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Offset Parameter Description 21 Cmd Delay This word contains the command delay counter preset There is a fixed delay between each command to permit the module to perform class polls on controlled stations 22 Cmd Queue This word is set to zero if the command executing is from the command list If the executing command is from the command queue the word will be set to 1 23 Cmd Queue Count This word contains the number of active commands in the command queue for the module Up to 100 commands can be buffered in this queue These commands are transferred from the processor to the module using special command blocks 24 to 25 Online Status This double
49. data using the 101M protocol You should understand the important concepts in this chapter before you begin installing and configuring the module The standards used to build the module are listed in the following table Publication Title IEC 60870 5 101 Companion Standard for Basic Telecontrol Tasks IEC 60870 5 101 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 IEC 60870 5 104 Network access for IEC 60870 5 101 using standard transport profiles These documents should be obtained reviewed and understood in order to fully appreciate the protocol implementation Most of the complexity of the protocol is hidden from the user and simplified in the application of the module Detailed questions of about the protocol can be answered by reading these documents In addition to calling our technical support group there is also help available for the protocol using the following mail list Web Site www TriangleMicroWorks com iec870 5 http www trianglemicroworks com iec870 5 Go to this site to join the mail list and to review questions and answers from mail list users 7 2 1 General Concepts The following discussion explains several concepts that
50. fh renn B Block Transfer Statistics C Module Configuration D Database View R Receive Module Configuration S Send Module Configuration V Version Information W Horm Boot Module Esc Exit Program Press key to confirm configuration send Sending configuration file TRANSFERRING CONFIGURATION FILES FROM ProSoft MODULE TO PC The 2modem protocol is used to send the file from the module Select the RECEIVE menu option and destination directory Building configuration file image from module Ready to Sendt Corvvected 00007 3 In the Receive File dialog box browse to the location on your PC where the configuration file should be stored and select Zmodem or Zmodem with Crash Recovery as the receiving protocol Ml Receive File 2 gt Place received file in the following folder c My Documents Browse Use receiving protocol When you have completed your selections click Close Page 88 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 4 Press S Send Module Configuration and then press Y to confirm the transfer Ee Ee view Ca Tranter bb Cw 252 MODULE MENU Display Menu A Data Analyzer B Block Transfer Statistics C Module Configuration D Database View R Receive Module Configuration Send Module Configuration V Version Information W Horm Boot Modul Esc Exit Program Press Y
51. flexible assignment of resources in the module The definition of the data associated with each sector in the system is defined by the user in the configuration file Page 140 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform 7 3 Processor Memory IEC 60870 5 101 Master Communication Module The following diagram shows the functionality of the master driver Backplane Interface IEC 60870 5 101 Module Database Addresses Register Data Storage Register Data Master Mode Driver Status from Module Configuration 1 The master driver is configured as specified by the IEC101M CFG file 2 The master will construct control commands using the data in the database 3 The master will send these commands and class polls out on the serial network 4 Response messages or spontaneous messages generated by controlled devices on the serial network are received by the master driver 5 Monitor data static and event received by the master is passed to the module s database and passed to the processor 6 Additionally status data for the module is passed to the processor IEC 60870 5 101 Protocol Implementation This section presents an overview of how the PTQ 101M works while skipping the complex details of the protocol specification If you require more information about the implementation of the protocol refer to the protocol specification IEC 60870 5 101 2003 For mo
52. gt lt 1 gt lt 02 gt 1 B91 B81_TT__TT_ lt R gt al 801 001 611 00 _TT_ D D on L AN Vv 1 011 21_TT_ Ta er hed heed bed lt 1 gt lt 02 gt lt 00 gt lt 00 gt lt 0 gt lt GA gt lt F8 gt lt D gt lt R gt TT TT TT TT R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 00 gt lt OA gt lt C5 gt lt CD gt lt R gt TT T T TT 02110011031100110411001105110011061100 TT lt R gt lt 01 gt lt 01 gt lt 0 gt lt OB gt lt V gt lt AB gt lt 3C gt lt 72 gt lt R gt TT T 19011021 TT 901003110011041 0011051100110611001107100 TT TT lt R gt lt 01 gt lt 04 gt lt 00 gt lt 00 gt lt 00 gt lt A gt lt 70 gt lt D gt lt R gt TT T 1 IOGT TT 92110011031100110411001105110011061190110 TT TT lt R gt lt 01 gt lt 02 gt lt 00 gt lt 00 gt lt 00 gt lt OA gt lt F8 gt lt D gt lt R gt TT TI IB8T TT TT lt R gt lt 01 gt lt 03 gt lt 00 gt lt 00 gt lt 00 gt lt A gt lt C5 gt lt CD gt lt R gt TI G1T 1 11901 TT 921100100311001104 11001195110011061100 511 TT TT lt R gt lt 01 gt lt 01 gt lt 00 gt lt 00 gt lt 0 gt lt A gt lt 3C gt lt 72 gt AR gt TT TT gt 0011011 001 021 TT 00110311001104110011051100110611001107110 TT lt R gt lt 01 gt lt 04 gt lt 00 gt lt 00 gt lt 00 gt lt 0A gt lt 70 gt lt D gt lt R gt TT TT 911104 T TT 9211 011 3110011041100110511901196110011071100110811 TT lt R gt lt 01 gt lt 02 gt lt
53. is being transferred between Port 2 and the slave Off No data CFG ERR N A Off Not Used ERR1 Red Off The PTQ 101M is working normally On The PTQ 101M module program has recognized an application error ERR2 N A Off Not used in application ERR3 N A Off Not used in application 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 voltage 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 ProSoft Technology Inc May 14 2008 Page 109 of 181 PTQ 101M Quantum Platform Diagnostics and Troubleshooting IEC 60870 5 101 Master Communication Module Page 110 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 7 Reference In This Chapter Product Spec
54. is determined by summing the options from the lists that follow Parameter Qualifier O Not used 1 Act Deact of previously loaded parameters point index 0 2 Act Deact of the parameter of the point index specified 3 Act Deact of persistent cyclic or periodic transmission of the addressed object 4to 127 Reserved by standard 128 to 255 Reserved for special use private range ProSoft Technology Inc Page 85 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module Activation Qualifier 0 Deactivate 256 Activate BCD Integrated Setpoint The format of this field for BCD Integrated Setpoint 242 command is as follows BCD Integrated total Setpoint Command Description __ Select Execute Code Deselect Code Not Utilized The value in database is utilized for this command The data resides in a 6 byte data area in the module The Qualifier Parameter used with this command is selected from the following list 0 Direct execution without select 1 Select executed followed by execute 2 Deselect command The format of this field for the Class 2 poll 255 command is as follows Class 2 Poll Bit to Not Utilized 15 No database or qualifier is used with this command Page 86 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform 5 3 IEC 60870 5 101 Master Communication Module U
55. master transmits a Reset of Remote Link message and the slave responds with an ACK response Then the master sends two consecutive Class 1 requests The slave responds to the first Class 1 request with an End of Initialization response and the second Class 1 request with an Ack message ProSoft Technology Inc Page 145 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module The following illustration shows a typical initialization procedure for the unbalanced mode Master Module Status of Link Request Status of Link Response Reset Remote Link ACK Class 1 End Of Initialization Class 1 ACK Data Not Available Balanced Mode During balanced mode the link must be initialized in both directions The PTQ 101M module also always reinitializes the link after it receives an initialization request from the master Therefore the following initialization occurs during balanced mode after PTQ 101M boots Slave Module Status of Lin 101M Module initializes the link Status of Link Respons Reset Remote Link ACK Slave initializes the link Status of Link Status of Link Respons Reset Remote Link ACK 101M Module re initializes the link Status of Link Status of Link Respons Reset Remote Link ACK Page 146 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101
56. module has sent a new block Once the block is received the processor logic copies the received data to the appropriate variables The logic also clears the trigger for the next request InputData 1 9970 THEN GetT GetT GetT GetT Get Ti ime MyYear InputData 2 ime MyMonth InputData 3 ime MyDay InputData 4 ime MyHour InputData 5 ime MyMinute InputData 6 r GetT END IF ime MySecond InputData 7 ime MyMillisecond InputData 8 IF Example Setting the time of day to the module This logic shows an example on how to request a block 9971 from the module Read Module s Time Assumptions MyTrigger is a variable that triggers this logic QutputControl variable array starts at register 4000001 InputControl variable array starts at register 3000001 MyTime variables store the date and time values to be written to the module Sets the Block Number 9971 Write Module s Time and then increments the output sequence number OutputControl 1 by one Once the module reads a new output sequence number from the processor it will process this request So remember that the actual trigger is moving a new output block sequence number value to the module Moving the block number 9970 is not the trigger to request this task from the module MyTrigger is set to 1 as an indication that the logic is waiting for the response from the module MyTrigger 9971 THEN OutputControll l
57. same on the screen they perform different actions on the module 6 2 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 upload or receive download configuration files ProSoft Technology recommends the following minimum hardware to connect your computer to the module 80486 based processor Pentium preferred 1 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 A null modem serial cable Page 94 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 6 3 Required Software In order to send and receive data over the serial port COM port on your computer to the module you must use a communication program terminal emulator A simple communication program called HyperTerminal is pre installed with recent versions of Microsoft Windows operating systems If you are connecting from a machine running DOS you must obtain and install a compatible communication program The following table lists communication programs that have been te
58. should match the Event 101M type and should match the following illustration Eg Data Editor Variables DDT Types Function Blocks DFB Types Filter Ad Name B Sector COT Reserved Pointlndex Pointindex 0 Pointindex 1 ASDUType Miliseconds Seconds Minutes Hours Month Da Year Qualifier Value Value 0 Value 1 WORD WORD WORD WORD ARRAY O 1 OF WORD WORD WORD WORD UINT UINT BYTE BYTE BYTE BYTE WORD WORD ARRAY O 1 OF WORD WORD WORD ProSoft Technology Inc May 14 2008 Page 59 of 181 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Configuring the Processor with UnityPro XL 2 Inthe animation table create an array of events to copy all 199 events block count ResetEP and the last point which is the index in the array for the last event to be copied to the array The following illustration shows that we received two events in one block block count 1 and last Point 1 Table Puoro fore ox ResetEP1 amp BlockCount 1 INT LastPoint 1 INT EO Events ARRAY O 199 OF Event101M Events0 Event101M E Session 0 WORD Sector 0 WORD E COT 3 WORD 9 Reserved 0 WORD E Pointindex ARRAY 0 1 OF WORD Poinilndex0 100 WORD E 9 Pointindex 1 0 WORD ASDUType 30 WORD E Milliseconds 866 UINT
59. start at the same register address lw1 for this example As the Inputstatus PIN will start same as 3x the variable associated with PIN OutputControl must start at the same register address MW1 4x Register Start ll 4x start register where data moved from processor to module 1 to n You must create user variables that match all PINs on the function block The following illustration shows an example i main MAST DAR FBLO Bik9903101M 10 BlockCount BIKCount BIkCountj BlockCount ResetEP ResetEP ResetEP1 ee gt ResetEP1 LastPoint stPoint LstP oint LastP oint F InputD ata linputStatus OutputControlf OutputC ontrol1 MyTrigget ExternalCmd Events Events f EventinQueuef EventC ountinQueve f EventOverF lomf EventOverflow gt 15 Before you can save the project in UnityProXL you must validate the modifications Open the Edit menu and then choose Validate If no errors are reported you can save the project 16 Save the project 17 Download the project and test the function block Page 58 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with UnityPro XL 4 3 3 Using the EVENTFB Function Block PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 1 Create variables that match the Event format When you import the function block derived data types will also be imported The variable
60. the construction of this command and no qualifier value is used in this release of the software Clock Synchronization The format of this field for the Clock Synchronization 103 command is as follows Clock Synchronization Command Synchronization Mode Qualifier Not Utilized No database value is associated with the construction of this command The Qualifier Parameter for this command has one of the following values 0 Clock synchronization with out delay utilized 1 Synchronize clock with delay set 2 Measure delay load delay then synchronize clock Test Command The format of this field for the test command 104 and 107 is as follows Test Command both 101 and 104 versions Bit to Not Utilized 15 No database value is associated with the construction of this command and no qualifier value is used in this release of the software ProSoft Technology Inc Page 83 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module Reset Process The format of this field for the Reset Process 105 command is as follows Reset Process Command Bit 0 to Reset Qualifier T7 8 to Not Utilized 15 No database value is associated with the construction of this command The Qualifier Parameter has one of the following values as define in the protocol specification 0 Not used 1 General reset of process 2 Reset pending information with ti
61. this Warranty with respect to such software and or other intellectual property 8 5 10 Allocation of risks This Warranty allocates the risk of product failure between ProSoft and the Customer This allocation is recognized by both parties and is reflected in the price of the goods The Customer acknowledges that it has read this Warranty understands it and is bound by its Terms Page 176 of 181 ProSoft Technology Inc May 14 2008 Support Service amp Warranty PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 8 5 11 Controlling Law and Severability This Warranty shall be governed by and construed in accordance with the laws of the United States and the domestic laws of the State of California without reference to its conflicts of law provisions If for any reason a court of competent jurisdiction finds any provisions of this Warranty or a portion thereof to be unenforceable that provision shall be enforced to the maximum extent permissible and the remainder of this Warranty shall remain in full force and effect Any cause of action with respect to the Product or Services must be instituted in a court of competent jurisdiction in the State of California ProSoft Technology Inc Page 177 of 181 May 14 2008 PTQ 101M Quantum Platform Support Service amp Warranty IEC 60870 5 101 Master Communication Module Page 178 of 181 ProSoft Technology Inc May 14 2008 Index Index Backp
62. will be sent a general interrogation command when the unit is first recognized as being online This should only be used for devices that do not send an EOI message after initializing ProSoft Technology Inc Page 75 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module EOI Time Sync Yes or No This parameter specifies if the sector in the controlled device will be sent a time synchronization command after this module received an EOI message from the controlled unit EOI General Int Yes or No This parameter specifies if the sector in the controlled device will be sent a general interrogation command after this module received an EOI message from the controlled unit Database Definition Database definition for this session sector Data Types are as follows Monitored Data 1 Single point 3 Double point 5 Step point 7 Bitstring of 32 bits 9 Measured normalized points 11 Measured scaled points 13 Measured short float points 15 Integrated totals 110 Measured normalized parameter word addressing 1 point 1 data word 111 Measured scaled parameter word addressing 1 point 1 data word 112 Measured short float parameters double word addressing 1 point 2 data words 240 Integrated totals BCD format 3 word addressing 1 point 3 data words 5 2 6 IEC 101 Master Commands This section contains the commands for the
63. will slow down Only use this tool during a troubleshooting session Before disconnecting from the Config Debug port please press S to stop the data analyzer and then press M to return to the main menu This action will allow the module to resume its normal high speed operating mode Viewing Protocol Configuration Press C to view configuration information for the 101M protocol Opening the Command List Menu Press I to open the Command List menu Use this command to view the configured command list for the module Viewing Port Configuration Press P to view configuration information for the application port Use this command to display detailed configuration information for the port Page 100 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Viewing Port Communication Status Press Q to view the port communication status for the application port Use this command to view communication status and statistics for the selected port This information can be informative when trouble shooting communication problems Opening the Session Configuration Menu Press S to open the Session Configuration menu Use this command to view the session configuration data Refer to Session Configuration Menu for more information about the commands on this menu 6 4 4 Data Analyzer The data analyzer mode allows you to view all byte
64. 00 00 00 00 00 00 00 00 TT 00 00 00 00 90 A3 67 TT lt R gt lt 01 gt lt 03 gt lt 0 gt lt B gt lt OO gt lt OA gt lt CS gt lt CD gt lt R gt TT 01 093 14 00 00 86 86 86 TT 89 89 09 90 09 09 00 69 09 00 00 00 00 80 09 A3 67 TT lt R gt lt 01 gt lt 83 gt lt gt lt 0 gt lt gt lt A gt lt C5S gt lt CD gt lt R gt TT 01 83 14 00 00 00 09 80 60 TT 00 00 00 09 00 00 00 00 0 00 00 00 00 00 A3 1 67 TT The Data Analyzer displays the following special characters Character Definition Data enclosed in these characters represent data received on the port lt gt Data enclosed in these characters represent data transmitted on the port lt R gt These characters are inserted when the RTS line is driven high on the port lt R gt These characters are inserted when the RTS line is dropped low on the port Page 102 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Character Definition lt CS gt These characters are displayed when the CTS line is recognized high _TT_ These characters are displayed when the timing mark interval has been reached This parameter is user defined Stopping the Data Analyzer Press S to stop the data analyzer Use this option to freeze the display so the data c
65. 08 Page 81 of 181 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module Counter Interrogation The format of the field for Counter Interrogation Command 101 is as follows Counter Interrogation Command Bit to Counter Interrogation Group to Freeze Reset Qualifier to Not Utilized No database value is associated with the construction of this command The Qualifier Parameter used with this command defines the counter interrogation group to request Only a single group can be requested in a single command The qualifier also contains the freeze reset operation to be utilized with the command The codes to use for this field are as follows Counter Interrogation Group O No counter requested 1 Request counter group 1 2 Request counter group 2 3 Request counter group 3 4 Request counter group 4 5 Request general counter group 6 to 31 Reserved by standard 32 to 63 Reserved for special use private range Freeze Reset Qualifier O No freeze or reset 64 Counter freeze without reset 128 Counter freeze with reset 192 No freeze with counter reset Page 82 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Read Command The format of this field for the Read 102 command is as follows Read Command Bit 0 to Not Utilized 15 No database value is associated with
66. 087 5 101 Slave IEC6087 5 103 Master 1EC6087 5 104 Server N Rockwell Automat IF Duple Select your ProTalk Q module here Leave lt all gt highlighted 4 In the 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 Drop Module Modules 1 ASEH Port rone z Bits In 0 Params Bits In 0 Bits Out 0 Bits Out 0 Status Table Prey Next Clear Delete Cut Copy Paste I Rack Slot Module Detected In Ref In End Out Ref Out End 11 1 2 13 1 4 15 16 17 1 8 13 1 10 1 11 1 12 1 13 F 4 ProSoft Technology Inc Page 19 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Configuring the Processor with Concept 5 Repeat steps 3 through 5 for each ProTalk module you plan to install When you have finished installing your ProTalk modules click OK to save your settings Click Yes to confirm your settings Tip Select a module and then click the Help on Module button for help pages The Pro lakk O DIP Server fternet Coemarscations Module GTO DNPSNET nopot the wgtenectaton of He AP O Geet teted Neteort Protood ower Ethernet afowng Quart processes to etaty Commerce EA hort systems supporting he protoed The mode supports OM Soort Level 2 testes and so
67. 1M Quantum Platform Reference IEC 60870 5 101 Master Communication Module 7 8 Command List Form 7 8 1 Form to Define Command List Enable Database Poll Session Sector Data Type Point Index Qualifier Code Index Interval Index Index Parameter Page 162 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 7 9 Interoperability 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 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 The selected parameters should be crossed in the white boxes replace O with K NOTE In addition the full specification of
68. 2 5 IEC 60870 5 101 Master Communication Module How to Set up and Use the Sample Function Block for Concept 2 5 1 EVENTFB Function Block Overview The purpose of the EVENTFB sample function block is to transfer the events into a buffer that consists of an array of elements that stores all data in a convenient format for the user The block 9903 passes data into a compacted format thus occupying the minimum amount of registers For example the block 9903 originally reserves the same register for Hour and Minute one byte for each value so the user application would need to extract each value The EVENTFB sample function block already extracts each event value into a separate register The following illustration shows the structure of each element of the buffer extracted from the data type definition file TYP EVENT101 STRUCT Session WORD Session configured for this Master Sector WORD Sector configured for this session COT WORD Cause of transmission of th vent message Reserved WORD Reserved PointIndex ARRAY 0 1 OF WORD This is the point index in remote devic that generated th vent ASDU WORD ASDU Type illiseconds UINT Timestamp milliseconds Seconds UINT Timestamp Seconds inutes BYTE Timestamp minutes and hours Hours BYTE Timestamp minutes and hours onth BYTE This contains the month of th
69. 2 Poll Delay 0 to 2432 1 This parameter sets the minimum number of milliseconds to delay between each class 2 poll Auto Clock Req Mode 0 Sync Only 1 Load delay sync 2 Acquire delay load delay sync This parameter specifies the method used to perform automatic clock synchronization 0 performs a synchronization without delay 1 performs synchronization using the fixed Propagation Delay and 2 computes the delay and use this value when synchronization takes place Propagation Delay 0 to 65535 This parameter sets the fixed propagation delay to be utilized if the Auto Clock Req Mode parameter is set to a value of 1 Response Timeout 0 to 2432 1 This parameter sets the maximum number of milliseconds to wait for a confirmation from the controlled station to a request from this module Page 74 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module ACTTERM with setpoint Yes or No This parameter determines if an ACTTERM will be sent If the parameter is set to Yes then 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 2 5 IEC 101 Master Session x Sector y This section sets the parameters for a specific sector of a session Within each session definition is a parameter that specifies the number of sectors for the session For each sector
70. 2 to 63 Command Response Data 62 64 ton Read Data 0 to 3999 Output Data 4x Register Data These blocks of data transfer information from the Quantum processor to the module The structure of the output image used to transfer this data is shown in the following table Offset Description Length 0 Sequence Counter 1 1 Block ID 1 2 to 63 Command Data 62 64 ton Write Data 0 to 3999 Command Control Blocks Block identification codes greater than 9900 are utilized to perform special functions in the module Each control block recognized and used by the module is defined in the following topics Command Codes Descriptions 9250 Status Block 9901 User Constructed Command 9902 Command Control Block Add command to Command List Queue 9903 Event Messages from Master port 9950 Command List Error data 9970 Set PLC time using module s time 9971 Set module s time using PLC time 9999 Cold Boot Request from PLC Block contains no data Note The command code in the I O area is also referred to as the block ID ProSoft Technology Inc Page 131 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Status Data Block 9250 This block is used to request status data from the module by the processor Reference Block Format from Processor 4x Register Data Word Offset in Block Data Field s Description 0 Sequence This f
71. 2000 should work with most applications Single Char ACK FO 1 or 3 Yes or No If set to Y a single character ACK OxE5 will be sent instead of a fixed length ACK secondary function code 0 in response to a primary link function code 0 1 or 3 if there is no access demand for class 1 data ACD 1 If set to N the fixed length ACK will be sent ProSoft Technology Inc Page 71 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module Use Balanced Mode Yes or No This parameter specifies if the port will use balanced mode If balanced mode is used only one controlled station will be permitted on the port If unbalanced mode is used multiple controlled stations can be used on a port Select Yes to use balanced mode and No to use unbalanced mode 5 2 4 IEC 101 Master Session x This section is used to define session x which runs on Port x The session sections of the configuration file are determined by the number of sessions set in the configuration file The sessions are referenced by a zero based index value For example if the module is configured for four sessions the configuration file should contain sections for sessions 0 to 3 that is IEC 101 Master Session 0 to IEC 101 Master Session 3 Each of these sections will define the characteristics of the specific controlled device to be interfaced Communication Port Oor 1 This parameter sets the port to which t
72. 3 The start address must point to the same start address defined for block 9903 backplane data exchange Point Address parameter ResetEP input output INT Move a value of one to reset the event pointer This will cause the next event to be written to index 0 at the circular buffer The register will be automatically reset to zero after the request was processed This register should be only used for very specific applications because the circular buffer automatically changes the element pointer from 199 to 0 after the maximum index was reached Events Output EVENT101M Circular buffer that stores all received events in a convenient format for the user application It can store up to 200 events index varies from 0 to 199 After event 199 is updated the next event to be received will be automatically updated at index 0 BlkCount Input Output INT Incremented after a block is received and after the events in that block have been read into the circular buffer The maximum value for this counter is 1000 then it is automatically reset to 0 LstPoint Input Output INT Pointer to the last event index read from the module For example if last event was updated at index 5 then this value will have the same value ExternalCmd Input WORD This external command is used so user can issue different commands while the module receiving events Page 52 of 181 ProSoft Technology
73. 3 bytes COT Length 2 bytes and CASDU Length 2 bytes Important If the database parser gets a point index that is not valid the whole database is set as invalid and no points are reported Because the index 0 is not valid the protocol does not support this index value the driver considers it invalid For example if you set the size of the ASDU to 1 and you set a value of 1000 for a point index this is also invalid as the indexes can only go from 1 to 255 Balanced and Unbalanced Modes The module supports balanced and unbalanced modes In balanced mode each station may initiate message transfers If the links from the master unit to several slaves share a common physical channel then these links must be operated in an unbalanced mode to avoid the possibility of more than one device attempting to transmit on the channel at the same time Select the communication mode with the following parameter Use Balanced Mode 0 0 No 1 Use balanced mode 7 3 2 Module Initialization After the module powers up a specific initialization procedure occurs depending on the communication mode you selected Balanced or Unbalanced Unbalanced mode In order to start communications between the master and the slave units the master tries to establish the link connection by transmitting repeated Request Status of Link at specific time out intervals When the module s link is available it will respond with a Status of Link response Then the
74. 60870 5 101 Master Communication Module 9 Notice that the template populates the address range as shown in the following illustration Place your cursor as shown in the first blank address field below the addresses you just entered Place cursor here roe Template untitled Animation OFF JO x Variable Name Address 400002 400003 400004 400005 400006 400007 400008 400009 OT 10 Repeat steps 6 through 9 using the values in the following illustration x First Reference To Insert 400020 Last Reference To Insert 400029 Number of References to Insert jo Display Format Dec Me OK Cancel Help ProSoft Technology Inc Page 41 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module 11 In the PLC Configuration window open the Online menu and then choose animate This action opens the RDE Template dialog box with animated values in the Value field ERDE template untitled Animation ON ioixi Variable Name Data Type Address E 400003 7 i 400004 17 I 400005 3 400006 15 I 400007 l 400008 49 i 400009 I lp 400010 0 i 400020 24576 l 400021 5 400022 7 12 Verify that values shown are cycling starting from address 400065 on up 13 In the PLC Configuration window open the Templates menu and then choose Save Template as Name the template ptqclo
75. 70 Procedures for Return of Units Under Warranty anronnrnnnrnnnnnrnnnnn 171 Procedures for Return of Units Out of Warranty roronnrnnnrononnrnnnnn 172 LIMITED WARRANTY c ccceceeeceeseeeeeeeeeeeeeeeeceaeeeaeseaesaaeeneeeaeeeaeees 173 Be sure and read the full Warranty that can be found on our web site at www prosoft technology com for details and other terms and conditions The content in this summary is subject to change without notice The content is current at date of publication ProSoft Technology Inc strives to provide meaningful support to its customers Should any questions or problems arise please feel free to contact us at Internet Web Site http Awww prosoft technology com support E mail address support prosoft technology com Those of us at ProSoft Technology Inc want to provide the best and quickest support possible so before calling please have the following information available You may wish to fax this information to us prior to calling 1 Product Version Number 2 System architecture 3 Network details In the case of hardware we will also need the following information Module configuration and contents of file Module Operation Configuration Debug status information LED patterns Information about the processor and user data files as viewed through the development software and LED patterns on the processor 6 Details about the networked devices interfaced if any akhoO
76. 903 The start address must point to the same start address defined for block 9903 backplane data exchange Point Address parameter ResetEP input output INT Move a value of one to reset the event pointer This will cause the next event to be written to index 0 at the circular buffer The register will be automatically reset to zero after the request was processed This register should be only used for very specific applications because the circular buffer automatically changes the element pointer from 199 to 0 after the maximum index was reached Events Output EVENTSTRUCT Circular buffer that stores all received events in a convenient format for the user application It can store up to 200 events index varies from 0 to 199 After event 199 is updated the next event to be received will be automatically updated at index 0 BlkCount Input Output INT Incremented after a block is received and after the events in that block have been read into the circular buffer The maximum value for this counter is 1000 then it is automatically reset to 0 LstPoint Input Output INT Pointer to the last event index read from the module For example if last event was updated at index 5 then this value will have the same value ExtCmd Input WORD This external command is used so user can issue different commands while the module receiving events OutCntrl Output WORD64 Stores da
77. 9903101M v Function and Function Block types T Nme F V EF M EFB M DFB Libraries Families OI lt Application gt G BEDT I lt Libset gt 12 Click OK to populate the Function Input Assistant dialog box W Function Input Assistant FFB type BIk9903101M sed Instance FBI_O zim Prototype 6 inputs InputStatus Input Extemallmd WORD lt outputs gt BH OutputControl Output Events ARRAY O 199 EventinQueue WORD EventOverFlow WORD lt inputs outputs gt BlkCount INT ResetEP INT LstPoint INT Help On Type Help ProSoft Technology Inc Page 57 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with UnityPro XL IEC 60870 5 101 Master Communication Module 13 Click OK to dismiss the Function Input Asistant dialog box Next click to select the Main Mast section 3 main mA SES 10 20 30 InputStatus ExternalCmd EventOverFlowy 14 The next step is to create variables to associate to the function block PINs We will start with the Inputstatus PIN The variable for this PIN must point to the same start address where block 9903 will be copied to referring the Register Start address entry in the module configuration file Register Start 1 3x start register where data moved from module to processor 1 to n This implies that the variable associated to PIN Inputstatus must also
78. AG DE 97 0 e sa0 ameja fil Local Bus OJ Station Bus J 1 140 CPU 65160 02 00 Q Configuration fe g 1 Local Bus 3 Derived Data Types Derived FB Types Variables amp FB instances Elementary Variables Derived Variables 10 Derived Variables Elementary FB Instances Derived FB Instances ommunication 33 Timer Events Q vOEvents 3 Animation Tables 3 Operator Screens h Documentation a F CCZ z STN Rebuild Al Project imoonexoor User rors seres Ready HME R W mode OFFLINE nor sunt Q 5 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 fil Local Bus JO 140 CPU 651 60 02 00 z Page 48 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 4 Expand the Supply folder and then select your power supply from the list Click OK to continue OK Address 1 6 Cancel da Counting Discrete Expert Motion Supply 140 CPS 111 00 AC Slandakure PS 115 230V 3A sss 40crs 11420 AC Summadle PS 120 230V 140 CPS 114 XO AC Standalone PS 115 230V 8A 140 CPS 124 00 AC Redundant PS 115 230V 8A 140 CPS 124 20 AC Redun
79. Block Format from Module 3x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the block is Counter handled 1 Block ID This field contains the block identification code of 9903 for the block 2 Event Count This field contains the number of events present in the block Values of 1 to 4 are valid 3 16 Event 1 Event message 17 30 Event 2 Event message 31 44 Event 3 Event message 45 58 Event 4 Event message 59 61 Spare Not used 62 Event count in Number of events in queue still waiting to send queue 63 Event Overflow Event buffer overflow The format of each 14 word data region in the block is as follows Word Offset Definitions Description 0 Session Index This field contains the session index used to define the controlled unit in the module from which the event was generated Sector Index This field contains the sector index used to define the database within the controlled unit from which the event was generated Page 136 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Word Offset Definitions Description 2 COT This field contains the COT for the event message received from the IED If the size of the COT is a single byte the originator address will always be zero The COT is in the LSB and the originator a
80. Direct execution without select 128 Select executed followed by execute 256 Deselect command The value field for the qualifier can be derived from the module s database or be that defined in the qualifier If the override flag is used the module will issue the command using the values contained in the qualifier defined for the command If the override flag is not set the module will use the value in the database to send to the controlled device The values to use for the override flag are as follows 0 Use value in database value field should be set to zero for qualifier parameter 512 Use override value for state preferred when using block 9902 with value field set for command to execute ProSoft Technology Inc Page 79 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module Normalized Scaled and Short Float The format of the field for Normalized 48 Scaled 49 and Short Float 50 setpoint command is as follows Normalized Scaled and Short Float Setpoint Commands Select Execute Code Deselect Code Not Utilized The value read from database for point specified is used with this qualifier to build a command The Qualifier Parameter uses one of the following codes 0 Direct execution without select 1 Select executed followed by execute 2 Deselect command Bitstring for 32 Bits The format of the field for 32 Bitstring 51 setpoint comm
81. ENTFB asc c projectidib Cancel a er es PROJECT Network E gt DFB Network List files of type Drives Project DFB asc X c gt 4 When the importing procedure is completed you will observe the following confirmation screen Concept Converter File Help EVENTFB ASC gt project x Project EVENTFB EVENTFB 01 Action success Eros 0 Warmings 0 Page 26 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 5 Close the Concept Converter tool Now you can refer to C PROJECT DFB to check that the function block DFB was exported and is ready to be used File Edit View Favorites Tools Help Q Back v 3 Ka Search H Folders s CPROJECT DFB oor JRE A Name File and Folder Tasks 4 E EVENTFB asc amp PTQ 103M DTY EVENTFB DFB E EVENTFB P1 E EVENTFB P2 E EVENTFB P3 E E OJ Make a new folder Publish this folder to the Web la Share this folder E EVENTFB P4 Other Places LE EVENTFB Q1 E EVENTFB Q2 Details Setup the Concept Project Type ASC File DTY File DFB File P1 File P2 File P3 File P4 File Q1 File Q2 File 1 Start the Concept software as shown in the following illustration fay Concept V2 6 XL EN amp 80010 Help 9 Atrium Help p Authorization E ccLaunch amp Compact Help 77 Concept gt
82. ERIAL Driver MODBUS Tet XWAYTet DRIVERS Manager PLC USB Driver Drivers Manager V2 1 IE14 bes Drivers pose le 2 installed drivers Windows NT V5 1 Build 2600 MODBUS Extended info Service Pack 2 Winsock 2 2 Install update DLLsXWAY VB 1 23 5 Uninstall this driver Net ccess Y1 0 8 14 5 Click the Install update button to specify the location of the Setup exe file containing the drivers to use You will need your UnityPro XL installation disks for this step Driver installation update xi _ Insert the driver installation disk in the selected OK device then click OK Lok Cancel Install the driver from A setup exe Browse 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 UnityPro XL 4 5 1 Connecting to the Processor with TCPIP 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 UnityPro XL Page 64 of 181 ProSoft Technology Inc May 14 2008 Configuring
83. FERRING CONFIGURATION FROM PC TO ProSoft MODULE Using the Zmodem file transfer protocol Select the SEND menu option and transfer the configuration file Page 90 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 4 From the Transfer menu in HyperTerminal select Send File 7 Display ern A Data Analyzer B Block Transfer Statistics C Module Configuration D Database View R Receive Module Configuration S Module Configuration V Version Information W Harm Boot Module Esc Exit Program Press Y key to confirm configuration receive Receiving configuration file TRANSFERRING CONFIGURATION FROM PC TO ProSoft MODULE Using the Zmodem file transfer protocol Select the SEND menu option and transfer the configuration file The Send File dialog appears Mi Send File Folder C Documents and Settingsymrodrigues Filename Protocol EE Close Cancel 5 Use the Browse button to locate the configuration file your computer Select File to Send Look in MVI UD My Recent Documents Desktop Airie FG My Documents gs My Computer File name FILE CFG Open My Network Files of type All Files Cancel Note This procedure assumes that you are uploading a newly edited configuration file from your PC to the module However configuration files are al
84. Handshaking DB 9 Male RS 232 Device Ro 2 to To 3 ro COM s H __ _ COM ProSoft Technology Inc Page 149 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module RS 232 Modem Connection This type of connection is required between the module and a modem or other communication device RS 232 Application Port Cable Modem Connection DB 9 Male RS 232 Device Signal Signal Common Common DTR DTR The Use CTS Line parameter for the port configuration should be set to Y for most modem applications RS 232 Null Modem Connection Hardware Handshaking This type of connection is used when the device connected to the module requires hardware handshaking control and monitoring of modem signal lines RS 232 Application Port Cable Hardware Handshaking DB 9 Male RS 232 Device Signal Signal Common Common Page 150 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module RS 232 Null Modem Connection No Hardware Handshakin This type of connection can be used to connect the module to a computer or field device communication port RS 232 Application Port Cable No Handshaking DB 9 Male RS 232 Device TxD RxD RTS RTS CTS jumper must be installed if CTS line CTS KA monitoring enabled Signal Signal Common Common Note If the port is configured with the Use CTS L
85. ITE Start 1909 Count 50 lt Connected 0 01 16 ANSIW 57600 8 N 1 The following illustration shows the basic idea of the event pass through functionality When the module receives the event from the remote device it will build block 9903 which will be copied to the processor at the configured memory address Quantum PTQ 101M 40001 i A 40064 Event with 1 amp 6 60870 6 Timestamp P Event Pass Through Block Format The block that is copied from the module to the processor has the following format Each block can contain up to 4 events The number of events per block will typically depend on the rate between how fast the module receives the events and how fast these can be passed to the processor typically depends on the processor scan rate Page 126 of 181 ProSoft Technology Inc May 14 2008 Reference Block Format for Read Block Format from Module 3x Register Data PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Word Offset in Block Data Field s Description 0 Sequence Counter This field contains a new value each time the block is handled 1 Block ID This field contains the block identification code of 9903 for the block 2 Event Count This field contains the number of events present in the block Values of 1 to 4 are valid 3
86. N For technical support calls within the United States an after hours answering system allows pager access to one of our qualified technical and or application support engineers at any time to answer your questions ProSoft Technology Inc Page 169 of 181 May 14 2008 PTQ 101M Quantum Platform Support Service amp Warranty IEC 60870 5 101 Master Communication Module 8 1 8 2 How to Contact Us Sales and Support All ProSoft Technology Products are backed with full technical support Contact our worldwide Technical Support team and Customer Service representatives directly by phone or email USA Latin America excluding Brasil Office in California 1 661 716 5100 1 661 716 5101 Fax 1675 Chester Avenue 4th Floor Bakersfield California 93301 U S A 1 661 716 5100 support prosoft technology com Languages spoken include English Spanish Asia Pacific Sales office in Malaysia 603 7724 2080 603 7724 2090 Fax C210 Damansara Intan 1 Jalan S520 27 47400 Petaling Jaya Selangor Malaysia 603 7724 2080 asiapc prosoft technology com Languages spoken include Chinese Japanese English Asia Pacific Support office in China 86 21 64518356 x 8011 86 21 64756957 Fax 4 F No 16 Hongcao Road Shanghai China 200233 China 86 21 64518356 x 8011 zhang prosoft technology com Languages spoken include Chinese English Europe Middle East Africa office in Toulouse France
87. 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 PLC Debug Window Help Connect Ctrl K Set Address m Standard Mode amp Simulation Mode FR G lt i Project Backup b 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 HEI v PLC m Simulator Bandwidth Address Address Test Connection 127 0 0 1 127 0 0 1 Media Media Cancel Communication Parameters Communication Parameters Help ProSoft Technology Inc Page 63 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with UnityPro XL IEC 60870 5 101 Master Communication Module 3 If the Media dropdown list does not contain the connection method you wish to use click the Communication Parameters button in the PLC area of the dialog box This action opens the PLC Communication Parameters dialog box PLC Communication Parameters xi Request failure recovery Number of tries E 3 Timanust ms 3000 IT Speediat 175 KBds Driver Settings Cancel Help 4 Click the Driver Settings button to open the SCHNEIDER Drivers management Properties dialog box SCHNEIDER Drivers management Properties xi MODBUS S
88. Q 101M Quantum Platform Diagnostics and Troubleshooting IEC 60870 5 101 Master Communication Module The Tick value is a timing mark The module will print a TT for every xx milliseconds of no data on the line Usually 10milliseconds is the best value to start with After you have selected the Port Format and Tick we are now ready to start a capture of this data The easiest way to do so is to go up to the top of you HyperTerminal window and do a Transfer Capture Text as shown below Transfer Help Send File Receive File Capture Text Send Text File Capture to Printer After selecting the above option the following window will appear 2x Folder C ProSoft txt Eile C ProSoft tet f Next name the file and select a directory to store the file in In this example we are creating a file ProSoft txt and storing this file on our root C drive After you have done this press the Set button Now you have everything that shows up on the HyperTerminal screen being logged to a file called ProSoft txt This is the file that you will then be able to email to ProSoft Technical Support to assist with issues on the communications network To begin the display of the communications data you will then want to press B to tell the module to start printing the communications traffic out on the debug port of the module After you have pressed B you should see something like the following _TT__TT_ lt R
89. Requests This word contains the total number of messages transmitted on channel 1 40 Responses This word contains the total number of messages received on channel 1 41 Err Sent This word contains the number of error messages sent on channel 1 42 Err Received This word contains the number of error messages received on channel 1 43 Cfg Err This bit mapped word recognizes any configuration errors for channel 1 Refer to the configuration error word table for a definition of each bit 44 Current Error This word contains the error code for the current command executing on channel 1 45 Last Error This word contains the error code for the last error recognized on channel 1 The following table defines the contents of the configuration error word Each bit in the word corresponds to an error condition recognized when the module is configured There is a separate word for each application port This data is reported in the status data area previously defined Bit Code Description 0 0x0001 Invalid baud rate selected 1 0x0002 Invalid parity selected 2 0x0004 Received timeout set to 0 3 0x0008 Invalid Port selected for a session 4 0x0010 Invalid sector count for session 5 0x0020 Could not allocate memory for sector of a session 6 0x0040 Invalid length data for session Data link length Command address of ASDU length Information object address length COT octet count
90. SDU Address 75 Communication Parameters 142 Communication Port 72 Configuration Data Definition 156 Configuration File 67 Configuring the Processor with Concept 13 Configuring the Processor with ProWORX 43 Configuring the Processor with UnityPro XL 47 Confirm Timeout 73 Connect Your PC to the Processor 63 Connecting to the Processor with TCPIP 64 Controlling Law and Severability 177 Convert the EVENTFB Function Block 25 COT octet count 73 Counter Interrogation 82 Create a New Project 15 47 D Data Analyzer 101 Data Analyzer Tips 103 Data Exchange 115 Data Link Address 72 Data Link Configuration 142 Data Type 77 Data Type Mapping and Addressing 128 Database Definition 76 Database Form 161 Database Index 77 Database View Menu 98 Diagnostics and Troubleshooting 9 93 DISCLAIMER OF ALL OTHER WARRANTIES 175 DISCLAIMER REGARDING HIGH RISK ACTIVITIES 175 Displaying the Current Page of Registers Again 98 Displaying the Next Page 107 Displaying the Previous Page 107 Displaying Timing Marks in the Data Analyzer 101 Download the Concept Project 33 Download the Project to the Processor 36 65 E Enable Code 77 EO General Int 76 EOI Time Sync 76 Error Codes 155 Error Status Data Format 120 121 152 Event Message Block 9903 136 Event Pass Through Block 9903 125 Event Pass Through Block Format 126 Event Pass Throu
91. Segment Scheduler Segments 32 M Config Extensions Data Protection Peer Cop Disabled Disabled Hot Standby Disabled Og Open Dialog ASCII Number of Messages Message Area Size Menkar af Dacha PLC Configuration Overview double click in window to edit sections NOT CONNECTED Page 20 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 2 This action opens the Specials dialog box SS x Mavinium I Battery Coil Ox 1536 I Timer Register 4x 1872 I Time Of Day 4x 400007 1865 I Allow Duplicate Coils LL984 only First Coil Address Ox Watchdog Timeout ms 10 30 Online Editing Timeslice ms 20 OK Cancel Help Selecting the Time of Day 1 Select check the Time of Day box and then enter the value 00001 as shown in the following example This value sets the first time of day register to 400001 Specials x Maximum J Battery Coil mf 1536 I Timer Register 4x 1872 IV Time Of Day 4x 00001 400008 1865 F Allow Duplicate Coils LL984 only First Coil Address Ox Watchdog Timeout ms 10 30 Online Editing Timeslice ms 20 Cancel Help 2 Click OK to save your settings and close the Specials dialog box ProSoft Technology Inc Page 21 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communic
92. TQ Module to the Project The next step is to add one or more of the PTQ modules to the Project To add modules 1 In the list of options on the left side of the PLC Configuration dialog box double click I O Map This action opens the I O Map dialog box x Expansion Size 144 I gt Insert Delete Go To Local Remote Head Skt 2 Cut Tan Paste Click Here op Type Holdup x100 ms In bits Ourbits Statuset 1 Quantum 170 3 0 0 eed I Select this row when inserting at end of list A Head Setup Cancel Help 2 Click the Edit button to open the Local Quantum Drop dialog box This dialog box is where you identify rack and slot locations x Module Modules 0 ASCII Port H none Bits In 0 Params Bits In 0 Bits Out o rs Bits Out 0 Status Table Prey Nert Clear Delete Cut Copy Paste I Rack Slot Module Detected InRef InEnd Dut Ref Out End 11 sl Er _ a ses p Far gt m 06 crea __ Hep Be Page 18 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 3 Click the Module button next to the rack slot position where the ProTalk module will be installed This action opens the I O Module Selection dialog box local Quantum Drop x Drop Module Modules 0 ASCII Port none z Bits Inc 0 ro EUS ast 1EC6
93. ameter Description 0 Scan Count This status value contains a counter incremented on each scan of the module s main loop 1 to 2 Product Name This two word data area contains the text values representing the product name These words contain the text 87S5 for the PTQ platform 3 to 4 Revision This two word data area contains the text values for the revision number 5 to 6 Op Sys This two word data area contains the text values for the operating system number 7to8 Run Number This two word data area contains the text values for the run number 9 Read Blk Cnt This word contains the total number of block read operations successfully executed 10 Write Blk Cnt This word contains the total number of block write operations successfully executed 11 Parse Blk Cnt This word contains the total number of write blocks successfully parsed 12 Error Blk Cnt This word contains the total number of block transfer errors 13 Event Msg Cnt This word contains the number of event messages waiting to send to the processor Page 152 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Offset Parameter Description 14 Event Msg This word contains a value of 0 if the event message buffer has not Overflow overflowed If the event buffer overflows this word will be set to a value of 1 15 Session Count Thi
94. an be analyzed To restart the analyzer press B Important When in analyzer mode program execution will slow down Only use this tool during a troubleshooting session Before disconnecting from the Config Debug port please press S to stop the data analyzer and then press M to return to the main menu This action will allow the module to resume its normal high speed operating mode Returning to the Main Menu Press M to return to the Main Menu 6 4 5 Data Analyzer Tips From the main menu press A for the Data Analyzer You should see the following text appear on the screen Data Analyzer Mode Selected After the Data Analyzer mode has been selected press to view the Data Analyzer menu You will see the following menu DATA ANALYZER VIEW MENU Display Menu 1 Select Port 1 2 Select Port 2 5 1 mSec Ticks 6 5 mSec Ticks 1 mSec Ticks 8 5 mSec Ticks 9 100 mSec Ticks No mSec Ticks H Hex Format A ASCII Format M Main Menu Port 1 Format HEX Tick 1 From this menu you can select the Port the format and the ticks that you can display the data in For most applications HEX is the best format to view the data and this does include ASCII based messages because some characters will not display on HyperTerminal and by capturing the data in HEX we can figure out what the corresponding ASCII characters are supposed to be ProSoft Technology Inc Page 103 of 181 May 14 2008 PT
95. an eaa aseainena 176 8 5 9 Additional Restrictions Relating To Software And Other Intellectual Property ee 176 8 5 10 Allocation of risksiimuviissvrd indie Sens r ve eder code renske ataa Deeg ben rad edge sbeen eee 176 8 5 11 Controlling Law and Severability rmssnreravvvvnnnnnnvrvnrrnvrnnnrvvvnnrennrrenrrnrneerrrvnnrensrrenrrnnrneersvvnnen 177 INDEX 2 Ge teed nat dwecewucueecidea sdeuscager eens sealed 179 ProSoft Technology Inc Page 7 of 181 May 14 2008 Contents PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Page 8 of 181 ProSoft Technology Inc May 14 2008 Start Here PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Guide to the PTQ 101M User Manual Function Section to Read Details Introduction This Section introduces the customer to the Must Do Start Here page module Included are package contents 11 system requirements hardware installation and basic configuration Verify Communication Diagnostic and Troubleshooting Verifying Communication page 109 Diagnostics and Troubleshooting page 93 This section describes how to verify communications with the network Diagnostic and Troubleshooting procedures Reference Product Specifications Functional Overview Glossary Reference page 111 Functional Overview page 113 Product Specifications page 111 These sections conta
96. and is as follows Bitstring of 32 Bit Command Bit to Not Utilized 15 The value read from database for point specified is used with this qualifier to build a command The Qualifier Parameter is not currently used to construct commands Page 80 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module The format of the field for Interrogation Command 100 is as follows Interrogation Command Bit 0 to 7 8 to 15 Interrogation Group Not Utilized No database value is associated with the construction of this command The Qualifier Parameter used with this command defines the interrogation group to request Only a single group can be requested in a single command The codes to use for this field are as follows O Not used 1 to 19 Reserved by standard 20 Station interrogation global 21 Interrogation group 1 22 Interrogation group 2 23 Interrogation group 3 24 Interrogation group 4 25 Interrogation group 5 26 Interrogation group 6 27 Interrogation group 7 28 Interrogation group 8 29 Interrogation group 9 30 Interrogation group 10 31 Interrogation group 11 32 Interrogation group 12 33 Interrogation group 13 34 Interrogation group 14 35 Interrogation group 15 36 Interrogation group 16 37 to 63 Reserved by standard 64 to 255 Reserved for special use private range ProSoft Technology Inc May 14 20
97. antum Platform IEC 60870 5 101 Master Communication Module The values in the example configuration file section above are illustrated in the following diagram PTQ Module Processor Database Words 1 to 64 40001 to 0 40064 Command Control Write Data 40065 to 99 Words 65 to 164 40198 Holding Register Write area Words 1 to 64 30001 to 1000 Command Control 30064 Read Data 30065 to 1099 Words 65 to 164 30164 Input Register Read area The module transfers the entire read and write areas at the end of every processor scan The module will hold the processor scan for a certain period of time which allows the module to transfer the entire read and write areas This means that the larger the read and write areas the longer the processor scan time will be Note The diagram above shows the memory addresses for a Quantum processor If you are deploying the PTQ 101M with a Unity processor substitute MW for read only data and IW for read write data Data Exchange The module transfers all the configured read or write data at the end of each processor scan You can configure up to 4000 words in each direction The more data you configure the longer the processor scan will be Words 0 through 63 in each read write block are reserved for command control Refer to Command Control page 131 for more information on command control blocks The following table shows the relationship between the processor memory and t
98. are important for understanding the operation of the PTQ 101M module Module Power Up On power up the module begins performing the following logical functions 1 Initialize hardware components o Initialize Quantum backplane driver o Test and clear all RAM o Initialize the serial communication ports 2 Read configuration for module from IEC101M CFG file on Compact Flash Disk 3 Initialize the databases and ports 4 Setup the serial communication interface for the debug configuration port After the module has received the configuration the module will begin receiving and transmitting messages with devices on the serial networks ProSoft Technology Inc Page 113 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Main Logic Loop Upon completing the power up configuration process the module enters an infinite loop that performs the following functions Reference From Power Up Logic Call I O Handler Call I O Handler Transfers data between the module and processor user status etc Call CFG DEBUG Port Driver Call Serial Port Driver Rx and Tx buffer routines are interrupt driven Call to serial port routines check to see if there is any data in the buffer and depending on the value will either service the buffer or wait for more characters Call Network Master Drivers Call Network Master Drivers Generate Messages
99. ata Integrated totals M IT NA 1 8 Parameter Normalized Data Parameter of measured value fy normalized value P ME NA 1 9 Parameter Scaled Data Parameter of measured value scaled value P_ME_NB_1 A Parameter Short Float Data Parameter of measured value short floating point value P ME NC 1 B BCD Integrated Total Data Y BCD integrated setpoint command M Return to Sector Menu Goes up one level to previous menu 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 Redisplaying the Current Page Press S to display the current page of data Returning to the Main Menu Press M to return to the Main Menu Page 108 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting 6 5 LED Status Indicators PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module The LEDs indicate the module s operating status as follows ProSoft Color Status Indication Module DEBUG 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 PRT1 Green On Data is being transferred between Port 1 and the slave Off No data PRT2 Green On Data
100. ation 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 ProSoft Technology Inc Page 93 of 181 May 14 2008 PTQ 101M Quantum Platform Diagnostics and Troubleshooting IEC 60870 5 101 Master Communication Module The organization of the menu structure is represented in simplified form in the following illustration Main Menu Child Menu A Child Menu C Child Menu B Child Sub Menu 1 Child Sub Menu 1 Child Sub Menu 2 Child Sub Menu 3 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 6 1 2 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 I L and number 1 likewise for capital letter 0 and number 0 Although these characters look nearly the
101. ation Module Saving your project Configuring the Processor with Concept 1 Inthe PLC Configuration dialog box choose File Save project as yr Concept C CONCEPT TESTPRJ untitled File Configure Project Online Options Window Help N ject St D eel el S 5j p e Close project Ctrl 5 Save project Opt Archiving 140 CPU 534 14 Availa Enabled IECH New section Open section mory Partition _ Loada Delete section 000001 001536 Numb Section properties Inputs 100001 100512 p Section Memory egisters 300001 300512 Registe400001 401872 Import Export s m Segme Print Coil Segme Printer setup egister Day 400001 400008 View Logfile tensions ASCII S Alt F4 otection Disabled Numbe p Disabled 1 C CONCEPT TESTPRJINEWDFNT nby Disabled ze On Open Dialog Save current project using a different database name 2 This action opens the Save Project as dialog box 3 Name the project and then click OK to save the project to a file File name Folders DK c concept testprj ev 2 CONCEPT 5 TESTPRU afb C3 NEWDFNT BAK Co NEWDFNT DIA gt oes Cancel Er Network Save file as type Drives Concept Projects pri v j c Page 22 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform
102. ck and then click OK to save the template 14 In the PLC Configuration window open the Online menu and then choose Disconnect At the disconnect message click Yes to confirm your choice At this point you have successfully Created and downloaded a Quantum project to the PLC Preset values in data registers that will later be monitored in the ProTalk module You are now ready to complete the installation and setup of the ProTalk module Page 42 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with ProWORX PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 3 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 CD ROM Important Note Proworx 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 take this into account when monitoring the status of the PTQ module 1 Run the Schneider_alliances exe application that is installed with the Proworx 32 software Sy CodeGen P ExecLoader GB ProWORX 32 Schneider Alliances 2 Click on Import Schneider Alliances 0010100 Mo 196 15 hd pr ik AET Lam Ga 170 series Module 800 Series Import E Export Card ID Name Card Descr
103. command will be executed when the interval timer expires If the parameter is set to 2 the command will execute only if the internal data associated with the command changes This value is valid only for write commands Database Index Database Index is the location in the module s database to use as the source for the data in the command The data type page 77 field determines the meaning of the index Poll Interval This parameter specifies the minimum frequency at which the module should execute the command The value is entered in units of seconds For example to execute a command every 10 seconds enter a value of 10 in the field A value of 0 for the parameter implies that the command should be executed every scan of the list Session Index Session Index represents the session index in the module to associate with the command This index is set when the session is read in from this file The range of values for this field is 0 to 31 Sector Index Sector Index represents the sector index for the specific session The range of values for this field is 0 to 4 Data Type Data type file represents the ASDU type as follows Type Description DB Index type 45 Single point command Bit address 46 Double point command Bit address 47 Regulating Step point command Byte address 48 Setpoint normalized point command Word address 49 Setpoint scaled point command Word address 50 Setpoint short float p
104. dant PS 120 230V 140 CPS 211 00 DC Standaone PS 24V 3A 140 CPS 214 00 DC Summable PS 24V 104 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 Standaone PS 125V 3A 140 CPS 524 00 DC Redundant PS 125V 84 5 Repeat these steps to add any additional devices to your Quantum Rack 4 2 Add the PTQ Module to the Project The next step is to add the PTQ module 1 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 4 Unity Pro XL PTQ_DNP Op File Edit Vie ices Tools Build PLC Debug Y Help ia tS e j je ujasjeje Jessjeas ea mal ro pa asn kanaa Tg Structural view MI Local Bus J 1 140 CPU 651 60 02 00 z 3 station Bus J 34 Configuration HRD Local Bus Derived Data Types 5 Derived FB Types OJ variables amp FB instances Elementary Variables Derived Variables 10 Derived Variables Elementary FB Instances f Derived FB Instances Communication pr OK Program 8 Tasks Cancel Dy MAST 3 pre Hip a Timer Eee B pe Quantum Drop Local Quantum Drop A Ey WO Evens
105. ddress is in the MSB 3 Reserved This field is reserved for future use and is added here to keep the structure double word aligned for all platforms 4to5 Point Index This field contains the point index in the remote device that generated the event 6 ASDU Type This field contains the ASDU type code for the data contained in the message 7 Milliseconds This word contains the seconds and milliseconds and Seconds when the event occurred 8 Minutes and This field contains the minutes and hours the event Hours occurred 9 Month and Day This field contains the month and day of the month the event occurred 10 Year This field contains the year the event occurred 11 Qualifier This field contains the point qualifier quality or sequence value as described in the protocol specification 12 to 13 Value This field contains the a double word value for the Command List Error Data Block 9950 Block 9950 identification code is used to request the Command List Error Table from the module The format for the block is shown below point associated with the event message Block Format from Processor 4x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the user Counter wishes to request a new command block 1 Block ID This field contains the value of 9950 identifying the block type to the module 2 Number of This field contains the number of commands to r
106. defined for a session there must exist a IEC 101 Master Session x Sector y section Where the x value represents the session index and the y value represents sector index For example if session 0 contains 1 sector there must be a section with the following name in the configuration file IEC 101 Master Session 0 Sector 0 The specific sector parameter set and database is defined in this section Common ASDU Address 0 to 255 1 oct or 0 to 65535 2 oct This parameter sets the common ASDU address to association with this sector of the specified session The range of address for this parameter are dependent on the length value set in the session section Use Time tag commands Yes or No This parameter specifies if a time tag field is to be included with commands This is as specified in the IEC 870 5 104 specification and should only be utilized if the controlled device supports these new data types If the parameter is set to Yes a time tag will be added to all commands If the parameter is set to No the normal IEC 60870 5 101 data type messages will be utilized Online Time Sync Yes or No This parameter specifies if the sector in the controlled device will be sent a time synchronization command when the unit is first recognized as being online This should only be used for devices that do not send an EOI message after initializing Online General Int Yes or No This parameter specifies if the sector in the controlled device
107. dshaking configurable 500V Optical isolation from backplane 7 1 4 Functional Specifications Built in accordance to the approved international specification Two independent master ports completely user configurable Support for balanced and unbalanced mode Up to 32 sessions Up to five sectors separate databases for each session Individual database definition for each sector 1000 commands to control stations Processor can issue control commands directly to the module or a controlled device 10 at each scan Pass through of event messages from controlled device to processor for logging of time tagged events Supports clock synchronization from to the processor Receives events from the slave and sends them to the processor Supports monitored data Single point Double point Step point Measured point Bitstring 32 bit o Integrated total point O Or 0 0 20 Class 1 and Class 2 delay parameter in the configuration file Complete set up and monitoring of module through Unity Pro XL or Concept software and user constructed configuration file IEC101M CFG All data related to the module is contained in user data files to simplify monitoring and interfacing with the module Page 112 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform 7 2 IEC 60870 5 101 Master Communication Module Functional Overview This section provides an overview of how the PTQ 101M module transfers
108. dule communicates with one or more controlled stations on what are referred to as sessions A session represents a controlled device with a unique data link layer address Each session controlled device contains one or more data sets sectors that are defined by the vendor of the device The following illustration shows these relationships 1EC 870 5 101 Master Por 4 186 070 5 101 Master Port O m Session 0 Session 1 Session 3 ig 2 Sedor 0 Sector N Sector 0 Database Database Database Port 0 on the module communicates with 4 sessions 0 1 3 and 4 each of which has their own data set s Session 1 only has one sector all data for device contained in a single database This sector is addressed by the master using the Common address of ASDU value set for the sector in the configuration file Session 0 contains two sectors each with their own unique Common address of ASDU value to identify the sector Port 0 must operate in unbalanced mode as more than one device exists on the network Port 1 may operate in balanced mode as it only contains one device on the network This device is defined in the Session 2 section of the configuration file In this example all data of the device is stored in a single sector The module supports two application ports Thirty two session can be defined on the module with each session being assigned to an application port Within each session up to five sectors can be defined This system permits a very
109. e a new module may be purchased and sent to Customer while repair work is being performed Credit for purchase of the new module will be issued when the new module is returned in accordance with ProSoft s shipping instructions and subject to ProSoft s policy on non warranty returns This is in addition to charges for repair of the old module and any associated charges to Customer 4 If upon contacting ProSoft Customer Service the Customer is informed that unit is believed to be unrepairable the Customer may choose to send unit in for evaluation to determine if the repair can be made Customer will pay shipping duties and taxes that may apply If unit cannot be repaired the Customer may purchase a new unit 8 4 1 Un repairable Units 3150 All 3750 3600 All 3700 3170 All 3250 1560 can be repaired if defect is the power supply 1550 can be repaired if defect is the power supply 3350 3300 1500 All 30 of list price is an estimated repair cost only The actual cost of repairs will be determined when the module is received by ProSoft and evaluated for needed repairs Page 172 of 181 ProSoft Technology Inc May 14 2008 Support Service amp Warranty PTQ 101M Quantum Platform 8 5 IEC 60870 5 101 Master Communication Module 8 4 2 Purchasing Warranty Extension As detailed below in ProSoft s Warranty the standard Warranty Period is one year or in the case of RadioLinx modules three year
110. e UnityPro XL 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 4 1 Create a New Project The first step is to open UnityPro XL 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 Ok Premium 02 00 Premium Cancel E Quantum 02 00 Quantum Cance 140 CPU 311 10 02 00 486 CPU 400Kb Program MB MB Help 40 CPU 434 12A 02 00 800 MB M 40 CPU 534 14A 02 0 586 CPU 2 7Mb Program MB MB 02 0 P166 CPU 5 2Kb Program PCMCIA Ethemet TC P266 CPU 1Mb Program PCMCIA Ethemet TCP P266 CPU Het Standby 1Mb Program PCMCIA ProSoft Technology Inc Page 47 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Configuring the Processor with UnityPro XL 2 The next step is to 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 Unity Pro XL PTQ_DNP _ ol x File Edit View Services Tools Build PLC Debug Window Help asasj at e n u AS G 88H E
111. e event occurred Day BYTE This contains the day of the Event occurred Year WORD This contains the year th vent occurred Qualifier WORD Point qualifier quality sequence value s protocol specification Value ARRAY 0 1 OF WORD Data value data size depends on ASDU type E END STRUCT END_TYPE The data structure that stores the incoming events consists on a circular buffer that can store up to 199 events So the buffer consists on an array of 199 EVENT101 elements presented previously The element index can vary from 0 to 199 If the last event updated was located at index 199 then the next event will be copied to index 0 The following illustration shows an instance example of the EVENTFB function block FBIL1_3 1 EVENTFB BlockCount BIkCount BlkCount BlockCount ResetEP gt ResetEP ResetEP gt ResetEP LastPoint D gt LstPoint LstPoint gt LastPoint ExternalCMD gt ExtCMD OutCotrl Output Pardee Se AR Input E gt Instat Events gt EventsAray gt gt EventQue gt EventsQueue EvntOvel EventsOvertlow ProSoft Technology Inc Page 23 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Configuring the Processor with Concept The EVENTFB function block contains the following PINs PIN PIN Type Data Type Description Instat input WORD64 Stores the memory area updated by block 9
112. e to the input command control area 3x for or IW for Unity The module will increment the block sequence number by one as shown in the following illustration New block sequence number Valid block ID request Process the block Copy block response to input command control area with incremented block sequence number Page 118 of 181 ProSoft Technology Inc May 14 2008 Reference Status Block 9250 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module If a value of 9250 is placed in the control register Status data will be sent from the processor to the module The following table shows the block format for write Block Format for Write Word Offset in Block Data Field s Description 0 Sequence Counter This field contains a new value each time the user wishes to request a new command block 1 Block ID This field contains the block identification code of 9250 for the block 2 to 63 Spare Not used Block Format for Read Offset Parameter Description 0 Sequence Counter This field contains a new value each time the block is handled 1 Block ID This field contains the block identification code of 9250 for the block 2 Scan Count This status value contains a counter incremented on each scan of the module s main loop 3 to 4 Product Name This two word data area contains the text values representing the product name These words
113. eee eee ee eeeeeeeeeeeeeceeaeeeenteeeeetaeeeeeeaeeeenneeeeseneeeeeeaas 149 14 24 RIZI2K ene 149 TAS ROBB arrene rederne terre 151 TAA EEE EE ES ESE 152 1 5 PTQ 101M St tus Data Area inae a boca iaaa cum ahagtebldatahentats endrar 152 7 5 1 Error Status Data Format misini a e eneteciechaebens auuesededoaievdseorediin 152 7 5 2 Error GE EE EN aiat ekialdea aiai 155 7 6 Configuration Data Definition rerarsvvrnnnrnvvrnnnnsvvrnnnravvvnnenrsnnnnnersnnrnesnennrnessennrrsesrenrressennnne 156 ef Database Formann sa 161 7 7 1 Form to Define Sector Database ccsc cccceseducengatcesesdecdeesscoeeetecesdeepecenesueseenduaneeesesoseetuazers 161 7 8 Gommand List Form wuss aces eisecge dane acess tee ian ocd eee eee i ele ad a Wl aed ene eee 162 7 8 1 Form to Define Command List 2 2 2 ccccsecetsecteceedeccecetdeedecsuceececsedeedenseceedeeteeedensteessecendesieees 162 9 Interoperabillt 2s iv cies akse eh a en eet ere 163 8 SUPPORT SERVICE amp WARRANTY rnrnnnnnverennnnvevnnnnnnerennnnnerennnnnervnnnnnnerennnnnerennnnnerennnnnernnnnnnenr 169 8 1 How to Contact Us Sales and Suppott cccccceceeceeceeeeeeeeeeeenaeeeeeeeeesecsuaeeeeeeeeeeseeseaeess 170 8 2 Return Material Authorization RMA Policies and Conditions rrrarnnnnrrnnnnnnrrnnnrnnrrrnnnnnnnnn 170 8 2 1 All Product Returns isinne arae evir ee iiei dp E ari 171 8 3 Procedures for Return of Units Under Warranty eraravvrnnnnvvvrnnnnnnnrrnnnn
114. eesecenaecaeeeeeeeeeesnnaeaeeeeeess 11 1 1 1 ProTalk Module Carton Contents 00 ccccecccceeeeeeeeneeceeeeeeeceeaaeceeeeeeesceaeaeeeeeseseceeaeeeeeeeeeeeeeaees 11 1 42 Quantum Unity Hardware 02 c ane nee nie cis diene ene AAE ap 12 1 1 3 PC and PG Software E re bens shee r a N Sae A a a a E eaten seis 12 2 CONFIGURING THE PROCESSOR WITH CONCEPT nnnnrnnnnnnvnvnnnnnnnnnnnnnnnvennnnnnnennnnnnnnennnnnnnennnner 13 2 1 Information for Concept Version 2 6 USES ccccececceeceeeeeeeeeceeeeeeeeeeesecaaaeaeeeeeeesesenninaeeeeeess 14 2 1 1 Installing MDC Configuration Files 0 0 0 0 ecceeeeeeeeeeenneeeeeeeeeeeenaeeeeeeaaeeeeeneeeeeeaeeeseenaeeesnneeeeneaa 14 2 2 Great a NOW ProjeCtiuLnuannemdspa era AU aptuet Sede dapuan AASA 15 2 3 Add the PTQ Module to the Project okori niina AAR TAO TON 18 2 4 Set up Data Memory in Project 0 ee eee tere erent eran ee AA PERAE K EE eA RARER ER SER ASEAN 20 2 5 How to Set up and Use the Sample Function Block for Concept ccceceeeeeeeeceeeeeeeeeees 23 2 5 1 EVENTFB Function Block Overview ccccccceeeeceeceeeeeeeeeeeaeeeeeeesececeaeaeeeeeeeseceeeaeeeeeeeeeteeaaees 23 2 6 Download the Project to the Processor m mmmrrrvrrervrerrrrvrrrnrrrrrreneersrrnnsensrrnnsensrrenesnsrrnnsennnn 36 2 7 Verify Successful Download mim dnc seeded bd ek ik ak degen 39 3 CONFIGURING THE PROCESSOR WITH PROWORX mnrnennnnvnvennnnvvvnennnnnneennnnnnvennnnnnvennnnnneennnnner 43
115. ennnrresrennrressennnne 67 5 2 Gonfiguration FING oars sad ene AEE 67 5 2 1 Backplane Configuration cccccececceceececeeeeeeeeeaeeeeeeeeeeeaaeaeeeeeeeecaceaaaeseeeeeeeesnaeeeeeeeeeeeeaees 68 5 2 2 IEC 870 5 101 Master riensi eiei aeaa ie dieat Tiaia t iaeiae 70 5 2 3 IEC 870 5 101 Master Port A e T a a a aa aa a e E E EE e aa a anan 71 5 2 4 IEC 101 Master Session xj niiina a a a as 72 5 2 5 IEC 101 Master Session x Sector J ccceccecceceeeeeeeeeeeeeceeeeeeecacaeeeeeeeseceneaeeeeeeeseseecaeeeeeeeeeees 75 5 2 6 IEC 101 Master Commands csnsniarinarne ag E EEE A 76 5 3 Uploading and Downloading the Configuration File rsrrraronnrrnnnonnrrrnnnonnrrnnnennrrnnrennrrennrennnne 87 5 3 1 Required Hardware osobie iiie iee conse eeaeee tiredek deasecavdedsecsueeednedaceddeesteeesents 87 5 3 2 Required Software e E E E E E E E 87 5 3 3 Transferring the Configuration File to Your PC srrrursvvnnvnvvvvnnnnnrrvnrrvrnnersrrnnrensrrrerrrvrnrrrsrrnereenn 88 5 3 4 Transferring the Configuration File to the MOdUIe cccceeceeeeeeeeeeeaeceeeeeseeeneaeeeeeeeeeeennaees 90 6 DIAGNOSTICS AND TROUBLESHOOTING nnrnrnnnnnvnvennnnnnnvennnnnnvennnnnnvennnnnnvennnnnnnvennnnnneennnnnneennner 93 6 1 The Configuration Debug Menu arsrrrnnannnrrvnrennrrvnrennrrvnrennrrnnrrnnrrrensrnnrrensennrarseennrresrennrrensennnnne 93 6 1 1 Navigations oeiia eani ye fee A acne sol eden eee bee helen ersten eiia 93 ProSoft Technolog
116. entry for this field is in the range of 0 to 59 7 Seconds This field contains the second value for the new time Valid entry for this field is in the range of 0 to 59 8 Milliseconds This field contains the millisecond value for the new time Valid entry for this field is in the range of 0 to 999 9 to 63 Spare Not Used Block Format from Module 3x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the block is Counter handled 1 Block ID This field contains the block identification code of 9971 for the block 2 to 63 Spare Not Used Cold Boot Block 9999 Block 9999 performs a cold boot operation on the module The format of the block constructed by the processor is as follows Offset Description Length 0 9990 1 1 to 63 Spare 63 In this version of the module the warm and cold boot processes perform the same operation because many of the variables that must be initialized are fixed when the module first boots and cannot be changed after the application starts ProSoft Technology Inc Page 139 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module 7 2 4 Master Driver The master driver supported on each application port of the module emulates an IEC 60870 5 101 master device Configuration of each port is independent and should be connected to different serial networks Each port on the mo
117. enu to open the Sector Configuration menu Use this command to view the contents of the Sector Configuration Databases for each session controlled device The module supports up to three sectors databases per session SECTOR CONFIGURATION MENU Display Menu S Show again Single point data 1 Double point data 2 Step point data 3 Bitstring point data 4 Normalized measured point data 5 Scaled measured point data 6 Short float measured point data 7 Integrated total point data 8 Parameter normalized data 9 Parameter scaled data A Parameter short float data B BCD integrated total data M Return to Sector 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 Opening the Sector Database Menu Press D from the Sector Configuration menu to open the Sector Database menu Use this command to look at the configuration and current value for each point The EC 870 Master Command List Menu section has more information about the commands on this menu Redisplaying the Current Page Press S to display the current page of data Displaying the Next Page Press N to display the next 100 registers Use this command to step forward through the data a page at a time Displaying the Previous Page Press P to display the previous 100 registers Use this command to step backward through the data a page at a t
118. eport Commands to in the response message The value has a range of 1 report to 60 3 Start Index of This parameter sets the index in the command list First where to start The first command in the list has a Command value of 0 The last index in the list has a value of MaxCommands 1 4 to 63 Spare Not Used Response to a block 9950 request The module will respond to a valid request with a block containing the requested error information The format for the block is shown below ProSoft Technology Inc May 14 2008 Page 137 of 181 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Block Format from Module 3x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the block is Counter handled 1 Block ID This field contains the value of 9950 identifying the block type to the PLC 2 Number of This field contains the number of commands Commands contained in the block that need to be processed by reported the PLC This field will have a value of 1 to 60 3 Start Index of This field contains the index in the command list for First the first value in the file This field will have a value of Command 0 to MaxCommands 1 4 to 63 Command List Each word of this area contains the last error value Errors recorded for the command The command index of the first value offset 4 is specified in word 3 of the bloc
119. equired to build the user defined command in the command queue 57 to 62 Command 10 Data required to build the user defined command in the command queue 63 Spare Not used The following fields are used for each 6 word record in the command list Word Offset Definitions Description 0 Database Index Address in module to associate with the command 1 Session Index Session index defined in the module to associate with the command Sector Index Sector index for session as defined in the module Data Type ASDU data type associated with the command Point Index Information object address for the point on which command operates 5 Qualifier Qualifier as defined for the command list This parameter is data type dependent Block Format from Module 3x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the block Counter is handled 1 Block ID This field contains the block identification code of 9901 for the block 2 to 63 Spare Not used Command Control Block 9902 The block 9902 identification code is used by the PLC to send a list of commands to be placed in the command queue Commands placed in the queue with this method need not have their enable bit set Block Format from Processor 4x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the user Cou
120. ess to the other variables a1 Main op FBIS EVENTFB BlockCount BikCount BlkCount BlockCount ResetEP gt ResetEP ResetEP ResetEP LastP oint gt LstPoint LstPoint LastPoint Extern alC MD gt ExtC MD QutCntrl Output l Ee ira ara th Input Instat Events gt EventsArray gt oo EventQue gt EventsQueue EvntOvel gt EventsOverflow Page 32 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Download the Concept Project 1 Select Online Download to download the Concept Project Make sure that the IEC program sections checkbox is selected Download Controller x IV Configuration leared No Upload information r r All I State RAM ja I Extended memory Select parts to download then press lt Download gt Download Close Help 2 When the download is completed you should see the following window Click Yes Download Controller x Download complete Start controller 7 Warning IF Constant Sweep is required use the Online Control Panel to set Constant Sweep before starting the controller No Cancel ProSoft Technology Inc Page 33 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module Using the EVENTFB Function Block In order to show how the function block can
121. ete Tip Repeat this command at one second intervals to determine the frequency of program execution Exiting the 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 ProSoft Technology Inc Page 97 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Diagnostics and Troubleshooting 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 ROM to configure the module 6 4 2 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 s database Press to view a list of commands available on this menu M Main Menu L D Database Menu Display Menu Z Redisplays refreshes this menu 0 3 Pages 0 to 3000 Selects page 0 1000 2000 or 3000 S Sho
122. ext 50 Commands Press to view the next 50 commands from the master command list Viewing the Next Page of Commands Press N to display the next page of commands Returning to the Main Menu Press M to return to the Main Menu 6 4 7 Session Configuration Menu Press S from the IEC 101 Master Driver Menu to open the Session Configuration menu Use this command to view the session configuration for each controlled device IEC 870 5 101 MASTER SESSION CONFIGURATION Online State 1 Communication Port Sector Count Data Link Address Common ASDU Length IOA Length COT Octet Count COT Originator Address Failure Delay Confirm Timeout Retry Count C1 C2 Poll Count Pend Class 1 Polls Class 1 Pend Delay Class 2 Pend Delay Class 1 Poll Delay Class 2 Poll Delay Auto Clk Sync Mode Propagation Delay Response Timeout ACTTERM with setpoint eee db bbb db tb db bb tb ob wb bea Online State The Online State indicator displays 0 if the module is not online 1 if the module is online Session State The Session State indicator displays 1 if there is a configuration error or 2 if the module is ready for communication If the session is not in use the Session State indicator displays 0 Page 106 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 6 4 8 Sector Configuration Menu Press 1 from the IEC 101 Master Driver M
123. f your application and copy the ladder logic to the processor Example ladder logic files are provided on the CD ROM Note If you are installing this module in an existing application you can copy the necessary elements from the example ladder logic into your application The rest of this chapter describes these steps in more detail 5 2 Configuration File In order for the module to operate a configuration file IEC101M CFG is required This configuration file contains all the information required to configure the module s master drivers set up the databases for the controlled devices and established a command list Each parameter in the file must be set carefully in order for the application to be implemented successfully The Reference chapter contains an example listing of a IEC101M CFG file The configuration file is separated into sections with topic header names enclosed in the characters The configuration file consists of the following sections Section Description Backplane Configuration Backplane transfer parameter section IEC 870 5 101 Master General Configuration for driver IEC 870 5 101 Master Port 0 Configuration for first application port IEC 870 5 101 Master Port 1 Configuration for second application port IEC 101 Master Session x Definition for each control unit ProSoft Technology Inc Page 67 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Commun
124. gh Functionality 125 EVENTFB Function Block Overview 23 51 Exiting the Program 97 F Failure Delay 73 Features and Benefits 111 Form to Define Command List 162 ProSoft Technology Inc May 14 2008 Page 179 of 181 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Form to Define Sector Database 161 Functional Overview 9 113 Functional Specifications 112 G General Concepts 113 General Parameter Configuration 142 General Specifications 111 Get Module Date and Time Block 9970 138 Guide to the PTQ 101M User Manual 9 H Hardware and Software Requirements 11 Hardware Specifications 112 How to Contact Us Sales and Support 170 How to Set up and Use the Sample Function Block for Concept 23 How to Set up and Use the Sample Function Block for Unity 51 IEC 101M Master Menu 100 IEC 60870 5 101 Protocol Implementation 141 IEC 870 5 101 Data Types 128 Implementing Ladder to Support Special Functions 122 123 Importing the EVENTFB Function Block 53 Inform Object address Len 72 Information for Concept Version 2 6 Users 14 Input Data 3x Register Data 131 Installing and Configuring the Module 67 Installing MDC Configuration Files 14 Intellectual Property 176 Interoperability 163 K Keystrokes 94 L LED Status Indicators 9 109 LIMITATION OF REMEDIES 175 LIMITED WARRANTY 173 Main Logic Loop 114 Main
125. gy Inc Page 143 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module If Maximum ASDU Resp Len 252 Master Module Interrogation Request Ack Response Class 2 Request Interrogation Response COT 7 Class 2 Request Measure Scaled Response Contains 40 Points Class 2 Request Interrogation Response COT 20 Reference This example shows that the slave sends all 40 measured scaled points in one single message if the message is not greater than 252 bytes However some master devices may not support messages containing this number of bytes If the master for a given application supports only 100 bytes the following communication procedure would occur Master Module Interrogation Request Ack Response Class 2 Request Interrogation Response COT 7 Class 2 Request Measure Scaled Response Contains 15 Points Class 2 Request Measure Scaled Response Contains 15 Points Class 2 Request Measure Scaled Response Contains 10 Points Class 2 Request Interrogation Response COT 20 Page 144 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module As shown in the previous diagram the module sends out 15 messages 15 points 15 points and 10 points instead of sending the whole 40 points in one single message Note This example shows the case where IOA Length
126. he controlled device is connected On this module values of 0 and 1 are permitted Sector Count 1to5 This parameter sets the number of sectors contained in this controlled device The range of values is from 1 to 5 A sector section is required for each sector in a session to define its database and settings Data Link Address 0 to 254 or 0 to 65534 This parameter uniquely defines the data link address for this unit on the communication channel The ranges of values depends on the value set in the DL Address Length parameter Common address of ASDU Len 1or2 This parameter specifies the number of octets used for the common address of ASDU This parameter must be set the same for all devices on the network Inform Object address Len 1 20r3 This parameter sets the number of octets used to specify the address for an information object in each sector for this session Page 72 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module COT octet count 1or2 This parameter sets the number of octets used for the COT field in each message If a value of 2 is selected the value entered for the Originator Address For COT will accompany each message from the controlling unit Originator address for COT 0 to 255 This parameter sets the address to be passed with each message when the COT Octet Count parameter is set to 2 Failure Delay 0 to 2000
127. he module database areas Note Refer to Backplane Data Transfer page 114 for the example configuration values that are used in the following tables Module Database Register Unity Register Description Read Data 3x KIW Input Register Write Data 4x MW Holding Register ProSoft Technology Inc Page 115 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module The data mapping in the following example shows the relationship between processor and PTQ 101M memory addresses assuming a 4x register start value of 40001 and a PTQ 101M database start value of 0 Processor Memory Address Module Database Address 40065 0 40066 1 40067 2 40068 3 40069 4 40164 99 The data mapping in the following example shows the relationship between processor and PTQ 101M memory addresses assuming a 3x register start value of 30001 and a PTQ 101M database start value of 2000 Processor Memory Address Module Database Address 30065 2000 30066 2001 30067 2002 30068 2003 30069 2004 30164 2099 Command Control Block The first 64 words of each block are reserved for command control Each command control block has a Block ID number shown in parentheses below that identifies the command control instruction The PTQ 101M module supports the following command control blocks Status Block 9250 User Constructed Command block 9901 C
128. ication Module Section Description IEC 101 Master Session x Sector y Definition for each sector in each controlled unit IEC 101 Master Commands Command list to control slave units After each section header the file contains a set of parameters Unique labels are used under each section to specify a parameter Each label in the file must be entered exactly as shown in the file for the parameter to be identified by the program If the module is not considering a parameter look at the label for the data item Each parameter s value is separated from the label with the character This character is used by the program to delimit the position in the data record where to start reading data All data for a parameter must be placed after the character For numeric parameter values any text located after the value will not be used There must be at least one space character between the end of the parameter value and the following text An example of a parameter entry is given below Baud Rate 38400 Baud rate for master port The parameter label is Baud Rate and the parameter value is 38400 The characters after the parameter value are ignored and are used for internal documentation of the configuration file Any record that begins with the character is considered to be a comment record These records can be placed anywhere in the file as long as the character is found in the first column of the line These lines are
129. ield contains a new value each time the user Counter wishes to request a new command block 1 Block ID This field contains the block identification code of 9250 for the block 2 to 63 Spare Not used Block Format from Module 3x Register Data Offset Parameter Description 0 Sequence This field contains a new value each time the block is Counter handled 1 Block ID This field contains the block identification code of 9250 for the block 2 Scan Count This status value contains a counter incremented on each scan of the module s main loop 3 to 4 Product Name This two word data area contains the text values representing the product name 5to6 Revision This two word data area contains the text values for the revision number 7 to 8 Op Sys This two word data area 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 Read Bik Cnt This word contains the total number of block read operations successfully executed 12 Write Bik Cnt This word contains the total number of block write operations successfully executed 13 Parse Blk Cnt This word contains the total number of write blocks successfully parsed 14 Error Blk Cnt This word contains the total number of block transfer errors 15 Event Msg Cnt This word contains the number of event messages waiting to send to the processor 16 Event Msg This word
130. ifications rrrvrvrvrvrvrvrvrvrvrvrvrvevrvevevevevevevevevevevevevesevenener 111 Functional Overview rnnarvnnnnvennrnnnnvnnvnversnnnneenrrnnnrnnnverrnneneeverrnneenen 113 IEC 60870 5 101 Protocol Implementation aorrrnnrnrrnnrnnnrrnrnnrnnnnn 141 Cable COmmections ie e Ee Eea aieiaa 113 PTQ 101M Status Data Area rarsvnnronnrnnnvvvvnnnnnvrrnnrrnvrrenrsvvrnrerrrnnrenn 148 Configuration Data Definition rnrnnnnrnnonnrnrrnnnnnnrrnnrnrrnnrnnnrrnrnnnnnnnn 156 se Database FOr iscace ssseseeeaviorceeueh cas steunnes aate at iaaa atapi 161 Command List FOr ss a cccss iia iea a A 162 49 Interoperability ics rittet eendit enaa ean aE peapea AINERE 163 7 1 Product Specifications The IEC 60870 5 101 Master Communication Module allows Quantum backplane I O compatible processors to interface easily with IEC 60870 5 101 slave controlled unit devices 7 1 1 Features and Benefits The PTQ 101M module interfaces up to 32 serial communication devices with a Quantum or Unity processor Two communication ports on the module act as controlling devices masters to interface with controlled devices on their own networks Each port is individually configurable and can be set for balanced or unbalanced mode Data is exchanged between the serial network and the processor using the internal database contained in the module and direct control by the controller s ladder logic 7 1 2 General Specifications
131. ignored in the file and can be used to provide documentation within the configuration file Liberal use of comments within the file can ease the use and interpretation of the data in the file Use any text editor to alter the supplied IEC101M CFG file for the specific application You must enter each parameter correctly for successful application of the module The Reference chapter contains a complete listing of all parameters utilized by the module with a definition of each parameter 5 2 1 Backplane Configuration This section provides the module with a unique name designates database addresses for input and output on the module and on the processor identifies the method of failure for the communications for the module if the PLC is not in run mode describes how to initialize the module upon startup Page 68 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module The following example shows a sample Backplane Configuration section Backplane Configuration Module Name PTQ 101M SAMP LE EST MODULE define the data area to transfer between th These values ar module and the processor Read Register Start 0 Read Register Count 50 Write Register Start 10 Write Register Count 50 Used to define th 3x Register Start 4x Register Start Pass Through Events required to 00 1
132. ime Returning to the Main Menu Press M to return to the Main Menu ProSoft Technology Inc Page 107 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 6 4 9 Sector Database Menu Diagnostics and Troubleshooting Press D from the Sector Configuration menu to open the Sector Database menu Use this command to display the sector database values Each session controlled device contains one or more data sets sectors that are defined by the vendor of the device M Main Menu L I IEC 101 Master Driver Menu S Session Menu L 1 Sector Configuration Menu D Sector Database Menu Display Menu Redisplays refreshes this menu S Show Again Displays current page of 100 registers 0 Single Point Data Single point information M_SP_NA_1 1 Double Point Data Double point information M_DP_NA_1 2 Step Point Data Step position information M_ST_NA_1 3 Bitstring Point Data Bitstring of 32 bit M BO NA 1 4 Normalized Measure Point Data Measured value normalized value M_ME_NA 1 5 Scaled Measure Point Data Measured value scaled value M_ME_NB 1 6 Short Float Measure Data Measured value short floating point value M ME NC 7 Integrated Total Point D
133. ime of day from the module This logic shows an example on how to request a block 9970 from the module Read Module s Time and read the response to the processor Assumptions MyTrigger is a variable that triggers this logic OutputControl variable array starts at register 4000001 InputControl variable array starts at register 3000001 MyTime variables store the date and time values to be read from the module Sets the Block Number 9970 Read Module s Time and then increments the output sequence number OutputControl 1 by one Once the module reads a new output sequence number from the processor it will process this request So remember that the actual trigger is moving a new output block sequence number value to the module Moving the block number 9970 is not the trigger to request this task from the module MyTrigger is set to 1 as an indication that the logic is waiting for the response from the module IF MyTrigger 9970 THEN OutputControll l MyTrigger Temp WORD_TO_INT OutputControl1 0 Temp Temp 1 OutputControll 0 INT_TO_WORD Temp END_IF ProSoft Technology Inc Page 123 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module IF Get When the request is processed the module will send the block response and increment the received output sequence number by 1 So the output sequence number is one less than the input sequence number the
134. in database Step Point 1 byte Address 200 refers to word 100 lower byte in database Bitstring 32 bit 2 words Address 50 refers to word 100 and 101 in database Normalized Measured Value 1 word Address 100 refers to word 100 in database Scaled Measured Value 1 word Address 100 refers to word 100 in database Short Float Point Measured 2 words Address 50 refers to words 100 and 101 in database Value Integrated Total Point 2 words Address 50 refers to words 100 and 101 in database ProSoft Technology Inc May 14 2008 Page 129 of 181 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Another important concept to understand is the direction of data transfer for the different data types with reference to the controller The following illustration shows the data types monitored data that are transferred from the module to the processor Read Data Input Data Types a The next diagram shows the movement of control data from the processor to the module This data is then sent to the controlled devices on the serial networks Write Data Output Data Types a As blocks are transferred between the module and the processor each block contains block identification codes that define the content or function of the block of data transferred The block identification codes used by the module are displayed in the following table Block Range Descriptions 0 Null block
135. in general references associated with this product Specifications and the Functional Overview Support Service and Warranty Index Support Service and Warranty page 169 This section contains Support Service and Warranty information Index of chapters ProSoft Technology Inc May 14 2008 Page 9 of 181 PTQ 101M Quantum Platform Start Here IEC 60870 5 101 Master Communication Module Page 10 of 181 ProSoft Technology Inc May 14 2008 Start Here PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 1 Start Here In This Chapter Hardware and Software Requirements rrrnnrannvrnnnvnvrnnnvvvvnnnrnnrrrnrrnnnn 11 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 Set up 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 1 1 Hardware and Software Requirements 1 1 1 ProTalk Module Carton Contents ProTalk Module Null Modem Serial Cable ProSoft Technology Inc Page 11 of 181 May 14 2008 PTQ 101M Quantum Platform Start Here IEC 60870 5 101 Master Communication Module Profalk Solutions 1454 9F DB 9 Fema
136. ine set to Y then a jumper is required between the RTS and the CTS line on the module connection 7 4 3 RS 485 The RS 485 interface requires a single two or three wire cable The Common connection is optional and dependent on the RS 485 network The cable required for this interface is shown below RS 485 Application Port Cable DB 9 Male RS 485 Device TxD RxD TxD RxD TxD RxD r re Signal Signal Common Common Note Terminating resistors are generally not required on the RS 485 network unless you are experiencing communication problems that can be attributed to signal echoes or reflections In this case install a 120 ohm terminating resistor on the RS 485 line ProSoft Technology Inc Page 151 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module 7 4 4 RS 422 RS 422 Application Port Cable DB 9 Male RS 422 Device TxD RxD TxD RxD Signal 5 Signal Common Common RxD TxD RxD _ TxD RS 485 and RS 422 Tip If communication in the RS 422 RS 485 mode does not work at first despite all attempts try switching termination polarities Some manufacturers interpret and A B polarities differently 7 5 PTQ 101M Status Data Area This section contains a listing of the data contained in the PTQ 101M status data object configuration error word and module error codes 7 5 1 Error Status Data Format Offset Par
137. intindex ARRAY O 1 OF WORD Pointindex O WORD Pointindex 1 WORD ASDUType WORD Miliseconds UINT Seconds UINT Minutes BYTE Hours BYTE Month BYTE Day BYTE Yea WORD Qualifier WORD Value ARRAY 0 1 OF WORD Value 0 WORD Valuefl WORD The data structure that stores the incoming events consists of a circular buffer that can store up to 199 events The buffer consists of an array of 199 EVENT101 elements presented previously The element index can vary from 0 to 199 If the last event updated was located at index 199 then the next event will be copied to index 0 ProSoft Technology Inc Page 51 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Configuring the Processor with UnityPro XL The following illustration shows an instance example of the EVENTFB function block T a SEE a 10 20 30 fa T m 1 10 Bik9903101M BlockGount BIKCount BikCount BlockC unt ResetEP ResetEP ResetEP gler LastPoinLstPoint LstP oint astP oint gt InputData inputStatus OutputControlf OutputControl1 gt MyTrigget lExternalCmd Events Events f EventinQueuef EventC oountinQueue EventOverFlowj EventOvertlow D D pi i Ef The EVENTFB function block contains the following PINs PIN PIN Type Data Type Description InputStatus input Array of WORD Stores the memory area updated by block 990
138. iption Medium Description 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 Bee 2a ae ProSoft Technology Inc May 14 2008 Page 43 of 181 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Configuring the Processor with ProWORX 3 Select the SaF File that is located at the CD ROM shipped with the PTQ module Select Import File Look in O SAF Files vil amp et E 4 My Recent Documents Ej Desktop gt My Documents My Computer My Network Fie name ProtakQ vi O 5AF 7 Places Files of type Schneider Alliance File saf v Cancel 4 After you click on Open you should see the PTQ modules imported select I O series as Quantum Schneider Alliances fiat T aS N e D EP Shpb dar Allia Sip 170 series Module Quantum Series vi ee v Delete Import Export Name Value Card ID 0424H Card Description PTQ AFC Medium Description Flow Computer Module Long Description Gas Liquid Flow Computer Communication Power 800 Number of Parameters Used 1 Default Number of Parameters 0 In Bytes 0 Out Bytes 0 Module Type O Discrete Doc Only 1 True MCS Simple 1 0 Ordinary
139. is field is in the range of 0 to 59 7 Seconds This field contains the second value for the new time Valid entry for this field is in the range of 0 to 59 8 Milliseconds This field contains the millisecond value for the new time Valid entry for this field is in the range of 0 to 999 9 to 63 Not Used Not Used Page 138 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Set Module Time Block 9971 Block identification code 9971 is used to pass the clock time in the PLC to the module The date and time provided will be used to set the module s clock Block Format from Processor 4x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the user Counter wishes to request a new command block 1 Block ID This field contains the block identification code of 9971 for the block 2 Year This field contains the four digit year to be used with the new time value 3 Month This field contains the month value for the new time Valid entry for this field is in the range of 1 to 12 4 Day This field contains the day value for the new time Valid entry for this field is in the range of 1 to 31 5 Hour This field contains the hour value for the new time Valid entry for this field is in the range of 0 to 23 6 Minute This field contains the minute value for the new time Valid
140. ived FB Types i Blk9903101M 3 Yariables amp FB instances Elementary Variables Derived Variables IO Derived Variables Elementary FB Instances ffi PLC Loca J Z Table B Data E 1 4 Build Import export Search Replace HMI Rj mode OFFLINE USB S S 3 Before you can save the project in UnityProXL 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 Page 50 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 4 3 Howto Set up and Use the Sample Function Block for Unity 4 3 1 EVENTFB Function Block Overview The purpose of the EVENTFB sample function block is to transfer the events into a buffer that consists of an array of elements that stores all data in a convenient format for the user The block 9903 passes data into a compacted format thus occupying the minimum amount of registers The EVENTFB sample function block already extracts each event value into a separate register The following illustration shows the structure of each element of the buffer extracted from the data type definition file Data Editor Variables DDT Types Function Blocks DFB Types Filter r EN ES F Name O EEG Session WORD Sector WORD COT WORD Reserved WORD E Pao
141. k The number of valid command errors in the block is set in word 2 of the block Refer to the command error list to interpret the error codes reported Get Module Date and Time Block 9970 Block 9970 identification code is used to request the module s date and time This data can be used to set the PLC clock Block Format from Processor 4x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the user Counter wishes to request a new command block 1 Block ID This field contains the value of 9970 identifying the block type to the module 2 to 63 Not Used Not Used Block Format from Module 3x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the block is Counter handled 1 Block ID This field contains the block identification code of 9970 for the block 2 Year This field contains the four digit year to be used with the new time value 3 Month This field contains the month value for the new time Valid entry for this field is in the range of 1 to 12 4 Day This field contains the day value for the new time Valid entry for this field is in the range of 1 to 31 5 Hour This field contains the hour value for the new time Valid entry for this field is in the range of 0 to 23 6 Minute This field contains the minute value for the new time Valid entry for th
142. l place the included commands into the command queue Block Format from Processor 4x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the user Counter wishes to request a new command block 1 Block ID This field contains the block identification code of 9901 for the block 2 Command This field defines the number of user commands Count contained in the block The valid range for the field is 1 to 10 3to 8 Command 1 Data required to build the user defined command in the command queue 9 to 14 Command 2 Data required to build the user defined command in the command queue 15 to 20 Command 3 Data required to build the user defined command in the command queue 21 to 26 Command 4 Data required to build the user defined command in the command queue 27 to 32 Command 5 Data required to build the user defined command in the command queue 33 to 38 Command 6 Data required to build the user defined command in the command queue 39 to 44 Command 7 Data required to build the user defined command in the command queue 45 to 50 Command 8 Data required to build the user defined command in the command queue Page 134 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Word Offset in Block Data Field s Description 51 to 56 Command 9 Data r
143. lane Configuration 68 IEC 101 Master Commands 76 IEC 101 Master Session x Sector y 75 IEC 101 Master Session x 72 IEC 870 5 101 Master Port x 71 IEC 870 5 101 Master 70 3 3x Register Start e 70 4 4x Register Start 70 A ACTTERM with setpoint 75 Add the PTQ Module to the Project 18 49 Additional Restrictions Relating To Software And Other Intellectual Property 176 All Product Returns 171 Allocation of risks 176 Analyzing Data for the first application port 101 Analyzing Data for the second application port 101 ASDU Configuration 143 Auto Clock Req Mode 74 Backplane Data Transfer 114 115 Balanced Mode 146 Baud Rate 71 BCD Integrated Setpoint 86 Before You Begin 24 Bitstring for 32 Bits 80 Block Format for Read 119 121 122 127 Block Format for Write 119 121 122 Block Format from Module 3x Register Data 127 Build the Project 62 C C1 C2 Poll Count Pend 73 Cable Connections 148 Class 1 Pend Delay 74 Class 1 Poll Delay 74 Class 1 Polls 73 Class 2 Pend Delay 74 Class 2 Poll Delay 74 Clock Synchronization 83 Cold Boot Block 9999 139 Command Control Block 116 Command Control Block 9902 135 Command Control Blocks 115 131 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Command List Error Data Block 9950 137 Command List Form 162 Common address of ASDU Len 72 Common A
144. le Reference Offset Parameter Description 20 Cmd Count This word contains the count of the number of commands configured for the module 21 Cmd Delay This word contains the command delay counter preset There is a fixed delay between each command to permit the module to perform class polls on controlled stations 22 Cmd Queue This word is set to zero if the command executing is from the command list If the executing command is from the command queue the word will be set to 1 23 Cmd Queue Count This word contains the number of active commands in the command queue for the module Up to 100 commands can be buffered in this queue These commands are transferred from the processor to the module using special command blocks 24 to 25 26 Online Status CH 0 State This double word value contains a bit for each of the 32 potential sessions in the module If the bit is set for a session in the double word the station is online If the bit is clear the station is offline Use this value to determine if commands sent from the processor will have a chance of succeeding This word contains the state machine value for channel 0 27 Cmd Req This word contains the number of commands transferred out channel 0 28 29 Cmd Resp Cmd Err This word contains the number of command response messages received on channel 0 This word contains the number of command e
145. le 1 to n This example will use the same name as the PIN Connect FFB BIk9903 EVENTFB x 4x start register where data moved from Input Instat WORD64 E connect with Variable gy C Direct address Name Lookup Variable declaration Cancel Help ProSoft Technology Inc Page 31 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module 1 Click the Variable declaration button to open the Variable Editor dialog box Variable Editor l x Type Search Paste Variables Constants Search Replace ef vn vaere Je ves F Events rray EVENTSTRUCT 1 D EventsOverflow WORD 1 FEAF 3 EventsQueue WORD 1 5 ExtemaCMD WORD 7 6 7 Input WORD64 300001 2 E Input Word r128 300065 D 8 mnp Word rr128 301000 a 9 amp LastPoint INT 2 El Output WORD64 400001 Set 7 El Outputi Word rr128 400065 se 0 E Output2 Word rr128 401000 se Jo E ResetEP INT 2 G Temp INT 4 z Cancel Help 2 Click OK and you should see the new variable associated to the Instat PIN 3 Repeat for OutCntrl Pin to use for Output EVENTFB BikCount ElkCount 4 ResetEP ResetEP M mi LstPoint stPoint M ExtCMD OutCntrl Bn EG ot te Input gt instat events EventQue EvntOvtl L 4 Repeat the last item for the other PINS it is not necessary to associate any memory addr
146. le to 9 Pos Screw Terminal adapter Serial protocol modules only ProSoft Solutions CD Note The DB 9 Female to 5 Pos Screw Terminal adapter is not required on Ethernet modules and is therefore not included in the carton with these types of modules 1 1 2 Quantum Unity Hardware This guide assumes that you are familiar with the installation and setup of the Quantum Unity hardware The following should be installed configured and powered up before proceeding Quantum or Unity Processor Quantum rack Quantum power supply Quantum Modbus Plus Network Option Module NOM Module optional Quantum to PC programming hardware NOM Ethernet or Serial connection to PC 1 1 3 PC and PC Software Windows based PC with at least one COM port Quantum programming software installed on machine n HE PLC Programming Software version 2 6 ProWORX PLC Programming Software UnityPro XL PLC Programming Software HyperTerminal used in this guide This is a communication program that is included with Microsoft Windows You can normally find it in Start Programs accessories Communications Note ProTalk modules are compatible with common Quantum Unity programming applications including Concept and UnityPro XL For all other programming applications please contact technical support Page 12 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Commu
147. lues from 110 to 38 4K are permitted Parity None Odd This parameter sets the parity to be used on the Even port The values correspond to the following settings None Odd Even RTS On 0 to 65535 The parameter sets the RTS pre send delay The value entered represents the number of milliseconds the module will wait after setting the RTS modem line before sending the data RTS Off 1 to 65535 This parameter sets the RTS off delay The value entered represents the number of milliseconds the module will wait after the data packet is sent before dropping the RTS modem line Minimum Delay 1 to 65535 This parameter specifies the minimum number of milliseconds to delay before sending the message setting RTS high This can be used when the serial network requires time for units to turn off their transmitters Receive Timeout 11065535 This value represents the number of milliseconds to wait on a port from the time the first character is received until the last character in the longest message received on the port This parameter should be set dependent on the baud rate A value of 2000 should work with most applications Single char ACK F0 1 or Yesor No This parameter specifies if the single E5 character 3 will be used for ACK messages ProSoft Technology Inc Page 157 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Reference Section Item Range Descriptio
148. male 5 Animation Tables a 55 5 Operator Screens 140 CRP 93X 00 RIO HEAD 5908 Gossen steg 140 EIA 921 00 AS I 1 CHANNEL 140 NOE 311 00 QUANTUM SY MAX ETHERNET MODULE 140 NOE 351 00 QUANTUM SY MAX ETHERNET MODULE r 140 NOE 771 00 ETHERNET TCP IP BASIC WEB SERVER vw Local Bus 140 NOE 771 01 ETHERNET TCP IP BASIC WEB SERVER E 140 NOE 771 10 ETHERNET TCP IP CONFIGURABLE WEB xj 140 NOE 771 11 ETHERNET TCP IP CONFIGURABLE WEB ai 140 NOM 2XX 00 MN1 MB 140 NWM 100 00 FACTORYCAST HMI WEB SERVER MODULE 140 XBE 100 00 EXPANDER MP PN Rebuild All Project Importlexpon User errors Search Replace pen NOM type genens mock Ready HIME RAW mode OFF PTQ PDP MV1 ProfiBus DP DPV1 Master Module 2 Ej Counting v ProSoft Technology Inc Page 49 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with UnityPro XL IEC 60870 5 101 Master Communication Module 2 Next enter the module personality value The correct value for this ProTalk module is 1091 decimal 0443 hex Unity Pro XL PTQ_101M_TEST_PROGRAM_65160 1 4 GEN NOM File Edit View Services Tools Build PLC Debug Window Help 5AB Pa Structural view NOM type generic module 3 PE nen A M Oveniew M Configuration F 170 objects R 1 Local Bus __ 2 1 Local Quantum Drop MODULE PERSONALITY 3 Derived Data Types Eventioim G Input TD ModuleTime O Output Der
149. mber This is the sequence number received by the module incremented by one after the request is processed 1 Block ID This word will contain the value of 9970 2 Year This field contains the four digit year to be used with 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 ProSoft Technology Inc May 14 2008 Page 121 of 181 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Set Module s Time Using Processor Time 9971 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 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 to be used with the new time value 2 Month This field contains the month value for the new time Valid Values 1 to 12
150. me Level I teatre The mnd nupperts DP Sas Level I features art nome of the Lowel naturen seeing the mary SCADA fy eters suporto he OP proface to be teg stad rio te Quantum pation The nosis act ar s gateway between the OAP neteon and the Gartum processor Tre date banete trom Be Quartum proceptor ig MEYER anaes fom the actions on Pe DAP meter Ontabases ore user detined and stored A he nodue fo hold he date rogurod by Te protocol The PTOOAPSNIT nodde 8 pOWwErts Communication Pierce tor Qunnban plat turn processors Developed under koser trom Soner DICC DA MOR PONPES PrOETEtary DIONE ITOR Tet erates pO wert Gate access 10 Ihe GUNDA pecceneer er em stuns 2 4 Setup Data Memory in Project 1 In the list of options on the left side of the PLC Configuration dialog box double click Specials Br Concept C CONCEPTYTESTPR I untitled File Configure Project Online Options Window Help D pmlefejen aa Os ee sj pen Je 5 x FPLC Type IEC 140 CPU 534 14 Ei PLC Memory Partition Enabled Available Logic Area 65535 3 IEC Heap Size 300 Ei Loadables BS Is Config Extensions Ei 0 Map B Segment Scheduler EB Modbus Port Settings PLC Memory Partition 7 Coils 000001 001536 Discrete Inputs 100001 100512 Input Registers 300001 300512 Holding Registe400001 401872 Loadables Number installed 0 m Specials Battery Coil Timer Register Time of Day 400007
151. me tag of the event buffer 3 to 127 Reserved by standard 128 to 255 Reserved for special use private range Parameter Setting The format of this field for the Parameter Setting 110 Normalized 111 Scaled 112 Short float is as follows Parameter Setting Normalized Scaled Short Float Command Bit 0 to 5 6 7 8 to 15 Kind of Parameter Local change Not Utilized The value from module s database utilized to build the command Page 84 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module The Qualifier Parameter used with this command is determined by summing the options from lists that follow Kind of parameter 0 Not used 1 Threshold value 2 Smoothing factor filter time constant 3 Low limit for transmission of measured values 3 High limit for transmission of measured values 5 to 31 Reserved by standard 32 to 63 Reserved for special use private range Local parameter change O No change 64 Change Parameter in operation 0 Operation 128 Not in operation Parameter Activation The format of this field for the Parameter Activation 113 is as follows Parameter Activation Command Bit 0 to Parameter Qualifier 7 8 Activation Qualifier 9 to Not Utilized 15 No database value used with the construction of this command The Qualifier Parameter used with the command
152. module This section can contain up to 1000 user defined commands to be executed by the module and sent to the controlled devices There is no need to place Class 1 or Class 2 polls in the this list for the controlled devices as the master driver for each port will execute these automatically when the port is idle In order for the port to be idle make sure that there is idle time available and that the commands do not constantly utilize the ports The command list section starts with a reserved label START and ends with the label END Each row in the file corresponds to an individual command with the first character position in each row left blank white space Page 76 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Enable Code 0 Disabled 1 Enabled with Poll Interval seconds utilized 2 Conditional executed when point in database changes This field defines whether or not the command is to be executed and under what conditions If the parameter is set to 0 the command is disabled and will not be executed in the normal polling sequence The command can be executed under the control of the PLC processor through the use of a Command Control block Setting the parameter to a value of 1 for the command causes the command to be executed each scan of the command list if the Poll Interval Time is set to zero If the Poll Interval time is set the
153. month the event occurred 10 Year This field contains the year the event occurred 11 Qualifier This field contains the point qualifier quality or sequence value as described in the protocol specification 12 to 13 Value This field contains the double word value for the point associated with the event message ProSoft Technology Inc May 14 2008 Page 127 of 181 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Reference The processor logic should recognize the event count value greater than zero and read all events in the block After that this value should be reset to zero to prepare the logic for the next incoming block Refer to the following topic that shows a sample function block for the event pass thru functionality 7 2 3 Data Type Mapping and Addressing When interfacing data in the processor to that of the IEC 60870 5 101 protocol it is important that the user understand the mapping of the data types to their corresponding representation in the modules database The table that follows lists the data types supported by the module and their associated storage representation IEC 870 5 101 Data Types Type ID Type Description Data representation 1 M SP NA 1 Monitored Single point Information This data Single bit value 7 2 6 1 with O Off and 7 3 1 1 type stores a single binary input point 1 On Associated time tagged event information for this type are M_SP_TA_1
154. must use a communication program terminal emulator A simple communication program called HyperTerminal is pre installed with recent versions of Microsoft Windows operating systems If you are connecting from a machine running DOS you must obtain and install a compatible communication program The following table lists communication programs that have been tested by ProSoft Technology DOS ProComm as well as several other terminal emulation programs Windows 3 1 Terminal Windows 95 98 HyperTerminal Windows NT 2000 XP HyperTerminal The module uses the Zmodem file transfer protocol to send upload and receive download configuration files from your module If you use a communication program that is not on the list above please be sure that it supports Zmodem file transfers ProSoft Technology Inc Page 87 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module 5 3 3 Transferring the Configuration File to Your PC 1 Connect your PC to the Configuration Debug port of the module using a terminal program such as HyperTerminal Press to display the main menu Be Edt Yew Cal onder Hep oe 025 amp MODULE MENU Display Menu A Data Analyzer B Block Transfer Statistics C Module Configuration D Database View R Receive Module Configuration Send Module Configuration V Version Information Ware t Module Esc Exit Program Dato
155. n Use Balanced Mode YesorNo This parameter specifies if the port will use balanced mode If balanced mode is used only one controlled station will be permitted on the port If unbalanced mode is used multiple controlled stations can be used on a port Select Yes to use balanced mode and No to use unbalanced mode Section Item IEC 101 MASTER SESSION x Communication Port Sector Count Range Description Settings for each session utilized Oor 1 This parameter sets the port to which the controlled device is connected On this module values of 0 and 1 are permitted 1to5 This parameter sets the number of sectors contained in this controlled device The range of values is from 1 to 5 A sector section is required for each sector in a session to define its database and settings DL Address Length 0 10r2 This parameter sets the number of octets used to define the data link address for the session A value of 0 is only permitted when balanced mode is used Data Link Address 0 to 254 or 0 This parameter uniquely defines the data link to 65534 address for this unit on the communication channel The ranges of values depends on the value set in the DL Address Length parameter Common Address of ASDU Len Inform Object Address Len 1or2 This parameter sets the number of octets used for the common address of ASDU for each sector for this session 1 20r3 This parameter sets the number
156. nd execute command Direct set point command transmission Select execute set point cmd C_SE_ACTTERM used No additional definition Short pulse duration duration determined by a system parameter in the outstation Long pulse duration duration determined by a system parameter in the outstation Persistent output Transmission of Integrated totals station or object specific parameter Counter request General request counter Counter freeze without reset Request counter group 1 Counter freeze with reset Request counter group 2 Counter reset Request counter group 3 Request counter group 4 Addresses per group have to be defined Parameter loading object specific parameter Threshold value Smoothing factor Low limit for transmission of measured value High limit for transmission of measured value Parameter activation object specific parameter Act deact of persistent cyclic or periodic transmission of the addressed object File transfer station specific parameter Oo File transfer in monitor direction O File transfer in control direction Page 168 of 181 ProSoft Technology Inc May 14 2008 Support Service amp Warranty PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 8 Support Service amp Warranty In This Chapter How to Contact Us Sales and Support cccceeceeececeeeeeeeeeenees 170 Return Material Authorization RMA Policies and Conditions 1
157. new data types defined at the PTQ 101M DTY file Open File 2 x File name Folders PTOPROJ PRJ c project Cancel PTOPROJ PRJ 4 er gen PROJECT Network DFe Network List files of type Drives Concept Projects pri Y El Page 28 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 5 Select Project Browser Select Project PTQPROJ and click the right mouse button to open a shortcut menu On the shortcut menu choose New Section EJ Project Bro a x a stan Memory prediction Search New group Minimize open windows Close all windows Set maximum window size Show detaied view Animate enable states 6 Select FBD The procedure will refer to this section as MAINPTQ Click OK New Program Section x Editor type Section Kind FBD Cyclic C SFC Timer Event LD 10 Event ST CIL C 984LL Section name manetd Cancel Help EJ Project Bro ox Project PTOPROJ FED MGE ProSoft Technology Inc Page 29 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module 7 Double Click the section to display the FBD section E Concept C PROJECTIPTOPROJ BEE File Edit View Objects Project Online Options Window Help oleraea 0 aa asjeerusars sol E s P
158. nfiguration p Host adapter Cancel 4 Leave the default settings as shown and click OK 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 J x Z Configuration State HAM will be cleared I EG program sections No Upload information I 984 ladder logic F ASCII messages All I State RAM I Initial values only I Extended memory Select parts to download then press lt Download gt Download Close Help ProSoft Technology Inc Page 37 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module 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 I Configuration I EG program sections No Upload information I 984 ladder logic I ASCII messages All IV State RAM Initial values only I Extended memory Downloading extended memory files Registers 6x 3360 of 98303 Download H elp 7 When the download is complete you will be prompted to restart the controller Click Yes to restart the c
159. ng Help Here you will find relevant information that directly pertains to the current instruction or I O module being accessed v KES NE SINTESE RE SOULE A PIDE DDE VAENE ESLASA Short Comments r mem hatas l gt f Tracking Help Message Central Logged in user N A PROGRAM SAFTESTTEST lt Quantum 534 TCPIP 192 168 0 139 gt Offline ProSoft Technology Inc Page 45 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with ProoWORX IEC 60870 5 101 Master Communication Module Page 46 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 4 Configuring the Processor with UnityPro XL In This Chapter Create a New Project c ccccceceeeceecceeeeeceseeaeeeeeeeeeseceaeaeeeeeeeseesnnaeees 47 Add the PTQ Module to the Project rarsrrnrrnnvrrnronvrnnvvvrvnnnnnnrrnnrrnnnn 49 How to Set up and Use the Sample Function Block for Unity 51 Build the Projectis s aas naar agi ne ea a a aa esel 62 Connect Your PC to the Processor 0 00 eecceeeeeeeeeeeenneeeeeeeeeeeenaeeeeeeaas 63 Download the Project to the Processor mmrrnrrrrvrrvvrvvrnnvvvrvnnnrnnrrvnrennnn 65 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 us
160. ng project in which case click Yes ProSoft Technology Inc Page 53 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with UnityPro XL IEC 60870 5 101 Master Communication Module 5 In the Import dialog box click the Import button Look in My Documents v c Br 4 concept IG ConceptTest My Recent my Music BLEIER B My Pictures 3 My Received Files 5 My Videos O MyDownloads New Folder co GunityPro ladders JunityProxL unitySample s UnityxEF_ladders DE EVENTSFB XDB My Computer My Documents My Network Places gt File name EVENTSFB XDB v Files of type Derived function XDB x Cancel 6 Inthe Project Browser expand Derived Data types and verify that the import was complete Project Browser Ta Structural view Qy Station 3 Configuration Derived Data Types IL Eventioim mony Input Jy Output ay it Blk9903101M Fl Sections implement Q Variables amp FB instances Page 54 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 7 Next add the FB section to the programs folder 8 Click OK Project Browser Ta Structural view y Events E Animation Ba naenin xl Begin Import i File name C Docu H 3 Yariables amp FB instances Gy Elementary Variables
161. ng 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 Block Transfer Statistics Press B 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 96 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Opening the IEC 101 Master Menu Press I from the Main Menu to open the IEC 870 5 101 Master Driver Menu Use this menu command to view detailed configura
162. nication Module 2 Configuring the Processor with Concept In This Chapter Information for Concept Version 2 6 USEYPS ccccccccccsceseseeeeeeeeeeeeeeees 14 Create a New Project rrnrrnnnnnnnonnrnrnnnnnnnnrnnrnnnnnnnnnnrnnrnnnnnnennnrnnnnnnnnnnn 15 Add the PTQ Module to the Project rursvrnrrnvrrrnrrnvrnnnvvrvnnnrnnrrrnrennnne 18 Set up Data Memory in Project aonnnnnnnnnonnrrnnnnnnnnnonnrrnrnnnnrnrrnnrnnnnnnenn 20 How to Set up and Use the Sample Function Block for Concept 23 Download the Project to the Processor mmrrrrrrrvrrvvrvvrnnrvvrvnnrrnnrrvnrrnnnn 36 Verify Successful Download rrnnnrrnnnnnnnonnrnrrnnnnnnrrnnrnnrnnnnnnnrnnrnnnnnnennnnn 39 The following steps are designed to ensure that the processor is able to transfer data successfully with the PTQ module As part of this procedure you will use Concept configuration software from Schneider Electric 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 Important Note Concept 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 take this into account when monitoring the status of the PTQ module ProSoft Technology Inc Page 13 of 181 May 14 2008 PTQ 101M Quantum Platform
163. nnel 1 42 Responses This word contains the total number of messages received on channel 1 43 Err Sent This word contains the number of error messages sent on channel 1 44 Err Received This word contains the number of error messages received on channel 1 45 Cfg Err This bit mapped word is used to recognize any configuration errors for channel 1 Refer to the configuration error word table page 152 for a definition of each bit 46 Current Error This word contains the error code for the current command executing on channel 1 47 Last Error This word contains the error code for the last error recognized on channel 1 48 to 63 Spare Not used 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 Block Format for Write The following table shows the block format for write Word Offset in Block Data Field s Description 0 Sequence Number This number triggers the request for the module When this number changes the module will process the command control request 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 0 Sequence Nu
164. nnrrrnvrnnrrrenrrnnrrenernnnne 171 8 4 Procedures for Return of Units Out of Warranty erassrvrnnnrovvrnnnnonnrrnnnrnnrrenvrnnrrrrnrennrrenrennnnn 172 8 4 1 Un repairable UNIS yesccses cet cesissceeasvaa rh bensn te ceeubontpesuheohepcthets de nede gaien aa eiaa Eriniin 172 8 4 2 Purchasing Warranty Extension 00 cccceecceceeeeeeeeeeneeeeeeeeeeeeeaaeeeseeeeeeeseeeeeeeaeeseeneeessnaeeeeneaaes 173 8 5 EIM TED WARRAN 1Y 22 cst hatha ect execs ee deh secs inact E aa Tas cate tda ca coaetacet sad 173 8 5 1 What Is Covered By This Warranty 0 0 0 eecceeeeeeeeeeeenneeeeeeeeeeeeaeeeseeaeeeseneeeeneaeeeeneaeeeenneeeene 173 8 5 2 What Is Not Covered By This Warranty wssnnnannvavvnnnnnnvrnnrrnnrnnnvrvvnnnrnnrrrnrrnnrnnersrvnnrrrnrreerrnnnn 174 8 5 3 DISCLAIMER REGARDING HIGH RISK ACTIVITIES msrvnenvvnrorrvnnvvnrrrrnnnnrnrerrnsnnenrerreenneneennn 175 8 5 4 DISCLAIMER OF ALL OTHER WARRANTIES ccccesceceeeeeeeeeceeeeeeeeeceeeeeeeeceeeseaeeseeeeeeeeeeas 175 8 5 5 LIMITATION OF REMEDIES oeie laerer enairar e a restei aaee taira aa ad oeaio eate kari ate tainen Eea 175 8 5 6 Time Limit for Bringing Suit sesiis daikin 175 Page 6 of 181 ProSoft Technology Inc May 14 2008 Contents PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 8 5 7 No Other WarrantioS sesccsc secc desateee cote degenererte dier a eaaa ag 176 8 5 8 Intellectual Property e sche ccaesadecccesgadandgs NAs ee dannede Eae a oaoa AiE irre r
165. normalized value with time tag M ME TA 1 lt 11 gt Measured value scaled value M ME NB 1 lt 12 gt Measured value scaled value with time tag M ME TB 1 lt 13 gt Measured value short floating point value M ME NC 1 lt 14 gt Measured value short floating point value with time tag M ME TC 1 lt 15 gt Integrated totals M IT NA 1 lt 16 gt Integrated totals with time tag M IT TA 1 Oo lt 17 gt Event of protection equipment with time tag M_EP_TA_1 Oo lt 18 gt Packed start events of protection equipment with time tag M_EP_TB_1 Oo lt 19 gt Packed output circuit information of protection equipment with time tag M_EP_TC_1 O lt 20 gt Packed single point information with status change detection M PS NA 1 O lt 21 gt Measured value normalized value without quality descriptor M ME ND 1 lt 30 gt Single point information with time tag CP56Time2a M SP TB 1 lt 31 gt Double point information with time tag CP56Time2A M DP TB 1 lt 32 gt Step position information with time tag CP56Time2A M ST TB 1 lt 33 gt Bitstring of 32 bit with time tag CP56Time2A M BO TB 1 ProSoft Technology Inc Page 165 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module lt 34 gt Measured value normalized value with time tag CP56Time2A M ME TD 1 lt 35 gt Measured value scaled value with time tag CP56Time2A M ME TE 1 lt 36 gt
166. nt information for 1 1 2 1 this type are M_ME_TA_1 10 and M_ME_TD_1 34 11 M_ME_NB_1 Monitored Scaled Measured Value This Scaled values 7 2 6 7 are stored in a 7 3 1 11 data type is used for analog input data word 16 bit data area with a range of Associated time tagged event information for this type are M_ME_TB_1 12 and M_ME_TE_1 35 215 215 1 Page 128 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Type ID Type Description Data representation 13 M ME NC 1 Monitored Measured Value Short Floating Short floating point number stored in 7 3 1 13 Point Number This data type is used for IEEE STD 754 format Fraction analog input data stored in floating point Exponent Sign 7 2 6 8 format according to the IEEE STD 754 QDS format Associated time tagged event information for this type are M ME TC 1 14 and M ME TE 1 36 15 MIT NA 1 Monitored Integrated Total point Information Binary counter data 7 2 6 9 is stored in 7 3 1 15 This data type stores meter or other count a double word 32 bit value with a data Associated time tagged event range of 231 291 1 information for this type are M IT TA 1 15 and MIT TB 1 37 45 C SC NA 1 Single point Command This command Single bit value 7 2 6 15 with 0 Off 7 3 2 1 controls a single binary point such as a relay
167. nter wishes to request a new command block 1 Block ID This field contains the value of 9902 identifying the enable command to the module 2 Command This field contains the number of commands to enable count in the command list Valid values for this field are 1 to 60 3 to 62 Command These 60 words of data contain the command Numbers to numbers in the command list to enable The enable commands in the list will be placed in the command queue for immediate processing by the module The first command in the list has an index of 0 63 Spare Not Used ProSoft Technology Inc Page 135 of 181 May 14 2008 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Reference Block Format from Module 3x Register Data Word Offset in Block Data Field s Description 0 Sequence This field contains a new value each time the block is Counter handled 1 Block ID This field contains the block identification code of 9902 for the block Event Message Block 9903 Block identification code 9903 is used to request event messages received on the master port for the processor Block Format from Processor 4x Register Data Word Offset in Block Data Field s Description 0 2 to 63 Sequence Counter Block ID Spare This field contains a new value each time the user wishes to request a new command block This field contains the value of 9903 to request event data Not used
168. nts 1 Minutes EventsArray Events 1 Month EventsArray Events 1 Day EventsArray Events 1 Year EventsArray Events 1 Qualifier EventsArray Events 1 Value 0 EventsArray Events 1 Value 1 ProSoft Technology Inc Page 35 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module 2 6 Download the Project to the Processor The next step is to download copy the project file to the Quantum Processor 1 Use the null modem cable to connect your PC s serial port to the Quantum processor as shown in the following illustration cy Note You can use a Modbus Plus Network Option Module NOM Module module in place of the serial port if necessary 2 Open the PLC menu and then choose Connect Page 36 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 3 In the PLC Configuration dialog box open the Online menu and then choose Connect This action opens the Connect to PLC dialog box Connect to PLC x Protocol type Protocol settings Modbus Modbus Plus Mode a PLC Node Device 9600 e 8 1 TCP IP or ATU com 3 ae IEC Simulator 32 b 001 COM ort Settings sj ASCII Access Level L st of nodes on Modbus Plus network Monitor only C Change Data Change Program Change Co
169. nual or the product may be made at any time These changes will be made periodically to correct technical inaccuracies or typographical errors PTQ Installation and Operating Instructions 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 I 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 Important Notice 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
170. ocation in the PTQ 101M module database in order to be properly updated from to the processor 7 4 Cable Connections The application ports on the PTQ 101M module support RS 232 RS 422 and RS 485 interfaces Please inspect the module to ensure that the jumpers are set correctly to correspond with the type of interface you are using Note When using RS 232 with radio modem applications some radios or modems require hardware handshaking control and monitoring of modem signal lines Enable this in the configuration of the module by setting the UseCTS parameter to 1 Page 148 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 7 4 1 RS 232 Configuration Debug Port This port is physically a DB 9 connection 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 Ro 2 to To 3 ro COM s COM The Ethernet port on this module if present is inactive 7 4 2 RS 232 When the RS 232 interface is selected the use of hardware handshaking control and monitoring of modem signal lines is user definable If no hardware handshaking will be used the cable to connect to the port is as shown below RS 232 Application Port Cable No
171. odule Fy Dat Provider gi Dib xl Version Copyrigt List files of type Drives Module Desc mdc x C v E 21 x C Cancel Network 3 Ifyou are using a Quantum processor you will need the MDC files In the Open Installation File dialog box navigate to the MDC Files directory on the ProTalk CD 4 Choose the MDC file and help file for your 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 hIp Select the files that go with the Concept version you are using and then click OK This action opens the add New Modules dialog box Page 14 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module iif Concept Module Installation Fie Modules Help Installed pa P Available Modules in a ptq_2_60 mde Provide Versior Copyric Add New Modules i 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 your changes 2 2 Create a New Project This phase of the setup procedure must be performed on a computer that has the Concept configuration software installed 1 From your computer choose Start Programs Concept V2 6 XL EN Concept Thi
172. of how the variables associated to the EVENTFB function block would be updated BlkCount shows a value of 1 because the processor has received two Events in one block LstPoint shows a value of 1 because the last element that was updated has an index of 1 Events Event 1 Events Event 0 shows the first event received from the module Page 34 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Events Event 1 shows the second event received from the module E RDE Template 101M RDE Animation ON of x Variable Name Data Type Address pia ResetEP BlockCount LastPoint ExternalCMD EventsArray Events 0 Session EventsArray Events 0 Sector EventsArray Events 0 COT EventsArray Events 0 Pointindex 0 EventsArray Events 0 Pointindex 1 EventsArray Events 0 ASDU EventsArray Events 0 Milliseconds EventsArray Events 0 Seconds EventsArray Events 0 Minutes EventsArray Events 0 Month EventsArray Events 0 Day EventsArray Events 0 Year EventsArray Events 0 Qualifier EventsArray Events 0 Value 0 EventsArray Events 0 Value 1 EventsArray Events 1 Session EventsArray Events 1 Sector EventsArray Events 1 COT EventsArray Events 1 PointIndex 0 EventsArray Events 1 Pointlndex 1 EventsArray Events 1 ASDU EventsArray Events 1 Milliseconds EventsArray Events 1 Seconds EventsArray Eve
173. of octets used to specify the address for an information object in each sector for this session COT Octet Count 1or2 This parameter sets the number of octets used for the COT field in each message If a value of 2 is selected the value entered for the Originator Address For COT will accompany each message from the controlling unit Originator Address For COT 0 to 255 This parameter sets the address to be passed with each message when the COT Octet Count parameter is set to 2 Failure Delay 0 to 2000 This parameter sets the minimum number of seconds to delay before polling this session when it is not online This parameter is only used in unbalanced mode Confirm Timeout 0 to 2432 1 This parameter sets the number of milliseconds to wait for a confirm response from the controlled device Retry Count 0 to 255 This parameter sets the number of retries to be performed on the controlled device when a communication error occurs Page 158 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Section Item Range Description C1 C2 Poll Count Pend 0 to 65535 This parameter sets the maximum number of class 1 and class 2 polls performed on this session before trying the next session This parameter prevents a session from monopolizing the communication port Class 1 Polls 0 to 65535 This parameter
174. oint command Double word address 51 Bitstring 32 bits point command Double word address ProSoft Technology Inc Page 77 of 181 May 14 2008 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module Type Description DB Index type 100 Group interrogation command NA 101 Counter interrogation command NA 102 Read command NA 103 Clock Synchronization NA 104 Test command 101 standard NA 105 Reset process command NA 107 Test command 104 standard NA 110 Parameter normalized measured value Word address 111 Parameter scaled measured value Word address 112 Parameter short float value Double word address 113 Parameter activation command NA 242 BCD integrated setpoint command 3 word address 255 Send a class 2 poll NA Point Index Point Index field specifies the address in the remote slave device of the point to interact with Qualifier Parameter The Qualifier Parameter field defined for a command is dependent on the data type used in the command In order to compute the qualifier for a command add all the values for the features to use with a command together to form a single number This number should be entered in the command record Each data set is discussed below Single Point Double Point and Regulating Setup The format of the field for Single Point 45 Double Point 46 and Regulating Step 47 commands is as follows Single Point
175. ommand Control Block 9902 Events messages from Master port 9903 Command List Error data 9950 Read Module s Time to Processor 9970 Set Module s Time Using Processor Time 9971 Warm Boot 9998 or Cold Boot 9999 The value in word 0 of this 64 word block is the block sequence number This number identifies whether the contents of the block have changed This is the actual trigger to send the control request to the module Processor logic must be built to handle the command control functionality The logic would typically follow these steps 1 Move the block request to output command control area 2 Move anew value to the output block sequence number Page 116 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 3 If the input block sequence number equals the output block sequence number 1 copy the block response to appropriate variables in the module s memory Note Command Control blocks are not copied to the module database You must define variables in the module s main memory and use processor logic to process the command control request Processor Module Words 1 to 64 Step 1 Command Control Command Control Request Words 65 to 164 Holding Register Write area Step 2 Step 3 Process Command Words 1 to 64 Command Control Control Request Command Control Response Words 65 to 164 Input Register Read area The foll
176. on Name Station Version 0 0 1 Version 0 0 1 Last Build September 25 2006 3 37 26 PM Last Build September 25 2006 3 37 26 PM nsfer o 3 Click the Transfer button to download the project to the processor As the project is transferred Unity Pro XL 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 65 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with UnityPro XL IEC 60870 5 101 Master Communication Module Page 66 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Module Configuration In This Chapter Installing and Configuring the Module cccccccsececeeeeeeeesenteeeeees 67 se Contiguration FNs sne na ane 67 Uploading and Downloading the Configuration File srrrnrrrrrrnrernrr 87 5 1 Installing and Configuring the Module This chapter describes how to install and configure the module to work with your application The configuration process consists of the following steps 1 Use to identify the module to the processor and add the module to a project Note The software must be in offline mode to add the module to a project 2 Modify the example ladder logic to meet the needs o
177. onfiguration Debug Menu 87 93 Time Limit for Bringing Suit 175 Transferring the Configuration File from PC to PTQ module 97 Transferring the Configuration File from PTQ module to PC 97 Transferring the Configuration File to the Module 90 Transferring the Configuration File to Your PC 88 U Unbalanced mode 145 Un repairable Units 172 Uploading and Downloading the Configuration File 87 Use Balanced Mode 72 Use Time tag commands 75 User Constructed Command Block 9901 134 Using the Configuration Debug Port 95 Using the EVENTFB Function Block 34 59 V Verify Successful Download 39 Viewing Block Transfer Statistics 96 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Viewing Data in ASCII Text Format 99 102 Viewing Data in Decimal Format 99 Viewing Data in Floating Point Format 99 Viewing Data in Hexadecimal Format 99 102 Viewing Module Configuration 96 Viewing Port Communication Status 101 Viewing Port Configuration 100 Viewing Protocol Configuration 100 Viewing Register Pages 98 Viewing the Next 100 Registers of Data 99 Viewing the Next 50 Commands 106 Viewing the Next Page of Commands 106 Viewing the Previous 100 Registers of Data 99 Viewing the Previous 50 Commands 105 Viewing the Previous Page of Commands 106 Viewing Version Information 24 97 W Warm Boot 9998 or Cold Boot 9999 122 What Is Covered By This War
178. ontroller Page 38 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 2 7 Verify Successful Download The final step is to verify that the configuration changes you made were received successfully by the module and to make some adjustments to your settings 1 In the PLC Configuration window open the Online menu and then choose Online Control Panel This action opens the Online Control Panel dialog box Online Control Panel x Controller Executive ID is 883 Version 0120 IEC 0260 m Time of Day clock Stop controller clock not set lear controller Constant sweep settings Invoke constant sweep register for target scan time gt target scan time ms Invoke single sweep free running scan time ms Set clock m Single sweep settings single sweep time base ms 0 sweep trigger count 1 Invoke optimized solve Flash program Set PLC password to 2 Click the Set Clock button to open the Set Controller s Time of Day Clock dialog box Online Control Panel x Set Controller s Time of Day Clock xj Stop cor Day of week Month 1 12 Day 1 31 Year Clear co Invoke const Invoke sing Hour 0 23 Set ch Minute 0 59 Second 0 59 Flash pri Write Panel gt PLC 7 15 2003 16 06 08 Cancel Help Close Help
179. owing table shows the contents of the command control area when a command control block such as 9970 Read Module s Time to Processor is issued Note The diagram above shows the memory addresses for a Quantum processor If you are deploying the PTQ 101M with a Unity processor substitute MW for read only data and IW for read write data Note The processor memory locations in the example tables below use the 3x register start and 4x register start values defined in Backplane Data Transfer You can configure any valid 3x and 4x start address that is not used by other processes Command Control Word Description 40001 Output sequence number 40002 Block ID 40003 Block request word 1 40004 Block request word 2 40005 Block request word 3 40064 Block request word 62 ProSoft Technology Inc Page 117 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module The following table shows the results of the PTQ 101M response to the command control block Command Control Word Description 30001 Input sequence number 30002 Block ID 30003 Block response word 1 30004 Block response word 2 30005 Block response word 3 30064 Block response word 62 The module recognizes that there is a new block request when it identifies that the block sequence number has changed If the block ID is valid the module will process the block and copy the respons
180. parameter specifies the number of registers to be transferred from the module to the processor Valid entry for this parameter is 0 to 4000 3x Register Start 1 ton The 3x Register Start parameter defines the starting address in the processor s 3x Quantum or iw Unity memory area to use for data being moved from the module Take care to use a starting address that will accommodate the entire block from the module but that will not overwrite data that is used for other purposes 4x Register Start 1ton The 4x Register Start parameter defines the starting address in the processor s 4x Quantum or iw Unity memory area to use for data being moved from the processor to the module Take care to use a starting address that does not contain data in the processor s registers that is used for other purposes Pass Through Events Y or N N Default This parameter specifies if event messages received on the master ports will be passed to the processor If the parameter is set to N event messages will not be passed to the processor If the parameter is set to Y the module will pass all events received to the processor using block identifier 9903 5 2 2 IEC 870 5 101 Master This is the configuration for the IEC 870 5 101 master port emulated on the module Session Count 1 to 32 This parameter specifies the maximum number of sessions to establish on the module This corresponds to the number of slaves to be interfaced with the mod
181. ploading and Downloading the Configuration File ProSoft modules are shipped with a pre loaded configuration file In order to edit this file you must transfer the file from the module to your PC After editing you must transfer the file back to the module This section describes these procedures 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 For specific information about the configuration debug menus in your module refer to The Configuration Debug Menu page 93 5 3 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 upload or receive download configuration files ProSoft Technology recommends the following minimum hardware to connect your computer to the module 80486 based processor Pentium preferred 1 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 A null modem serial cable 5 3 2 Required Software In order to send and receive data over the serial port COM port on your computer to the module you
182. ponse 903 Session is offline 904 Session is disabled 905 Select confirmation received waiting to execute 906 Execute confirmation has not be received 7 6 Configuration Data Definition This section contains a listing of the parameters and their definitions for the PTQ 101M module configuration file definition IEC101M CFG Section Item Value Range Description Backplane Configuration ackplane transfer parameters 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 4x Register Start Write Register Start 1 ton 0 to 3999 This parameter sets the first register in the processor where the data transferred from the processor to the module is present This parameter specifies the starting register in the module where the data transferred from the processor will be placed Valid range for this parameter is 0 to 3999 Write Register Count 0 to 4000 This parameter specifies the number of registers to transfer from the processor to the module Valid entry for this parameter is 0 to 4000 3x Register Start 1 ton This parameter sets the first register in the processor where the data transferred from the module to the processor will be placed Read Register Start 0 to 3999 This parameter specifies the starting registe
183. r error No ACK received 115 116 117 Link layer error Sequence unknown Link layer error Out of sequence Link layer error Remote close 118 Link layer error Unexpected ACK 119 Link layer error Request cancelled 201 Application layer error Length mismatch 202 Application layer error Address unknown 203 251 Application layer error Response late RBE error Clock event buffer overflow 252 RBE error Event buffer overflow 271 Data error Address unknown 281 Control error Illegal operation 282 Control error Illegal value 283 Control error Not selected 301 Initialization error Database 302 401 Initialization error Out of memory Channel open error 501 Session error Database 502 Session error Configuration 601 No memory to receive message ProSoft Technology Inc May 14 2008 Page 155 of 181 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Reference Error Description 602 Session not reserved 603 Illegal session 604 Session is reserved 605 Session is not available 701 No memory to transmit message 702 ASDU not supported 703 Duplicate request 704 Illegal sector 705 Control mode is illegal 801 Partial stop request 802 Stop request failed 901 Response timeout 902 Negative COT in res
184. r in the module where data will be transferred from the module to the processor Valid range for this parameter is 0 to 3999 Page 156 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Section Item Value Range Description Read Register Count 0 to 4000 This parameter specifies the number of registers to be transferred from the module to the processor Valid entry for this parameter is 0 to 4000 Pass Through Events Yesor No This parameter specifies if event messages received on the master ports will be passed to the processor If the parameter is set to No event messages will not be passed to the processor If the parameter is set to Yes the module will pass all events received to the processor using block identifier 9903 Section Item Value Range Description IEC 60870 5 101 Module level parameters MASTER Session Count 1 to 32 This parameter specifies the maximum number of session to establish on the module This corresponds to the number of slaves to be interfaced with the module This value represents the total number of slaves on both ports combined Section Item Value Range Description IEC 60870 5 101 Settings for each communication port on module MASTER PORT x Baud Rate Value for This parameter specifies the baud rate to be used baud rate on the communication channel port Va
185. ranty 173 What Is Not Covered By This Warranty 174 Write Register Count 70 Write Register Start 69 Y Your Feedback Please 3 ProSoft Technology Inc May 14 2008 Page 181 of 181
186. re information on the configuring and modifying the backplane implementation of the protocol with the PTQ 101M refer to Customizing the Sample Configuration File The IEC 60870 5 101 protocol applies to telecontrol equipment and systems with coded bit serial data transmission for monitoring and controlling geographically widespread processes Any application using the IEC 60870 5 101 protocol will have a master controlling station and one or more slaves controlled stations The master will constantly monitor and control the data from each slave in the network ProSoft Technology Inc Page 141 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Master Slave This module works as an IEC 60870 5 101 Master It can receive monitor data and control sends commands to slaves and receive events from slaves as explained in the following topics 7 3 1 General Parameter Configuration Communication Parameters The following parameters should be configured for serial communication Baud Rate 9600 Baud rate for port 110 to 38400 Parity 2 0 None 1 Odd 2 Even RTS On 0 0 to 65536 mSec before messag RTS Off 0 0 to 65536 mSec after messag Minimum Delay 20 Minimum of mSec before response sent Receive Timeout 2000 Maximum mSec from first char to last to wait Hardware Handshaking 0 Hardware handshaking O None 1 RTS CTS 2 DTR DSR 3 modem
187. rer to move these files to C PROJECT DFB as shown in the following illustration File Edit View Favorites Tools Help Q Bak Q 4 p Search Folders E Address C PROJECT DFB fF sae vB Name Size Type File and Folder Tasks i EVENTFB asc 13KB ASC File F PTQ 103M DTY 2KB DTY File GI Make a new folder 3 Publish this folder to the Web Convert the EVENTFB Function Block 1 Start the Concept v2 6 XL EN Concept Converter as shown in the following illustration fm Concept V2 6 XL EN 9 800 10 Help gt 9 Atrium Help gt 2 Authorization gt GB ccLaunch gt 9 Compact Help gt Concept Econo gt Concept DFB gt 9 Concept Help gt 20 Concept Security gt 8 Ethernet Configuration gt P EXECLoader gt 9 EXECLoader Help gt 9 Hot Standby Help gt Infosk gt w ModConnect Tool A Modsoft Converter gt 9 Momentum Help gt gt Quantum Help gt ReadMe gt fi Simulator 16 Bit gt By Simulator 32 Bit ProSoft Technology Inc Page 25 of 181 May 14 2008 PTQ 101M Quantum Platform Configuring the Processor with Concept IEC 60870 5 101 Master Communication Module 2 When the Concept Converter windows is displayed open the File menu and then choose Import Concept Converter Exit File gt Database 3 Select the EVENTFB asc file located at C PROJECT DFB as shown in the following illustration File open 2 x File name Folders EV
188. response to a setpoint command If the parameter is set to Yes an ACTTERM will be the last response and if set to No ACTCON will be the last response Section Item IEC 101 MASTER SESSION x SECTOR y Common ASDU Address Range Description his section sets the parameters for a specific ector of a session 0 to 255 1 This parameter sets the common ASDU address oct orO to to association with this sector of the specified 65535 2 oct session The range of address for this parameter are dependent on the length value set in the session section ProSoft Technology Inc May 14 2008 Page 159 of 181 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Section Item Value Range Description Use Time Tag YesorNo This parameter specifies if a time tag field is to be Commands included with commands This is as specified in the IEC 870 5 104 specification and should only be utilized if the controlled device supports these new data types If the parameter is set to Yes a time tag will be added to all commands If the parameter is set to No the normal IEC 60870 5 101 data type messages will be utilized Online Time Sync YesorNo This parameter specifies if the sector in the controlled device will be sent a time synchronization command when the unit is first recognized as being online This should only be utilized for devices that do not send an EOI message af
189. roject PTAPROJ i size E Open Dialog jelect NOT CONNECTED 8 Select Objects FFB Selection Mi FFBs from Library IEC FFB sorted Library DFB Close Help on Type Help 9 Click the DFB button and select the EVENTFB function block shown in the following illustration Then close the window Mi FFBs from Library IEC DEB Type LIGHTS FFB sorted Library 1 Close Help on Type Help Page 30 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Now you should see the EVENTFB function block at the FBD section al Main joj x EVENTFB BikCount BlkCount ResetEP ResetEP This step will create variables to be associated to the function block PINs We will start with the Instat PIN The variable for this PIN must point to the same start address where block 9903 will be copied to For this example we are considering the following configuration for block 9903 3x Register Start el 3x start register where data moved from module to processor 1 to n This implies that the variable associated to PIN Instat must also start at the same register address 300001 for this example As the Instat PIN will start same as 3x The variable that associated with PIN OutCntrl must start at the same register address 400001 4x Register Start se all processor to modu
190. rom the Main Menu to open the ICE 870 5 101 Master Driver Menu Use this menu command to view detailed configuration information for the module M Main Menu L I IEC 101 Master Driver Menu Display Menu Redisplays refreshes this menu A Data Analyzer Displays Data Analyzer screen 4 C General Configuration Displays General Configuration screen Command List Menu Opens IEC 870 5 103 Master Command List menu See IEC 107 Master i Command List section P Port Configuration Menu Opens Port Configuration Menu See Port Configuration section AE NI R Q Port Status Menu Opens Port Status Menu See Port Status section S Session Menu h Opens Session Configuration Menu ES Sesisessicn Configuration section V Version 4 Displays version information Z Previous Menu Goes up one level to main menu 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 Opening the Data Analyzer Menu Press A to open the Data Analyzer Menu Use this command to view all bytes of data transferred on each port Both the transmitted and received data bytes are displayed Refer to Data Analyzer for more information about this menu Important When in analyzer mode program execution
191. rranty or allow the exclusion or limitation of incidental or consequential damages In such areas the above limitations may not apply This Warranty gives you specific legal rights and you may also have other rights which vary from place to place 8 5 6 Time Limit for Bringing Suit Any action for breach of warranty must be commenced within 15 months or in the case of RadioLinx modules 39 months following shipment of the Product ProSoft Technology Inc Page 175 of 181 May 14 2008 PTQ 101M Quantum Platform Support Service amp Warranty IEC 60870 5 101 Master Communication Module 8 5 7 No Other Warranties Unless modified in writing and signed by both parties this Warranty is understood to be the complete and exclusive agreement between the parties suspending all oral or written prior agreements and all other communications between the parties relating to the subject matter of this Warranty including statements made by salesperson No employee of ProSoft or any other party is authorized to make any warranty in addition to those made in this Warranty The Customer is warned therefore to check this Warranty carefully to see that it correctly reflects those terms that are important to the Customer 8 5 8 Intellectual Property A Any documentation included with Product purchased from ProSoft is protected by copyright and may not be photocopied or reproduced in any form without prior written consent from ProSoft B ProSoft
192. rrors recognized on channel 0 30 Requests This word contains the total number of messages transmitted on channel 0 31 32 Responses Err Sent This word contains the total number of messages received on channel 0 This word contains the number of error messages sent on channel 0 33 Err Received This word contains the number of error messages received on channel 0 34 Cfg Err This bit mapped word is used to recognize any configuration errors for channel 0 Refer to the configuration error word table page 152 for a definition of each bit 35 36 Current Error Last Error This word contains the error code for the current command executing on channel 0 This word contains the error code for the last error recognized on channel 0 37 CH 1 State This word contains the state machine value for channel 1 38 Cmd Req This word contains the number of commands transferred out channel 1 39 Cmd Resp This word contains the number of command response messages received on channel 1 40 Cmd Err This word contains the number of command errors recognized on channel 1 Page 120 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Offset Parameter Description 41 Requests This word contains the total number of messages transmitted on cha
193. s from the date of delivery The Warranty Period may be extended for an additional charge as follows Additional 1 year 10 of list price Additional 2 years 20 of list price Additional 3 years 30 of list price LIMITED WARRANTY This Limited Warranty Warranty governs all sales of hardware software and other products collectively Product manufactured and or offered for sale by ProSoft and all related services provided by ProSoft including maintenance repair warranty exchange and service programs collectively Services By purchasing or using the Product or Services the individual or entity purchasing or using the Product or Services Customer agrees to all of the terms and provisions collectively the Terms of this Limited Warranty All sales of software or other intellectual property are in addition subject to any license agreement accompanying such software or other intellectual property 8 5 1 What Is Covered By This Warranty A Warranty On New Products ProSoft warrants to the original purchaser only that the Product that is the subject of the sale will 1 conform to and perform in accordance with published specifications prepared approved and issued by ProSoft and 2 will be free from defects in material or workmanship provided these warranties only cover Product that is sold as new This Warranty expires one year or in the case of RadioLinx modules three years from the date of shipment
194. s action opens the Concept window 2 Open the File menu and then choose New Project This action opens the PLC Configuration dialog box Be Concept C CONCEPT TESTPRJ untitled File Configure Project Online Options Window Help I x olehala 192 wal BO Sf ele fe a lz Tu lol x a a PLC SUMMEN 3 B PLC Selection gn kn Ei Config Extensions Available Logic Area 65535 B ASCII FPLC Memory Partitior Coils 000001 000001 Discrete Inputs 100001 100001 Input Registers 300001 300001 Holding Registe400001 400001 rLoadables Number installed Specials Battery Coil Timer Register Time of Day 400007 r5egment Scheduler Segments 0 M Config Extensions Data Protection Peer Cop Hot Standby Disabled Disabled Disabled El Open Dialog mASCII Number of Messages Message Area Size Bi unbar ab Darba PLE Configuration Overview double click in window to edit sections NOT CONNECTED ProSoft Technology Inc May 14 2008 Page 15 of 181 PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 3 4 In the 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 pac Selection m xi i Concept C CONCEPT TESTPRJ untitlediaame aes mr File Configure Project Online Options Wi Quantum gt J laa ee D ta Bley ail
195. s field of link Balanced transmission Not present balanced transmission only Unbalanced transmission One octet Two octets Structured Frame length X Unstructured 255 Maximum length L number of octets 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 One octet Two octets Information object address system specific parameter One octet structured Two octets X unstructured Three octets Cause of transmission system specific parameter One octet Two octets with originator address Page 164 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Selection of standard ASDUs Process information in monitor direction station specific parameter lt 1 gt Single point information M SP NA 1 lt 2 gt 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 lt 7 gt Bitstring of 32 bit M BO NA 1 lt 8 gt Bitstring of 32 bit with time tag M BO TA 1 lt 9 gt Measured value normalized value M ME NA 1 lt 10 gt Measured value
196. s of data transferred on each port Both the transmitted and received data bytes are displayed Use of this feature is limited without a thorough understanding of the protocol Note The Port selection commands on the Data Analyzer menu differs very slightly in different modules but the functionality is basically the same Use the illustration above as a general guide only Refer to the actual data analyzer menu on your module for the specific port commands to use Important When in analyzer mode program execution will slow down Only use this tool during a troubleshooting session Before disconnecting from the Config Debug port please press S to stop the data analyzer and then press M to return to the main menu This action will allow the module to resume its normal high speed operating mode Analyzing Data for the first application port Press 1 to display I O data for the first application port in the Data Analyzer The following illustration shows an example of the Data Analyzer output ha AAR RAS OAB82IIEKSPI2 ER g Sasa k Free Har aPRSRRG Fr ZVSLLEseens ee ve yo Sy RFR 8 DES DM NY ME AFESS N ttn SQAESASERESS A aama A G G tn mat Jaran He aa Dasa Sis PRAAEASEER aoe ees Yy ly Xml X mme Mae yy esse ats ma MX Mam Kar XX XM ms vw y 1 I I 6 v AnS 3 H m hat jer Analyzing Data for the second application port Press 2
197. s technical specifications and documentation that are included with the Product are subject to editing and modification without notice C Transfer of title shall not operate to convey to Customer any right to make or have made any Product supplied by ProSoft D Customer is granted no right or license to use any software or other intellectual property in any manner or for any purpose not expressly permitted by any license agreement accompanying such software or other intellectual property E Customer agrees that it shall not and shall not authorize others to copy software provided by ProSoft except as expressly permitted in any license agreement accompanying such software transfer software to a third party separately from the Product modify alter translate decode decompile disassemble reverse engineer or otherwise attempt to derive the source code of the software or create derivative works based on the software export the software or underlying technology in contravention of applicable US and international export laws and regulations or use the software other than as authorized in connection with use of Product 8 5 9 Additional Restrictions Relating To Software And Other Intellectual Property In addition to complying with the Terms of this Warranty Customers purchasing software or other intellectual property shall comply with any license agreement accompanying such software or other intellectual property Failure to do so may void
198. s word contains the number of session configured in the module 16 Current Cmd This word contains the index of the current command being executed in the command list 17 Cmd Busy Flag This word is set to zero if no command is currently being executed and waiting on a response If the word is set to 1 a command is currently executing 18 Cmd Count This word contains the count of the number of commands configured for the module 19 Cmd Delay This word contains the command delay counter preset There is a fixed delay between each command to permit the module to perform class polls on controlled stations 20 Cmd Queue This word is set to zero if the command executing is from the command list If the executing command is from the command queue the word will be set to 1 21 Cmd Queue This word contains the number of active commands in the command Count queue for the module Up to 100 commands can be buffered in this queue These commands are transferred from the processor to the module using special command blocks 22 to 23 Online Status This double word value contains a bit for each of the 32 potential sessions in the module If the bit is set for a session in the double word the station is online If the bit is clear the station is offline Use this value to determine if commands sent from the processor will have a chance of succeeding 24 CH 0 State This word contains the state machine value for channel 0 25 Cmd Req This word contains the n
199. sets the maximum number of class one polls performed on this session before switching to another session This parameter prevents a session from monopolizing the communication port Class 1 Pend Delay 0 to 2432 1 This parameter sets the minimum number of milliseconds to delay between class 1 polls for pending data Class 2 Pend Delay 0 to 2432 1 This parameter sets the minimum number of milliseconds to delay between class 2 polls for pending data Class 1 Poll Delay 0 to 2432 1 This parameter sets the minimum number of milliseconds to delay between each class 1 poll Class 2 Poll Delay 0 to 2432 1 This parameter sets the minimum number of milliseconds to delay between each class 2 poll Auto Clock Req Mode Propagation Delay Response Timeout 0 10r2 This parameter specifies the method used to perform automatic clock synchronization 0 performs a synchronization without delay 1 performs synchronization using the fixed Propagation Delay and 2 computes the delay and use this value when synchronization takes place 0 to 65535 This parameter sets the fixed propagation delay to be utilized if the Auto Clock Req Mode parameter is set to a value of 1 0 to 2432 1 This parameter sets the maximum number of milliseconds to wait for a confirmation from the controlled station to a request from this module ACTTERM with setpoint YesorNo This parameter specifies what the last message will be in the
200. so available on the ProSoft CD as well as the ProSoft Technology web site 6 Select Zmodem as the protocol ProSoft Technology Inc May 14 2008 Page 91 of 181 PTQ 101M Quantum Platform Module Configuration IEC 60870 5 101 Master Communication Module 7 Click the Send button This action opens the Zmodem File Send dialog box Zmodem file send Sending C MVIMFILE CFG Packet 7 Error checking CRC File size 6K f Retries 0 Total retries 0 H Files 1 of 1 Last error File TUTTE 5K of BK Elapsed 00 00 01 Remaining Throughput cps bps When the upload is complete the screen indicates that the module has reloaded program values and displays information about the module Ee p ca Done td De 05 g Receiving configuration file TRANSFERRING CONFIGURATION FROM PC TO ProSoft MODULE Using the 2modem file transfer protocol Select the SEND menu option and transfer the configuration file FILE TRANSFERRED FROM PC UNIT Reloading Program Values Read Conficuration 8 Your module now contains the new configuration Page 92 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting PTQ 101M Quantum Platform 6 1 IEC 60870 5 101 Master Communication Module Diagnostics and Troubleshooting In This Chapter The Configuration Debug Menu ee eeeeeeeceeeeeeeeeeeeneeeeeeeeeeenaeeeeeenas 93 Required Hardware
201. software or user created programming including but not limited to programs developed with any IEC 61131 3 programming languages or C not furnished by ProSoft v use of the Product for purposes other than those for which it was designed vi any other abuse misapplication neglect or misuse by the Customer vii accident improper testing or causes external to the Product such as but not limited to exposure to extremes of temperature or humidity power failure or power surges outside of the limits indicated on the product specifications or viii disasters such as fire flood earthquake wind or lightning D The information in this Agreement is subject to change without notice ProSoft shall not be liable for technical or editorial errors or omissions made herein nor for incidental or consequential damages resulting from the furnishing performance or use of this material The user guides included with your original product purchased by you from ProSoft contains information protected by copyright No part of the guide may be duplicated or reproduced in any form without prior written consent from ProSoft Page 174 of 181 ProSoft Technology Inc May 14 2008 Support Service amp Warranty PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 8 5 3 DISCLAIMER REGARDING HIGH RISK ACTIVITIES PRODUCT MANUFACTURED OR SUPPLIED BY PROSOFT IS NOT FAULT TOLERANT AND IS NOT DESIGNED MANUFACTURED OR INTENDED FOR USE
202. sted by ProSoft Technology DOS ProComm as well as several other terminal emulation programs Windows 3 1 Terminal Windows 95 98 HyperTerminal Windows NT 2000 XP HyperTerminal The module uses the Zmodem file transfer protocol to send upload and receive download configuration files from your module If you use a communication program that is not on the list above please be sure that it supports Zmodem file transfers 6 4 Using the Configuration Debug Port To connect to the module s Configuration Debug port 1 Connect your computer to the module s port using a null modem cable 2 Start the communication program on your computer and configure the communication parameters with the following settings Baud Rate 57 600 Parity None Data Bits 8 Stop Bits 1 Software Handshaking None 3 Open the connection When you are connected press the key on your keyboard If the system is set up properly you will see a menu with the module name followed by a list of letters and the commands associated with them If there is no response from the module follow these steps 1 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 2 Verify that another program is not controlling the COM port 3 Verify that your communication software is using the correct settings for baud rate parity and handshaking 4 Oncomputers with more than one serial port verify that your communica
203. t are warranted on the terms specified above for new Product provided said warranty will be for the period remaining on the original new equipment warranty or if the original warranty is no longer in effect for a period of 90 days from the date of repair C The Warranty Period for RadioLinx accessories such as antennas cables brackets etc are the same as for RadioLinx modules that is three years from the date of shipment 8 5 2 What Is Not Covered By This Warranty A ProSoft makes no representation or warranty expressed or implied that the operation of software purchased from ProSoft will be uninterrupted or error free or that the functions contained in the software will meet or satisfy the purchaser s intended use or requirements the Customer assumes complete responsibility for decisions made or actions taken based on information obtained using ProSoft software B With the exception of RadioLinx accessories referenced in paragraph 1 c this Warranty does not cover any product components or parts not manufactured by ProSoft C This Warranty also does not cover the failure of the Product to perform specified functions or any other non conformance defects losses or damages caused by or attributable to any of the following i shipping ii improper installation or other failure of Customer to adhere to ProSoft s specifications or instructions iii unauthorized repair or maintenance iv attachments equipment options parts
204. ta to be sent from the processor to the module the start address it should match what you configured your backplane exchange to start EventQue Output WORD Indicates how many events are in the queue to be read EvntOvfl Output WORD This will be set to yes 1 if the overflow flag is set due to 199 events in the queue waiting to be read Before You Begin 1 Make sure that your computer has the Concept Programming Unit installed 2 The PTQ 101M firmware revision must support the event pass thru functionality This feature is available for version 1 12 or later Refer to the V menu for the SOFTWARE REVISION LEVEL page 97 value at the debug menu of the PTQ 101M module 3 Using Windows Explorer create a folder for your Concept project with a DFB subfolder This procedure will consider as an example the folder C PROJECT DFB where o C PROJECT will store the main Concept project PRJ Page 24 of 181 ProSoft Technology Inc May 14 2008 Configuring the Processor with Concept PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module o C PROJECT DFB will store the data type definition file PTQ 101M DTY and the function block that will be presented later at this document 4 Refer to the CD ROM or to the web site for the PTQ101MConcept_Block9903 zip file and extract the following files o EVENTFB asc function block o PTQ 101M DTY data type definition Use Windows Explo
205. ter initializing Online General Int YesorNo This parameter specifies if the sector in the controlled device will be sent a general interrogation command when the unit is first recognized as being online This should only be utilized for devices that do not send an EOI message after initializing EOI Time Sync YesorNo This parameter specifies if the sector in the controlled device will be sent a time synchronization command after this module received an EOI message from the controlled unit EOI General Int YesorNo This parameter specifies if the sector in the controlled device will be sent a general interrogation command after this module received an EOI message from the controlled unit Data Type Point DB Address Section Item IEC 101 MASTER COMMANDS Description This section contains the commands for the module Enable Database Poll Session Sector Data Point Qualifier Code Index Interval Index Index Type Index Parameter Page 160 of 181 ProSoft Technology Inc May 14 2008 Reference PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 7 7 Database Form 7 7 1 Form to Define Sector Database Session Index Sector Index Data Type Point Index Database Address ProSoft Technology Inc Page 161 of 181 May 14 2008 PTQ 10
206. the Warranty Period If the Customer discovers within the Warranty Period a failure of the Product to conform to specifications or a defect in material or workmanship of the Product the Customer must promptly notify ProSoft by fax email or telephone In no event may that notification be received by ProSoft later than 15 months or in the case of RadioLinx modules 39 months from the date of delivery Within a reasonable time after notification ProSoft will correct any failure of the Product to conform to specifications or any defect in material or workmanship of the Product with either new or used replacement parts Such repair including both parts and labor will be performed at ProSoft s expense All warranty service will be performed at service centers designated by ProSoft If ProSoft is unable to repair the Product to conform to this Warranty after a reasonable number of attempts ProSoft will provide at its option one of the following a replacement product a full refund of the purchase price or a credit in the amount of the purchase price All replaced product and parts become the property of ProSoft These remedies are the Customer s only remedies for breach of warranty ProSoft Technology Inc Page 173 of 181 May 14 2008 PTQ 101M Quantum Platform Support Service amp Warranty IEC 60870 5 101 Master Communication Module B Warranty On Services Material and labor used by ProSoft to repair a verified malfunction or defec
207. the ProSoft Technology tech support team for information on how to upgrade your module Comm HyperTerminal File Edit View Call Transfer Help Des s D IEC 870 5 101 MASTER COMMUNICATION MODULE PTQ I1 1M c 1999 2007 ProLinx Communication Gateways Inc PRODUCT NAME CODE T1MQ SOFTWARE REVISION LEVEL 1 15 OPERATING SYSTEM REVISION 0408 RUN NUMBER 0801 PROGRAM SCAN COUNTER 34520 FREE MEMORY 334608 BACKPLANE DRIVER VERSION 2 15 BACKPLANE API VERSION 1 11 MODULE NAME ProTalk Multi Vendor Interface VENDOR ID 309 DEVICE TYPE 12 PRODUCT CODE 8 SERIAL NUMBER 8 0Q00AFF REVISION 1 01 lt Connected 0 00 25 ANSIW 57600 8 N 1 The event pass through functionality must be initially enabled by the user through the following configuration parameter ProSoft Technology Inc Page 125 of 181 May 14 2008 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Pass Through Events Y Pass event messages to processor amp Comm1 HyperTerminal File Edit View Call Transfer Help De 3 2 MODULE CONFIGURATION PTQ 101M SAMPLE TEST MODULE Pass Through Events YES DATA TRANSFER CONFIGURATION INPUT START REGISTER 3x offset 1 OUTPUT START REGISTER 4x offset 1 I 0 CONFIGIGURATION x Bit Count 0 Ox Word Count 1x Bit Count 0 1x Word Count 3x Word Count 0 4x Word Count 0 BACKPLANE DATA EXCHANGE READ Start 0 Count 50 WR
208. the Processor with UnityPro XL PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 1 If you have not already done so connect your PC and the processor to an Ethernet hub 2 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 3 Enter the IP address in the address field In the Media dropdown list choose TCPIP 4 Click the Test Connection button to verify that your settings are correct Set Address x v PLC fle Simulator Bondwitc Adder ee Test Connection 192 168 2 21 J Successfully connected to the currently selected target Media TCPIP OK Cancel Communication Parameters Communication Parameters Hep The next step is to download the Project to the Processor 4 6 Download the Project to the Processor 1 Open the PLC menu and then choose Connect This action opens a connection between the Unity Pro XL software and the processor using the address and media type settings you configured in the previous step 2 Onthe 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 to Run mode immediately after the transfer is complete select check the PLC Run after Transfer check box r PC Project r Overwritten PLC Project Name Stati
209. the scrolling of the data stop When you have captured the data you want to save open the Transfer menu and choose Capture Text On the secondary menu choose Stop Transfer Help Send File Receive File Send Text File Pause Capture Text gt EDEN You have now captured and saved the file to your PC This file can now be used in analyzing the communications traffic on the line and assist in determining communication errors 6 4 6 Master Command List Menu Use this menu to view the command list for the module Press to view a list of commands available on this menu M Main Menu L Protocol Menu Command List Menu Display Menu Redisplays refreshes this menu S Show Again _ gt Redisplays last selected page of data P Previous Page Goes back one page of data N Next Page gt Goes forward one page of data M Main Menu Goes up one level to main menu Redisplaying the Current Page Press S to display the current page of data Viewing the Previous 50 Commands Press to view the previous 50 commands ProSoft Technology Inc Page 105 of 181 May 14 2008 PTQ 101M Quantum Platform Diagnostics and Troubleshooting IEC 60870 5 101 Master Communication Module Viewing the Previous Page of Commands Press P to display the previous page of commands Viewing the N
210. tion program is connected to the same port that is connected to the module If you are still not able to establish a connection you can contact ProSoft Technology Technical Support for further assistance ProSoft Technology Inc Page 95 of 181 May 14 2008 PTQ 101M Quantum Platform Diagnostics and Troubleshooting IEC 60870 5 101 Master Communication Module 6 4 1 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 on your terminal screen I EG 87 5 181 MASTER COMMUNICATION MODULE Display Menu B Block Transfer Statistics C Module Configuration D Datahbase View I IEC 161 Master Menu R Receive Configuration File Send Configuration File U Version Information 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 Redisplayi
211. tion Module 5 3 4 Transferring the Configuration File to the Module Perform the following steps to transfer a configuration file from your PC to the module 1 Connect your PC to the Configuration Debug port of the module using a terminal program such as HyperTerminal Press to display the main menu Ee Eat Yew Cal Iaster Heb Cw 0285 g MODULE MENU Display Menu A Data Analyzer B Block Transfer Statistics C Module Configuration D Database View R Receive Module Configuration Module Configuration V Version Information Harm Module Esc Exit Program 2 Press R Receive Module Configuration The message Press Y key to confirm configuration receive is displayed at the bottom of the screen MODULE MENU Display Menu A Data Analyzer B Block Transfer Statistics C Module Configuration D Database View R Receive Module Configuration Send Module Configuration V Version Information WWare Boot Module Esc Exit Program Press Y key to confirm configuration receive 3 Press Y The screen now indicates that the PC is ready to send Ee gat wew Cal Transfer Heb De 08 2 MODULE MENU Display tar A Data Analyzer Block Transfer Statistics le Configuration E Database View R Receive Module Configuration ule Configuration V Version Information W Harm Boot Module Esc Exit Program Press Y key to confirm configuration receive Receiving configuration file TRANS
212. tion information for the module Transferring the Configuration File from PC to PTQ module Press R to send upload the configuration file from your PC to the module and store the file on the module s Compact Flash Disk 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 downloaded the module will restart the program and load the new configuration information Review the new configuration using menu commands 6 and 0 to verify that the module is configured correctly Transferring the Configuration File from PTQ module to PC Press S to receive download the configuration 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 downloaded you can open and edit the file to change the module s configuration 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 compl
213. to 16 Event 1 Event message 17 to 30 Event 2 Event message 31 to 44 Event 3 Event message 45 to 58 Event 4 Event message 59 to 61 Spare Not used 62 Event countin queue Number of events in queue still waiting to send 63 Event Overflow Event buffer overflow The format of each 14 word data region in the block is shown in the following table Word Offset Definitions Description 0 Session Index This field contains the session index used to define the controlled unit in the module from which the event was generated 1 Sector Index This field contains the sector index used to define the database within the controlled unit from which the event was generated 2 COT This field contains the COT for the event message received from the IED If the size of the COT is a single byte the originator address will always be zero The COT is in the LSB and the originator address is in the MSB 3 Reserved This field is reserved for future use and is added here to keep the structure double word aligned for all platforms 4to5 Point Index This field contains the point index in the remote device that generated the event 6 ASDU Type This field contains the ASDU type code for the data contained in the message 7 Milliseconds and This word contains the seconds and Seconds milliseconds when the event occurred 8 Minutes and Hours This field contains the minutes and hours the event occurred 9 Month and Day This field contains the month and day of the
214. ule This value represents the total number of slaves on all ports Page 70 of 181 ProSoft Technology Inc May 14 2008 Module Configuration PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 5 2 3 IEC 870 5 101 Master Port x Baud Rate This parameter specifies the baud rate to be used on the communication channel port Values from 110 to 38 4K are permitted Parity None Odd Even This parameter specifies the parity for this port using the following code definitions N none O odd E even RTS On 0 to 65535 The parameter sets the RTS pre send delay The value entered represents the number of milliseconds the module will wait after setting the RTS modem line before sending the data RTS Off 1 to 65535 This parameter sets the RTS off delay The value entered represents the number of milliseconds the module will wait after the data packet is sent before dropping the RTS modem line Minimum Delay 1 to 65535 This parameter specifies the minimum number of milliseconds to delay before sending the message setting RTS high This can be used when the serial network requires time for units to turn off their transmitters Receive Timeout 1 to 65535 This value represents the number of milliseconds to wait on a port from the time the first character is received until the last character in the longest message received on the port This parameter should be set dependent on the baud rate A value of
215. umber of commands transferred out channel 0 26 Cmd Resp This word contains the number of command response messages received on channel 0 27 Cmd Err This word contains the number of command errors recognized on channel 0 28 Requests This word contains the total number of messages transmitted on channel 0 29 Responses This word contains the total number of messages received on channel 0 30 Err Sent This word contains the number of error messages sent on channel 0 31 Err Received This word contains the number of error messages received on channel 0 32 Cfg Err This bit mapped word recognizes any configuration errors for channel 0 Refer to the configuration error word table for a definition of each bit 33 Current Error This word contains the error code for the current command executing on channel 0 34 Last Error This word contains the error code for the last error recognized on channel 0 35 CH 1 State This word contains the state machine value for channel 1 36 Cmd Req This word contains the number of commands transferred out channel 1 ProSoft Technology Inc May 14 2008 Page 153 of 181 PTQ 101M Quantum Platform Reference IEC 60870 5 101 Master Communication Module Offset Parameter Description 37 Cmd Resp This word contains the number of command response messages received on channel 1 38 Cmd Err This word contains the number of command errors recognized on channel 1 39
216. umbers listed above in Section A A Technical Support Engineer will request several tests in an attempt to isolate the problem If after these tests are completed the Product is found to be the source of the problem ProSoft will issue an RMA All returned Products must be shipped freight prepaid in the original shipping container or equivalent to the location specified by ProSoft and be accompanied by proof of purchase The RMA number is to be prominently marked on the outside of the shipping box Customer agrees to insure the Product or assume the risk of loss or damage in transit Products shipped to ProSoft without an RMA number will be returned to the Customer freight collect Contact ProSoft Technical Support for further information Out of warranty returns are not allowed on RadioLinx accessories such as antennas cables and brackets The following policy applies for Non Warranty Credit Returns A 10 Restocking Fee if Factory Seal is not broken B 20 Restocking Fee if Factory Seal is broken ProSoft retains the right in its absolute and sole discretion to reject any non warranty returns for credit if the return is not requested within three 3 months after shipment of the Product to Customer if the Customer fails to comply with ProSoft s shipping instructions or if the Customer fails to return the Product to ProSoft within six 6 months after Product was originally shipped 8 3 Procedures for Return of Units Under Warranty
217. w Again Redisplays last selected page of data Back 5 Pages Goes back five pages of data P Previous Page Goes back one page of data Skip 5 Pages Goes forward five pages of data N Next Page Goes forward one page of data D Decimal Display Displays data in decimal format H Hexadecimal Display Displays data in hex format F Float Display gt Displays data in floating point format A ASCII Display gt Displays data in text format 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 DATABASE DISPLAY TO 99 lt DECIMAL gt 188 i i 182 ii i2 13 i SSSSSSSBEAK Donnagon EBEESEESSES GNRH EBESEEESESE EEESEESES TK Bega EBEESEESESSES This screen displays the current page of 100 registers in the database Page 98 of 181 ProSoft Technology Inc May 14 2008 Diagnostics and Troubleshooting PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module Moving Back Through 5 Pages of
218. word value contains a bit for each of the 32 potential sessions in the module If the bit is set for a session in the double word the station is online If the bit is clear the station is offline Use this value to determine if commands sent from the processor will have a chance of succeeding 26 CH 0 State This word contains the state machine value for channel 0 27 Cmd Req This word contains the number of commands transferred out channel 0 28 Cmd Resp This word contains the number of command response messages received on channel 0 29 Cmd Err This word contains the number of command errors recognized on channel 0 30 Requests This word contains the total number of messages transmitted on channel 0 31 Responses This word contains the total number of messages received on channel 0 32 Err Sent This word contains the number of error messages sent on channel 0 33 Err Received This word contains the number of error messages received on channel 0 34 35 Cfg Err Current Error This bit mapped word is used to recognized any configuration errors for channel 0 Refer to the configuration error word table for a definition of each bit This word contains the error code for the current command executing on channel 0 36 Last Error This word contains the error code for the last error recognized on channel 0 37 38 39 40 CH
219. y Inc Page 5 of 181 May 14 2008 Contents PTQ 101M Quantum Platform IEC 60870 5 101 Master Communication Module 6 1 2 Keystrokes aar 94 6 2 Required Hardware mieten inner e kebaben ge drar vade crested addere ane 94 6 3 Required Software vcunisiace elie kreve Saas eal agd eens ead ev ed aa beer 95 6 4 Using the Configuration Debug Port rnnnanarvnnnnnnvrnnnnnnvrnnnnnnrrnnnrnsrrnnnerssrrnnnersrrnnsersrrnensrsrnnneenn 95 6 4 1 Main Menu isunss sarissa eik iaeia taia nce tes eastern atengeededacdeuclen stad tes A a e 96 6 4 2 Database View Menu iinei a e a a E A ect a AE aA AEEA AEA aea N ANATRA 98 6 4 3 IEG 1 01MiMaster Men ireng i a a ea aaa 100 6 4 4 Bata Analy Ze ti eon a aaa e a a ae av tenant hat aa as eee enhetene 101 6 4 5 Data Analy Zen T e EEA A EA EET EA E T EA 103 6 4 6 Master Command List Menu ce eesceeeeeceeeeeneeeeeenaeeeeeeeeeeeeaeeeseeeaeeeenaeeeeesaeeeeeeeeeeesnneeeeeeaas 105 6 4 7 Session Configuration Menu ccececcceeeeceeeeeneeeeeenaeeeseeeeeeeseaeeeeeeaeeeeeeeeeeeenaeeeseenaeeeenneeeeeeaa 106 6 4 8 sector Configuration Menu hvits keneen ea aa a eiaa ae daidan 107 6 4 9 Sector Database MONu cccecesseetseeeneeenecsesesscceensnetcenesuaedenesenecnensesedeennnstesepseeedeessneeenestasegs 108 6 5 LED Status Indicators ruan nite adie a aaia aaa deed dana degrees heel 109 7 REFERENGE nesten dd buen tele nebb duene cu EAA ane du eeu des 111 7 1 Product Specification irotan e e e

Download Pdf Manuals

image

Related Search

Related Contents

Supermicro X10DRH-iT  Manual de Usuario - Cerrajerias Miguel Lima  取扱説明書(Xp, Vista, 7 32bit)  Fujitsu Intel Xeon X3210  6.0 cu ft. – 350 lb. Wheelbarrow  

Copyright © All rights reserved.
Failed to retrieve file