I/O Tags

<< Click to Display Table of Contents >>

 

I/O Tags

The N parameters of I/O Tags are not used. Tags are addressed only using the Device and Item parameters.

Device: Server:LD, configured on the IEC61850 Device Config tab

Item: LN$Data$DataAttribute or LN$FC$Data$DataAttribute, according to the next table

Available options for the Item parameter

Item

Operation

Meaning

LN$Data$DataAttribute or LN$FC$Data$DataAttribute

Read or write

Any Tag to read according to the configuration of Report parameters or polling. If this Tag is for writing, it is accepted by this Driver

LN$RP$urcbXXXX or LN$RP$bcrbXXXX

--

This Driver does not display the tree corresponding to Reports, for simplicity and Tag saving. The whole handling is performed internally. Starting with version 1.0.14, this Driver displays the TimeofEntry Tag (reading and writing) only on Buffered Reports. Starting with version 1.1.18, also displays the EntryID Tag on Buffered Reports

LN$CO$xxxx or LN$SP$xxxxx

Write

Command or control block. To simplify the use of commands, this Driver provides, instead of a tree with the control object, a Block Tag with five Elements, described on the Elements of a command or control block table. The immediate result of accepting or not a command can be retrieved via script, using a Block Tag's WriteEx method on the wWriteStatus parameter, or via status block. Please check the next item for more information

LN$CO$xxxx$Oper, LN$CO$xxxx$TimeActOper, LN$SP$xxxxx$SBO, LN$CO$xxxx$SBOw, or LN$CO$xxxx$Cancel

--

If the Use Single Tag Command Alias option is selected, this Driver creates in Tag Browser a single Tag instead of a Block Tag with five Elements. In this case, sending a command is performed according to section Sending Commands with a Single Tag

LN$CO$xxxx or LN$SP$xxxxx

Read

Command status block. For each block or command Tag a second block is created, with two Elements, that displays the status of operations. This status can be changed as the result of denying to send a command, such as an unsupported command, as the result of accepting, such as a command accepted or not, or as the result of an effective action, such as opening or closing a switch. The first Element of this Block Tag (Status) contains a number code and the second Element (StatusText) contains a textual description of that number code. Please check table Number codes of a command status block for more information

 

Elements of a command or control block

Element

Description

Operation

Must receive the operation to perform in Text format. Possible values are OPERATE, SELECT, SELECTWITHVALUE, or CANCEL

Value

Value to send, depending on the type of object, in the CtlVal property

Time

Time instant, in Visual Basic standard in days since 1900, for use in a SELECT command by time and filling the T property

Test

Indicates whether a command is a test operation (value equal to one) or not (value equal to zero)

Check

Type of check performed before performing a command. It must be a number between 0 (zero) and 3 (three) as the result of a logic OR between bits 0: INTERLOCKING and 1: SYNCHROCHECK

 

Number codes of a command status block

Status

StatusText

0

Terminated OK

2

Select Accepted

3

Select With Value Accepted

4

Cancel Accepted

5

Operate Accepted

50

Terminate Fail

100

AppError:Unknown

101

AppError:NotSupported

102

AppError:BlockedBySwitchingHierarchy

103

AppError:SelectFailed

104

AppError:InvalidPosition

105

AppError:PositionReached

106

AppError:ParameterChangeInExecution

107

AppError:StepLimit

108

AppError:BlockedByMode

109

AppError:BlockedByProcess

110

AppError:BlockedByInterlocking

111

AppError:BlockedBySynchrocheck

112

AppError:CommandAlreadyInExecution

113

AppError:BlockedByHealth

114

AppError:1_Of_N_Control

115

AppError:AbortionByCancel

116

AppError:TimeLimitOver

117

AppError:AbortionByTrip

118

AppError:ObjectNotSelected

200

WriteError:Object_invalidated

201

WriteError:Hardware_fault

202

WriteError:Temporarily_unavailable

203

WriteError:Object_access_denied

204

WriteError:Object_undefined

205

WriteError:Invalid_address

206

WriteError:Type_unsupported

207

WriteError:Type_inconsistent

208

WriteError:Object_attribute_inconsistent

209

WriteError:Object_access_unsupported

210

WriteError:Object_non_existent

211

WriteError:Object_value_invalid

212

WriteError:Error_unknown

213

WriteError:Timeout

214

WriteError:OutOfMemory

215

WriteError:DecodeError

216

WriteError:WrongParameters

217

WriteError:CmdnotSupported

 

Sending Commands with a Single Tag

Tag's value is the value used in the CtlVal property

Tag's timestamp is used in the T property

The Test property has a fixed value of 0 (zero)

The Check property has a fixed value of 3 (three, INTERLOCKING and SYNCHROCHECK), except when the N1 parameter is enabled in the option Use Cmd Tag N1 as Check Condition

 

This operation is defined in the Item property with the Oper (Operate), SBO (Select Before Operate), SBOw (Select Before Operate With Value), or Cancel suffixes.

The Tag for the TimeActivatedOperate operation, with a TimeActOper suffix, is available when the LN contains the OpertTm property. This operation occurs in a way similar to the Operate command, except that the Tag's timestamp is used as the operation's time and a scheduled operation can be canceled using the Cancel Tag.

Was this page useful?