C500IF001 Omron, C500IF001 Datasheet - Page 136

no-image

C500IF001

Manufacturer Part Number
C500IF001
Description
GPC COMMUNICATIONS ADAPTER
Manufacturer
Omron
Datasheet

Specifications of C500IF001

Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
BCD Calculations
5-16-5
5-16-6
Description
Flags
Example
0002
0002
0000
SET CARRY – STC(40)
CLEAR CARRY – CLC(41)
0
Dd : IR 20
0
0
3
When the execution condition is OFF, DIV(33) is not executed and the next
instruction is moved to. When the execution condition is ON, the content of
Dd is divided by the content of Dr and the result is placed in R and R + 1: the
quotient in R and the remainder in R + 1.
ER:
EQ:
When IR 0000 is ON with the following program, the content of IR 20 is di-
vided by the content of HR 9 and the result is placed in DM 17 and DM 18.
Example data and calculations are shown below the program.
Set carry is used to set (turn ON) the CY (SR bit 1904) to “1.”
Clear carry is used to reset (turn OFF) the CY (SR bit 1904) to “0.”
3
1
Dd : IR 20
R : DM 17
Quotient
4
1
Dd or Dr is not in BCD.
Indirectly addressed DM word is non-existent. (Content of DM word
is not BCD, or the DM area boundary has been exceeded.)
ON when the result is 0.
5
5
Dr word
2
0
0
R + 1 : DM 18
Remainder
0
STC(40)
CLC(41)
DIV(33)
DM 17
HR 9
20
0
2
Quotient
Dd word
R word
Address Instruction
Address Instruction
Address Instruction
0000
0001
0000
0001
0000
0001
LD
DIV(33)
LD
STC(40)
LD
CLC(41)
Remainder
R + 1 word
HR
DM
Operands
Operands
Operands
Section 5-16
0000
0002
0002
20
17
9
125

Related parts for C500IF001