I/O Tags

<< Click to Display Table of Contents >>

 

I/O Tags

1.Right-click Driver IEC104 and select the Insert - New Folder item to create three new I/O Folders.

2.Rename these Folders to "Analog", "Discrete", and "Commands".

Driver Folders

Driver Folders

3.First, create the I/O Tags referring to Analog Measurements CurrentA, CurrentB, and CurrentC of Switch Obj1CSWI1 of Driver IEC61850. To do so, inside Analog Folder create three I/O Tags using the Insert - I/O Tag option from its contextual menu.

4.Rename these Tags to "CSWI1_CurrentA", "CSWI1_CurrentB", and "CSWI1_CurrentC".

5.Configure the N parameters of these Tags with the following values:

CSWI1_CurrentA: N1 = 1, N2 = 5, N3 = 36, and N4 = 7

CSWI1_CurrentB: N1 = 1, N2 = 5, N3 = 36, and N4 = 8

CSWI1_CurrentC: N1 = 1, N2 = 5, N3 = 36, and N4 = 9

Analog I/O Tags

Analog I/O Tags

6.Configure the properties of I/O Tags CSWI1_CurrentA, CSWI1_CurrentB, and CSWI1_CurrentC with the following values:

AllowWrite: True

AllowRead: False

AdviseType: 0 - AlwaysinAdvise

 

7.Now create Tags for Discrete Measurements. To do so, right-click the Discrete folder and use the Insert - I/O Tag option to create three I/O Tags.

8.Rename these Tags to "pos_CSWI1", "pos_3CSWI2", and "Feedback_pos_3CSWI2".

9.Configure the N parameters of these Tags with the following values:

pos_CSWI1: N1 = 1, N2 = 5, N3 = 30, and N4 = 1

pos_3CSWI2: N1 = 1, N2 = 5, N3 = 30, and N4 = 2

Feedback_pos_3CSWI2: N1 = 1, N2 = 5, N3 = 36, and N4 = 3

Discrete I/O Tags

Discrete I/O Tags

10.Configure the properties of I/O Tags pos_CSWI1, pos_3CSWI2, and Feedback_pos_3CSWI2 with the following values:

AllowWrite: True

AllowRead: False

AdviseType: 0 - AlwaysinAdvise

 

11.Finally, create command Tags on Driver IEC104. First, create an I/O Tag responsible for sending a command to Switch CSWI1. To do so, right-click the Commands folder and select the Insert - I/O Tag option.

12.Rename this Tag to "Operate_CSWI1".

13.Configure the N parameters of this Tag with the following values:

Operate_CSWI1: N1 = 1, N2 = 4, N3 = 45, and N4 = 4

I/O Tag for commands

I/O Tag for commands

14.Configure the following properties of Tag Operate_CSWI1:

AllowWrite: False

AllowRead: True

AdviseType: 0 - AlwaysinAdvise

 

15.After creating a script for Tag Operate_CSWI1, now we must configure the command from Switch 3CSWI2. As this is a Switch of type SBO (Select Before Operate), users must create an I/O Block on Driver IEC104 that separates the received information and then performs the requested operation. Create a new I/O Block on Commands Folder, using the Insert - I/O Block contextual menu.

16.Configure the name of this I/O Block as "cmd_3CSWI2" and its size as four Elements. Each I/O Block Element represents the following information referring to the received command:

Element 0: Command's value (depends on the type of command)

Element 1: Cause Of Transmission (6: Activate or 8: Deactivate)

Element 2: Select/Execute (0: Execute or 1: Select)

Element 3: Quality Of Command (0: Undefined, 1: Short pulse duration, 2: Long duration pulse, or 3: Persistent output)

 

17.Configure the B parameters of I/O Block cmd_3CSWI2 as follows:

B1: 1

B2: 4

B3: 45

B4: 5

 

18.Configure the name of the Elements to "eValue", "COT", "Operation", and "eQuality", as shown on the next figure.

I/O Block

I/O Block

19.Configure the following properties of I/O Block cmd_3CSWI2:

AdviseType: 0 - AlwaysInAdvise

AllowRead: True

AllowWrite: False

Was this page useful?