sys 600 9.3 iec 61107 master protocol - abb ltd microscada pro 1mrs756639 iec 61107 master protocol...

25
MicroSCADA Pro SYS 600 9.3 IEC 61107 Master Protocol

Upload: leliem

Post on 14-Apr-2018

300 views

Category:

Documents


19 download

TRANSCRIPT

Page 1: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

MicroSCADA Pro SYS 600 9.3IEC 61107 Master Protocol

Page 2: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,
Page 3: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

SYS 600 9.31MRS756639

Issued: 31.3.2010Version: A/31.3.2010

ContentsCopyrights .....................................................................................51. Introduction ...............................................................................7

1.1. This manual ...................................................................................71.2. Use of symbols ..............................................................................71.3. Related documents .......................................................................71.4. Document revisions .......................................................................8

2. Instructions ................................................................................92.1. Communication session ................................................................92.2. Autocaller ......................................................................................92.3. The ATR station ..........................................................................11

2.3.1. The attribute interface of the ATR station ........................112.3.2. System messages generated by the ATR station ............13

2.4. The IEC 61107 protocol process .................................................132.4.1. The attributes of the IEC 61107 line process ...................142.4.2. System status messages of IEC 61107 line process .......162.4.3. Error status codes of the IEC-61107 line process ...........17

2.5. Messages from the IEC 61107 Device to SYS 600 ....................172.5.1. Program example .............................................................17

3. Index .........................................................................................21

3

Page 4: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

4

Page 5: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

The information in this document is subject to change without notice and should not be construed as a commitment by ABB Oy. ABB Oy assumes no responsibility for any errors that may appear in this document.

In no event shall ABB Oy be liable for direct, indirect, special, incidental or consequential damages of any nature or kind arising from the use of this document, nor shall ABB Oy be liable for incidental or consequential damages arising from use of any software or hardware described in this document.

This document and parts thereof must not be reproduced or copied without written permission from ABB Oy, and the contents thereof must not be imparted to a third party nor used for any unauthorized purpose.

The software or hardware described in this document is furnished under alicense and may be used, copied, or disclosed only in accordance with the terms of such license.

Copyright © 2010 ABB OyAll rights reserved.

TrademarksABB is a registered trademark of ABB Group. All other brand or product names mentioned in this document may be trademarks or registered trademarks of their respective holders.

GuaranteePlease inquire about the terms of guarantee from your nearest ABB representative.

1MRS756639 SYS 600 9.3

5

MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

Copyrights

Page 6: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

6

Page 7: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639 SYS 600 9.3MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

1. Introduction

1.1. This manualThis manual provides thorough information on the IEC 61107 protocol and needed information related to it. It describes the implementation of the interface between SYS 600 and the IEC 61107 device.

Note! Standard IEC 61107 has been replaced with standard IEC 62056-21. If the equipment to be connected supports standard IEC 62056-21 only, contact your local supplier.

OverviewThe communication between SYS 600 and an external device with IEC 61107 protocol is designed to be processed as a batch. This means that the SYS 600 application program first downloads the batch of the IEC 61107 messages to the PC-NET and then starts the communication between the external device and the PC-NET (the communication unit of SYS 600). During the communication phase, the PC-NET sends downloaded messages to the external device. Replies to these messages are sent to SYS 600 as spontaneous messages to the bit stream process object.

InterfaceThe interface between SYS 600 and an external device is divided into two layers: the application layer and the link layer.

The application layer is mainly used to store downloaded messages before sending them to the external device. The station process of the PC-NET executes the functions of the application layer. The station process type is ATR_DEVICE (code 27).

The link layer handles most of the functionalities of the interface. The link layer is called the process line. The type of the IEC 61107 protocol line is IE_PROTOCOL (code 26).

1.2. Use of symbolsThis document includes information icons that point out important information. The corresponding icons should be interpreted as follows:

1.3. Related documentsThe following MicroSCADA manuals should also be available for reference during the use of this manual:

The information icon alerts the reader to relevant facts and conditions.

Name of the manual MRS numberSYS 600 9.3 System Objects 1MRS756662

7

Page 8: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

SYS 600 9.3

1.4. Document revisions

Version Revision number Date HistoryA 9.3 31.3.2010 New document

8

Page 9: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639 SYS 600 9.3MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

2. Instructions

2.1. Communication sessionOne communication session contains a sequence of messages, which will be sent to the external device by SYS 600. These messages must be created by the application program of SYS 600. The PC-NET is transparent to IEC 61107 messages. The PC-NET adds only the block check character, BCC, to the end of an outgoing IEC 61107 message. The PC-NET adds the serial number of the message to the beginning of the reply message sent by the external device. This is done to make the identification of the reply messages easier. The application program downloads messages of a session to the PC-NET by using the AM attribute.

The session must include messages to execute handshake and terminate connection between SYS 600 and the IEC 61107 external device.

In the following example you can see a minimum session:

Example:@S1 = “/ ? ! CR LF” handshaking@S2 = “ACK 0Z1 CR LF” selects the communication mode@S3 = “SOH P1 STX (password) ETX ”password check

(Data reading messages must be placed here.)@S4 = “SOH B0 ETX” terminate connection

The PC-NET adds the BCC character to the end of messages. (Messages that begin with SOH- or STX-characters have BCC characters at the end.)

2.2. Autocaller The Autocaller process (ACE) of SYS 600 is used to connect the PC-NET to the IEC 61107 device power meter with telephone lines. The ACE implementation of the IEC 61107 device interface works the same way as the ACE of the RTU and STA lines (see SYS 600 System Objects).

If the AC attribute of an IEC line is active, you (or the application program) can dial the IEC 61107 device by writing the phone number of the CN attribute. It is possible to call the IEC 61107 device before or after the downloading session and the starting session. The telephone connection to the IEC 61107 device breaks if you write an empty string to the CN attribute, or, if the connection time limit is exceeded. Notice that the PC-NET does not break the telephone connection automatically.

Following ACE attributes are applicable with the IEC 61107 device line:

AC ACESelects if the Autocaller is in use or not.

Value: 0, no Autocaller1, Autocaller is connected

Access: read/write

9

Page 10: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

SYS 600 9.3

AS ACE StateThe state of the Autocaller.

value: 0, IDLE1, CONNECTED2, BUSY3, INITIAL

Access: read-only

CL Connection time limitedIndicates whether the connection time is limited or not.

Value: 0, no time limit1, time limitation is in use (see CT-attribute)

Access: read/write

CN ConnectionIs used to call or break the telephone connection. An empty string closes the connection.

Value: string of telephone number, max 25 characters Access: write

CS Connected stationIndicates which station the front-end is communicating with.

Value: Integer, 0..255. The STA object number, 0=no stationAccess: write

CT Connection timeThe maximum time that a connection is allowed to last (if CL = 1).

Value: integer, 1..655 secondsAccess: read/write

PU Pulse diallingSelects tone or pulse dialling.

Value: 0, tone dialling1, pulse dialling

Access: read/write

SR ACE AT S registersIs used to rewrite S registers of modem, see the ACE manual.

10

Page 11: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639 SYS 600 9.3MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

2.3. The ATR stationThe interface of an ATR station object provides attributes for sending of IEC 61107 messages.

2.3.1. The attribute interface of the ATR stationFollowing attributes are used by the ATR station:

IU In UseThis attribute defines if the station process is in use or not.

Value: 0, not in use1, in use

Access: read/write

When the station is taken out of use, initialized station data and the FIFO message are cleared.

AL AllocationIndicates if the ATR station is allocated on a certain application or not.

Value: 0, not allocated1, allocated

Access: read/write

AS Allocating Application The number of the application which has reserved the station.

Access: readIndex range: no indexesValue range: 0..250

0 = no application

MI Message IdentificationIndicates which object address in the process database the station sends the system messages to.

Value: Integer, 1 .. 65535Access: read/write

MS Message ApplicationThe number of the application that receives the systems messages.

Access: read, conditional writeIndex range: noneValue range: 1..250

11

Page 12: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

SYS 600 9.3

AM IEC 61107 MessageWhen you use the AM attribute, the application program downloads the command messages, which are sent by one communication session, from the PC-NET to the IEC 61107 device. The AM attribute has no indexes because messages are stored into the FIFO memory of the Alpha application layer. The FIFO memory has space for 16 messages.

Messages are written to the AM attribute as unsigned 8 bit vector. The reply of the AM attribute indicates the amount of messages in the FIFO queue. The FIFO memory can be cleared by taking the alpha protocol line temporarily out of use (IU=0).

Value: when writing: vectorwhen reading: integer, number of messages in FIFO

Access: read/write

vector = array (1..62) of unsigned 8

It is also possible to modify the application so that only one message is active throughout the session. Start the session by writing the first message to the AM attribute. Then set the ST attribute. When the bitstream process objects have received and processed the reply, the next outgoing message is always written to the AM attribute, up to the end of the session. It may be easier to handle the replies by using this method. Always check the RT-attribute of the process object before processing!

ST Start sessionThe ST attribute enables the communication between the PC-NET and the IEC 61107 device. The communication starts when the connection between the PC-NET and the IEC 61107 device is established (with modem lines). The communication starts immediately if the interface is direct or the connection is already established.

Value: when writing 1, starts the sessionwhen reading 0, session not active1, session active

Access: read/write

Contact your local supplier for more information, if required.

The application layer does not convert the protocol of downloaded messages. Therefore, the application program of MicroSCADA is responsible for the correct syntax of the messages.

12

Page 13: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639 SYS 600 9.3MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

2.3.2. System messages generated by the ATR stationThe ATR device sends the following system status messages to the base system:

Error status codes:

2.4. The IEC 61107 protocol processAlthough the ABB Alphameter and the IEC 61107 device power meter use the same station process, they both have their own line processes that are dependent on the protocol. The line process of the IEC 61107 device interface performs the IEC 61107 protocol.

13751 ATRP_SESSION_ENABLED This message is the reply to the session start command (ST=1). The actual session begins when the connection between the PC-NET and the IEC 61107 device is established.

13753 ATRP_SESSION_FINISHED This message is sent by the PC-NET when the session is ready. (All session messages are successfully sent and they have all received a correct reply). The application program of SYS 600 can use this system status message code to detect when the session is finished.

13755 ATRP_SESSION_STOPPEDThe enabled session is stopped by user (IU=0).

13754 ATRP_SESSION_ABORTED The session is not finished correctly. The IEC 61107 device has not sent replies to session messages. Or, the base system has not got the correct bitstream object to receive the IEC 61107 device messages.

13752 ATRP_NOT_ALLOWED_WHILE_COMMUNICATINGThe error status reply to the AM attribute writing while the session is still active.

13756 ATRC_UNKNOWN_ATTRIBUTE The error reply status code to an unknown attribute.

13757 ATRC_SESSION_FIFO_FULLThe error status reply to the AM attribute writing when the FIFO session is full.

13758 ATRC_TOO_LONG_MESSAGE The error status reply to the AM attribute writing when the message is too long to fit FIFO.

13759 ATRC_STATION_NOT_IN_USE The error status reply to the starting session (ST=1), when the station is not in use.

13760 ATRC_LINE_NOT_IN_USE The error status reply to the starting session (ST=1), when the line is not in use.

13

Page 14: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

SYS 600 9.3

2.4.1. The attributes of the IEC 61107 line process

IU In UseIndicates if the IEC 61107 interface is in use or not.

Value: 0, not in use1, in use

Access: read/write

MI Message IdentificationIndicates to which object address in the process database the line process sends the system messages.

Value: Integer, 1 .. 65535Access: read/write

MS Message ApplicationThe number of the application that is the receiver of the system messages generated by the line.

Access: read, conditional writeIndex range: noneValue range: 1..250

AC AutocallerThis attribute determines if the Autocaller is used.

PD Poll DelaySpecifies the time between two command messages that are sent by the PC-NET to the IEC 61107 device.

Value: Integer, 0 .. 65535 milliseconds, practical values with MT-30 (500..1200 ms)

Access: read/write

BR Baud RateIndicates the baud rate of the line. The baud rate of the IEC 61107 device line cannot be changed during an active session.

Value: Integer, 110 .. 19200 baudAccess: read/write

14

Page 15: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639 SYS 600 9.3MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

EN Enquiry LimitThe EN attribute specifies the maximum number of times that a telegram is retransmitted before the PC-NET gives up, if the Eneremet does not respond.

Value: Integer, 1 .. 255Access: read/write

HT Header Time-out LengthSpecifies the maximum allowed time when waiting for the first character of the IEC 61107 device reply message. If the character does not arrive in time, the previously sent message is retransmitted (max EN times).

Value: Integer, 0 .. 65535 millisecondsAccess: read/write

TI Time-out LengthSpecifies the maximum allowed time from the first character to the last character of the IEC 61107 device message.

Value: Integer, 1.. 65 secondsAccess: read/write

RI Receiver Enable DelayDefines when the receiver of the line is enabled after a message has been issued. This attribute must be tuned if the used hardware echoes the transmitted bytes to the receiver.

Value: Integer, 0.. 65535 seconds

Access: read/writeDefault: 5

DC Diagnostic CounterThe PC-NET line has a set of 16 diagnostic counters. The IEC 61107 line uses the counter set as described below:

1. TRANSMITTED TELEGRAMS • incremented each time a message is successfully transmitted.

2. FAILED TRANSMISSIONS• incremented each time a CTS or DCD signal prevents a transmission.

0: Receiver always enabled1..9: Receiver enabled at once when a message has been

transmitted10..65535: Delay time in milliseconds from the end of the

message transmission to the receiver enabling.

15

Page 16: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

SYS 600 9.3

3. Not used4. Not used5. Not used6. MESSAGE BUFFER OVERFLOWS

• incremented each time a message longer than 230 characters has been received.7. Not used8. Not used9. MESSAGE TIMEOUTS

• incremented each time when a transmitted message has not received a reply.10. Not used11. RECEIVED MESSAGES

• incremented each time a message has been received from the IEC 61107 device without errors.

12. PARITY ERRORS• incremented each time a message has been rejected because of a parity error.

13. OVERRUN ERRORS• incremented each time a message has been rejected because of a receiver

overrun.14. BCC ERRORS

• incremented each time a message has been rejected because of the checksum.15.FRAMING ERRORS

• incremented each time a message has been rejected because of the character format.

16. SCC BUFFER OVERFLOW ERRORS• incremented each time a message has been rejected because of the checksum.

values: integer, 0..65535access: read/write

PY, RD, TD, SBThese attributes are normal communication control attributes of the PC-NET line. They will have default values when the IEC 61107 device line of the PC-NET is started.

2.4.2. System status messages of IEC 61107 line processThe following system status messages are defined for the IEC 61107 line process.

17452 IECP_LINE_PASSIVATEDLine is passivated by the Autocaller, the user has disconnected the connection.

17458 IECP_CONNECTION_ESTABILISHEDThe IEC 61107 device has responded to the first session message.

17456 IECP_SESSION_STOPPEDThe line is set out of use when the session is not yet finished.

16

Page 17: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639 SYS 600 9.3MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

2.4.3. Error status codes of the IEC-61107 line process

2.5. Messages from the IEC 61107 Device to SYS 600The replies for the session messages are sent from the PC-NET to the base system with bitstream messages. The application program of SYS 600 must be used to move necessary data from reply messages to the corresponding process objects.

Notice that the SCIL program that does the translation must be started by the event channel (when the bitstream process object has been updated), because the PC-NET writes successive reply messages to the same process object.

The PC-NET adds the serial number of the message (within one session) to the beginning of the IEC 61107 device reply, to make the identification of the messages easier. The user cannot change the address of the bitstream object, it is OA= 1. If the reply is longer than 224 bytes, the next block is written to another bitstream process object, OA=2. The maximum length of a reply is 16384 bytes, which means that the process objects with OA=1..74 are updated with the longest possible reply.

2.5.1. Program exampleThe base system station object of ATR type must be created. The common way to do this is to add following lines to the end of the SYS_BASCON.COM file: #CREATE STA:V = LIST(- TT = "EXTERNAL",-

17451 IECP_SESSION_ABORTEDThe session has failed because of the IEC 61107 device. The PC-NET has not received correct replies from the IEC 61107 device.

17450 IECP_SESSION_READYAll messages from the FIFO session have been sent correctly to the IEC 61107 device.

It is not recommended to use the IECP_SESSION_READY (17450) system status message when searching for the correct ending of the session. The IEC 61107 device replies are sent to the base system via the station process. Therefore, it is possible that the SESSION_READY status messages reach the base system before the last IEC 61107 device reply.

17453 IECP_BUFFER_NOT_READYInternal buffer handling problem.

17454 IECP_ERR_REPLY_FROM_DEVICEThe reply from the Enemet MT-30 has not been accepted because of a BCC or character format error (after retrying).

17455 IECP_NO_REPLY_FROM_DEVICEThe IEC 61107 device MT-30 has not replied to the command message.

17457 IECP_SESSION_ENDS_TO_CTS_ERROThe session is aborted because of a CTS error.

17

Page 18: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

SYS 600 9.3

ST = "ATR",- ND = 2,- TN = 1)#CREATE STA1:B = %STA

The following SCIL script can be used to create an IEC 61107 line and a station object to the PC-NET 2. @NET=2 @STA=1 @LINE=1 #SET NET'NET':SPO'LINE'=26 #SET NET'NET':SDV(27)=(1,1) #SET NET'NET':SIU'LINE'=0 #SET NET'NET':SBR'LINE'=300 #SET NET'NET':STI'LINE'=25 #SET NET'NET':SPD'LINE'=1000 #SET NET'NET':SRI'LINE'=50 #SET NET'NET':SEN'LINE'=10 #SET NET'NET':SSD'LINE'="COM7" ;uses COM7 #SET STA'STA':SIU=0 #SET STA'STA':SAL=1 #SET STA'STA':SAS='NET' #SET STA'STA':SIU=1 #SET STA'STA':SHM=2

#SET NET'NET':SIU'LINE'=1

The reading of general registers:1. #SET STA1:SAM = (47,63,33,13,10)

/* /?!’cr’’lf’ */#SET STA1:SAM = (6,48,48,49,13,10)

/* ‘ack’001’cr’’lf’ */#SET STA1:SAM = (1,80,49,2,40,74,74,74,41,3)

/* ‘soh’P1’stx’(JJJ)’etx’ */#SET STA1:SAM = (1,82,49,2,71,82,82,40,49,44,50,44,50,41,3)

/* ‘soh’R1’stx’GRR(1,2,2)’etx’ */#SET STA1:SAM = (1,66,48,3,11

/* ‘soh’B0’etx’*/#SET STA1:SST = 1 /* enable session */#SET NET1:SCN1=“123456” /* dialling to the IEC 61107 device power meter */

Replies:bitstream =(1,/EMO0MT30v2.20’cr’’lf’)bitstream = (2,‘soh’P0’stx’()’etx’’bcc’)bitstream = (3,‘ack’)bitstream = (4,‘stx’(0*kwh)’cr’’lf’(0*kvarh)’etx’’bcc’)bitstream = (5,‘ack’)

The following example shows the unpacking of bitstream to bytes:@VEC = UNPACK_STR(BITS:P1,1)@LEN = LENGTH(%VEC)@BIT_NO = 1@I = 0

#LOOP %I < (%LEN DIV 8) @VAL = 1 @BTY = 0 #LOOP_WITH X = 1 .. 8 IF %VEC(%BIT_NO) == 1 #THEN #BLOCK @BTY = %BTY + %VAL

18

Page 19: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639 SYS 600 9.3MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

#BLOCK_END @VAL = %VAL*2 @BIT_NO = %BIT_NO + 1 #LOOP_END #SET BITS:P(%I) = %VAL @BTY = 0 @I = %I+1#LOOP_END

19

Page 20: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

20

Page 21: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639 SYS 600 9.3MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

3. Index

AAC ......................................................................................................... 9, 14ACE ............................................................................................................ 9ACE AT S registers .................................................................................. 10ACE State ................................................................................................. 10AL ............................................................................................................. 11Allocating Application ............................................................................. 11Allocation ................................................................................................. 11Alphameter ............................................................................................... 13AM ............................................................................................................ 12Application layer ........................................................................................ 7AS ....................................................................................................... 10, 11ATR-station .............................................................................................. 11Autocaller ............................................................................................. 9, 14

BBaud Rate ................................................................................................. 14BR ............................................................................................................. 14

CCL ............................................................................................................. 10CN ............................................................................................................. 10Connected station ..................................................................................... 10Connection ................................................................................................ 10Connection time ........................................................................................ 10Connection time limited ........................................................................... 10Counter set ................................................................................................ 15CS ............................................................................................................. 10CT ............................................................................................................. 10

DDC ............................................................................................................. 15Diagnostic counter .................................................................................... 15

EEN ............................................................................................................. 15Enquiry Limit ........................................................................................... 15Error status codes ............................................................................... 13, 17

HHandshake .................................................................................................. 9Header Time-out Length .......................................................................... 15HT ............................................................................................................. 15

IIEC 61107 message .................................................................................. 12

21

Page 22: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MRS756639MicroSCADA ProIEC 61107 Master ProtocolConfiguration Manual

SYS 600 9.3

IEC 61107 protocol .................................................................................... 7IEC 62056-21 ............................................................................................. 7In Use ................................................................................................. 11, 14IU .................................................................................................. 11, 13, 14

LLink layer ................................................................................................... 7

MMessage Identification ....................................................................... 11, 14Message System ................................................................................. 11, 14MI ....................................................................................................... 11, 14MS ...................................................................................................... 11, 14

PPC-NET ...................................................................................................... 9PD ............................................................................................................. 14Poll Delay ................................................................................................. 14PU ............................................................................................................. 10Pulse dialling ............................................................................................ 10PY ............................................................................................................. 16

RRD ............................................................................................................ 16Receiver Enable Delay ............................................................................. 15RI .............................................................................................................. 15

SSB ............................................................................................................. 16SR ............................................................................................................. 10ST ............................................................................................................. 12Start session .............................................................................................. 12System status messages ............................................................................ 13

TTD ............................................................................................................ 16Terminate Connection ................................................................................ 9TI .............................................................................................................. 15Time-out Length ....................................................................................... 15

22

Page 23: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,
Page 24: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,
Page 25: SYS 600 9.3 IEC 61107 Master Protocol - ABB Ltd MicroSCADA Pro 1MRS756639 IEC 61107 Master Protocol Configuration Manual SYS 600 9.3 AM IEC 61107 Message When you use the AM attribute,

1MR

S75

6639

A/3

1.32

010

©

Cop

yrig

ht 2

010

AB

B. A

ll rig

hts

rese

rved

.

Contact us

ABB Oy Substation Automation Products P.O. Box 699

FI-65101 Vaasa

FINLAND

Tel. +358 10 22 11

Fax. +358 10 224 1094

www.abb.com/substationautomation