Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
7-85
WTOB(P),BTOW(P)
1
2
3
4
6
6
7
8
7.5 Data processing instructions
7.5.9 Data dissociation and linking in byte units (WTOB(P),BTOW(P))
7.5.9 Data dissociation and linking in byte units
(WTOB(P),BTOW(P))
WTOB(P ),BTOW( P)
Function
WTOB
(1) Dissociates n-bytes of the 16-bit data stored into the area starting from the device number
designated by , and stores them following the device designated by .
For example, if n 5, data through the lower 8 bits of to ( +2) would be stored from (
to +4).
: Head number of the devices where data to be dissociated/linked in byte units is stored (BIN 16 bits)
: Head number of the devices where the result of dissociated/linking in byte units will be stored (BIN 16 bits)
n : Number of byte data to be dissociated/linked (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– ––
–– –– ––
n ––
Basic
Process
High
performance
Redundant
Universal
n
n
WTOB, BTOW
WTOBP, BTOWP
D
D
Command
Command
S
SP
indicates an instruction symbol of WTOB/BTOW.
S
D
S
D
S
D
Upper byte Lower byte
Upper byte Lower byte
Upper byte Lower byte
Data of lower byte
00H
Data of upper byte
Data of lower byte
Data of upper byte
Data of lower byte
Data of upper byte
b15 b8b7 b0
b15 b8
b7
b0
D
S
S
D
D
D
D
D
S
n bytes
*1: Fractions that follow the decimal
point are rounded up.
n
2
+( -1)
*1
+1
00
H
00H
00H
00H
00H
+3
+2
+1
+(n-2)
+(n-1)
S S
D
D
b15 b8b7 b0
b15 b8 b7 b0
D
S
S
D
D
D
39H
78H56H
39H00H
12H00H
78H00H
56H00H
DCH00H
DCH
FEH
When n=5
bytes
Ignored when n=5
D
S
12
H
+1
+2
+1
+2
+3
+4