EasyManua.ls Logo

Xinje XD5 - Page 144

Xinje XD5
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
143
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
BIN D10 D0
S· D·
X0
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:
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S
D
Word
Description
Source (BCD) → destination (BIN)

Table of Contents

Related product manuals