Mitsubishi Electronics FX3GC Manuel D’Utilisation
411
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
14 Handy Instruction – FNC 60 to FNC 69
14.7 FNC 66 – ALT / Alternate State
11
FN
C30
-FN
C3
C30
-FN
C3
9
R
ota
tion and
Shi
ft
ft
12
FN
C40-FN
C40-FN
C49
D
ata O
perati
perati
on
13
FNC
50-FNC
59
High-Speed
Proc
essing
14
FM
C60-FN
C60-FN
C69
H
andy
In
struction
15
FN
C70-FN
C70-FN
C79
E
xternal
F
X
I/O
De
vice
16
FNC
80-FNC
89
External
FX
Dev
ice
ice
17
FNC1
00-
FNC10
00-
FNC10
9
Dat
a
a
Transfer 2
18
FNC1
10-
FNC139
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
Operation 2
20
FNC1
50-
FNC159
FNC159
Pos
itioning
itioning
Control
14.7
FNC 66 – ALT / Alternate State
Outline
This instruction alternates a bit device (from ON to OFF or from OFF to ON) when the input turns ON.
1. Instruction format
2. Set data
3. Applicable devices
S: "D .b" is available only in FX
3U
and FX
3UC
PLCs. However, index modifiers (V and Z) are not available.
Explanation of function and operation
1. 16-bit operation (ALT and ALTP)
Alternating output (1-step)
Every time the command input turns from OFF to ON, a bit device specified in
Every time the command input turns from OFF to ON, a bit device specified in
is alternated (from ON to OFF or
from OFF to ON).
Dividing output (by 2-step alternating output)
Multi-step dividing outputs are achieved by combination of two or more ALTP instructions.
Multi-step dividing outputs are achieved by combination of two or more ALTP instructions.
Operand type
Description
Data type
Bit device number whose output is alternated
Bit
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
V Z Modify K H
E
" "
P
S
P
FNC 66
ALT
−
−
−
Mnemonic
Operation Condition
16-bit Instruction
3 steps ALT
ALTP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Pulse (Single)
Operation
32-bit Instruction
D
S
2
D
D
1
D
Command
input
FNC 66
ALTP
D
Command input
D
ON
ON
ON
ON
ON
1st step
2nd step
Command
input
input
ON
ON
ON
ON
ON
ON
ON
Command
input
FNC 66
ALTP
M0
D
FNC 66
ALTP
M1
D
Specify the same device
M0
D
M0
D
M1