Linking signal controllers
You can link signal controllers, which support communication with other control devices. In each case, an output of a signal controller is linked to an input of another signal controller. Depending on the control procedures, for example, marks can thus be exchanged between several signal controllers. The number of links between two signal controllers 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 | Signal controller from which an output is linked |
FromChn | Number of the output channel of the signal controller |
ToSC | Signal controller from which an input is linked |
ToChn | Number of the input channel of the signal controller |
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 signal controller 1, output 7, to signal controller 3, input 5. In control logic, the following commands can be used for transmitting and receiving data:
- Within the control logic of signal controller 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 signal controller 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: