User manual

Instruction Set
Compute 3-13
compute instructions continued...
Instruction Description
Addition
ADD
When the input conditions are true, add the value in Source A (N7:3) to the value in Source B
(N7:4) and store the result in the Destination (N7:12).
Arc Sine
ASN
(Enhanced, Ethernet, and
ControlNet PLC-5 processors
only)
When the input conditions are true, take the arc sine of the Source (F8:17) and store the result
in the Destination (F8:18). The Source is interpreted as radians and must be greater than or
equal to -1 and less than or equal to 1.
ADD
Source A N7:3
3
Source B N7:4
1
Dest N7:12
4
ADD
Status Bit Description
C sets if carry is generated; otherwise resets
V sets if overflow is generated; otherwise resets
Z sets if the result is zero; otherwise resets
S sets if the result is negative; otherwise resets
ARCSINE
Source F8:17
0.7853982
Destination F8:18
0.9033391
ASN
Status Bit Description
Calways resets
V sets if overflow is generated; otherwise resets
Z sets if the result is zero; otherwise resets
Salways resets