IEC Implementation in the Mitsubishi System FX3U PLCs. Start-Up document. Version

Size: px
Start display at page:

Download "IEC Implementation in the Mitsubishi System FX3U PLCs. Start-Up document. Version"

Transcription

1 Start-Up IEC Implementation in the Mitsubishi System FX3U PLCs Version NU.DOT, Mitsubishi Electric Europe B.V. Tel +49(0) Internet

2 Revisions history Version Date Revision Signatur Message Type 105 update (it now also takes account of QRP = 2) Updated with message Type Updated "MaxNoOfObjects" for Tx function blocks (ex TxTypeIdent5") DLT Added info about the number of steps that the basic program occupies (see Chapter 3.33) Update after KEMA Certification, the following chapters have been affected - Chapter (updated) - Chapter 2.6 (new) - Chapter 3.1 (updated) - Chapter 4 (updated, COT and COT = 10 = 44) Chapter 1.4 IEC-104 parameters (timeout) is updated. PLC now also handles W parameter Added the info that copying is also made to the L internal relays respectively W-register. This has been done to chapter 2.1, 2.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.11, 3.13 and 3: ) All SendTypeIdent- and TxTypeIdent-functionblock has been updated: - New input variabel "TableBufferMaxNoOfObj" for dynamic calculation of Table size (buffer size). - Table array size changed to [0..0]. 2) Functionblock RingBufferTypeIdent34 has been removed and SendTypeIdent34 and TxTypeIdent34 have now the exact same behaviour as type identity 35! 3) Function block ClockNoInterrupt has been updated, chapt ) Picture in Chapter 1.2 updated (Control Field Format). 5) Chapter 3.33 updated (Function Block info number of steps). 6) Corrections of text-translations! New type identification 63 added (see Chapter 3.25)! Chapter 3.34 updated, chapter 4.21 new! New chapter 2.6 ObjectAddr. DLT DLT DLT DLT DLT DLT DLT DLT DLT IEC System FX3U PLC implementation_ver (126)

3 TABLE OF CONTENTS 1 Message format General description of the communication structure Control Field Format I-format S-format U-format Quality Descriptors QualityDescriptor IEC-104 parameters (timeouts) Ring buffer RingBufferTypeIdent30 (Single point) RingBufferTypeIdent31 (Double point) Scantime test AlarmPresentation TypeIDImplemented ObjectAddr Message APCI handling Sequence handling Message Type 1- Single point information without time tag Message Type 3 - Double point information without time tag Message Type 5 - Step position information Message Type 9 - Measured value, normalised value Message Type 11 - Measured value, scaled value Message Type 13 - Measured value, short floating point value Message Type 30 - Single point information with full time tag Message Type 31 - Double point information with full time tag Message Type 32 - Step position information Message Type 34 - Measured value, normalised value (full time tag) Message Type 35 - Measured value, scaled value (full time tag) Message Type 36 - Measured value, short floating point value Message Type 45 - Single command Message Type 45 - Single command (with select verifying) Message Type 46 - Double command Message Type 46 - Double command (with select verifying) Message Type 47 Regulating step command Message Type 48 - Set-point Command, normalised value Message Type 49 - Set-point Command, scaled value...85 DLT IEC System FX3U PLC implementation_ver (126)

4 3.22 Message Type 50 - Set-point Command, short floating point value Message Type 58 - Single command with full time tag Message Type 59 - Double command with full time tag Message Type 63 - Set point command, short floating point value, with full time tag Messagee Type 70 - End of initialisation Message Type Interrogation command Message Type Clock synchronisation command Message Type Reset process command Message Type Test command with full time tag ClockInterruptXms ClockNoInterrupt SummerTime Function Block info number of steps Annexes - Message Building Message Type 1 (Single-point information without time tag) Message Type 3 (Double-point information without time tag) Message Type 5 (step position information without time tag) Message Type 9 (Measured value, normalised value) Message Type 11 (Measured value, scaled value) Message Type 13 (Measured value, short floating point value) Message Type 30 (Single-point information with full time tag) Message Type 31 (Double-point information with full time tag) Message Type 32 (Step position information full time tag) Message Type 34 (Measure value, normalised value full time tag) Message Type 35 (Measure value, scaled value full time tag) Message Type 36 (Measure value, floating point value full time tag) Message Type 45 (Single command) Message Type 46 (Double command) Message Type 47 (Regulating step command) Message Type 48 (Set-point command, normalised value) Message Type 49 (Set-point command, scaled value) Message Type 50 (Set-point command, short floating point value) Message Type 58 (Single command with full time tag) Message Type 59 (Double command with full time tag) Message Type 63 (Set-point command, short floating point value, with full time tag) Message Type 70 (End of initialisation) Message Type 100 (Interrogation command) Message Type 103 (Clock synchronisation command) Message Type 105 (Reset process command) Message Type 107 (Test command) DLT IEC System FX3U PLC implementation_ver (126)

5 1 Message format 1.1 General description of the communication structure Buffer[0] LSB MSB Number of total bytes Buffer[1]..[n] Buffer[1] LSB Start code (always 104) MSB Number of bytes Buffer[2]..[n] Buffer[2] LSB Control Field octet 1 MSB Control Field octet 2 Buffer[3] LSB Control Field octet 3 MSB Control Field octet 4 Buffer[4] LSB Message Type MSB Object number Buffer[5] LSB Cause (Cause of transmission) Buffer[6] Buffer[7] Buffer[8] Buffer[9] MSB LSB MSB LSB MSB LSB MSB LSB MSB Buffer[10] LSB Buffer[n] MSB LSB MSB Originator address ASDU address (PLC) Object address Object data APCI ASDU APDU APCI = Application Protocol Control Information ASDU = Application Service Data Unit APDU = Application Protocol Data Unit DLT IEC System FX3U PLC implementation_ver (126)

6 1.2 Control Field Format The Control field is used to define the control information (sequence handling) to prevent loss or duplication of data. Also used to start and stop the data transmission as well as monitoring of the connection. There are three types of control field formats: I-format (numbered information transfer). S-format (numbered monitoring function) U-format (unnumbered monitoring function) DLT IEC System FX3U PLC implementation_ver (126)

7 1.2.1 I-format Control Field octet 1 bit0 = 0 defines an I-format. It is used to perform numbered information transfer. It contains send-sequence number and receive-sequence number. The transmitter station increases send-sequence number when it sends any data and receiver increases receive-sequence number when it receives any data. The sending station has to hold the send APDUs in the buffer until it receives back the send sequence numbers as the receive sequence number from destination station. Message Type s 1, 3, 30, 31, 45, etc. (as described in this ) are of Type I-format! Note. When receiving an I-format, the PLC checks the "Send Sequence Number", which is obtained from the supervisory system, to be consistent with the number the PLC has received. If this is not true the PLC will try to do a reconnection of the current connection. The supervisory system may then reestablish the link S-format Control Field octet 1 bit0 = 1, bit1 = 0 defines an S-format. S-format contains only a APCI. It is used to perform numbered supervisory functions. In any cases where the data transfer is only in a single direction, S-format APDUs has to be send in other direction before timeout (t2), buffer overflow or when it has crossed maximum number of allowed I-format APDUs without acknowledgement. Example: When the PLC sends a spontaneous alarm to the active supervisory system (ie those who have sent "StartDT") they will, after a set period of time (for instance 10 seconds, adjustable in t2- param, see Chapter 1.4 for more information), send a response in the form of an S-message (with the number of messages received from PLC). When the S-message is received and the "Receive Sequence DLT IEC System FX3U PLC implementation_ver (126)

8 Number" is consistent with the number of message (I-format) that PLC has sent this is an approved response (format). If the PLC does not receive any approved (valid) response within the set time (ex 15 seconds (adjustable in t1-param, see Chapter 1.4 for more info) then the connection will try to "reconnect" and the PLC will try to resend the information when the connection is re-established. If the PLC sends for example 10 messages in a row the result will also be an S-format that is sent from the supervisory system for example after the 8th message (selectable in the W-param, see Chapter 1.4 for more info). DLT IEC System FX3U PLC implementation_ver (126)

9 1.2.3 U-format Control Field octet 1 bit0 = 1, bit1 = 1 defines a U-format. U-format contains a single APCI. It is used to perform unnumbered control functions. This is used for activation and confirmation mechanisms of STARTDT (Start Data Transfer), STOPDT (Stop Data Transfer) & TESTFR (Test APDU). TestFR = Test frame StartDT = Start data transfer StopDT = Stop data transfer act = activation (sent to PLC) con = confirmation (sent from PLC) Test frames are sent (usually every 30 seconds, adjustable in t3-param, see Chapter 1.4 for more info) by the supervisory system. This is done to ensure that communication is OK. If the supervisory system is to exchange data with PLC (ex post command for controlling the switches, the reception of alarms / events, etc it must first send a StartDT, then the data exchange (in the form of alarms / events / management, etc.) will be possible. If the PLC is waiting for receive confirmation (for ex after sending an alarm) and in the meantime, a StopDT is received, the PLC will wait first for the receive confirmation before confirmation of StopDT is made and data exchange is closed. DLT IEC System FX3U PLC implementation_ver (126)

10 1.3 Quality Descriptors The message sent to an external device (eg, Message Type 1, 3, 13, 30, 31 and 34) also contains Quality Descriptors (QD). These bits are described below: QD 0/1 Explanation Kommentar OV 1 = overflow The value of the information object is beyond a predefined range value. BL 1 = blocked The value of the information object is blocked for transmission; the value remains in the state that was acquired before it was blocked. Blocking and deblocking may be initiated e.g. by a local or a local automatic cause. SB 1 = substituted The value of the information object is provided by input of an operator (dispatcher) or by an automatic source. NT 1 = not topical A value is topical if the most recent update was successful. It is not topical if it was not updated successfully during a specified time interval or it is unavailable. IV 1 = invalid A value is valid if it was correctly acquired. After the acquisition function recognises abnormal conditions of the information source (missing or non operation updating devices) the value is then marked invalid. The value of the information object is not defined under this condition. The mark INVALID is used to indicate to the destination that the value may be incorrect and cannot be used. At the change of these bits the PLC sends the message to the external device. The function blocks have the possibility to choose if QD will be used or not. Mainly applicable to analogue value (t ex Message Type 34) DLT IEC System FX3U PLC implementation_ver (126)

11 1.3.1 QualityDescriptor Combines (according to 104 standard) Quality Descriptor signals to a data register. See also chap. 1.3 Quality Descriptors above. Name Type Explanation IV NT SB BL OV BOOL 1=invalid (=>bit7 i QD) BOOL 1=not topical (=>bit6 i QD) BOOL 1=substituted (=>bit5 i QD) BOOL 1=blocked (=>bit4 i QD) BOOL 1=overflow (=>bit0 i QD). Valid only for read ( eg. Message Type 34) QD INT Containing the above information. Note. Function blocks can have the same instance name. DLT IEC System FX3U PLC implementation_ver (126)

12 1.4 IEC-104 parameters (timeouts) There are also a number of default parameters in the PLC program that is set in the POU: "IEC_Initiations". These are: Timeout-tider t0 t1 t2 t3 Connection establishment timeout If no message is received during this time the PLC will close the connection and then reconnect again (Default = 40 sec). APDU timeout When the PLC has sent a message and response has not occurred during this period the PLC will close the connection and then reconnect again (Default = 15 sec). Acknowledgement timeout Time before acknowledge is sent in a form of a S-message, sent after receiving an I-format message that does not require a response (Default = 10 sec). Test connection timeout If no message is sent, Test frames will be sent (TestFR) after this time (Default = 20 sec). Note: The PLC does not send test frames! Parameters k w Max number of messages that can be sent without having received any response (Default = 12). After the max number is reached, stop the transfer until a response is received. Number of received messages before the response (S-format message) is sent (Default = 8). Recommendation: w should not exceed 2/3 of parameter k. DLT IEC System FX3U PLC implementation_ver (126)

13 2 Ring buffer Continuously logs change in the signal status (eg, alarms / events / break status) with full timestamp to a ringbuffer (ie R-register). Quality descriptors are also used when logging these changes. There are two Types of function blocks: RingBufferTypeIdent30 (eg alarm) and RingBufferTypeIdent31 (ON and OFF bits for 2 bit status). This function block is placed in the POU : "IEC_Interrupt_Clock" which is linked to a task with maximum interrupt internal time factor priority (is executed every 10 ms). Each object occupies 6 fileregisters. Storage to fileregisters for Double resp Single Point is explained in the table below: R[1] R[2] Object address (0..n) Signal status (SinglePoint: 0=OFF, 1=ON, DoublePoint: 0=OFF/OFF, 1=OFF/ON, 2=ON/OFF, 3=ON/ON) + Quality Descriptor (IV, NT, SB, BL) R[3] ms ( ) R[4] R[5] hours [MSB], minutes [LSB] months [MSB], days [LSB] R[6] years (eg, value "5" means the year 2005) There is also a function block AlarmPresentation used to store the last XX alarms from the ring buffer to an array of dataregisters (eg for presentation on a terminal). DLT IEC System FX3U PLC implementation_ver (126)

14 2.1 RingBufferTypeIdent30 (Single point) Function block used to log the time (timestamp) as well as the object address and the current status to the ring buffer, at the change of the signal status (single point) or QD (Quality Descriptor). Name Type Explanation InfoClockRet ARRAY [0..4] OF WORD Current time in the PLC (see also "ClockNoInterrupt ") NoOfObjects INT Number of objects (values) to read, starting from "StartAddrM" (affects the scan time of the PLC). StartAddrM INT Start address of the internal relay to be monitored\controlled. Ex M3000. StartAddrM_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. RingBufferStartRAddress INT Start address (fileregister, R-reg) of the the ring buffer in which the information begins to be logged. Ex R1003. RingBufferMaxNoR INT Max number of registers of the ring buffer. (the size of the ringbuffer). Pointer INT Write pointer to the ring buffer (use the same variable for the function block SendTypeIdent30and31). InfoMaxNoOfObj INT The maximum number of objects that are stored in a ringbuffer. (each object uses 6 fileregisters). ErrorMaxNoR BOOL Signal is activated if the set maximum number of fileregisters is incorrect (max number of fileregisters must be a multiple of 6, because each object uses 6 filregisters). DLT IEC System FX3U PLC implementation_ver (126)

15 2.2 RingBufferTypeIdent31 (Double point) Logging for example, breaker status (ON bit and OFF bit of a 2 bit status) with full timestamp. Logging takes place at the change of the internal relays status or when the data register (Quality Descriptor) is changed if it is used. Name Type Explanation InfoClockRet ARRAY [0..4] OF WORD Current time in the PLC (see also "ClockNoInterrupt ") NoOfObjects INT Number of objects (values) to read, starting from "StartAddrM" (affects the scan time of the PLC). StartAddrMOnBit INT The ON bit (of a 2 bit status) of the start address (M) to be monitored\controlled. Ex M3200. StartAddrMOnBit_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrMOffBit INT The OFF bit (of a 2 bit status) of the start address (M) to be monitored\controlled. Ex M3300. StartAddrMOffBit_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. RingBufferStartRAddress INT Start address (fileregister, R-reg) of the the ring buffer in which the information begins to be logged. Ex R3003. RingBufferMaxNoR INT Max number of registers of the ring buffer. (the size of the ringbuffer). Pointer INT Write pointer to the ring buffer (use the same variable for the function block FB_sendIdent30and31). InfoMaxNoOfObj INT The maximum number of objects that are stored in a DLT IEC System FX3U PLC implementation_ver (126)

16 ringbuffer. (each object uses 6 fileregisters). ErrorMaxNoR BOOL Signal is activated if the set maximum number of fileregisters is incorrect (max number of fileregisters must be a multiple of 6, because each object uses 6 filregisters). DLT IEC System FX3U PLC implementation_ver (126)

17 2.3 Scantime test At the logging of alarms, which have an accuracy of 10 ms, below is shown an example of how the number of alarms affects the PLC scan time. The test is performed with a FX3U-CPU. In addition to function blocks RingBufferTypeIdent30 and RingBufferTypeIdent31 we also use the ClockNoInterrupt and we copy the input signals in internal relays which are then used in function blocks. Single point (Type 30) Number of objects Double point (Type 31) Number of objects Current scantime (ms) , , , , ,1 Considerations If the number of alarms is increasead the execution time increases also and the execution time of other programs will be shorter. (this applies only when we use 10msaccuracy and these function blocks is used in an interrupt). DLT IEC System FX3U PLC implementation_ver (126)

18 2.4 AlarmPresentation Stores the last XX alarms from the ringbuffer to an array of registers (eg for presentation on a terminal). Note: Each alarm object occupies 10 data registers! Name Type Explanations NoOfObjects INT The number of the most recent alarms to be read from the ringbuffer. Ex 300. RingBufferPointer INT Use the pointer used for function block RingBufferTypeIdent30. RingBufferStartRAddress INT Start address of the the ring buffer in which the information begins to be logged. Use the same value as for RingBufferTypeIdent30. RingBufferMaxNoR INT Max number of registers of the ring buffer. (the size of the ringbuffer). Use the same value as for RingBufferTypeIdent30. AlarmStartDAddress INT Start address (D-register) of the alarm information. Ex D4000. DLT IEC System FX3U PLC implementation_ver (126)

19 2.5 TypeIDImplemented Enter the Message types that are implemented / used (TRUE = Implemented) in the PLC program. If a message is sent from the supervisory system and is not implemented in the PLC, then this function block will send a response back in the form of COT = 44 (ie, "unknown Type identification ) and a negative confirmation. If this function block is not used then the PLC will only send an acknowledgment in the form of an S-message after the time t2 has expired (see Chap. 1.4 for more info). The information about the error message type which has been sent will not be available. In this example, Message Types 46, 48, 100 and 103 are implemented! DLT IEC System FX3U PLC implementation_ver (126)

20 2.6 ObjectAddr In some SCADA systems the object addresses are defined as 3 Bytes. For those SCADA systems that are not using this way of configurating the addresses this function block will help you converting the object address into those 3 Bytes the PLC are using. Example The address 500 means that Byte1=244, Byte2=1 and Byte3=0, but the function block ObjectAddr will do this calculation for you. DLT IEC System FX3U PLC implementation_ver (126)

21 3 Message 3.1 APCI handling Checks the format-type of the incoming message. Also handles the messages "StartDT" and "TestFR", which the PLC uses to send responses back. Handling the "StopDT " message is made by a different function block, "StopDTConfirmation"and is not addressed in this manual. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Destination buffer to the PLC. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send Buffer from the PLC. SFormatSend BOOL Enable the transmission of S-format message containing the sequence number "S_format_Sequence". SFormatSequence INT Sequence number to be sent in a S-format message. FormatType INT Format-Type of the incoming message. 1 = I-format, 2 = S-format, 3 = U-format SFormatRx BOOL Pulse signal that is activated if the S- format is received. S-format consists only of an APCI. SFormatTx BOOL Pulse signal that is activated if the S- format is sent by the PLC. S-format consists only of an APCI. IFormat BOOL Pulse signal that is activated if the I- format is received. The format always contains an ASDU. UFormatStartDT BOOL Pulse signal that is activated if the U- format is received and it contains a STARTDT message (ie start data transfer). DLT IEC System FX3U PLC implementation_ver (126)

22 UFormatTestFR BOOL Pulse signal that is activated if the U- format is received and it contains a TESTFR message (ie test frame). DLT IEC System FX3U PLC implementation_ver (126)

23 3.2 Sequence handling Handling of sequence numbers for message (only for I-format). This is used to prevent data loss and duplication of data. When the PLC receives a message, it increases "SequenceVReceive" (at 32,767 received messages it starts to count again from 0). When the PLC sends a message, it increases " SequenceVSend" (at 32,767 received messages it starts to count again from 0). Each time a message is sent from the PLC (only I-format) this register are copied to the control field register of the send buffer (see also chap 1.2). Name Type Explanation ConnNumber INT Specifies the connection number (ethernet), for which the processing is done. ConnOpen BOOL Signal indicating that the connection is open. ConnActive BOOL Signal indicating that the connection is active and data may be transmitted ("StartDT" has been activated). StartDTReceived BOOL This signal (StartDT) resets the register sequence. IFormatReceived BOOL Signal indicating that an I-format message has been received. SFormatReceived BOOL Signal indicating that a S-format message has been received. LatestConnReceived INT Indicates the connection number from which the last message has been received. WaitSend BOOL This signal interlocks sending of sequence data(registers) to the send buffer. RxBuffer ARRAY [0..127] OF INT Destination buffer to the PLC. TxBlock BOOL 1=Blocking the sequence of handling the sending of message. TxStatus INT Send Status Register (number of bytes to be sent). DLT IEC System FX3U PLC implementation_ver (126)

24 TxBuffer ARRAY [0..127] OF INT Send Buffer from the PLC. SequenceVSend INT Sequence index that increases with each time a message (I format) is sent (starting from zero for the value 32767) SequenceVReceive INT Sequence index that increases with each time a message (I-format) are received (starting at zero for the value 32767) AckOk Pulse signal activated if the Send sequence is OK (the number received by the supervisory system corresponds with the number that the PLC has sent.). See also chapter for more info. SequenceError BOOL Pulse signal activated if the receive sequence has an error (the number received by the supervisory system does not correspond with the number that the PLC has sent.). See also chapter for more info. TxBufferSendSequence INT Same content as the sequence register (send), above, but data is shifted one bit to the left (see Chap I- format) TxBufferReceiveSequence INT Same content as the sequence register (receive), above, but data is shifted one bit to the left (see Chap I- format) DLT IEC System FX3U PLC implementation_ver (126)

25 3.3 Message Type 1- Single point information without time tag Detects and sends the status change of internal internal relays to the supervisory system. For example, breaker status (open, not open). Without timestamp. The function block block SendTypeIdent1and3 is used to logg, at the status change of objects, single-point or double-point information without timestamp into the ring buffer (Table). Max objects can be stored in the ring buffer. Name Type Explanation TypeIdent INT Message Type, 1 or 3 (single point or double point) ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal internal relay (bit) (StartAddrMOffBit). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit) (StartAddrMOffBit). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal internal relay (bit) (StartAddrMOffBit). NoOfObjects INT Number of internal relays in the PLC to be controlled. StartAddrMOnBit INT Not used for Message Type 1. StartAddrMOnBit_copy INT Not used for Message Type 1. StartAddrMOffBit INT Start address of the internal relay to be monitored\controlled (eg M1000). StartAddrMOffBit_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. DLT IEC System FX3U PLC implementation_ver (126)

26 EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. NumberPerScan INT Number of internal relays (bits) that are checked each scan (decrease when the CPU load is high). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 2 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent1and3 to TxTypeIdent1and3. Number of registers to allocate = 2 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer for the ring buffer (Use the same variable for function blocks SendTypeIdent1and3 and TxTypeIdent1and3). TableReadIndex INT Read pointer for the ring buffer (Use the same variable for function blocks SendTypeIdent1and3 and TxTypeIdent1and3). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent1and3 and TxTypeIdent1and3). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

27 TxTypeIdent1and3 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = OK to send message TypeIdent WORD Message Type, 1 or 3 (single point or double point) ASDUAddrByte2 INT PLC address (octet 2). ASDUAddrByte1 INT PLC address (octet 1). GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit) (StartAddrMOffBit). GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit) (StartAddrMOffBit). GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit) (StartAddrMOffBit). GI_NoOfObjects INT Number of internal relays (bits) in the PLC to be controlled. GI_StartAddrMOnBit INT Not used for Message Type 1. GI_StartAddrMOffBit INT Start address of the internal relay to be monitored\controlled (eg M1000). GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1= blocking General Interrogation (GI). DLT IEC System FX3U PLC implementation_ver (126)

28 TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 2 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 59) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the function block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent1and3 to TxTypeIdent1and3. Number of registers to allocate = 2 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent1and3and TxTypeIdent1and3). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent1and3and TxTypeIdent1and3). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent1and3and TxTypeIdent1and3). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

29 3.4 Message Type 3 - Double point information without time tag Detects and sends status changes of internal relays to the supervisory system in double point information. For example, Breaker status (Open, Close). Without timestamp. The function block SendTypeIdent1and3 is looking for status changes in internal relays. Each time a change is detected it is registered into the ring buffer (Table). Max objects can be stored in the ring buffer. Name Type Explanation TypeIdent INT Message Type, 1 or 3 (single point or double point) ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit) (StartAddrMOnBit/o). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit) (StartAddrMOnBit/o). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit) (StartAddrMOnBit/o). NoOfObjects INT Number of internal relays (objects) in the PLC to be controlled. StartAddrMOnBit INT The ON bit (of a 2 bit status) of the start address (M) to be monitored\controlled. Ex M1100. StartAddrMOnBit_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrMOffBit INT The OFF bit (of a 2 bit status) of the start address (M) to be monitored\controlled. Ex M1200. StartAddrMOffBit_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is DLT IEC System FX3U PLC implementation_ver (126)

30 used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. NumberPerScan INT Number of internal relays (bits) that are checked each scan (decrease when the CPU load is high). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 2 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent1and3 to TxTypeIdent1and3. Number of registers to allocate = 2 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer for the ring buffer (Use the same variable for function blocks SendTypeIdent1and3and TxTypeIdent1and3). TableReadIndex INT Read pointer for the ring buffer (Use the same variable for function blocks SendTypeIdent1and3and TxTypeIdent1and3). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent1and3and TxTypeIdent1and3). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

31 TxTypeIdent1and3 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message TypeIdent WORD Message Type, 1 or 3 (single point or double point) ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first data register (StartAddrMOnBit/o) GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first data register (StartAddrMOnBit/o) GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first data register (StartAddrMOnBit/o). GI_NoOfObjects INT Number of objects in the PLC to be read at General Interrogation. GI_StartAddrMOnBit INT The ON bit (of a 2 bit status) of the start address (M) to be monitored\controlled at General Interrogation. Ex M1100. GI_StartAddrMOffBit INT The OFF bit (of a 2 bit status) of the start address (M) to be monitored\controlled at General Interrogation. Ex M1200. GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, DLT IEC System FX3U PLC implementation_ver (126)

32 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking of General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 2 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 59) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the funtion block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent1and3 to TxTypeIdent1and3. Number of registers to allocate = 2 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer for the ring buffer (Use the same variable for function blocks SendTypeIdent1and3and TxTypeIdent1and3). TableReadIndex INT Read pointer for the ring buffer (Use the same variable for function blocks SendTypeIdent1and3and TxTypeIdent1and3). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable fo function blocks SendTypeIdent1and3and TxTypeIdent1and3). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register States (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

33 3.5 Message Type 5 - Step position information Send step position info (-64 to 63) to the supervisory system when they are changed or if the QD (Quality Descriptors) are changed. Whitout timestamp. The function block SendTypeIdent5 is looking for changes in data registers. Each time a change is detected it is registered into the ring buffer (Table). Max objects can be stored in the ring buffer. Name Type Explanation ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit) (StartAddrD). NoOfObjects INT Number of objects (D-registers) in the PLC to be controlled. StartAddrD INT Start address of the data register which contains the measured value (16-bit). Value must be between -64 to 63! StartAddrD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. NumberPerScan INT Number of objects to be checked every scan (reduce if the CPU load is high). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 2,5 registers. DLT IEC System FX3U PLC implementation_ver (126)

34 Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent5 to TxTypeIdent5. Number of registers to allocate = 2,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent5and TxTypeIdent5). TableReadIndex INT Read pointer for the ring buffer (Use the same variable for function blocks SendTypeIdent5and TxTypeIdent5). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent5and TxTypeIdent5). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

35 TxTypeIdent5 sends the values from the ringbuffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first data register (StartAddrD). GI_NoOfObjects INT Number of objects in the PLC to be read at General Interrogation. GI_StartAddrD INT Start address of the data register, at General Interrogation, which contains the value (16-bit). Value must be between -64 to 63! Ex D1300. GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking of General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 2,5 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max DLT IEC System FX3U PLC implementation_ver (126)

36 47) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent5 to TxTypeIdent5. Number of registers to allocate = 2,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent5 and TxTypeIdent5). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent5 to TxTypeIdent5). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent5 and TxTypeIdent5). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

37 3.6 Message Type 9 - Measured value, normalised value Sends measured values to the supervisory system at the change of the internal relays (bits) (rising edge of the signal only) or if QD (Quality Descriptors) are changed. No time-stamping occurs. Function block SendTypeIdent9 is looking for changes in the internal relays / data registers. Each time a change is detected it is registered into the ring buffer (Table). Max objects can be stored in the ring buffer. Name Typ e Explanation ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit) (StartAddrD). NoOfObjects INT Number of objects (internal relays (bits)) in the PLC to be controlled. StartAddrM INT Start address of the internal relay to be monitored\controlled. (Ex M1400). StartAddrM_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD INT Start address of the data register which contains the value (16- bit). Ex D1400. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. DLT IEC System FX3U PLC implementation_ver (126)

38 NumberPerScan INT Number of internal relays (bits) that are checked each scan (reduce if the CPU load is high). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 3 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent9 to TxTypeIdent9. Number of registers to allocate = 3 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent9 and TxTypeIdent9). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent9 and TxTypeIdent9). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent9 and TxTypeIdent9). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

39 TxTypeIdent9 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first data register (StartAddrD). GI_NoOfObjects INT Number of objects in the PLC to be read at General Interrogation. GI_StartAddrD INT Start address of the data register which contains the value (16-bit), at General Interrogation. Value must be between -64 to 63! Ex D1400 GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking of General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 3 registers. DLT IEC System FX3U PLC implementation_ver (126)

40 MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 39) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent9 to TxTypeIdent9. Number of registers to allocate = 3 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent9 and TxTypeIdent9). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent9 to TxTypeIdent9). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent9 and TxTypeIdent9). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register States (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

41 3.7 Message Type 11 - Measured value, scaled value Sends measured values ( till 32767) to the supervisory system at the change of the internal relays (bits) (rising edge of the signal only) or if QD (Quality Descriptors) are changed. Whitout timestamp. Function block SendTypeIdent11 is looking for status changes in the internal relays / data registers. Each time a change is detected it is registered into the ring buffer (Table). Max objects can be stored in the ring buffer. Name Type Explanation ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit) (StartAddrD). NoOfObjects INT Number of objects (internal relays (bits)) in the PLC to be controlled. StartAddrM INT Start address of the internal relay to be monitored\controlled. (Ex M1500). StartAddrM_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD INT Start address of the data register which contains the value(16-bit). Ex D1500. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. DLT IEC System FX3U PLC implementation_ver (126)

42 NumberPerScan INT Number of internal relays (bits) that are checked each scan (reduce if the CPU load is high). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 3 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent11 to TxTypeIdent11. Number of registers to allocate = 3 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent11 and TxTypeIdent11). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent11 and TxTypeIdent11). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent11 and TxTypeIdent11). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

43 TxTypeIdent11 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first data register (StartAddrD). GI_NoOfObjects INT Number of objects in the PLC to be read at General Interrogation. GI_StartAddrD INT Start address of the data register which contains the value(16-bit), at General Interrogation. GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking of General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 3 registers. DLT IEC System FX3U PLC implementation_ver (126)

44 MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 39) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent11 to TxTypeIdent11. Number of registers to allocate = 3 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent11 and TxTypeIdent11). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent11 and TxTypeIdent11). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent11 and TxTypeIdent11). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

45 3.8 Message Type 13 - Measured value, short floating point value Send floating-point value to the supervisory system at the change of the internal relays (rising edge of the signal) or if QD (Quality Descriptors) are changed. No time-stamping occurs. Function block SendTypeIdent13 is looking for changes in the internal relays / data registers. Each time a change is detected it is registered into the ring buffer (Table). Max 8191 objects can be stored in the ring buffer. Name Type Explanation ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit) (StartAddrD). NoOfObjects INT Number of objects (internal relays (bits)) in the PLC to be controlled. StartAddrM INT Start address of the internal relay to be monitored\controlled. (Ex M1600). StartAddrM_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes StartAddrD INT Start address of the data register which contains the floating point value. Obs: floating point value occupies 2 dataregister (32-bits). StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. DLT IEC System FX3U PLC implementation_ver (126)

46 NumberPerScan INT Number of internal relays (bits) that are checked each scan (reduce if the CPU load is high). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 4 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent13 to TxTypeIdent13. Number of registers to allocate = 4 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent13 and TxTypeIdent13). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent13 to TxTypeIdent13). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent13 and TxTypeIdent13). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

47 TxTypeIdent13 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first data register (StartAddrD). GI_NoOfObjects INT Number of objects in the PLC to be read at General Interrogation. GI_StartAddrD INT Start address of the data register which contains the floating point value, at the General Interrogation. Obs: floating point value occupies 2 dataregister (32-bits). GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking of General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 4 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max DLT IEC System FX3U PLC implementation_ver (126)

48 29) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent13 to TxTypeIdent13. Number of registers to allocate = 4 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TblWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent13 and TxTypeIdent13). TblReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent13 and TxTypeIdent13). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent13 and TxTypeIdent13). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

49 3.9 Message Type 30 - Single point information with full time tag Send the status changes of the internal relays to the supervisory system. For ex alarm (On, Off). The information in full timestamp retrieved from the ring buffer from the function block RingBufferTypeIdent30. This ring buffer is named Single_Ringbuffer in the text below to facilitate understanding. Each time a change is detected in Single_Ringbuffer or SendTypeIdent30and31 it is registered into the ring buffer (Table) (with some modification in accordance with 104 standard before the information is then passed through the function block TxTypeIdent30and31). Max 5957 objects can be stored in the ring buffer. Name Type Explanation Block BOOL Blocks the execution of the function block. TypeIdent INT Type of message, 30 or 31 (single point or double point). ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit). NumberPerScan INT Number of objects to be checked every scan when new objects have been added to Single_Ringbuffer, ie new changes (reduce when the CPU load is high). Timeout_t1 INT T1 timeout period for receive from the supervisory system (see also Chapter 1.4 for more info). DLT IEC System FX3U PLC implementation_ver (126)

50 Acknowledge BOOL 1 = receive from the supervisory system. If receive is not obtained within timeout period t1, the PLC will try to resend the information previously submitted. ConnectionOK BOOL 1 = OK to send the message (ie the connection is established). RingBufferStartRAddress INT Start address of the the ring buffer in which the information begins to be logged. Use the same variable as for Single_Ringbuffer. RingBufferMaxNoR INT Max number of registers of the ring buffer. (the size of the ringbuffer). (ie the size of Single_Ringbuffer). Use the same as for Single_Ringbuffer. TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 5,5 registers. Pointer INT Use the pointer used for function block Single_Ringbuffer. PointerRead INT Internal pointer to keep track of the last read alert Single_Ringbuffer in this function block. PointerReadBackup INT Backup of PointerRead. If message, that was sent, do not get any acknowledge from controlling system then the PLC-system will step back to the pointer value in this register. Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent30and31 to TxTypeIdent30and31. Number of registers to allocate = 5,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent30and31and TxTypeIdent30and31). TableReadIndex INT Read pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent30and31 and TxTypeIdent30and31). TableNoOfObjects INT Number of objects in the ring buffer (Use the same variable for function blocks SendTypeIdent30and31 and TxTypeIdent30and31). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

51 TxTypeIdent30and31 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message TypeIdent WORD Message Type, 30 or 31 (single point or double point) ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first data register (StartAddrMOffBit) GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first data register (StartAddrMOffBit) GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first data register (StartAddrMOffBit). GI_NoOfObjects INT Number of objects in the PLC to be read at General Interrogation. GI_StartAddrMOnBit INT Not used for Message Type 30. GI_StartAddrMOffBit INT Start address of the internal relay to be monitored\controlled (eg M3000) at General Interrogation. GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking of General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for DLT IEC System FX3U PLC implementation_ver (126)

52 instance). 1 object = 5,5 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 21) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the function block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent30and31 to TxTypeIdent30and31. Number of registers to allocate = 5,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent30and31and TxTypeIdent30and31). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent30and31and TxTypeIdent30and31). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent30and31and TxTypeIdent30and31). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

53 3.10 Message Type 31 - Double point information with full time tag Send the status changes of the internal relays to the supervisory system. For ex alarm (indeterminate or intermediate state, determined state OFF, determined state ON, indeterminate state). The information in full timestamp retrieved from the ring buffer from the function block RingBufferTypeIdent31. This ring buffer is named Double_Ringbuffer in the text below to facilitate understanding. Each time a change is detected in Double_Ringbuffer or SendTypeIdent30and31 it is registered into the ring buffer (Table) (with some modification in accordance with 104 standard before the information is then passed through the function block TxTypeIdent30and31). Max 5957 objects can be stored in the ring buffer. Name Type Explanation Block BOOL Blocks the execution of the function block. TypeIdent INT Type of message, 30 or 31 (single point or double point). ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit). NumberPerScan INT Number of objects to be checked every scan when new objects have been added to Double_Ringbuffer, ie new changes (reduce when the CPU load is high). Timeout_t1 INT T1 timeout period for receive from the supervisory system DLT IEC System FX3U PLC implementation_ver (126)

54 (see also Chapter 1.4 for more info). Acknowledge BOOL 1 = receive from the supervisory system. If receive is not obtained within timeout period t1, the PLC will try to resend the information previously submitted. ConnectionOK BOOL 1 = OK to send the message (ie the connection is established). RingBufferStartRAddress INT Start address of the the ring buffer in which the information begins to be logged. Use the same variable as for FB_RingBuffer_DoublePoint. RingBufferMaxNoR INT Max number of registers of the ring buffer. (the size of the ringbuffer). (ie the size of Double_Ringbuffer). Use the same as for FB_RingBuffer_DoublePoint. TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 5,5 registers. Pointer INT Use the pointer used for function block FB_RingBuffer_DoublePoint. PointerRead INT Internal pointers to keep track of the last read objects from Double_Ringbuffer in this function block. PointerReadBackup INT Backup of PointerRead. If message, that was sent, do not get any acknowledge from controlling system then the PLC-system will step back to the pointer value in this register. Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent30and31 to TxTypeIdent30and31. Number of registers to allocate = 5,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent30and31and TxTypeIdent30and31). TableReadIndex INT Read pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent30and31and TxTypeIdent30and31). TableNoOfObjects INT Number of objects in the ring buffer (Use the same variable for function blocks SendTypeIdent30and31and TxTypeIdent30and31). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

55 TxTypeIdent30and31 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message TypeIdent WORD Message Type, 30 or 31 (single point or double point) ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first data register (StartAddrMOnBit\o) GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first data register (StartAddrMOnBit\o) GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first data register (StartAddrMOnBit\o). GI_NoOfObjects INT Number of objects in the PLC to be read at General Interrogation. GI_StartAddrMOnBit INT The ON bit (of a 2 bit status) of the start address (M) to be monitored\controlled during General Interrogation. Ex M3200. GI_StartAddrMOffBit INT The OFF bit (of a 2 bit status) of the start address (M) to be monitored\controlled during General Interrogation. Ex M3300. GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking of General Interrogation (GI). DLT IEC System FX3U PLC implementation_ver (126)

56 TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 5,5 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 21) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the function block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent30and31 to TxTypeIdent30and31. Number of registers to allocate = 5,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent30and31and TxTypeIdent30and31). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent30and31and TxTypeIdent30and31). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent30and31and TxTypeIdent30and31). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

57 3.11 Message Type 32 - Step position information Send step position info (-64 to 63) to supervisory system when they are changed or if the QD (Quality Descriptors) is changed. With full timestamp. Function Block SendTypeIdent32 is looking for changes in data registers. Each time a change is detected it is registerd into the ring buffer (Table). Max 5461 objects can be stored in the ring buffer. Name Typ e Explanation ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay (bit) (StartAddrD). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay (bit) (StartAddrD). NoOfObjects INT Number of objects (D-registers) in the PLC to be controlled. StartAddrD INT Start address of the data register which contains the value. Value must be between -64 to 63! (7-bit). StartAddrD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. NumberPerScan INT Number of objects to be checked every scan (reduce if the CPU load is high). InfoClock ARRAY [0..4] OF Current time in the PLC (see also "ClockInterruptXms") DLT IEC System FX3U PLC implementation_ver (126)

58 WORD TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 6 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent32 to TxTypeIdent32. Number of registers to allocate = 6 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent32 and TxTypeIdent32). TableReadIndex INT Read pointer for the ring buffer (Use the same variable for function blocks SendTypeIdent32 and TxTypeIdent32). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent32 and TxTypeIdent32). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

59 TxTypeIdent32 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first data register (StartAddrD). GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first data register (StartAddrD). GI_NoOfObjects INT Number of objects in the PLC to be read at General Interrogation. GI_StartAddrD INT Start address of the data register which contains the value (16-bit), at General Interrogation. Value must be between -64 to 63! Ex D1700. GI_StartAddrD_QD INT Start address of Quality Descriptors at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking of General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 6 registers. DLT IEC System FX3U PLC implementation_ver (126)

60 MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 19) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the block. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent32 to TxTypeIdent32. Number of registers to allocate = 6 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent32 and TxTypeIdent32). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent32 and TxTypeIdent32). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent32 and TxTypeIdent32). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

61 3.12 Message Type 34 - Measured value, normalised value (full time tag) Sends measured values ( till 32767) to the supervisory system at the change of the internal relays (bits) (rising edge of the signal only) or if QD (Quality Descriptors) are changed. With full timestamp. Function block SendTypeIdent34 is looking for changes in the internal relays / data registers. Each time a change is detected it is registered into the ring buffer (Table). Max 5041 objects can be stored in the ring buffer. Name Typ e Explanation ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrD). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrD). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrD). NoOfObjects INT Number of internal relays (bits) in the PLC to be controlled. StartAddrM INT Start address of the internal relay to be monitored\controlled. (Ex M1800). StartAddrM_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD INT Start address of the data register which contains the value (16-bit). Ex D1800. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. DLT IEC System FX3U PLC implementation_ver (126)

62 NumberPerScan INT Number of internal relays that are checked each scan (reduce if the CPU load is high) InfoClock InfoClockRet ARRAY [0..4] OF WORD ARRAY [0..4] OF WORD Current time in the PLC (see also "ClockInterruptXms") Current time in the PLC (see also "ClockInterruptXms") TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 6,5 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent34 to TxTypeIdent34. Number of registers to allocate = 6,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent34 and TxTypeIdent34). TableReadIndex INT Read pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent34 and TxTypeIdent34). TableNoOfObjects INT Number of objects in the ring buffer (Use the same variable for function blocks SendTypeIdent34 och TxTypeIdent34). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

63 TxTypeIdent34 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrD) GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrD) GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrD) GI_NoOfObjects INT Number of objects in the PLC to be read at the General Interrogation. GI_StartAddrD INT First object's dataregister containing the measured value (16-bit). GI_StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 6,5 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 18) in spontaneous communication. DLT IEC System FX3U PLC implementation_ver (126)

64 BlockTx BOOL 1 = Blocks spontaneous sending of messages from the function block RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent34 to TxTypeIdent34. Number of registers to allocate = 6,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent34 and TxTypeIdent34). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent34 and TxTypeIdent34). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent34 and TxTypeIdent34). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

65 3.13 Message Type 35 - Measured value, scaled value (full time tag) Sends measud values ( till 32767) to the supervisory system at the change of the internal relays (bits) (rising edge of the signal only) or if QD (Quality Descriptors) are changed. With full timestamp. Function block SendTypeIdent35 is looking for changes in the internal relays / data registers. Each time a change is detected it is registered into the ring buffer (Table). Max 5041 objects can be stored in the ring buffer. Name Typ e Explanation ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrD). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrD). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrD). NoOfObjects INT Number of internal relays (bits) in the PLC to be controlled. StartAddrM INT Start address of the internal relay to be monitored\controlled. (Ex M1800). StartAddrM_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD INT Start address of the data register which contains the value(16-bit). Ex D1800. StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. DLT IEC System FX3U PLC implementation_ver (126)

66 NumberPerScan INT Number of internal relays that are checked each scan (reduce if the CPU load is high) InfoClock InfoClockRet ARRAY [0..4] OF WORD ARRAY [0..4] OF WORD Current time in the PLC (see also "ClockInterruptXms") Current time in the PLC (see also "ClockInterruptXms") TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 6,5 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent35 to TxTypeIdent35. Number of registers to allocate = 6,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent35 and TxTypeIdent35). TableReadIndex INT Read pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent35 and TxTypeIdent35). TableNoOfObjects INT Number of objects in the ring buffer (Use the same variable for function blocks SendTypeIdent35 och TxTypeIdent35). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

67 TxTypeIdent35 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrD) GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrD) GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrD) GI_NoOfObjects INT Number of objects in the PLC to be read at the General Interrogation. GI_StartAddrD INT First object's dataregister containing the measured value (16-bit). GI_StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). 1 object = 6,5 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 18) in spontaneous communication. DLT IEC System FX3U PLC implementation_ver (126)

68 BlockTx BOOL 1 = Blocks spontaneous sending of messages from the function block RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent35 to TxTypeIdent35. Number of registers to allocate = 6,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent35 and TxTypeIdent35). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent35 and TxTypeIdent35). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent35 and TxTypeIdent35). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

69 3.14 Message Type 36 - Measured value, short floating point value Send floating-point value to the supervisory system at the status change of the internal relays(only on the rising edge of the signal) or if QD (Quality Descriptors) are changed. With full timestamp. Function block SendTypeIdent36 is looking for changes in the internal relays / data registers. Each time a change is detected it is registered into the ring buffer (Table). Max 4368 objects can be stored in the ring buffer. Name Typ e Explanation ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrMOffBit). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrMOffBit). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrMOffBit). NoOfObjects INT Number of internal relays (bits) in the PLC to be controlled. StartAddrM INT Start address of the internal relay to be monitored\controlled. (Ex M1900). StartAddrM_copy INT Start address of the copy of the internal relay. This copy is used for the detection of signal changes. StartAddrD INT Start address of the data register which contains the floating point value. Note: each floating-value occupies 2 data registers(32-bit value). StartAddrD_QD INT Start address of Quality Descriptors. One dataregister/object. DLT IEC System FX3U PLC implementation_ver (126)

70 StartAddrD_QD_copy INT Start address of the copy of the internal dataregister. This copy is used for the detection of value changes. EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. NumberPerScan INT Number of internal relays that are checked each scan (reduce if the CPU load is high) InfoClock InfoClockRet ARRAY [0..4] OF WORD ARRAY [0..4] OF WORD Current time in the PLC (see also "ClockInterruptXms") Current time in the PLC (see also "ClockInterruptXms") TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). Table ARRAY [0..0] OF WORD 1 object = 7,5 registers. Temporary ring buffer (buffer table) for the value of SendTypeIdent36 to TxTypeIdent36. Number of registers to allocate = 7,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent36 and TxTypeIdent36). TableReadIndex INT Read pointer to the ring buffer (Use the same variable for function blocks SendTypeIdent36 and TxTypeIdent36). TableNoOfObjects INT Number of objects in the ring buffer (Use the same variable for function blocks SendTypeIdent36 and TxTypeIdent36). Maximum of objects to buffer in table is DLT IEC System FX3U PLC implementation_ver (126)

71 TxTypeIdent36 sends the values contained in the ring buffer (Table) when it is ready to send. Name Type Explanation ConnectionOK BOOL 1 = connection ready to send message ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 GI_ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrD) GI_ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrD) GI_ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrD) GI_NoOfObjects INT Number of objects in the PLC to be read at the General Interrogation. GI_StartAddrD INT Start address of the data register which contains the floating point value, at the General Interrogation. Obs: each floating point value object occupies 2 dataregister (32-bit value). GI_StartAddrD_QD INT Start address of Quality Descriptors, at General Interrogation. One dataregister/object. GI_EnableQD BOOL 0 = Quality Descriptors not used, 1 = Quality Descriptors used. GI_Block BOOL 1 = blocking General Interrogation (GI). TableBufferMaxNoOfObj INT Max number of objects to buffer in "Table" (if no communication for instance). DLT IEC System FX3U PLC implementation_ver (126)

72 1 object = 7,5 registers. MaxNoOfObjects INT Maximum number of allowable objects in a message to be sent (max 15) in spontaneous communication. BlockTx BOOL 1 = Blocks spontaneous sending of messages from the function block RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). Table ARRAY [0..0] OF WORD Temporary ring buffer (buffer table) for the value of SendTypeIdent36 to TxTypeIdent36. Number of registers to allocate = 7,5 * TableBufferMaxNoOfObj. Note! The allocation is done in the GVL, no need to change the Table array size though! TableWriteIndex INT Write pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent36 and TxTypeIdent36). TableReadIndex INT Read pointer to the ring buffer (use the same variables for the function blocks SendTypeIdent36 and TxTypeIdent36). TableNoOfObjects INT Number of object in the ring buffer (Use the same variable for function blocks SendTypeIdent36 and TxTypeIdent36). TxBuffer ARRAY [0..127] OF INT Maximum of objects to buffer in table is Send Buffer from the PLC. GI_Start BOOL Start an General Interrogation (ie polling), sends the current status of data register (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

73 3.15 Message Type 45 - Single command. Receiving a command from supervisory system to either set or reset a internal relay. First (if necessary) the supervisory (controlling) system sends a select-command with the object address to be changed, then it sends an execute command which set/reset the internal relay. The object address in the select and execute commands is checked to be identical. Execute must come after max XX seconds (timeout) after the select to be valid. The PLC also check so the ASDU-address is correct and that the object number does not exceeds the setting of MaxNoOfObjects. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer in the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay(bit) (StartAddrM) ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay(bit) (StartAddrM) ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay(bit) (StartAddrM) MaxNoOfObjects INT Max number of objects (starting from StartAddrM) StartAddrM INT Start address of the internal relay to be monitored\controlled. For example, M2000. Block BOOL Blocks the activation of internal relays (the execution of the FB). EnableMultipleFB BOOL 0 = When the function block "RxTypeIdent45" only is used once in the program. 1 = Enables the use of function block " RxTypeIdent45" more than once in the program (ie "wrong address objects" will not occur in that case). TimeOut INT Value of the time-out timer. Ex 4,0 sec. DLT IEC System FX3U PLC implementation_ver (126)

74 RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. Selected BOOL Signal which is activated when an object is selected. Reset after execution or when timeout. DLT IEC System FX3U PLC implementation_ver (126)

75 3.16 Message Type 45 - Single command (with select verifying). Receiving a command from supervisory system to either set or reset an object. First (if necessary) the supervisory (controlling) system sends a select-command with the object address to be changed, then it sends an execute command which set/reset the internal relay. At a select-command the "SelectOut" is ON for one pulse for the object. PLC then waits for the "SelectIn" to be ON for the selected object and then sends a confirmation that the selection is correct. If this signal is not activated within the timeout period (eg 4.0 sec) then the PLC sends a negative confirmation (P / N = 1, see chap. 4.13). The object address in the select and execute commands is checked to be identical. Execute must come last XX seconds (timeout) after the select to be valid. The PLC also check so the ASDU-address is correct and that the object number does not exceeds the setting of MaxNoOfObjects. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer in the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay(bit) (StartAddrM). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay(bit) (StartAddrM). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay(bit) (StartAddrM). MaxNoOfObj INT Max number of objects (starting from StartAddrM) DLT IEC System FX3U PLC implementation_ver (126)

76 StartAddrMSelectIn INT Signal to the first object indicating that the object is selected. Ex M2000. StartAddrMSelectOut INT Signal to the first object, indicating that the object must be selected. Ex M2200. This signal is only ON for one scan. StartAddrM INT Start address of the internal relay to be monitored\controlled. For example, M2300. Block BOOL Blocks the activation of internal relays. EnableMultipleFB BOOL 0 = When the function block "RxTypeIdent45Select" only is used once in the program. 1 = Enables the use of function block " RxTypeIdent45Select" more than once in the program (ie "wrong address objects" will not occur in that case). TimeOut INT Value of the time-out timer. Ex 4,0 sec. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. Selected BOOL Signal which is activated when an object is selected. Reset after execution or when timeout. DLT IEC System FX3U PLC implementation_ver (126)

77 3.17 Message Type 46 - Double command. Receiving a command from supervisory system to either set or reset a internal relay. The object has an ON and OFF bit for 2 bit status, for example circuit breakers. First (if necessary) the supervisory (controlling) system sends a select-command with the object address to be changed, then it sends an execute command which set/reset the internal relay. The object address in the select and execute commands is checked to be identical. Execute must come after max XX seconds (timeout) after the select to be valid. The PLC also check so the ASDU-address is correct and that the object number does not exceeds the setting of MaxNoOfObjects. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer in the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay(bit) (StartAddrMxxx) ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay(bit) (StartAddrMxxx) ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay(bit) (StartAddrMxxx) MaxNoOfObj INT Max number of objects (starting from StartAddrMxxx) StartAddrMOffBit INT The OFF bit (of a 2 bit status) of the start address (M) to be monitored\controlled (all the signals must be consecutively). Ex M2400. StartAddrMOffBitn INT The ON bit (of a 2 bit status) of the start address (M) to be monitored\controlled (all the signals must be consecutively). Ex M2420. Block BOOL Blocks the activation of internal relays. DLT IEC System FX3U PLC implementation_ver (126)

78 EnableMultipleFB BOOL 0 = When the function block "RxTypeIdent46" only is used once in the program. 1 = Enables the use of function block " RxTypeIdent46" more than once in the program (ie "wrong address objects" will not occur in that case). TimeOut INT Value of the time-out timer. Ex 4,0 sec. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. Selected BOOL Signal which is activated when an object is selected. Reset after execution or when timeout. DLT IEC System FX3U PLC implementation_ver (126)

79 3.18 Message Type 46 - Double command (with select verifying). Receiving a command from supervisory system to either set or reset an object. The object has an ON and OFF bit for 2 bit status, for example circuit breakers. First (if necessary) the supervisory (controlling) system sends a select-command with the object address to be changed, then it sends an execute command which set/reset the internal relay. At a select-command the "SelectOut" is ON for one pulse for the object. PLC then waits for the "SelectIn" to be ON for the selected object and then sends a confirmation that the selection is correct. If this signal is not activated within the timeout period (eg 4.0 sec) then the PLC sends a negative confirmation (P / N = 1, see chap. 4.14). The object address in the select and execute commands is checked to be identical. Execute must come last XX seconds (timeout) after the select to be valid. The PLC also check so the ASDU-address is correct and that the object number does not exceeds the setting of MaxNoOfObjects. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer in the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay(bit) (StartAddrMxxx) ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay(bit) (StartAddrMxxx) ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay(bit) (StartAddrMxxx) DLT IEC System FX3U PLC implementation_ver (126)

80 MaxNoOfObj INT Max number of objects (starting from StartAddrMxxx) StartAddrMSelectIn INT Signal to the first object indicating that the object was selected. Ex M2500. StartAddrMSelectOut INT Signal to the first object, indicating that the object must be selected. Ex M2520. This signal is only updated at the end of scan. StartAddrMOffBit INT The OFF bit (of a 2 bit status) of the start address (M) to be monitored\controlled (all the signals must be consecutively). Ex M2540. StartAddrMOffBit INT The ON bit (of a 2 bit status) of the start address (M) to be monitored\controlled (all the signals must be consecutively). Ex M2560. Block BOOL Blocks the activation of internal relays. EnableMultipleFB BOOL 0 = When the function block "RxTypeIdent46Select" only is used once in the program. 1 = Enables the use of function block " RxTypeIdent46Select" more than once in the program (ie "wrong address objects" will not occur in that case). TimeOut INT Value of the time-out timer. Ex 4,0 sec. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. Selected BOOL Signal which is activated when an object is selected. Reset after execution or when timeout. DLT IEC System FX3U PLC implementation_ver (126)

81 3.19 Message Type 47 Regulating step command Receiving a command from supervisory system to either set the bit "higher" and reset the bit "lower" or vice versa. First (if necessary) the supervisory (controlling) system sends a select-command with the object address to be changed, then it sends an execute command which set/reset the internal relay. There is the possibility to reset the internal relays ( higher - and lower -signals) if desired. The object address in the select and execute commands is checked to be identical. Execute must come last XX seconds (timeout) after the select to be valid. The PLC also check so the ASDU-address is correct and that the object number does not exceeds the setting of MaxNoOfObjects. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer in the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first internal relay(bit) (StartAddrMxxx). ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first internal relay(bit) (StartAddrMxxx). ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first internal relay(bit) (StartAddrM_xxx). MaxNoOfObj INT Max number of objects (starting from StartAddrMxxx) StartAddrMStepHigher INT First object s "higher"-signal. Ex M2600. StartAddrMStepLower INT First object s lower -signal. Ex M2620. DLT IEC System FX3U PLC implementation_ver (126)

82 Block BOOL Blocks the activation of internal relays. EnableMultipleFB BOOL 0 = When the function block "RxTypeIdent47" only is used once in the program. 1 = Enables the use of function block " RxTypeIdent47" more than once in the program (ie "wrong address objects" will not occur in that case). TimeOut INT Value of the time-out timer. Ex 4,0 sec. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. Selected BOOL Signal which is activated when an object is selected. Reset after execution or when timeout. DLT IEC System FX3U PLC implementation_ver (126)

83 3.20 Message Type 48 - Set-point Command, normalised value Receiving a command from supervisory system to write a data value to a dataregister. First (if necessary) the supervisory (controlling) system sends a select-command with the object address to be changed, then it sends an execute command which set/reset the internal relay. The object address in the select and execute commands is checked to be identical. Execute must come last XX seconds (timeout) after the select to be valid. The PLC also check so the ASDU-address is correct and that the object number does not exceeds the setting of MaxNoOfObjects. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer in the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrD) ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrD) ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrD) MaxNoOfObj INT Max number of objects (starting from StartAddrD) StartAddrD INT Start address of the data register in which data is written. For example, D2700. Block BOOL Blocks the activation of the writing to dataregisters. EnableMultipleFB BOOL 0 = When the function block "RxTypeIdent48" only is used once in the program. 1 = Enables the use of function block " RxTypeIdent48" more than once in the program (ie "wrong address objects" will not occur in that case). DLT IEC System FX3U PLC implementation_ver (126)

84 TimeOut INT Value of the time-out timer. Ex 4,0 sec. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. Selected BOOL Signal which is activated when an object is selected. Reset after execution or when timeout. DLT IEC System FX3U PLC implementation_ver (126)

85 3.21 Message Type 49 - Set-point Command, scaled value Receiving a command from supervisory system to write a data value ( ) to a dataregister. First (if necessary) the supervisory (controlling) system sends a select-command with the object address to be changed, then it sends an execute command which set/reset the internal relay. The object address in the select and execute commands is checked to be identical. Execute must come last XX seconds (timeout) after the select to be valid. The PLC also check so the ASDU-address is correct and that the object number does not exceeds the setting of MaxNoOfObjects. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer in the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrD) ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrD) ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrD) MaxNoOfObj INT Max number of objects (starting from StartAddrD) StartAddrD INT Start address of the data register in which data is written. For example, D2720. Block BOOL Blocks the activation of the writing to dataregisters. EnableMultipleFB BOOL 0 = When the function block "RxTypeIdent49" only is used once in the program. 1 = Enables the use of function block " RxTypeIdent49" more than once in the program (ie "wrong address objects" will not occur in that DLT IEC System FX3U PLC implementation_ver (126)

86 case). TimeOut INT Value of the time-out timer. Ex 4,0 sec. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. Selected BOOL Signal which is activated when an object is selected. Reset after execution or when timeout. DLT IEC System FX3U PLC implementation_ver (126)

87 3.22 Message Type 50 - Set-point Command, short floating point value Receiving a command from supervisory system to write a data value (floating point) to a 32-bit dataregisters (ie DINT). First (if necessary) the supervisory (controlling) system sends a select-command with the object address to be changed, then it sends an execute command which set/reset the internal relay. The object address in the select and execute commands is checked to be identical. Execute must come last XX seconds (timeout) after the select to be valid. The PLC also check so the ASDU-address is correct and that the object number does not exceeds the setting of MaxNoOfObjects. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer in the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ObjectAddrByte3 INT Object address (octet 3) of the RTU for the first dataregister (StartAddrD) ObjectAddrByte2 INT Object address (octet 2) of the RTU for the first dataregister (StartAddrD) ObjectAddrByte1 INT Object address (octet 1) of the RTU for the first dataregister (StartAddrD) MaxNoOfObj INT Max number of objects (starting from StartAddrD) StartAddrD INT Start address of the data register in which data is written. For example, D2740. Note: Each floating point object occupies 2 dataregisters (32-bit ). Block BOOL Blocks the activation of the writing to dataregisters. EnableMultipleFB BOOL 0 = When the function block "RxTypeIdent50" only is used once in the program. 1 = Enables the use of function block " RxTypeIdent50" more than DLT IEC System FX3U PLC implementation_ver (126)

88 once in the program (ie "wrong address objects" will not occur in that case). TimeOut INT Value of the time-out timer. Ex 4,0 sec. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. Selected BOOL Signal which is activated when an object is selected. Reset after execution or when timeout. DLT IEC System FX3U PLC implementation_ver (126)

89 3.23 Message Type 58 - Single command with full time tag Same as message 45 (see Chap. 3.15), only difference is that this is also sent with full timestamp from supervisory system. PLC then returned the same time received Message Type 59 - Double command with full time tag Same as message 46 (see Chap. 3.17), only difference is that this is also sent with full timestamp from supervisory system. PLC then returned the same time received. DLT IEC System FX3U PLC implementation_ver (126)

90 3.25 Message Type 63 - Set point command, short floating point value, with full time tag Same as message 50 (see Chap. 3.22), only difference is that this is also sent with full timestamp from supervisory system. PLC then returned the same time received. DLT IEC System FX3U PLC implementation_ver (126)

91 3.26 Messagee Type 70 - End of initialisation Sends information to the supervisory system (see below "Cause_init" or "Param_mode") when StartSend is activated. Name Type Explanation BlockTx BOOL 1 = Blocks sending of messages from the function block. ConnectionOK BOOL 1 = OK to send message ASDUAddrByte2 INT PLC adress (oktet 2). ASDUAddrByte1 INT PLC adress (oktet 1). CauseOfInit INT 0 = Local power switch on 1 = Local manual reset 2 = Remote reset ParameterMode INT 0 = initialisation with unchanged local parameters 1 = initialisation after change of local parameters StartSend BOOL 1 = Sends the message with the information contained in "Cause_init" or "Param_mode". Reset automatically when sending is done. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. DLT IEC System FX3U PLC implementation_ver (126)

92 3.27 Message Type Interrogation command Receiving Interrogation command (polling) and commanding the other blocks to send all their information (without any time-stamping!). The command is given eg at communications startup. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer to the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ConnectionOK BOOL 1 = OK to send message Block BOOL Blocking (incoming message is ignored) RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Interrogation BOOL Send buffer from the PLC. Signals an Interrogation request (must be reset when Interrogation is complete). (GI = General Interrogation). DLT IEC System FX3U PLC implementation_ver (126)

93 3.28 Message Type Clock synchronisation command Message from the supervisory system with the current time. PLC sets its internal clock. PLC sends back the time that PLC had when the synchronization command was received. Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer to the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 InfoClock ARRAY [0..4] OF WORD Current time in the PLC ConnectionOK BOOL 1 = OK to send message Block BOOL Blocking transmission from the PLC. RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register(number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. ClockMs WORD Data register containing the current time in milliseconds (obtained from the function block "ClockInterruptXms"). SetSummertime BOOL Daylight saving setting is activated. Used in function blocks for PLC clock. DLT IEC System FX3U PLC implementation_ver (126)

94 3.29 Message Type Reset process command Reset command (reset of process, for example). Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer to the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 ConnectionOK BOOL 1 = OK to send message Block BOOL Blocking (incoming message is ignored) RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. GeneralReset BOOL (General reset of process) Bit set by the function block when the function is activated. 1=General reset of process. Reset manually when done!! (it is not done automatically) ResetPendingInfo BOOL (Reset of pending information with time tag of the event buffer) Bit set by the function block when the function is activated. 1=Reset of pending information with time tag of the event buffer. Reset manually when done!! (it is not done automatically) DLT IEC System FX3U PLC implementation_ver (126)

95 3.30 Message Type Test command with full time tag Name Type Explanation RxBuffer ARRAY [0..127] OF INT Receive buffer to the PLC. ASDUAddrByte2 INT PLC address octet 2 ASDUAddrByte1 INT PLC address octet 1 Block BOOL Blocking (incoming message is ignored) RxStatus INT Receive Status Register (the number of bytes received). TxStatus INT Send Status Register (number of bytes to be sent). TxBuffer ARRAY [0..127] OF INT Send buffer from the PLC. TestSequenceCounter WORD Incoming data value (test counter). DLT IEC System FX3U PLC implementation_ver (126)

96 3.31 ClockInterruptXms This function block is placed in a POU which is linked to a task with maximum interrupt internal time factor priority. The function block uses the PLC clock for date and time, but does the calculation of milliseconds (ClockMs) by it self. The clock has a resolution of 10 milliseconds. If you don t want to modify the interrupt interval in the POU, a global constant can be declared and linked to the InterruptInterval variable. Then the current time base (resolution) can be set in a single place, in the Global Variable List (GVL). Name Type Explanation InterruptInterval INT Interval at which interrupt occurs, measured in ms (10 = 10ms interrupt). SummerTime BOOL 1 = summer time (see also Chap. 3.33) ClockMs WORD Register that store milliseconds. ClockInfo ClockInfoRet DateRead ARRAY [0..4] OF WORD ARRAY [0..4] OF WORD ARRAY [0..6] OF WORD An array containing the current time in a format other function blocks can use. The same information as in ClockInfo but the information is shifted one byte for easier handling of certain types of communication. Date / Time PLC (used in the function block SummerTime, see chap 3.33). DLT IEC System FX3U PLC implementation_ver (126)

97 3.32 ClockNoInterrupt This function block has the same function as "ClockInterruptXms" but does not run on an interrupt. This function block checks the current scantime instead and updates ClockInfo". This function block has not the same good resolution (precision) compared to the function block "ClockInterruptXms". Name Type Explanation ScanTime0_1ms INT PLC scan time in 0.1ms (ex value 250 = 25.0 ms). SummerTime BOOL 1=Summer time ClockMs WORD Registers that stores the time in milliseconds ClockInfo ARRAY [0..4] OF WORD ClockInfoRet ARRAY [0..4] OF WORD An array containing the current time in a format other function blocks can use. The same information as in ClockInfo but the information is shifted one byte for easier handling of certain types of communication. DLT IEC System FX3U PLC implementation_ver (126)

98 3.33 SummerTime This function block sets a internal relay when it is summer time (last Sunday in March at until the last Sunday in October at 03.00). Name Type Explanation DateInput ARRAY [0..6] OF WORD Date/time. Date_in[x]: [0] = Year (ex. 2006) [1] = Month (ex. 12) [2] = Day (ex. 31) [3] = Hour (ex. 14) [4] = Minute (ex. 58) [5] = Second (ex. 26) SummerTime BOOL 0 = winter, 1 = summer [6] = Weekday (1 = Monday, 2 = Tuesday,..., 6 = Saturday, 0 = Sunday) DLT IEC System FX3U PLC implementation_ver (126)

99 3.34 Function Block info number of steps Number of steps for the basic program (ie function blocks below are not included) is as follows: When only 1 port is configured: approximately 3000 steps When 2 ports are configured: approximately 4600 steps (For each additional port that is configured this takes about 1600 steps) Name Steps Words Bits Timers Labels RxTypeIdent RxTypeIdent45Select RxTypeIdent RxTypeIdent46Select RxTypeIdent RxTypeIdent RxTypeIdent RxTypeIdent RxTypeIdent RxTypeIdent RxTypeIdent RxTypeIdent RxTypeIdent RxTypeIdent RxTypeIdent RingBufferTypeIdent RingBufferTypeIdent SendTypeIdent SendTypeIdent SendTypeIdent SendTypeIdent SendTypeIdent1and SendTypeIdent30and SendTypeIdent SendTypeIdent SendTypeIdent SendTypeIdent TxTypeIdent TxTypeIdent DLT IEC System FX3U PLC implementation_ver (126)

100 TxTypeIdent TxTypeIdent TxTypeIdent1and TxTypeIdent30and TxTypeIdent TxTypeIdent TxTypeIdent TxTypeIdent FB_TxIdent DLT IEC System FX3U PLC implementation_ver (126)

101 4 Annexes - Message Building 4.1 Message Type 1 (Single-point information without time tag) DLT IEC System FX3U PLC implementation_ver (126)

102 4.2 Message Type 3 (Double-point information without time tag) DLT IEC System FX3U PLC implementation_ver (126)

103 4.3 Message Type 5 (step position information without time tag) DLT IEC System FX3U PLC implementation_ver (126)

104 4.4 Message Type 9 (Measured value, normalised value) DLT IEC System FX3U PLC implementation_ver (126)

105 4.5 Message Type 11 (Measured value, scaled value) DLT IEC System FX3U PLC implementation_ver (126)

106 4.6 Message Type 13 (Measured value, short floating point value) DLT IEC System FX3U PLC implementation_ver (126)

107 4.7 Message Type 30 (Single-point information with full time tag) DLT IEC System FX3U PLC implementation_ver (126)

108 4.8 Message Type 31 (Double-point information with full time tag) DLT IEC System FX3U PLC implementation_ver (126)

109 4.9 Message Type 32 (Step position information full time tag) DLT IEC System FX3U PLC implementation_ver (126)

110 4.10 Message Type 34 (Measure value, normalised value full time tag) DLT IEC System FX3U PLC implementation_ver (126)

111 4.11 Message Type 35 (Measure value, scaled value full time tag) DLT IEC System FX3U PLC implementation_ver (126)

112 4.12 Message Type 36 (Measure value, floating point value full time tag) DLT IEC System FX3U PLC implementation_ver (126)

113 4.13 Message Type 45 (Single command) DLT IEC System FX3U PLC implementation_ver (126)

114 4.14 Message Type 46 (Double command) DLT IEC System FX3U PLC implementation_ver (126)

115 4.15 Message Type 47 (Regulating step command) DLT IEC System FX3U PLC implementation_ver (126)

116 4.16 Message Type 48 (Set-point command, normalised value) DLT IEC System FX3U PLC implementation_ver (126)

117 4.17 Message Type 49 (Set-point command, scaled value) DLT IEC System FX3U PLC implementation_ver (126)

118 4.18 Message Type 50 (Set-point command, short floating point value) DLT IEC System FX3U PLC implementation_ver (126)

119 4.19 Message Type 58 (Single command with full time tag) DLT IEC System FX3U PLC implementation_ver (126)

120 4.20 Message Type 59 (Double command with full time tag) DLT IEC System FX3U PLC implementation_ver (126)

121 4.21 Message Type 63 (Set-point command, short floating point value, with full time tag) DLT IEC System FX3U PLC implementation_ver (126)

122 4.22 Message Type 70 (End of initialisation) DLT IEC System FX3U PLC implementation_ver (126)

123 4.23 Message Type 100 (Interrogation command) DLT IEC System FX3U PLC implementation_ver (126)

124 4.24 Message Type 103 (Clock synchronisation command) DLT IEC System FX3U PLC implementation_ver (126)

125 4.25 Message Type 105 (Reset process command) DLT IEC System FX3U PLC implementation_ver (126)

126 4.26 Message Type 107 (Test command) DLT IEC System FX3U PLC implementation_ver (126)

Description and analysis of IEC 104 Protocol

Description and analysis of IEC 104 Protocol Description and analysis of IEC 104 Protocol Technical Report Petr Matoušek Technical Report no. FIT-TR-2017-12 Faculty of Information Technology Brno University of Technology Brno, Czech Republic December,

More information

IEC Master Driver Help Kepware Technologies

IEC Master Driver Help Kepware Technologies IEC 60870-5-104 Master Driver Help 2014 Kepware Technologies IEC 60870-5-104 Master Help 2 Table of Contents Table of Contents 2 IEC 60870-5-104 Master Driver Help 3 Overview 3 Channel Setup 4 60870 Settings

More information

IEC Master Driver Help Kepware Technologies

IEC Master Driver Help Kepware Technologies IEC 60870-5-101 Master Driver Help 2014 Kepware Technologies IEC 60870-5-101 Master Driver 2 Table of Contents Table of Contents 2 IEC 60870-5-101 Master Driver Help 3 Overview 3 Channel Setup 4 Device

More information

Protocol Gateway IEC Master/Slave IEC Client/Server

Protocol Gateway IEC Master/Slave IEC Client/Server Atop Technologies, Inc. Protocol Gateway IEC60870-5-101 Master/Slave IEC60870-5-104 Client/Server Protocol and enode Designer configuration enode Configuration Manual V1.2 September 29 th, 2017 CLIENT/SERVER

More information

Power Grids. Remote Terminal Units Host Communication Interface with IEC Protocol description

Power Grids. Remote Terminal Units Host Communication Interface with IEC Protocol description Power Grids Remote Terminal Units Host Interface with IEC 60870-5-104 Protocol description Revision Revision Document identity: Revision: Date: Changes: 0 02/2001 Initial Version 1 12/2002 Chapter File

More information

Edition October 2013 Version 1.0

Edition October 2013 Version 1.0 ELCOM-90 Protocol Implementation Document (P.I.D.) Edition October 2013 Version 1.0 Gundstraße 15 91056 Erlangen Phone: Fax: Internet: Email: +49 9131 92076-0 +49 9131 92076-10 htt://www.ipcomm.de info@ipcomm.de

More information

IEC Master Driver PTC Inc. All Rights Reserved.

IEC Master Driver PTC Inc. All Rights Reserved. 2017 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 4 Overview 4 Setup 5 Channel Properties General 5 Channel Properties Ethernet Communications 6 Channel Properties Write Optimizations

More information

Advanced Technology Systems. User Manual

Advanced Technology Systems. User Manual Advanced Technology Systems User Manual Document Title Revision Revision Date April 16, 2002 By Paul Whitfield File Name IEC870t_Driver_Manual.doc Copyright: This document contains proprietary information

More information

Series PM130 PLUS Powermeters PM130P/PM130E/PM130EH

Series PM130 PLUS Powermeters PM130P/PM130E/PM130EH Series PM130 PLUS Powermeters PM130P/PM130E/PM130EH IEC60870-5-101/104 Communications Protocol Reference Guide BG0503 Rev. A3 Every effort has been made to ensure that the material herein is complete and

More information

IEC870IP CitectSCADA Driver for IEC Protocol

IEC870IP CitectSCADA Driver for IEC Protocol IEC870IP CitectSCADA Driver for IEC60870-5-104 Protocol CitectSCADA version 5.xx and 6.xx User information and design Citect Pty Ltd Page: 1 Citect Pty Ltd Page: 2 Driver version history Version Modified

More information

Date of circulation /647/MCR. Safety EMC Environment Quality assurance

Date of circulation /647/MCR. Safety EMC Environment Quality assurance IEC/TC or SC: TC 57 Title of TC/SC: Power system control and associated communications Also of interest to the following committees Project number IEC 60870-5-104 Amed. 1 Ed.1 Date of circulation 2003-08-15

More information

MVI46-103M. User Manual. SLC Platform. IEC Master Communication Module

MVI46-103M. User Manual. SLC Platform. IEC Master Communication Module MVI46-103M SLC Platform IEC 60870-5-103 Master Communication Module User Manual Please Read This Notice Successful application of this module requires a reasonable working knowledge of the Rockwell Automation

More information

FreyrSCADA Embedded Solution

FreyrSCADA Embedded Solution FreyrSCADA Embedded Solution IEC 60870-5-104 Client Stack Interoperability Stack Version: 21.04.001 Document version: 16.07.28 Check the latest version @ online IEC 60870-5-104 Product 1. Interoperability

More information

PRON NA60-CBA. IEC Communication Protocol User Guide PRON NA60-CBA. Version Page: 1 of 13 PRON NA60-CBA IEC

PRON NA60-CBA. IEC Communication Protocol User Guide PRON NA60-CBA. Version Page: 1 of 13 PRON NA60-CBA IEC IEC 870-5-103 Communication Protocol User Guide PRON NA60-CBA Page: 1 of 13 PRON NA60-CBA IEC 870-5-103 Contents Contents...2 1 IEC 870-5-103 Protocol...3 8.1 Physical Layer...3 8.1.1 Electrical Interface...3

More information

FreyrSCADA Embedded Solution

FreyrSCADA Embedded Solution FreyrSCADA Embedded Solution Software Document IEC 60870-5-101 Server Simulator User Manual Stack Version: 21.04.001 Document version: 16.07.26 Online Check the latest version IEC 60870-5-101 Product Table

More information

T200 & Flair 200C. IEC communication Appendix to the User Manual. Easergy range. MV electrical network management

T200 & Flair 200C. IEC communication Appendix to the User Manual. Easergy range. MV electrical network management MV electrical network management Easergy range T200 & Flair 200C MV substation control and monitoring units IEC 60870-5-101 communication Appendix to the User Manual Content 1. Introduction... 3 2. References...

More information

TECHNINIAI REIKALAVIMAI

TECHNINIAI REIKALAVIMAI PATVIRTINTA AB Rytų skirstomųjų tinklų generalinio direktoriaus 2005 m. gruodžio 22 d. įsakymu Nr. 247 NUOTOLINIO VALDYMO ĮRENGINIŲ IR SISTEMŲ PERDAVIMO PROTOKOLŲ ĮDIEGIMAS AB RYTŲ SKIRSTOMUOSIUOSE TINKLUOSE

More information

IEC Master Driver PTC Inc. All Rights Reserved.

IEC Master Driver PTC Inc. All Rights Reserved. 2018 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 4 Overview 4 Setup 5 Channel Properties General 5 Channel Properties Serial Communications 6 Channel Properties Write Optimizations

More information

IEC Master Communication Protocol

IEC Master Communication Protocol IEC-60870-5-104 Master Communication Protocol Summary 1. GENERAL INFORMATION... 1 1.1 Summary... 1 1.2 Supported Object Data (ASDUs)... 1 1.3 General Operation... 2 2. CHANNEL SETTINGS... 3 2.1 Protocol

More information

Chapter 6: DNP Introduction. 6.2 Features of the DNP The OSI/ISO model. 6.3 Basic topology

Chapter 6: DNP Introduction. 6.2 Features of the DNP The OSI/ISO model. 6.3 Basic topology 6.1 Introduction DNP3 (Distributed Network Protocol Version 3) is an open, intelligent, robust and efficient modern SCADA protocol designed to optimise the transmission of data acquisition information

More information

Communication 7. What's in this Chapter? This chapter contains the following sections:

Communication 7. What's in this Chapter? This chapter contains the following sections: Communication 7 What's in this Chapter? This chapter contains the following sections: Section Topic Page 7.1 Modbus Protocol 170 7.2 IEC 60870-5-103 protocol 190 SEPED307003 02/2008 169 7.1 Modbus Protocol

More information

Fisher ROC Plus Serial Driver Help Kepware Technologies

Fisher ROC Plus Serial Driver Help Kepware Technologies Fisher ROC Plus Serial Driver Help 2014 Kepware Technologies 2 Table of Contents Table of Contents 2 5 Overview 5 Channel Setup 6 Device Setup 7 Tag Import Settings 7 Address Specification 8 Operator Identification

More information

Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies

Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies Modbus ASCII Serial Device Driver Help 2009 Kepware Technologies 1 Table of Contents 1 Getting Started... 3 Help Contents... 3 Overview... 3 2 Device Setup... 3 Device Setup... 3 Cable Diagram... 4 Modem

More information

MicroSCADA Pro SYS 600 *9.1

MicroSCADA Pro SYS 600 *9.1 MicroSCADA Pro SYS 600 *9.1 1MRS751964-MEN Issued: 15.03.2002 Version: C/25.02.2005 MicroSCADA Pro SYS 600 *9.1 1. About this manual...5 1.1. Copyrights...5 1.2. Trademarks...5 1.3. General...5 1.4. Related

More information

IEC Interoperability Document

IEC Interoperability Document IEC60870-5-104 Interoperability Document This companion standard presents sets of parameters and alternatives from which subsets must be selected to implement particular telecontrol systems. Certain parameter

More information

ROC Plus Protocol. Specification Manual. Form A6127. Flow Computer Division. Part Number D301180X0012 January 2007

ROC Plus Protocol. Specification Manual. Form A6127. Flow Computer Division. Part Number D301180X0012 January 2007 Form A6127 Part Number D301180X0012 January 2007 ROC Plus Protocol Specification Manual Flow Computer Division Website: www.emersonprocess.com/flow Revision Tracking Sheet January 2007 This manual is periodically

More information

Automatic transfer switch

Automatic transfer switch Automatic transfer switch Modbus communication Protocol LINE 1 LINE 2 Q1 LOAD Q2 AUT RESET OFF _ OK MENU MENU AUT + MAN IR COM IEC 60947-6-1 Part. LE09507AA_EN-09/16-01 GF Automatic transfer switch EN

More information

Cisco Connected Grid 2010 Router Software Configuration Guide

Cisco Connected Grid 2010 Router Software Configuration Guide Cisco Connected Grid 2010 Router Software Configuration Guide First Published: November 2013 Release: Cisco IOS Release 15.3(2)T OL-30756-03 This document provides details about configuring Protocol Translation

More information

IEC Configuration/Interoperability Guide for SICAM SGU 7XV5676

IEC Configuration/Interoperability Guide for SICAM SGU 7XV5676 IEC 60870-5-104 Configuration/Interoperability Guide for SICAM SGU 7V5676 7V5676-xJJx SICAM SGU with Binary IO 7V5676-xJLx SICAM SGU with Binary IO and Analog IO DOCUMENT VERSION V1.11 MARCH, 2014 E50417-

More information

Automating with STEP 7 in STL

Automating with STEP 7 in STL Automating with STEP 7 in STL SIMATICS 7-300/400 Programmable Controllers by Hans Berger Publicis MCD Verlag Contents Introduction 16 1 SIMATIC S 7-300/400 Programmable Controller 17 1.1 Structure of the

More information

Manual 09/11 MN Z-EN. NZM-XATS-C Automatic Transfer Switch-Controller Modbus Communication Protocol

Manual 09/11 MN Z-EN. NZM-XATS-C Automatic Transfer Switch-Controller Modbus Communication Protocol Manual 09/11 MN01219007Z-EN NZM-XATS-C Automatic Transfer Switch-Controller Modbus Communication Protocol All brand and product names are trademarks or registered trademarks of the owner concerned. Emergency

More information

FreyrSCADA Embedded Solution

FreyrSCADA Embedded Solution FreyrSCADA Embedded Solution IEC 60870-5-101 Client Stack Interoperability Stack Version: 21.04.001 Document version: 17.10.028 Check the latest version @ online IEC 60870-5-101 Product 8 Interoperability

More information

Flow control: Ensuring the source sending frames does not overflow the receiver

Flow control: Ensuring the source sending frames does not overflow the receiver Layer 2 Technologies Layer 2: final level of encapsulation of data before transmission over a physical link responsible for reliable transfer of frames between hosts, hop by hop, i.e. on a per link basis

More information

MODBUS Protocol for MiCOM P30 Series

MODBUS Protocol for MiCOM P30 Series MODBUS Protocol for MiCOM P30 Series Substation Protocols Technical Documentation This document does not replace the Technical Manual Version: MiCOM P30, MODBUS Index: B Release: 08 / 2011 MODBUS Protocol

More information

Protocol Implementation extra Information for Testing (PIXIT) for the IEC interface in MRM4. Version 2.0.h Date:

Protocol Implementation extra Information for Testing (PIXIT) for the IEC interface in MRM4. Version 2.0.h Date: Protocol Implementation extra Information for Testing (PIXIT) for the IEC 61850 interface in MRM4 Version 2.0.h Date: 2013-03-28 Contents of this document This document is applicable for MRM4 Version 2.0.h

More information

SystemCORP. Embedded Technology Pty Ltd. IEC Library (PIS20) Interoperability

SystemCORP. Embedded Technology Pty Ltd. IEC Library (PIS20) Interoperability SystemCORP Embedded Technology Pty Ltd IEC 60870-5-104 Library (PIS20) Copyright: All rights reserved. None of the information contained in this document may be reproduced or stored in a database or retrieval

More information

IEC Interoperability Document for:

IEC Interoperability Document for: w w w. s t r e a m x. c h IEC 60870-5-104 Interoperability Document for: Streamridge: Stream870-5-104 Version Informations Last activities Date Author File 02/23/2012 Infoteam / FD Interoperability Streamridge

More information

Realization of IEC Protocol in DTU

Realization of IEC Protocol in DTU Realization of IEC 60870-5-104 Protocol in DTU Weiqing Tao, Xiong Chen and Qiaoyun Zhang Abstract According to the IEC 60870-5-101 and IEC 60870-5-104 telecontrol protocol published by IEC, the corresponding

More information

IEC PIXIT. MRA4 Software-Version: 2.2.c

IEC PIXIT. MRA4 Software-Version: 2.2.c IEC 61850 PIXIT MRA4 Software-Version: 2.2.c IEC 61850 PIXIT Protocol Implementation Extra Information for Testing (PIXIT) UCA International Users Group Testing Sub Committee English Contents of this document

More information

RTU500 series. RTU500 series Remote Terminal Unit Function Description Release 12 Part 5: SCADA functions

RTU500 series. RTU500 series Remote Terminal Unit Function Description Release 12 Part 5: SCADA functions RTU500 series RTU500 series Remote Terminal Unit Function Description Release 12 Part 5: SCADA functions RTU500 series Remote Terminal Unit Revision Revision Document identity: 1KGT 150 944 V002 1 Revision:

More information

Lufkin Modbus Serial Driver Help Kepware Technologies

Lufkin Modbus Serial Driver Help Kepware Technologies Lufkin Modbus Serial Driver Help 2012 Kepware Technologies 2 Table of Contents Table of Contents 2 3 Overview 3 Channel Setup 4 Device Setup 5 Cable Diagram 5 Modem Setup 6 Block Sizes 6 Framing 7 Error

More information

Fisher ROC Plus Ethernet Driver Help Kepware, Inc.

Fisher ROC Plus Ethernet Driver Help Kepware, Inc. Fisher ROC Plus Ethernet Driver Help 2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 5 Overview 5 Channel Setup 7 Device Setup 13 Scan Mode 15 Timings and Timeouts 16 Automatic Demotion 17 Automatic

More information

EGD Configuration Checklist

EGD Configuration Checklist EGD Configuration Checklist Introduction EGD is a communication protocol based on Ethernet data packages that are sent perodically by one device (the producer) and received by one or more other devices

More information

RTU TELEM MODULES TELEM-DO8, TELEM-DI24 and TELEM-AI12 (REMOTE TERMINAL UNIT)

RTU TELEM MODULES TELEM-DO8, TELEM-DI24 and TELEM-AI12 (REMOTE TERMINAL UNIT) RTU TELEM MODULES TELEM-DO8, TELEM-DI24 and TELEM-AI12 (REMOTE TERMINAL UNIT) USER S MANUAL Technical documentation, programming, installation and setup instructions, drawings 2001 Table of contents 1.

More information

Relion Protection and Control. 615 series IEC Communication Protocol Manual

Relion Protection and Control. 615 series IEC Communication Protocol Manual Relion Protection and Control 615 series IEC 60870-5-103 Communication Protocol Manual Document ID: 1MRS756710 Issued: 2016-05-20 Revision: G Product version: 5.0 FP1 Copyright 2016 ABB. All rights reserved

More information

General Specifications

General Specifications General Specifications GS 34P02P22-02E DNP3 Communication Portfolio (FCN-500/FCN-RTU) GENERAL This General Specifications document describes the Distributed Network Protocol (DNP3) Communication Portfolio

More information

IEC Interoperability Profile

IEC Interoperability Profile IEC 60870-5-104 Interoperability Profile 2 9 Interoperability This companion standard presents sets of parameters and alternatives from which subsets must be selected to implement particular telecontrol

More information

Release 2.11 Standard AXE Primary Firmware is not intended for use on any 8521 Controller not licensed as a RTU.

Release 2.11 Standard AXE Primary Firmware is not intended for use on any 8521 Controller not licensed as a RTU. GFK-2594 September 2010 PAC8000 8521-RT-DE RTU Controller Firmware release 2.11 for the 8521-RT-DE RTU Controller adds DNP3 protocol support with store and forward capability. For details, see New Features

More information

MODEL IR5500 Infrared Open Path Gas Detector HART Field Device Specification

MODEL IR5500 Infrared Open Path Gas Detector HART Field Device Specification MODEL IR5500 Infrared Open Path Gas Detector HART Field Device Specification The information and technical data disclosed in this document may be used and disseminated only for the purposes and to the

More information

IpConv Protocol Stack

IpConv Protocol Stack IpConv Protocol Stack IEC104Master IEC 60870-5-104 Controlling Station Interoperability Edition October 2011 Version 3.1 IPCOMM GmbH Gundstrasse 15 D-91056 Erlangen Germany Voice: +49 9131 92076 0 Fax:

More information

ENEXIS B.V. Protocol Implementation Document for IEC DALI stations

ENEXIS B.V. Protocol Implementation Document for IEC DALI stations ENEIS B.V. Protocol Implementation Document (ENEIS B.V. PID 104) ENEIS B.V. Protocol Implementation Document for IEC 60870-5-104 DALI stations Version 1.9 10 July 2016 7 Author: Bert Claessen 2016-07-10

More information

User Manual. Intersystem transmission of digital signals with timestamp. between. Siemens S7-PLC Systems. and. S7A Driver / OPC-Server

User Manual. Intersystem transmission of digital signals with timestamp. between. Siemens S7-PLC Systems. and. S7A Driver / OPC-Server User Manual between Siemens S7-PLC Systems and S7A Driver / OPC-Server Date: 31.03.2011 Author: J. Stähler, InCoSol-Industrial Communications Solutions Table of contents: 1. Introduction...3 1.1 Calling

More information

Norwegian IEC User Conventions

Norwegian IEC User Conventions Norwegian IEC 870-5-101 User Conventions Approved version Revision no. 2.0 Revision no.: Date: Chapter: Comments: 1.0 97-09-24 All Initial version 1.1 97-10-24 All Changes in fonts and figure ref., and

More information

ELSETA IOMOD 8DI8DO. User manual. Elseta V1.0

ELSETA IOMOD 8DI8DO. User manual. Elseta V1.0 ELSETA IOMOD 8DI8DO User manual Elseta V1.0 /2017 COPYRIGHTS AND TRADEMARKS Elseta is UAB Aedilis trademark that identifies UAB Aedilis manufactured products. All of the products copyright belongs to "Aedilis.

More information

MCDGV4 Software-Version: 2.4.a

MCDGV4 Software-Version: 2.4.a IEC 61850 PIXIT MCDGV4 Software-Version: 2.4.a Protocol Implementation Extra Information for Testing (PIXIT) UCA International Users Group Testing Sub Committee English Contents of this document Contents

More information

User Manual AXON TEST V3.8 IKELOS. Simulator

User Manual AXON TEST V3.8 IKELOS. Simulator AXON TEST V3.8 IKELOS Simulator 2 2014 Axon Group Ltd., Manual The information contained in this document is subject to change without notice. Axon Group Ltda Making great things Technology Development

More information

EDR Software-Version: 2.5.b. Protocol Implementation Extra Information for Testing (PIXIT) UCA International Users Group Testing Sub Committee

EDR Software-Version: 2.5.b. Protocol Implementation Extra Information for Testing (PIXIT) UCA International Users Group Testing Sub Committee EDR-5000 Software-Version: 2.5.b Protocol Implementation Extra Information for Testing (PIXIT) UCA International Users Group Testing Sub Committee Contents of this document This document is applicable

More information

ARINC-429/575 Interface to VME - Sy429VME-RT32

ARINC-429/575 Interface to VME - Sy429VME-RT32 ARINC-429/575 Interface to - Sy429-RT32 Summary features ARINC-429 and 575 compatible Modular Architecture Expandable to 32 Channels per card FIFO Rx & Tx data buffers Time-Stamping of Rx data Loop-Back

More information

Cutler-Hammer ELC Serial Driver Help Kepware Technologies

Cutler-Hammer ELC Serial Driver Help Kepware Technologies Cutler-Hammer ELC Serial Driver Help 2012 Kepware Technologies 2 Table of Contents Table of Contents 2 3 Overview 3 Device Setup 4 Modem Setup 5 Cable Diagram 5 Data Types Description 7 Address Descriptions

More information

Operating instructions WinPP104 January 2018

Operating instructions WinPP104 January 2018 Operating instructions WinPP104 test program Receive, check, filter, store, display, print, transmit and simulate IEC 60870-5-104 messages. The program creates a process image and a TCP 104 connection

More information

Release 2.11 Standard AXE Primary Firmware is not intended for use on any 8521 Controller not licensed as a RTU.

Release 2.11 Standard AXE Primary Firmware is not intended for use on any 8521 Controller not licensed as a RTU. December 2010 PAC8000 8521-RT-DE RTU Controller This release consists of firmware release 2.12 for the 8521-RT-DE RTU Controller and DNP Control Package release 2.14. It provides a performance enhancement

More information

General Specifications

General Specifications General Specifications DNP3 Communication Portfolio GS 34P02P22-01E GENERAL This General Specifications document describes the Distributed Network Protocol (DNP3) Communication Portfolio for STARDOM. The

More information

Mitsubishi FX Driver for JMobile

Mitsubishi FX Driver for JMobile Mitsubishi FX Driver for JMobile This document contains the information needed to connect the panels to Mitsubishi FX Series controllers. Exor International S.p.A. Ptn0365 Ver. 1.01 Copyright 2011-2015

More information

FNL Modbus TCP Interface

FNL Modbus TCP Interface FNL Modbus TCP Interface Users Manual V0.1 17.06.2009 Project No.: 5304 Doc-ID.: FNL Modbus TCP Interface-UM-V0.1 Status: Released COMSOFT d:\windoc\icp\doku\hw\fnl\modbus tcp\version_0.1\fnl_modbus_tcp_e.doc

More information

MicroSCADA Pro SYS IEC Slave Protocol

MicroSCADA Pro SYS IEC Slave Protocol SYS 600 9.3 Trace back information: Workspace Main version a9 Checked in 2012-11-09 1MRS756653 Issued: 31.3.2010 Version: B/30.9.2012 Contents SYS 600 9.3 1 Copyrights... 2 Introduction... 2.1 This manual...

More information

Analog Devices Driver Kepware, Inc.

Analog Devices Driver Kepware, Inc. 2016 Kepware, Inc. 2 Table of Contents Table of Contents 2 Analog Devices Driver 3 Overview 3 Driver Setup 4 Device Setup 5 Data Format 6 Modem Setup 6 Data Types Description 7 Address Descriptions 8 6B11

More information

DNP 3.0 Communication User s Manual

DNP 3.0 Communication User s Manual MV Network management MV/LV substations remote monitoring Merlin Gerin Easergy Range Easergy FLAIR 200C DNP 3.0 Communication User s Manual Summary SUMMARY...3 SOFTWARE CONFIGURATION...4 DEVICE PROFILE

More information

COM600 Station Automation Series IEC Slave (OPC) 3.1. User's Guide

COM600 Station Automation Series IEC Slave (OPC) 3.1. User's Guide Issued: 30.6.2004 Version: D/21.12.2007 Contents: 1. About this manual... 7 1.1. Copyrights... 7 1.2. Trademarks... 7 1.3. General... 7 1.4. Document conventions... 8 1.5. Terminology... 9 1.6. Abbreviations...

More information

CODESYS Driver PTC Inc. All Rights Reserved.

CODESYS Driver PTC Inc. All Rights Reserved. 2017 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 5 Overview 6 Setup 7 Channel Properties - General 7 Channel Properties - Ethernet Communications 8 Channel Properties - Write

More information

IEC /104 Communications Protocol

IEC /104 Communications Protocol expertmeter High Performance Analyzer PM180 IEC60870-5-101/104 Communications Protocol Reference Guide BG0593 Rev. A1 Every effort has been made to ensure that the material herein is complete and accurate.

More information

Protocol Implementation extra Information for Testing (PIXIT) for the IEC interface in SEL-2411

Protocol Implementation extra Information for Testing (PIXIT) for the IEC interface in SEL-2411 Protocol Implementation extra Information for Testing (PIXIT) for the IEC 61850 interface in SEL-2411 UCA International Users Group Testing Sub Committee Date: October 03, 2012 Rev. 2.3 Schweitzer Engineering

More information

SystemCORP. Embedded Technology Pty Ltd. IEC Library (PIS21) Interoperability

SystemCORP. Embedded Technology Pty Ltd. IEC Library (PIS21) Interoperability SystemCORP Embedded Technology Pty Ltd IEC 60870-5-101 Library (PIS21) Copyright: All rights reserved. None of the information contained in this document may be reproduced or stored in a database or retrieval

More information

Omron Toolbus Driver Help Kepware Technologies

Omron Toolbus Driver Help Kepware Technologies Omron Toolbus Driver Help 2012 Kepware Technologies 2 Table of Contents Table of Contents 2 4 Overview 4 Device Setup 5 Modem Setup 5 Data Types Description 6 CS1/CJ1 Address Descriptions 7 Error Descriptions

More information

Experion LX Safety Manager Integration Guide

Experion LX Safety Manager Integration Guide Experion LX Safety Manager Integration Guide EXDOC-X119-en-110A February 2014 Release 110 Document Release Issue Date EXDOC-X119-en-1 0A 0 February 2014 Disclaimer This document contains Honeywell proprietary

More information

ETH. Ethernet MAC with Timestamp Extension. TCD30xx User Guide. Revision July 17, 2015

ETH. Ethernet MAC with Timestamp Extension. TCD30xx User Guide. Revision July 17, 2015 TCD30xx User Guide ETH Ethernet MAC with Timestamp Extension Revision 1.0.0-41582 July 17, 2015 Copyright 2015, TC Applied Technologies. All rights reserved. LIST OF TABLES... 16-3 LIST OF FIGURES... 16-4

More information

IEC Interoperability Document for RTU32 Series Controller and Telemetry Outstation

IEC Interoperability Document for RTU32 Series Controller and Telemetry Outstation IEC60870-5-104 Interoperability Document for Controller and Telemetry Outstation This Interoperability takes reference in the IEC60870-5-104 Standard including amendments. The NUC (Norwegian User Convention)

More information

DNP3 Device Profile Based on DNP XML Schema version Showing both the Device's Capabilities and its Current Configuration

DNP3 Device Profile Based on DNP XML Schema version Showing both the Device's Capabilities and its Current Configuration Page 1 of 17 DNP3 Device Profile Based on DNP XML Schema version 2.11.00 Document Name: MHT410 XML File Document Description: Device Profile for the MHT410 Showing both the Device's and its Current Configuration

More information

This Lecture. BUS Computer Facilities Network Management. Line Discipline. Data Link Layer

This Lecture. BUS Computer Facilities Network Management. Line Discipline. Data Link Layer This Lecture US35 - Computer Facilities Network Management Synchronisation and interfacing insufficient by themselves. Need to provide: Flow control - allow the receiver to regulate the flow of data. Error

More information

Protocol Implementation extra Information for Testing (PIXIT) for the IEC interface in SEL-421. September 02, 2011

Protocol Implementation extra Information for Testing (PIXIT) for the IEC interface in SEL-421. September 02, 2011 Protocol Implementation extra Information for Testing (PIXIT) for the IEC 61850 interface in SEL-421 September 02, 2011 UCA International Users Group Testing Sub Committee Template version 1.1 Date: March

More information

System Faults. Chapter 9. Controller Faults. The controller stored different fault information: Publication 1756-QR107C-EN-P - June 2005

System Faults. Chapter 9. Controller Faults. The controller stored different fault information: Publication 1756-QR107C-EN-P - June 2005 System Faults Chapter 9 Controller Faults The controller stored different fault information: Fault type: Description: See page: major fault A fault condition that is severe enough for the controller to

More information

ETC II Modbus Communications Protocol Reference Guide

ETC II Modbus Communications Protocol Reference Guide ETC II Modbus Communications Protocol Reference Guide SATEC Ltd. BG0595 Rev. A1 Every effort has been made to ensure that the material herein is complete and accurate. However, the manufacturer is not

More information

Fisher ROC Plus Serial Driver Help Kepware, Inc.

Fisher ROC Plus Serial Driver Help Kepware, Inc. Fisher ROC Plus Serial Driver Help 2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 5 Overview 5 Channel Setup 7 Device Setup 13 Scan Mode 15 Timings and Timeouts 16 Automatic Demotion 17 Automatic

More information

INTERNATIONAL STANDARD

INTERNATIONAL STANDARD INTERNATIONAL STANDARD IEC 60870-5-104 First edition 2000-12 Telecontrol equipment and systems Part 5-104: Transmission protocols Network access for IEC 60870-5-101 using standard transport profiles This

More information

Yokogawa HR Driver PTC Inc. All Rights Reserved.

Yokogawa HR Driver PTC Inc. All Rights Reserved. 2016 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 3 Overview 3 Device Setup 4 Data Types Description 6 Address Descriptions 7 HR2400 (10CH) Addressing 7 HR2400 (20CH) Addressing

More information

IEC INTEGRATION KIT FOR PAC PROJECT GUIDE

IEC INTEGRATION KIT FOR PAC PROJECT GUIDE IEC60870-5 INTEGRATION KIT FOR PAC PROJECT GUIDE Form 2098 131015 October, 2013 43044 Business Park Drive Temecula CA 92590-3614 Phone: 800-321-OPTO (6786) or 951-695-3000 Fax: 800-832-OPTO (6786) or 951-695-2712

More information

Modbus Unsolicited Serial Driver PTC Inc. All Rights Reserved.

Modbus Unsolicited Serial Driver PTC Inc. All Rights Reserved. 2018 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 3 Overview 4 Setup 5 Channel Setup 5 Channel Properties 6 Channel Properties General 6 Channel Properties Serial Communications

More information

Mitsubishi Serial Driver Help Kepware Technologies

Mitsubishi Serial Driver Help Kepware Technologies Mitsubishi Serial Driver Help 2013 Kepware Technologies 2 Table of Contents Table of Contents 2 4 Overview 4 Device Setup 5 Modem Setup 5 Bridging 5 First Word Low 6 Multi-level Networks 7 PLC Setup 8

More information

General Ethernet Driver

General Ethernet Driver Digital Electronics Corporation General Ethernet Driver 1 What is General Ethernet?... 3 2 System Configuration... 5 3 Selection of External Device... 6 4 Example of Communication Setting... 7 5 Setup

More information

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal)

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from the execution of an instruction or by some other internal

More information

PFC96Evo / PFC144Evo CONTROLLER MODBUS PROTOCOL

PFC96Evo / PFC144Evo CONTROLLER MODBUS PROTOCOL PFC96Evo / PFC144Evo CONTROLLER MODBUS PROTOCOL WARNING Installation, setting, inspection and maintenance operations must be performed only by qualified personnel in charge of it. Any operation must be

More information

Protection Terminal REF 54_ Protection Relay REX 521

Protection Terminal REF 54_ Protection Relay REX 521 Protection Terminal Protection Relay 1MRS755260 Issued: 02.04.2004 Version: C/22.06.2004 Protection Terminal Protection Relay Contents 1. About this manual...4 1.1. Copyrights...4 1.2. Trademarks...4

More information

Vanguard Managed Solutions

Vanguard Managed Solutions Vanguard Managed Solutions Vanguard Applications Ware Serial Feature Protocols Transparent Character-Oriented Protocol Notice 2002 Vanguard Managed Solutions, LLC 575 West Street Mansfield, Massachusetts

More information

HDV100A3 Command Response Protocol

HDV100A3 Command Response Protocol HDV100A3 Command Response Protocol Documentation Number: HDV100A3-4115m International Headquarters B+B SmartWorx 707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA Phone (815) 433-5100 -- General

More information

Operator Manual for Profibus

Operator Manual for Profibus PROCESS ANALYSERS SERVOPRO MultiExact Operator Manual for Profibus Part Number: Revision: Language: 05410007A 0 UK English This page intentionally blank LIST OF CONTENTS Section Page 1. DESCRIPTION AND

More information

William Stallings Data and Computer Communications. Chapter 7 Data Link Control

William Stallings Data and Computer Communications. Chapter 7 Data Link Control William Stallings Data and Computer Communications Chapter 7 Data Link Control Flow Control Ensuring the sending entity does not overwhelm the receiving entity Preventing buffer overflow Transmission time

More information

Protocol Implementation extra Information for Testing (PIXIT) for the IEC interface in SEL-849

Protocol Implementation extra Information for Testing (PIXIT) for the IEC interface in SEL-849 Protocol Implementation extra Information for Testing (PIXIT) for the IEC 61850 interface in SEL-849 UCA International Users Group Testing Sub Committee Date: January 16, 2013 Rev. 2.3 Schweitzer Engineering

More information

FULMATIC 7 SILVER SERIES PLC PLC USER S MANUAL

FULMATIC 7 SILVER SERIES PLC PLC USER S MANUAL FULMATIC 7 SILVER SERIES PLC PLC USER S MANUAL A. GENERAL FEATURES Fulmatic 7 - Series PLCs are the programmable control devices which are designed according to the automation needs by considering the

More information

101M ProLinx Gateway IEC Master

101M ProLinx Gateway IEC Master 101M ProLinx Gateway March 14, 2012 PROTOCOL MANUAL Your Feedback Please We always want you to feel that you made the right decision to use our products. If you have suggestions, comments, compliments

More information

Enron Modbus Driver PTC Inc. All Rights Reserved.

Enron Modbus Driver PTC Inc. All Rights Reserved. 2017 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 5 Overview 5 Channel Setup 6 Channel Properties - General 6 Channel Properties - Serial Communications 7 Channel Properties

More information

Configuring attack detection and prevention 1

Configuring attack detection and prevention 1 Contents Configuring attack detection and prevention 1 Overview 1 Attacks that the device can prevent 1 Single-packet attacks 1 Scanning attacks 2 Flood attacks 3 TCP fragment attack 4 Login DoS attack

More information