![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268523.webp)
484
Conversion Instructions
Section 3-12
3-12 Conversion Instructions
This section describes instructions used for data conversion.
3-12-1 BCD TO BINARY: BIN(023)
Purpose
Converts BCD data to binary data.
Ladder Symbol
Instruction
Mnemonic
Function code
Page
BCD TO BINARY
BIN
023
484
DOUBLE BCD TO DOUBLE
BINARY
BINL
058
486
BINARY TO BCD
BCD
024
488
DOUBLE BINARY TO DOUBLE
BCD
BCDL
059
490
2’S COMPLEMENT
NEG
160
492
DOUBLE 2’S COMPLEMENT
NEGL
161
494
16-BIT TO 32-BIT SIGNED
BINARY
SIGN
600
495
DATA DECODER
MLPX
076
497
DATA ENCODER
DMPX
077
501
ASCII CONVERT
ASC
086
505
ASCII TO HEX
HEX
162
509
COLUMN TO LINE
LINE
063
513
LINE TO COLUMN
COLM
064
515
SIGNED BCD TO BINARY
BINS
470
518
DOUBLE SIGNED BCD TO
BINARY
BISL
472
521
SIGNED BINARY TO BCD
BCDS
471
524
DOUBLE SIGNED BINARY TO
BCD
BDSL
473
526
GRAY CODE CONVERSION
GRY
474
530
FOUR-DIGIT NUMBER TO
ASCII
STR4
601
535
EIGHT-DIGIT NUMBER TO
ASCII
STR8
602
538
SIXTEEN-DIGIT NUMBER TO
ASCII
STR16
603
540
ASCII TO FOUR-DIGIT NUM-
BER
NUM4
604
542
ASCII TO EIGHT-DIGIT NUM-
BER
NUM8
605
545
ASCII TO SIXTEEN-DIGIT
NUMBER
NUM16
606
546
BIN(023)
S
R
S
: Source word
R
: Result word
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...