9 One-speed Interrupt constant quantity feed - DVIT Instruction
9.3 Function and Operation
B - 139
A
Common Items
B
Built-in
Positioning
Functions
Apx.
Example
Connection
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions
Example program:
The following program shows that the interrupt input for Y000 is set using the user interrupt input
command (M8460).
After specifying a user interrupt input command for the interrupt input signal, if the specified device is
turned on, the number of pulses specified by will be output and then the operation will be stopped.
Before activating the Interrupt Positioning instruction again, be sure to turn off the user interrupt input
command.
M8002
Specifies the
interrupt input for
Y000 in the user
interrupt input
specification register.
M8336SET
Y000
Interrupt input
specification
function enable.
Executes DVIT
instruction
D8336HFFF8
FNC 12
MOV
FNC151
DVIT
S1• S2•
M8029
M8329
Initial pulse
Command
input
D2•
M8348
Positioning
being
performed
(Y000)
M101
Normal
end of
positioning
M102
Abnormal
end of
positioning
M100
M100
M101
M102
Interruption
positioning is
being
performed.
"Positioning
operation
normal end"
flag
"Positioning
operation
abnormal end"
flag
"Instruction execution complete" flag
"Instruction execution abnormal end" flag
Interruption
positioning being
performed
M8460
Interrupt input
signal: ON
FNC 06
FEND
Interruption
pointer I0
SET
M8460RST
Interrupt input
signal: OFF
FNC 03
IRET
END
FNC 04
EI
M100
M103SET
Interruption
positioning being
performed
Interruption
condition
M103
Interruption
condition
M103RST
M100
M103RST
Interruption
positioning being
performed
S
1
Downloaded from ManualsNet.com search engine