581
8
8 Electronic Cam 8.8 Modifying Key Points for Electronic Cams
◆
Example:
When M10 is set to ON, the PLC executes DCAMRD instructions to read the cam table. The read data is
stored in D elements starting with D200.
Master and slave axes of each key point occupy two 32-bit registers; that is, each key point occupies four D
elements. If ve points are read, from the rst point, (D201, D200) indicates the master axis position, (D203,
D202) indicates the slave axis position, and so on. Twenty D elements are occupied.
8.8.4 Reading Electronic Cam Floating-point Decimal Data
ECAMRD: Reading electronic cam oating-point decimal data
◆
Overview
The ECAMRD instruction reads electronic cam oating-point decimal data in mechanical units.
CAMRD
m1 m2 D n
Reading electronic
cam oating-point
decimal data
Applicable model:
H3U
m1
Cam table Cam table to be read
32-bit instruction
(17 steps)
DECAMRD:
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.