![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030517.webp)
477
Symbol Math Instructions
Section 3-11
Example in Function Block Definition
In the following example, an array variable is used to get the quotient and
remainder from the function block.
3-11-26 DOUBLE UNSIGNED BINARY DIVIDE: /UL(433)
Purpose
Divides 8-digit (double-word) unsigned hexadecimal data and/or constants.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
/U
a
b
tmp[0]
MOV
tmp[0]
c
a / b
→
c ··· d
Function Block Variables
Dividend: a (data type: UINT)
Divisor: b (data type: UINT)
Quotient: c (data type: UINT)
Remainder: d (data type: UINT)
Temporary variable: tmp (data type: WORD, 2-element array)
MOV
tmp[0]
d
/UL(433)
R
Dd
Dr
Dd
: 1st dividend word
Dr
: 1st divisor word
R
: 1st result word
Variations
Executed Each Cycle for ON Condition
/UL(433)
Executed Once for Upward Differentiation
@/UL(433)
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
Dd
Dr
R
CIO Area
CIO 0000 to CIO 6142
CIO 0000 to
CIO 6140
Work Area
W000 to W510
W000 to W508
Holding Bit Area
H000 to H510
H000 to H508
Auxiliary Bit Area
A000 to A958
A448 to A956
Timer Area
T0000 to T4094
T0000 to T4092
Counter Area
C0000 to C4094
C0000 to C4092
DM Area
D00000 to D32766
D00000 to
D32764
EM Area without bank
E00000 to E32766
E00000 to
E32764
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...