5-24
Writing the User Program
CLM01.4-LAP-01VRS
DOK-CONTRL-CLM01.4LAP1-FK01-EN-P
CPS - Compare and Set a Bit
or
Result bit
M2, M3, M4, Q1
Fieldbus :
Q2.02.0-Q2.05.7
Tolerance field
Compare operand 2
Operational sign of compare operand 2
Compare conditions
=
equal to (with tolerance field)
>
greater than
<
less than
>=
greater than or equal to
<=
less than or equal to
<>
not equal to (with tolerance field)
Compare operand 1
The result bit is set when the comparison has been made.
The program continues after the time period of one cycle.
CST - Clear Subroutine Stack Level
0 = Clear the subroutine stack
1 = Correct the subroutine stack by 1 level
2 = Correct the subroutine stack by 2 levels
and so on until
9 = Correct the subroutine stack by 9 levels
0 = Task 1 and Task 2
1 = Task 1
2 = Task 2
3 = Task 1,2,4 and 5
4 = Task 4
5 = Task 5
This command can be used to correct the subroutine stack.
If several subroutines are accessed within one program cycle, a direct
return across several levels is not possible with the RTS command. If the
subroutine stack has been corrected using the ’CST’ command, a
subsequent ’RTS’ command will execute a direct return across several
levels.
CPS V600
>
= + V601 V602 M2.02.0
CPS V600
>
= +12345.123 1234.12 M2.02.0
CST 1 1
Summary of Contents for CLM1.4
Page 117: ...7 20 Functions CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Page 205: ...9 42 Interfaces CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Page 213: ...10 8 Command Communications CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Page 233: ...11 20 Diagnostic Messages CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Page 272: ......
Page 273: ...Printed in the U S A Barcode...