A SERVICE OF

logo

8. Function Commands
S.BDECO
- 284 -
{ S.BDECO ... BCD data decoding
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S
{ { { { { { {
{
D
{ { { { { { {
4
Decode command
S.BDECO
D
S
Setting data
D
S
No. of device where
data to be decoded
is set.
Head No. of device to
store the decoding results.
Function
(1) The low-order 8 bits of the device designated with S, handled as BCD data, are converted to BIN
data.
The low-order 8 bits of the BIN data is decoded, and the results are stored as decoded data in 2
8
bits ( =256 bits =16 words ) data from the device designated with D.
Execution conditions
The execution conditions for S.BDECO are as shown below.
Decode command OFF
S.BDECO
ON
Executed per scan
Executed per scan