5 OPERATION CONTROL PROGRAMS
(4) The device No. specified with (S3) should be an even number. The write cam data
is stored in the specified device according to the cam data format as follows.
(a) Stroke ratio data format
Off set
+0
Can data format (Stroke ratio data format)
+1
Cam data starting point
+2
Cam resolution
+3
+4
Stroke ratio at first point cam data value
+5
+6
Stroke ratio at second point cam data value
+7
:
+ (2N+2)
Stroke ratio at Nth point cam data value
+ (2N+3)
(b) Coordinate data format
Off set
+0
Can data format (Stroke ratio data format)
+1
Cam data starting point
+2
Cam resolution
+3
+4
+5
at first point cam data value
+6
+7
+8
+9
at second point cam data value
+10
+11
:
+ (4N)
+ (4N+1)
At Nth point cam data value
+ (4N+2)
+ (4N+3)
(5) During the execution of the CAMWR2 instruction, another CAMWR instruction,
CAMWR2 instruction, or CAMMK instruction cannot be processed.
During the execution of the CAMWR2 instruction, the cam data writing flag
(SM505) turns on. Therefore, create an interlock. When the CAMWR instruction,
CAMWR2 instruction, or CAMMK instruction is executed while the cam data
writing flag (SM505) is on, an error occurs.
POINT
The CAMWR2 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.
Item
:
Item
Input value X
Output value Y
Input value X
Output value Y
:
Input value X
Output value Y
5 - 169
Range
1
0 to (Coordinate resolution-1)
256/512/1024/2048/4096/
8192/16384/32768
-2147483648 to 2147483647[10
(-214.7483648 to 214.7483647[%])
Range
2
0
2 to 16384
0 to 2147483647
1
[Cam axis cycle unit]
-2147483648 to 2147483647
1
[Output axis position unit]
0 to 2147483647
2
[Cam axis cycle unit]
-2147483648 to 2147483647
2
[Output axis position unit]
:
0 to 2147483647
N
[Cam axis cycle unit]
-2147483648 to 2147483647
N
[Output axis position unit]
-7
%]