3. Suitable soft components
Operand
Word
S
D
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
Description
Source (BCD) → destination (BIN)
If source data is not BCD code, SM409 will be ON (Operation error), SD409=4 (error
occurs).
As constant K automatically converts to binary, so it's not suitable for this instruction.
For example: all the information stored in the clock information register SD13~SD19 of PLC
is BCD code, but we are used to using decimal value. The time information can be converted
from BCD code information to binary:
System
*
*
*
D
FD
TD
CD
DX
●
●
●
●
●
●
●
●
Constant
*
*
DY
DM
DS
K /H
●
●
●
●
●
●
143
Module
ID
QD