7 - 78
7 OPERATION CONTROL PROGRAMS
At cam data read
The cam data storage area is rewritten.
• The cam data in the currently set status are read.
(4) The word devices that may be set at (D), (S) and (n) are shown below.
Word devices
(Note-2)
Bit devices
(Note-2), (Note-3)
Cam No.
specification
Setting data
Dn Wn #n Mn Bn Fn Xn Yn Nn
(Note-1)
(D)
(Note-5)
(Note-4)
(Note-4)
(S)
(Note-4)
(Note-4)
(n)
— — — — — —
(Note-1) : "Nn" indicates the cam No..
(Note-2) : The device No. cannot be specified indirectly.
(Note-3) : Specify a multiple of 16 as the device number of bit data.
(Note-4) : PX/PY cannot be set.
(Note-5) : Special relays (M9000 to M9255) and dedicated devices (M2000 to M2399) cannot be set.
(Note: DOUT cannot output the PX, special relays (M2000 to M9255) and dedicted devices
(M2000 to M2127).)
(5) The cam No. that may be set as "Nn" is within the following range.
Q173CPU(N)/Q172CPU(N)
1 to 64
101 to 164
201 to 264
301 to 364
[Errors]
(1) An operation error will occur if:
• The cam data of cam No. specified with (D) or (S) are not yet registered to the
Motion controller;
• The resolution of cam No. specified with (D) or (S) differs from the number of
transferred words specified with (n);
• (S) to (S)+(n-1) is outside the device range;
• (D) to (D)+(n-1) is outside the device range;
• (n) is 0 or a negative number;
• PX/PY is set in (S) to (S)+(n-1); or
• PX/PY is set in (D) to (D)+(n-1).
(2) When conversion is made in program editing of the SW6RN-GSV
P, an error will
occur if:
• (S) to (S)+(n-1) is outside the device range;
• (D) to (D)+(n-1) is outside the device range;
• (n) is 0 or a negative number;
• PX/PY is set in (S) to (S) + (n-1).
• PX/PY is set in (D) to (D) + (n-1).
• (S) is a bit device and the device number is not a multiple of 16; or
• (D) is a bit device and the device number is not a multiple of 16.
when (n) specified is a
word device
when (n) specified is a
constant