9 Electrical CAM
DVP-PM Application Manual
9-34
(a) Multiple-point E-CAM Data or no data
(b) 3-point E-CAM Data
Control Steps
:
Step 1: Set M80 to convert the 4-point E-CAM data (3-point data with an additional point 0) into binary
floating point format, and store the results in D0~D15.
Step 2: Set M81 to to write the data in D0~D15 into E-CAM chart-0 (K100).
Step 3: Set M82 to read the written data back into D100~D115 so as to confirm the data is correctly written
into E-CAM chart-0.
Step 4: Use Monitor Table to confirm the data read back in D100~D115. Data format (Radix) of D100~D115
should be set as floating point.
Ladder Diagram:
M80
DFLT K0 D2
DFLT
K32000
D8
DFLT
K0 D10
DFLT K0 D12
DFLT K0 D0
DFLT K16000 D4
DFLT K10000 D6
DFLT K0 D14
M81
DTO K100 K0 D0 K8
M82
DFROM K100 K0
D100
K8
9.4.2.2 Smooth Curve Interpolation