9 - 61
MELSEC-A
9 MAIN POSITIONING CONTROL
(3) Add the following sequence program to the control program, and write it to the
PLC CPU.
Example
*
* Current value change program
*
*
*
*
*
X1
X4
XA
X42
Y10
M103
D106, D107
: Start complete signal
: BUSY signal
: Error detection signal
: Current value change command
: Positioning start signal
: Current value change command pulse
: New current value
Store new current feed value in D106 and D107
<Current value change command pulse>
<New current value write to AD75>
<Current value change (9003) write>
<Current value change execution>
<Positioning start signal OFF>