Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
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
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(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
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modifier K H
E
"
"
P
z z z z
z
z z
z z
z z z z
z
WTOB
EN
s
n
ENO
d
WTOBP
EN
s
n
ENO
d