5 - 160
5 OPERATION CONTROL PROGRAMS
F/FS G
5.18 Synchronous Control Dedicated Function (SV22 advanced synchronous control
only)
QDS
Ver.!
5.18.1 Cam data read: CAMRD
Format CAMRD(S1), (S2), (n), (D) Number of basic steps 7
[Usable data]
Setting
data
Usable Data
Bit device
Word device
(Note-1)
Constant
Calculation
expression
Bit
conditional
expression
Comparison
conditional
expression
16-bit
integer
type
32-bit
integer
type (L)
64-bit
floating
point
type (F)
Coasting
timer
16-bit
integer
type (K/H)
32-bit
integer type
(K/H, L)
64-bit
floating
point
type (K)
(S1) —
— — —
— — — — —
(S2) —
— —
—
— —
(n) —
— — —
— —
— —
(D) —
— — — — — — — — —
: Usable
(Note-1): The special register (SD) cannot be used.
[Setting data]
Setting data Description Data type of result
(S1) Cam No. (1 to 256)
—
(S2)
Cam data first position
Stroke ratio data format : 1 to cam resolution
Coordinate data format : 0 to (Coordinate number-1)
(n)
Number of cam data points
Stroke ratio data format : 1 to 4096
Coordinate data format : 1 to 2048
(D) Start device No. which stores the reading cam data
[Functions]
(1) Of the cam No. data specified with (S1) in the cam open area, the data of the (n)
number of points, starting from the position specified with (S2), is read. The read
cam data is stored in the device specified with (D) or later.
(2) Set the cam data first position specified with (S2) within the following range.
• Stroke ratio data format : 1 to cam resolution
(Note-1)
• Coordinate data format : 0 to (Coordinate number-1)
(Note-1): Since the stroke ratio of the zeroth point cam data is fixed at 0%, the
cam data cannot be read.
Ver.!
: Refer to Section 1.3 for the software version that supports this function.