Double Bcd Divide: /Bl(435) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Symbol Math Instructions

3-11-28 DOUBLE BCD DIVIDE: /BL(435)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
482
a / b
c ··· d
Divides 8-digit (double-word) BCD data and/or constants.
/BL(435)
Dd: 1st dividend word
Dd
Dr: 1st divisor word
Dr
R: 1st 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
Step program
areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Function Block Variables
Dividend: a (data type: WORD)
/B
Divisor: b (data type: WORD)
Quotient: c (data type: WORD)
a
Remainder: d (data type: WORD)
b
Temporary variable: tmp (data type: WORD, 2-element array)
tmp[0]
MOV
tmp[0]
c
MOV
tmp[0]
d
Subroutines
areas
OK
Dd
CIO 0000 to CIO 6142
W000 to W510
H000 to H510
A000 to A958
T0000 to T4094
C0000 to C4094
D00000 to D32766
E00000 to E32766
En_00000 to En_32766
(n = 0 to C)
Section 3-11
/BL(435)
@/BL(435)
Not supported.
Interrupt tasks
OK
Dr
R
CIO 0000 to
CIO 6140
W000 to W508
H000 to H508
A448 to A956
T0000 to T4092
C0000 to C4092
D00000 to
D32764
E00000 to
E32764
En_00000 to
En_32764
(n = 0 to C)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents