Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 415

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Symbol Math Instructions
Examples
3-10-25 UNSIGNED BINARY DIVIDE: /U(432)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
382
When CIO 0.01 is ON in the following example, D201 and D200 will be
divided by D211 and D210 as 8-digit signed hexadecimal values, the quotient
will be output to D221 and D220, and the remainder will be output to D223
and D222.
0.01
D200
D210
D220
Divides 4-digit (single-word) unsigned hexadecimal data and/or constants.
/U(432)
Dd
Dd: Dividend word
Dr: Divisor word
Dr
R: Result word
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
Step program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Subroutines
OK
Dd
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A0 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767
#0000 to #FFFF
#0001 to #FFFF
(binary)
(binary)
&0 to &65535
&1 to &65535
(unsigned deci-
(unsigned deci-
mal)
mal)
DR0 to 15
Section 3-10
/U(432)
@/U(432)
Not supported.
Interrupt tasks
OK
Dr
R
CIO 0 to
CIO 6142
W0 to W510
H0 to H510
A448 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents