Linking SC

You can link SCs, which support communication with other control devices. In each case, an output of an SC is linked to an input of another SC. Depending on the control procedures, for example, marks can thus be exchanged between several SCs. The number of links between two light signal controls is unlimited.

1.  On the Signal Control menu, click > Signal Controller Communication.

The SC Communication list opens. If there is no link, only the column titles are shown.

By default, you can edit the list (Using lists).

2.  In the list, on the toolbar, click the Add button .

A new row with default data is inserted.

Note: In lists, you can use the  Attribute selection icon to show and hide attribute values (Selecting attributes and subattributes for columns of a list).

3.  Make the desired changes:

Element Description
FromSC SC from which an output is linked
FromChn Number of the output channel of the SC
ToSC SC from which an input is linked
ToChn Number of the input channel of the SC

In the next time step, the data that was written from the signal controller to the output channel is transmitted to the linked input channel, where it can be read by its control.

Example with VAP control procedures

Definition of SC Communication from SC 1, output 7, to SC 3, input 5. In control logic, the following commands can be used for transmitting and receiving data:

  • Within the control logic of SC 1, the following command sets the output value of output 7 to 1:

Marker_Put( 7, 1 )

  • In the next time step of the simulation, the control logic of SC 3 can read this value from input 5 using the following command. The variable for the input must be numeric:

Value := Marker_Get( 5 )

The user-defined variable Value is set to 1 and can be used in the subsequent program run.

Superordinate topic:

Modeling signal controllers