![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262484.webp)
Appendices
A-24
CP2E CPU Unit Software User’s Manual(W614)
A-1-10
Conversion Instructions
Instruction
Mnemonic
Variations
Symbol/Operand
Function
BCD-TO-BINA
RY
BIN
@
Converts BCD data to binary data.
DOUBLE
BCD-TO-DOU-
BLE BINARY
BINL
@
Converts
8
-digit BCD data to
8
-digit hexadecimal (
3
2-bit binary)
data.
BINARY-TO-
BCD
BCD
@
Converts a word of binary data to a word of BCD data.
DOUBLE
BINARY-TO-
DOUBLE BCD
BCDL
@
Converts
8
-digit hexadecimal (
3
2-bit binary) data to
8
-digit BCD
data.
2'S COMPLE-
MENT
NEG
@
Calculates the 2's complement of a word of hexadecimal data.
BIN(023)
S
R
S
: Source word
R
: Result word
(BCD)
(BIN)
R
BINL(05
8
)
S
R
S
: 1st source word
R
: 1st result word
(BCD)
(BIN)
(BCD)
(BIN)
R
R+1
BCD(024)
S
R
S
: Source word
R
: Result word
(BCD)
(BIN)
R
BCDL(059)
S
R
S
: 1st source word
R
: 1st result word
(BIN)
(BCD)
(BIN)
(BCD)
R
R+1
NEG(160)
S
R
S
: Source word
R
: Result word
2's complement
(Comp 1)
(S)
(R)
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......