GSK218M CNC System Connection and PLC Manual
59
This instructin performs binary addition between 1-, 2-byte data. In the operation result register,
operation data is set besides the numberical data representing the operation results. The required
number of bytes is necessary to store each augend, the added, and the operation output data.
Format:
Control conditions:
Reset (RST):
RST=0
:
Release reset.
RST=1
:
Reset. W=1.
Activation instruction (ACT)
:
ACT
=
0
:
Do not execute ADD. W does not change.
ACT
=
1
:
Execute ADD.
Parameter:
Length
:
Specifies data length(1 or 2 bytes) and the format for the addend(constant or
address).
S1
:
Augend address.
S2
:
Addend data specification determines the format of the addend.
S3
:
Specify the address to contain the result of output operation.
Output:
W=0
:
Operation correct.
W=1
:
Operation incorrect.
When W=1, the result of addition exceeds the specified data length.
ADD
Length
Format
specification
S1
Augend
address
S2
Addend
address or
constant
S3
Operation
result(sum)
address
O O
Data length specification
1
:
1byte length data
2
:
2 bytes length data
Format specification
0
:
Constant
1
:
Address
RST
ACT
(
W
)
Содержание 218M
Страница 3: ...GSK 218M CNC System Connection and PLC Manual...
Страница 15: ...GSK218M CNC System Connection and PLC Manual 12 Volume one Programming...
Страница 70: ...GSK218M CNC System Connection and PLC Manual 67 Volume Two Function...
Страница 140: ...GSK218M CNC System Connection and PLC Manual 137 Volume Three Operation...
Страница 160: ...GSK218M CNC System Connection and PLC Manual 157 Volume Four Connection...
Страница 163: ...GSK218M CNC System Connection and PLC Manual 160 2 Side view 3 Overlook Without PC2 power supply...