Mitsubishi Electronics FX3U Coffeemaker User Manual


 
FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions
9 One-speed Interrupt constant quantity feed -DVIT Instruction
9.3 Function and Operation
B - 130
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.
6) Interrupt input signal logical NOT
Turn the "Interrupt signal logic reverse" relay ON or OFF (see the following table) to specify the logic of
the interrupt input signal. However, if the user interrupt input command is set for the pulse output
destination device, the interrupt input signal logical NOT function cannot be used.
*1.
Y003 can be specified as the pulse output destination only if two FX3U-2HSY-ADP adapters are connected to
the FX
3U PLC.
Pulse output
destination device
"Interrupt signal logic
reverse" relay
Description
= Y000
M8347
OFF: Positive logic (Turning the input ON will turn on
the interrupt input signal.)
ON: Negative logic (Turning the input OFF will turn
on the interrupt input signal.)
= Y001
M8357
= Y002
M8367
= Y003
*1
M8377
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
S
1
S
2
M8029
M8329
Initial pulse
Command
input
D
2
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
Interruption
condition
Interrupt input
signal: ON
FNC 06
FEND
Interruption
pointer I
0
SET
M8460RST
Interrupt input
signal: OFF
FNC 03
IRET
END
S
1
D
1
D
1
D
1
D
1