Create data points

Previous chapterNext chapter Show allShow all    Hide allHide all

In order to test the command input, we need some data points. We will now create some.

 

Name

Drivers

Type

Offset

SW_Switch1_RM

Simulator

SPS Merker/Int

110

SW_Switch1_BE

Simulator

SPS Merker/Int

110

SW_Schalter1_CO

Simulator

SPS Merker/Int

114

SW_Switch2_RM

Simulator

SPS Merker/Int

112

SW_Switch2_BE

Simulator

SPS Merker/Int

112

SW_Schalter2_CO

Simulator

SPS Merker/Int

116

 

Because the Simulator driver does not know about the allocation of the command variable to the response variable, they are both configured on the same offset. This allows them to update each other, at least regarding the value.

The names are chosen in a way that allows the text _SchalterX to substitute the substitution character * later on.

For the *RM and *BE data points, we allocate the REMA 'Switching direction'.

 

attention Attention

Do not forget to configure the control variable for the simulator driver with offset 0 or to set it to 0. Otherwise, the driver will run in simulation mode.