B-63983EN/02 4.LADDER LANGUAGE
- 323 -
Control conditions
(a) Specify the number of digits of data. (BYT)
BYT=0: Data is BCD two digits long.
BYT=1: Data is BCD four digits long.
(b) Reset (RST)
RST=0: Release reset.
RST=1: Resets error output W1, that is, sets W1 to 0.
(c) Execution command (ACT)
ACT=0: The ADD instruction is not executed. W1 does not
change.
ACT=1: The ADD instruction is executed.
Parameters
(a) Data format of addend
0: Specifies addend with a constant.
1: Specifies addend with an address.
(b) Summand address
Set the address storing the summand.
(c) Addend (address)
Addressing of the addend depends on above (a).
(d) Sum output address
Set the address to which the sum is to be output.
Error output
W1=0: Normal operation
W1=1: Abnormal operation. W1 is set to 1 to indicate an error, e.g. if
the result of the addition exceeds the data size specified for
control condition (a) described above.