389
Conversion Instructions Section 3-11
3-11 Conversion Instructions
This section describes instructions used for data conversion.
3-11-1 BCD-TO-BINARY: BIN(023)
Purpose Converts BCD data to binary data.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Instruction Mnemonic Function code Page
BCD-TO-BINARY BIN 023 389
DOUBLE BCD-TO-DOUBLE
BINARY
BINL 058 390
BINARY-TO-BCD BCD 024 392
DOUBLE BINARY-TO-DOU-
BLE BCD
BCDL 059 393
2’S COMPLEMENT NEG 160 395
DOUBLE 2’S COMPLEMENT NEGL 161 397
16-BIT TO 32-BIT SIGNED
BINARY
SIGN 600 398
DATA DECODER MLPX 076 400
DATA ENCODER DMPX 077 404
ASCII CONVERT ASC 086 408
ASCII TO HEX HEX 162 411
COLUMN TO LINE LINE 063 415
LINE TO COLUMN COLM 064 417
SIGNED BCD-TO-BINARY BINS 470 419
DOUBLE SIGNED BCD-TO-
BINARY
BISL 472 422
SIGNED BINARY-TO-BCD BCDS 471 424
DOUBLE SIGNED BINARY-TO-
BCD
BDSL 473 427
GRAY CODE CONVERSION GRY 474 430
BIN(023)
S
R
S: Source word
R: Result word
Variations Executed Each Cycle for ON Condition BIN(023)
Executed Once for Upward Differentiation @BIN(023)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area S R
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511