4 OPERATION CONTROL PROGRAMS
4.16 Advanced Synchronous Control Dedicated Function
227
4
■Stroke ratio data format
■Coordinate data format
For coordinate data format, when writing is not completed in one attempt, divide the writing over several
attempts.
• During the execution of the CAMWR instruction, another CAMWR instruction, or CAMMK instruction cannot be processed.
During the execution of the CAMWR instruction, the "Cam data operation flag (SM505)" turns on. Therefore, create an
interlock. When the CAMWR instruction, or CAMMK instruction is executed while the "Cam data operation flag (SM505)" is
on, an error occurs.
The CAMWR instruction can be executed during the synchronous control. Note that the contents of the cam
data in operation are changed depending on the instruction execution timing.
Offset Item Range
+0 Can data format (Stroke ratio data format) 1
+1 Cam data starting point 0 to (Coordinate resolution-1)
+2 Cam resolution 256/512/1024/2048/4096/8192/16384/32768
+3
+4 Stroke ratio at first point cam data value -2147483648 to 2147483647[10
-7
%]
(-214.7483648 to 214.7483647[%])
+5
+6 Stroke ratio at second point cam data value
+7
+(2N+2) Stroke ratio at Nth point cam data value
+(2N+3)
Offset Item Range
+0 Can data format (Coordinate data format) 2
+1 Unusable 0
+2 Coordinate number 2 to 65535
+3
+4 At first point cam data value Input value X
1
0 to 2147483647
[Cam axis cycle unit]
+5
+6 Output value Y
1
-2147483648 to 2147483647
[Output axis position unit]
+7
+8 At second point cam data value Input value X
2
0 to 2147483647
[Cam axis cycle unit]
+9
+10 Output value Y
2
-2147483648 to 2147483647
[Output axis position unit]
+11
+(4N) At Nth point cam data value Input value X
N
0 to 2147483647
[Cam axis cycle unit]
+(4N+1)
+(4N+2) Output value Y
N
-2147483648 to 2147483647
[Output axis position unit]
+(4N+3)