
4.LADDER LANGUAGE B-63983EN/02
- 320 -
Control conditions
(a) Reset (RST)
RST=0: Release reset
RST=1: Resets error output W1. In other words, makes W1=0.
(b) Command (ACT)
ACT=0: Do not execute DIVB. W1 does not change now.
ACT=1: Execute DIVB.
Parameters
(a) Format specification
Specifies data length (1, 2, and 4 bytes) and the format for the
divisor (constant or address).
Data length specification
1: 1 byte length data
2: 2 bytes length data
4: 4 bytes length data
0 0
Format specification
0: Constant data
1: Address data
(b) Dividend address
Address containing the dividend
(c) Divisor data (address)
Specification in (a) determines the format of the divisor.
(d) Result output address
Specified the address to contain the result of operation.
Error output (W1)
W1=0: Operation correct
W1=1: Operation incorrect
W1 goes on (W1=1) if the divisor is 0.