GSK218M CNC System Connection and PLC Manual
61
Output:
W=0
:
Operation correct.
W=1
:
Operation incorrect.
When W=1, the result of subtraction exceeds the specified data length.
5.27 ANDF
(
logical and
)
Function:
The ANDF instruction ANDFs the contents of address A with a constant( or the contents of address
B), and stores the result at address C.
Format:
Control conditions:
ACT
=
0
:
The ANDF instructin is not executed.
ACT
=
1
:
The ANDF instruction is executed.
Parameter:
Length
:
Specify a data length (1 or 2 bytes), and an input data format(constant or
addressspecification).
S1
:
Input data to be ANDFed. The data that is held starting at this address and
hasthe data length specified in Length format specification is treated as input
data.
S2
:
Input data to be ANDFed with. When address specification is selected in
formatspecification, the data that is held starting at this address and has the
data length specified in Length format specification is treated as input data.
ANDF
Length
Format
specification
S1
Address A
S2
Constant or
address B
S3
Address C
O O
Data length specification
1
:
1byte length data
2
:
2 bytes length data
Format specification
0
:
Constant
1
:
Address
ACT
Содержание 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...