13 - 76
Chapter 13 Control Sub Functions
[4] Setting the skip function from the PLC CPU
The following shows the settings and sequence program example for skipping
the control being executed in axis 1 with a command from the PLC CPU.
(1) Set the following data.
(The setting is carried out using the sequence program shown below in
section (2)).
Setting item
Setting
value
Setting details Buffer memory address
[Cd.37] Skip command 1 Set "1: Skip request". 4347+100n
n: Axis No.-1
: Refer to Section 5.7 "List of control data" for details on the setting details.
(2) Add the following sequence program to the control program, and write it to
the PLC CPU.
1) When the "skip command" is input, the value "1" (skip request) set in
"[Cd.37] Skip command" is written to the buffer memory of Simple
Motion module.
[Program example]
No.19 Skip program
<Save skip command ON>
<Write skip command>
<Turn OFF skip command
memory>
M18SET
M11PLS
K1MOVP
U0\
G4347
M18RST
M17 X10
M18
U0\
G4347
=
K0
<Pulsate skip command>
1087
X38
M17PLS
1090
1093
<Set positioning start No.10>
1081
X47
M11PLS
K10MOVP D32