Conversion Instructions - Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual

Function blocks
Table of Contents

Advertisement

Instruction Support and Operand Restrictions
Instruction
Mnemonic
DOUBLE BCD
/BL
DIVIDE
@/BL

2-6-10 Conversion Instructions

Instruction
Mnemonic
BCD-TO-BINARY
BIN
@BIN
DOUBLE BCD-TO-
BINL
DOUBLE BINARY
@BINL
BINARY-TO-BCD
BCD
@BCD
DOUBLE BINARY-
BCDL
TO-DOUBLE BCD
@BCDL
2'S COMPLEMENT NEG
@NEG
72
Function
Symbol
code
435
Function
Symbol
code
023
BIN
S
R
058
BINL
S
R
024
BCD
S
R
059
BCDL
S
R
160
NEG
S
R
Operands
Dd: 1st dividend
/BL
word
Dd
Dr: 1st divisor word DWORD
Dr
R: 1st result word
R
Operands
S: Source word
R: Result word
S: 1st source word
R: 1st result word
S: Source word
R: Result word
S: 1st source word
R: 1st result word
S: Source word
R: Result word
Section 2-6
Supported
AT
variable
setting or
data types
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
DWORD
---
---
LWORD
Yes (2)
DWORD
must be
used
when
array vari-
ables are
required.
Supported
AT
variable
setting or
data types
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
WORD
---
UINT
---
DWORD
---
UDINT
---
UINT
---
WORD
---
UDINT
---
DWORD
---
WORD
---
UINT
---

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents