CLM01.4-LAP-01VRS
Writing the User Program
5-25
DOK-CONTRL-CLM01.4LAP1-FK01-EN-P
Note:
If all subroutine stacks have been cleared, issuing an ’RTS’
command after the ’CST X 0’ command will result in an RTS
nesting ‘error.’
Example:
Cst_bef_AE.WMF
Fig. 5-7: Example Overview of Subroutine Stack Levels
CVT – Convert Variable <- -> Marker
0 = Convert from a variable to a bit pattern
1 = Convert from a bit pattern to a variable
0 = BCD conversion
1 = Binary conversion
Lowest byte of the bit pattern : M2.00 – M2.12
Variable
This command converts a binary or BCD bit pattern to a variable or
converts a variable to a binary or BCD bit pattern.
Binary : 1 x operational sign bit ( 1 = negative 0 = positive )
highest bit in the highest byte before the decimal point
4 x bytes before the decimal point
4 x bytes after the decimal point
BCD : 1 x byte before the decimal point ( 1-FF = negative
0 = positive )
4 x bytes before the decimal point
( 8 decimal places)
3 x bytes after the decimal point
( 6 decimal places)
The program proceeds to the next instruction following the time period of
one cycle.
CVT V601 M2.02 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...