580
8
8 Electronic Cam8.8 Modifying Key Points for Electronic Cams
8.8.3 Reading Electronic Cam Data
CAMRD: Reading electronic cam data
◆
Overview
The CAMRD instruction reads electronic cam table data in the unit of pulses.
CAMRD
m1 m2 D n
Electronic cam data
reading
Applicable Model:
H3U
m1
Cam
table
Cam table to be read
32-bit instruction
(17 steps)
DCAMRD:
Continuous
execution
m2
Starting
point
Starting point
D Data Data address
n
Number
of points
Number of key points
◆
Operands
Operand
Bit Soft Element Word Soft Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
m1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
m2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
n X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
Note: The soft elements in gray background are supported.
◆
Functions and actions
The CAMRD instruction reads electronic cam table data in the unit of pulses.
●
[m1] species a cam table to be read. When m1 = k11 to k13, the
M-Pos value (SD48, SD49) of an X axis
cam, the M-Pos value (SD148, SD149) of a Y axis cam, and the M-Pos value (SD248, SD249) of a Z axis cam are
specied, respectively
.
●
[m2] sets the starting point, m2 = k1 to k360.
●
[D] indicates the starting address. Multiple continuous address units starting with [D] are occupied.
Each key point occupies two 32-bit registers that ag positions of master and slave axes respectively;
that is, each key point occupies four address units.
●
[n] indicates the number of key points. (m2 + n – 1) must be less than or equal to the number of
downloaded key points.
◆
Notes:
1) CAMRD
instructions are used to read cam table data in the unit of pulses. Cam tables
to be read must exist in the PLC; that is, the cam tables have been downloaded to the
PLC through AutoShop.
2) (m2 + n – 1) must be less than or equal to the number of downloaded key points.