5 OPERATION CONTROL PROGRAMS
5.18.5 Cam position calculation: CAMPSCL
Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S1)
—
(S2)
—
(D)
—
—
[Setting data]
Setting data
[Functions]
CAMPSCL(S1), (S2), (D)
(Note-1)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
—
—
—
—
—
(S1)
Cam position calculation: Cam No. (1 to 256)
Start device No. which stores the cam position
(S2)
Device No. which stores the cam position calculation
(D)
(1) For the cam No. data specified with (S1), the cam axis current feed value or the
cam axis current value per cycle is calculated from the cam position calculation
control data specified with (S2), and the value is output to the device specified
with (D).
(2) Specify the cam No. to perform the cam position calculation in (S1). When cam
No. 0 is specified, the cam position is calculated as the linear cam.
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
—
—
—
—
—
—
—
—
Description
calculation control data
result
5 - 181
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
—
—
—
—
—
—
—
—
—
(Note-1): The special register (SD) cannot be used.
Data type of result
—
G
6
Comparison
conditional
expression
—
—
—
: Usable