Operation error
In the following case, an operation error will occur, and the corresponding Motion SFC program No. execution will be stopped.
For the subroutine called program, the call source program also stops to execute.
• (S) is indirectly specified device, and the device No. is outside the range.
Program example
■Program which adds K10 to #100 when #0 is K100, adds K20 to #100 when #0 is K200 or more,
or adds K100 to #100 in other cases
SELECT
CASE #0 == K100
#100 = #100 + K10
CEND
CASE #0 >= K200
#100 = #100 + K20
CEND
CELSE
#100 = #100 + K100
CEND
SEND
4 OPERATION CONTROL PROGRAMS
4.14 Program Control
4
197