Chapter 6 Instruction Details
XBC E-Type Main Unit 6-100 Ve r. 1
6.20 Conversion Instruction
6.20.1 BCD, BCDP, DBCD, DBCDP
Instruction
Step
P M K F L T C S Z D.x
R.x
U N D R
2~4 O - -
Device Number data is saved in
Device number of Destination area
[Flag Set]
Error
For BCD(P) when S’ value is other than 0~9999 (h270F).
For DBCD(P) when S+1,S’s value is other than 0~99999999 (h5F5E0FF)
F110
1) BCD (Binary-Coded Decimal)
(1) It converts specified S device’s BIN data (0~h270F) to BCD so to save in D.