User guide
4Ć11
4.7.1.3 BASIC Task Example
The following is an example of a BASIC task for the Remote I/O
network in figure 4.3. This task reads a speed reference value and
writes it to a speed indicator.
1000 COMMON SPD_REF%
1010 COMMON SPD_IND%
1020 COMMON RUN@
1030 START EVERY 10 TICKS
1040 IF NOT RUN@ THEN SPD_IND% = 0 \GOTO 10000
1050 SPD_IND% = SPD_REF%
10000 END
The symbolic names defined as COMMON" reference the I/O points
defined in the configuration for the Remote I/O network.