FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Cautions
1. When the command contact turns OFF
The current value [
more.
2. Number of occupied devices
Two devices are occupied from a device specified as the teaching time
Make sure that these devices are not used in other controls for the machine.
•
D
D
: Teaching time
1
D
D
•
+1: Current value of the pressing and holding time
1
Program example
1. Writing the teaching time to 10 types of data registers
Suppose that the set value is written to D400 to D409 in advance.
M8000
FNC 19
RUN
monitor
X010
FNC 64
Teaching
button
PLF
X010
M 0
FNC 12
408
D
D
+1] of the pressing and holding time is reset, and the teaching time
1
D 400
T 0
D 401
T 1
T 9
D 409
K1X000
Z
BIN
D300
K 0
TTMR
M 0
D300
D400Z
MOV
14 Handy Instruction – FNC 60 to FNC 69
D
D
1
10 timers to be set
Because the timers T0 to T9 are the 100 ms type, the actual
operating time (sec) is 1/10 of the teaching data.
Selecting a timer by a digital switch
An input to the 1-digit digital switch connected to X000 to
X003 is converted into binary format, and transferred to Z.
Measuring the teaching time
The time (sec) in which X010 is pressed and held is stored to
D300.
Recovery of the teaching time is detected.
Writing the set value of a timer
The teaching time (D300) is transferred to the register D400Z
for setting a timer selected by the digital switch.
14.5 FNC 64 – TTMR / Teaching Timer
D
D
will not change any
1
.