13 Applied Instructions (Handy Instruction)
13.7 ALT / Alternate State
340
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
13.7 ALT / Alternate State
Outline
This is the command for inverting the bit device (ON to OFF, OFF to ON) when the input is turned ON.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD ST
ALT 16 bits Continuous ALT(EN, d);
ALTP 16 bits Pulse ALTP(EN, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Output
variable
ENO Execution state Bit
Bit device to be output alternately Bit
Operand
type
Bit Devices Word Devices Others
System user Digit designation
System
user
Special
unit
Index
Cons
tant
Real
number
Character
string
Pointer
XYMTCS
D
.b
KnX KnY KnM KnS T C D R
U\G
VZModifierKH E
"
"
P
zz z
S1
z
ALT
EN ENO
d
ALTP
EN ENO
d