5 OPERATION CONTROL PROGRAMS
[Errors]
(5) During the execution of the CAMWR instruction, another CAMWR instruction,
CAMWR2 instruction, or CAMMK instruction cannot be processed.
During the execution of the CAMWR 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 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.
(1) An operation error will occur, and the cam data write will not be executed if:
• Cam No. specified with (S1) is outside the range of 1 to 256.
• For the cam data in the stroke ratio data format, the cam data first position
specified with (S2) is outside the range of 1 to the cam resolution.
• For the cam data in the coordinate data format, the cam data first position
specified with (S2) is outside the range of 0 to (coordinate number - 1).
• For the cam data in the stroke ratio data format, the number of cam data points
is outside the range of 1 to 4096.
• For the cam data in the coordinate data format, the number of cam data points is
outside the range of 1 to 2048.
• The start position and the number of cam data points, which are outside the
range of the cam resolution or the number of coordinates, are set.
• The device numbers storing the number of cam data points specified with (n) are
outside the range.
• (S3) are not even-numbered devices.
• Cam data format specified with (S3) is set to other than 1 or 2.
• For the cam data in the stroke ratio data format, the cam resolution is set a value
other than "256/512/1024/2048/4096/8192/16384/32768".
• For the cam data in the coordinate data format, the coordinate number is set a
value other than "2 to 16384".
• For the cam data in the stroke ratio data format, the cam data first position is
outside the range of 0 to (cam resolution - 1).
• The writable area is insufficient when the cam data is being written.
• The input value of the coordinate data is a negative value.
• The input value of the coordinate data satisfies "X
• The cam data was read with "Write protection" or "Read/write protection"
password set.
• The CAMWR instruction is executed during the cam data writing (CAMWR
instruction, CAMWR2 instruction, CAMMK instruction).
5 - 166
> X
".
n
n+1