IEC-60870-5-104 OPC Device Driver Manual

2y ago
102 Views
2 Downloads
1.12 MB
26 Pages
Last View : 10d ago
Last Download : 3m ago
Upload by : Troy Oden
Transcription

IEC-60870-5-104 OPC Device Driver Manual

IEC-60870-5-104 OPC Device Driver ManualTable of ContentsOVERVIEW . 3RELAB IEC-60870-5-104 OPC DEVICE DRIVER . 3OPERATING SYSTEM AND HARDWARE REQUIREMENTS . 3OPERATING SYSTEM (OS) . 3HARDWARE . 3CONFIGURING RL60870-5-104 OPC DEVICE DRIVER . 4DRIVER CONFIGURATION DIALOG . 5CONNECTION TAB OPTIONS . 5INITIALIZATION TAB OPTIONS . 6TIME SETTINGS TAB OPTIONS . 7FIELD SIZES TAB OPTIONS . 8GROUP POLLING TAB OPTIONS . 9COUNTER POLLING TAB OPTIONS . 10LOG TAB OPTIONS . 11IMMEDIATE IO TAB OPTIONS . 12OPC TAG TYPES . 13SYSTEM TAGS . 14ACQUISITION TAGS. . 14COMMAND TAGS . 15CMD and CMD WithTs Tags . 15CMD SBO and CMD SBO WithTs Tags. 16PARAMETER TAGS . 16ATTRIBUTE TAGS . 18GLOBAL TAGS . 20CAUSE OF TRANSMISSION (COT) . 21SELECT BEFORE OPERATE (SBO) COMMANDS. . 22MAPPING RL60870-5-104 ITEMS TO RELAB OPC SERVER . 252

IEC-60870-5-104 OPC Device Driver ManualOverviewIEC-60870 is a Substation Automation design standard - part of the IEC reference architecture for electric powersystems.ReLab IEC-60870-5-104 OPC Device DriverReLab OPC Server has an advanced architecture with ability to plug-in multiple drivers supporting multiple protocols intoone instance of the OPC Server.ReLab’s IEC-60870-5-104 OPC device driver fully addresses the need of collecting, processing and analyzing IEC-60870data.This manual will assist you in configuring communications between IEC-60870 compliant devices (IED’s) and ReLab’s IEC60870-5-104 OPC Device Driver.Operating System and Hardware RequirementsOperating System (OS) Windows 7 Windows 8, 8.1 Windows Server 2003 Windows Server 2008, 2008 R2Hardware CPU – 1GHz (minimum) Memory – 500MB (minimum) Hard Drive Storage – 500MB (minimum)3

IEC-60870-5-104 OPC Device Driver ManualConfiguring RL60870-5-104 OPC Device DriverFollow these steps to configure the IEC-60870-5-104 OPC Device Driver (RL60870-104):1. Open ReLab OPC Console and navigate to the main menu item Configure Load DriverFigure 12. Select IEC-60870 Device DriverFigure 23. Specify Driver name and click OK4. The Driver Configuration dialog will appear4

IEC-60870-5-104 OPC Device Driver ManualDriver Configuration DialogThe following options can be configured for the Driver:Connection Tab OptionsFigure 3OptionDescriptionTypeDefaultIP Address127.0.0.1Slave HostThe IP address of the Slave device.Slave PortThe port of the Slave device.Integer2404Common AddressThe address of a particular sector of a physical device. Thevalid range is 0 to 254 or 0 to 65534, depending on whetherthe Common Address (ASDU) size setting is set to one or twooctets.Integer1Originator AddressTransmitter’s address.Integer1Table 15

IEC-60870-5-104 OPC Device Driver ManualInitialization Tab OptionsOn initialization tab a user can specify the sequence of optional command the Driver will send to a Slave on aninitialization. The Initialization sequence will be executed on the driver start-up and on every connection to a Slave.Figure 4OptionDescriptionTypeStart Initialization afterStart initialization after a connection to a Slaveis established or after Slave’s Initialization iscompletedDropdownDelay (sec)Delay in seconds between Initialization stepsStringTextboxStepClock SynchronizationCounter InterrogationTest ProcedureSlave Connection0 secondsIntegerDefault for:Steps from 1 to 4, each step containing one of:General InterrogationDefaultStep1: Clock SynchronizationDropdownStringStep2: General InterrogationStep3: Counter InterrogationStep4: None6

IEC-60870-5-104 OPC Device Driver ManualTime Settings Tab OptionsFigure 5OptionDescriptionTypeDefault0 – clocksynchronizationmessages arenot sentClock Synchronization IntervalTime-out in seconds of sending of clocksynchronization messages.TextboxTime ZoneSpecifies the device's time zoneDropdown listUTC timeRespect Daylight SavingsIf checked then the driver will respect DaylightSaving Time when synching the device time.CheckboxUncheckedT0 – Connection TimeoutTime-out of the next reconnect attempt.T1 – ACK waiting timeoutTimeout in seconds to wait for anacknowledgement (ACK) to a transmitted APDU.If this time expires, the master will activelydisconnect and reconnect to a Slave.T2 – ACK sending timeoutTimeout in seconds for acknowledgements incase of no data messages. T2 T1.IntegerTextbox30 secondsIntegerTextbox15 secondsIntegerTextbox10 secondsInteger7

IEC-60870-5-104 OPC Device Driver ManualOptionDescriptionT3 – TestFrames sendingtimeoutTime-out in seconds for sending test frames incase of a long idle state. When enabled (intervalis greater than 0), the driver periodically sends atest command ASDU. T3 T1.KMax pending output messagesWMax pending input messagesTypeTextboxDefault20 secondsIntegerTextbox12IntegerTextbox8integerTable 2Maximum range for timeouts T0 to T2: 1 s to 255 s, accuracy 1 s.Recommended range for timeout T3: 1 s to 48 h, resolution 1 s.Long timeouts for T3 may be needed in special cases where satellite links or dialup connections are used (for instance toestablish connection and collect values only once per day or week).Field Sizes TAB OptionsFigure 68

IEC-60870-5-104 OPC Device Driver ManualOptionDescriptionTypeDefaultCause of Transmission LengthThe Cause of Transmission data length, can be 1or 2 octets (Bytes).Dropdown list2 BytesCommon Address LengthCommon Address of ASDU, can be 1 or 2 octets(Bytes).Dropdown list2 BytesInformation Object AddressLengthInformation Object Address length, can be 1, 2or 3 octets (Bytes).Dropdown list3 BytesTable 3Group Polling Tab OptionsGroup Polling Tab specifies how often the General Interrogation and Group Interrogation commands will be executed.Figure 7OptionGlobal IntervalGroup IntervalsDescriptionSpecifies in seconds how often the Driver will sendperiodic General Interrogation (GI) commands to aSlaveSpecifies in seconds how often the Driver will send aperiodic Group Interrogation command to a SlaveTypeDefaultInteger0 – disables periodic GIcommandsInteger0 – disables sendingperiodic GroupInterrogationcommands9

IEC-60870-5-104 OPC Device Driver ManualTable 4Counter Polling Tab OptionsCounter Polling Tab specifies how often the Counter Interrogation and Group Counter Interrogation commands will beexecuted. The commands are executed with the Freeze option. If Reset Counters is set, the command will be executedwith Freeze and Reset option.Figure 8OptionDescriptionGeneral IntervalSpecifies in seconds how often the Driver will send aperiodic Counter Interrogation (CI) command to aSlaveGroup N IntervalSpecifies in seconds how often the Driver will send aperiodic Counter Group Interrogation command to aSlaveReset CountersSpecifies if the counters will be reset with theCounters Interrogation CommandTypeDefaultTextbox0 – disables periodic CIcommandsTextbox0 – disables periodicGroup InterrogationcommandsCheckBoxBooleanFalseTable 510

IEC-60870-5-104 OPC Device Driver ManualLog Tab OptionsFigure 9OptionsDescriptionTypeDefaultEnable loggingEnables or disables driver loggingBooleanCheckboxFalsePath to log file(s)Specifies location of the log file(s)StringTextboxEmptyWhen file size exceedsSpecifies when the new file will be created based on filesize entered (in bytes)LongTextbox1048576ScheduledSpecifies when the new file will be created based on userselectable schedule Daily (every 24 hours) Every 12 hours Every 8 hours Every 6 hours Every 4 hours Every 2 hours Hourly EnumerationDropdownEmptyMaximum number of log filesSpecifies maximum number of log files before the files areoverwrittenIntegerTextbox10VerbositySpecifies verbosity level of the log files (Valid entry is 1 – 9)IntegerTextbox1Table 611

IEC-60870-5-104 OPC Device Driver ManualImmediate IO Tab OptionsFigure 10OptionSize of the buffer forimmediate IO valuesDescriptionSpecifies the receiving buffer size. If the number of valuesexceeds the buffer size the older values will be discarded.TypeTextboxDefault512Table 712

IEC-60870-5-104 OPC Device Driver ManualOPC Tag TypesThe following tag types are supported by the Driver.Figure 11Tag TypeDescriptionSystemTags that reflect the driver’s communication statusAcquisitionTags associated with Monitor ASDUs, read onlyCMDDirect commandsCMD WithTsDirect Commands with time tagCMD SBOCommands that require Select before Operate13

IEC-60870-5-104 OPC Device Driver ManualCMD SBO WithTsCommands that require Select before Operate with time tagParameterParameters are used to change the configuration of a device, for example, to change a parametersuch as a threshold value or the lower/upper limit for an alarm.AttributeTags that serve as attributes for the complex commands like SBO, complementary tags forparameters, etc. See Attribute Tags description below.GlobalTags for the Commands like General Interrogation, Counter Interrogation, etc., that are notassociated with a particular Information Object Address but have a global scope.Table 8System TagsTagDescriptionData TypeCommunicationStatus tag can take one of thefollowing values:Communication Status1. Initializing - this status is entered whendriver's method Start is called by the OPCServer2. Connecting - this status is entered when"opensocket" is called3. Online - this status means normaloperation of the driver.4. Failed – connection to a Slave failed,waiting for the next reconnectionattempt. The timeout for the nextconnection attempt is set by the T0configuration option.StringMessagesReceivedThe number of messages received from the device DWordMessagesSentThe number of messages sent to the deviceDWordTimeSpanTime in seconds after driver’s initializationDWordDeviceNotCommunicatingTrue means that the Device is not connectedBooleanCommunicationErrorsCommunication Errors, the number of disconnects BooleanTable 9Acquisition Tags.Acquisition Tags should be mapped to Monitor ASDUs addresses. The driver will convert data between ASDU type andTag type. In cases if conversion is not feasible the corresponding Tag(s) will have bad quality. Recommended mappingbetween Monitor ASDU types and Tag types are in the table below.14

IEC-60870-5-104 OPC Device Driver ManualTag typeData typeMonitor ASDUBooleanSingle bit1, 30ByteUnsigned 8 bit valueTo any Monitor ASDU that can beconverted to Byte.ShortSigned 16 bit value11, 35IntSigned 32 bit value15, 37Float32 bit floating-point value9, 13, 21, 34, 36Double64 bit floating-point valueTo any Monitor ASDU that can beconverted to Double.WordUnsigned 16 bit dataTo any Monitor ASDU that can beconverted to Word.DWordUnsigned 32 bit data7, 33CharSigned 8 bit data3, 5, 31, 32Table 10Command TagsCommand tags trigger a command on the address they are mapped to.CMD and CMD WithTs TagsTagDescriptionControl TypeIDASDUData TypeSngPointSingle Command. By default thecommand is executed in thePersistent mode. To issue aShortPulse or LongPulsecommand a user needs to map acomplimentary CmdOption tagto the same address as thecommand. See Table 14 below.C SC45, 58BooleanDblPointDouble CommandC DC46, 59IntStepPosRegulating Step CommandC RC47, 60Int15

IEC-60870-5-104 OPC Device Driver ManualNormValMeasured Value, NormalizedValueC SE NV48, 61FloatScaleValSet Point Command, Scaled Value C SE SV49, 62ShortFloatValSet Point Command, ShortFloating Point ValueC SE FV50, 63FloatBitStrBit StringC BO51, 64DWordControl TypeIDASDUData TypeTable 11CMD SBO and CMD SBO WithTs TagsTagDescriptionSngPointSingle CommandC SC45, 58BooleanDblPointDouble CommandC DC46, 59IntStepPosRegulating Step CommandC RC47, 60IntNormValMeasured Value, NormalizedValueC SE NV48, 61FloatScaleValSet Point Command, ScaledValueC SE SV49, 62ShortFloatValSet Point Command, ShortFloating Point ValueC SE FV50, 63FloatTable 12Parameter TagsParameter Tags are used to modify the configuration of a device, for example - to change a parameter such as athreshold value or the lower/upper limit for an alarm.Parameter loading for all parameters except the Activate parameter requires two steps.1. Specifying the type of the parameter (threshold value, filter factor, lower limit or upper limit). This isaccomplished by writing the corresponding value to a ParType Tag associated with the Parameter. To associate aParType Tag with a Parameter Tag a user must map the ParType Tag to the same address as the Parameter Tag.2. Sending the parameter loading command to the device with the desired value for the parameter. This isaccomplished by writing the desired value to the Parameter Tag.Once a parameter loading operation has been successfully completed, the new value for the parameter is received fromthe device and transmitted to the OPC client that performed the operation.16

IEC-60870-5-104 OPC Device Driver ManualFigure 12TagDescriptionData TypeNormValParameter for the Measured Value, Normalized value. ParType Tag mustbe mapped to the same address as the NormVal Parameter Tag.FloatScaleValParameter for the Measured Value, Scaled value. ParType Tag must bemapped to the same address as the ScaleVal Parameter Tag.ShortFloatValActivateParameter for the Measured Value, Short Floating Point number value.ParType Tag must be mapped to the same address as the FloatValParameter Tag.Activates/deactivates of persistent cyclic or periodic transmission of theaddressed object.Activation parameter types are loaded directly by writing the activationvalue (0: Activation, 1: Deactivation) to the tag representing the deviceparameter. There is no complementary Attribute Tag attached to thisparameter type.FloatShortTable 1317

IEC-60870-5-104 OPC Device Driver ManualAttribute TagsAttribute tags are the complementary tags that can be mapped to the same address as the main tag to specify the typeof the operation that is performed when the main tag is changed (like for ParType tags) or to provide extra informationabout the operation (like CauseOfTrans or CmdOption tags).Figure 13TagDescriptionData TypeThe Tag is used in Manual SBO mode, see Select Before Operate (SBO)commands for more details.When mapped to the same address as an SBO command the value of the Selecttag the message the Master will send to a Slave.SelectIf Select Tag is set to:Short1 – the Driver will send Select message0 – the Driver will send Execute message2 – the Driver will send Cancel message. The message will cancel previousSelect.An optional complementary tag for a Single (SngPoint) command. Specifies thecommand type.CmdOption1 - short pulse duration (circuit-breaker), duration determined by a systemparameter in the outstationShort2 - long pulse duration, duration determined by a system parameter in theoutstation3 - persistent output18

IEC-60870-5-104 OPC Device Driver ManualTagDescriptionData TypeParType is a complementary tag that must be associated with a respectiveParameter Tag by mapping it to the same address as the Parameter Tag.To load a Parameter it is necessary to specify the Parameter Type by writing thecorresponding value to the Tag, and then – writing the Parameter Value to theParameter tag itself.ParTypeThe Parameter Type tag can take one of the following values:Short1 - threshold value2 - smoothing factor (filter time constant)3 - low limit for transmission of measured values4 - high limit for transmission of measured valuesThe CmdStatus attribute can be used with SBO command to show the detailedstatus of SBO command.If mapped to the same address as SBO command the CmdStatus tag will have thefollowing values:CmdStatus0- Undefined,1- Select message sent,2- Select message response is “ OK”,3- Select message response is “fail”,4- Execute message sent,5- Execute message response is “Ok”,6- Execute message response is “fail”,7- Cancel message sent,8- Cancel message response is “OK”CauseOfTrans tag can be associated with Acquisition tag by mapping it to theCauseOfTrans same address as the Acquisition tag. The CauseOfTrans possible values are listedin the Table 16 below.ShortShortBlockThe value of IEC quality, bit 0x10 (Blocked/Not Blocked) of 8 high-order bits.The value of the Information Object is blocked for transmission; the valueremains in the state in which it was acquired before it was blocked. Blocking andunblocking may be initiated by a local lock or a local automatic cause, forexample.BooleanTransThe value of IEC quality, bit 0x20 (Substituted / Not Substituted) of 8 high-orderbits. The value of the Information Object is provided through operator input(dispatcher) or by an automatic source.BooleanTable 1419

IEC-60870-5-104 OPC Device Driver ManualGlobal TagsGlobal Tags are used to send the commands like General Interrogation, Counter Interrogation, etc., that are notassociated with a particular Information Object Ad

IEC-60870-5-104 OPC Device Driver Manual 3 Overview IEC-60870 is a Substation Automation design standard - part of the IEC reference architecture for electric power systems. ReLab IEC-60870-5-104 OPC Device Driver ReLab OPC Server has an advanced architecture with ability to pl

Related Documents:

Section 2 IEC 60870-5 overview 2.1 IEC 60870-5 protocol The companion standards IEC 60870-5-101 and IEC 60870-5-104 are derived from the IEC 60870-5 protocol standard definition. It specifies a functional profile for basic telecontrol tasks. The IEC 60870-5 prot

8 SCADAPack E IEC 60870-5-101/104 Slave Technical Manual describe the level of support provided by the SCADAPack E RTU, and the IEC 60870-5-101 Companion standard and IEC 60870-5-104 Companion standard which describe the transmission protocol for Telecontrol equipment and systems. The IEC 60870-5-101 Slave driver in the

IEC 60870-5-101, -103: Serial RS232, 422, 485 ieldbus Process Plant / field level SolutionCenter Control station 254 IEC 60870-5 Client and Server (Master and Slave) For communication in accordance with IEC 60870-5-101, -103 and -104 Application areas The remote control protocol, according to standards IEC 60870

D. OPC UA using LabVIEW (OPC UA Server OPC UA Clients) E. OPC with Visual Studio, MATLAB or Python. Select one of the following I. Trend OPC DA Data using Visual Studio Measurement Studio II. Get Temperature Data into MATLAB using MATLAB OPC Toolbox III. Get Temperature Data into Python F. OPC Network: Send OPC data between different .

The UnIECim IEC 60870-5 protocol test platform is KEMA’s test system for testing IEC 60870-5 protocol implementations. The knowledge of the IEC 60870-5 protocol is in the software. UnIECim 60870-5 supports real-

Feb 10, 2017 · IEC 60870-5-101 to IEC 60870-5-104 conversion can be configured in this part. These ASDUs use 24 bits long time tag in IEC 60870-5-101 (milliseconds, seconds, minutes), but in IEC 60870-5-104 the 56 bits long time tags are used (mil

Distributed Network Protocol Version 3 (DNP3), IEC 60870-5 series, and IEC 61850. For example, the IEC 60870-5-104 transmission protocol [2] presents network access for IEC 60870-5-101 [3] based on Transmission Control Protocol/Internet Protocol (TCP/IP), which can be utilized for basic telecontrol tasks in S

Robin Readers by Level Ages 1-3 95 titles Ages 4-5 29 titles Ages 6-7 29 titles Ages 7-8 5 titles 3. How Robin Readers are graded? Robin Graded Readers have four levels: Foundation, Easy Start, Beginner and Elementary. With the i-Pen readable function, Robin Graded Readers are designed to nurture a love of reading in children which in turn enrich their vocabulary and consolidate their ability .