19 Applied Instructions (Data Operation 2)
19.2 WTOB / WORD to BYTE
500
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
19.2 WTOB / WORD to BYTE
Outline
This instruction separates continuous 16-bit data in byte (8-bit) unit.
1. Format and operation, execution form
2. Set data
3. Applicable devices
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
WTOB 16 bits Continuous WTOB(EN, s, n, d);
WTOBP 16 bits Pulse WTOBP(EN, s, n, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Head device for storing the data to be separated in byte unit. ANY16
Number of byte data to be separated. (0≤n) ANY16
Output
variable
ENO Execution state Bit
Head device for storing the result separated in byte unit. ANY16
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
V Z Modifier K H E
"
"
P
zzzz z
zz zz
zzzz z
WTOB
EN
s
n
ENO
d
WTOBP
EN
s
n
ENO
d