Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
GSK218MC Series Machining Center CNC System PLC & Installation Connection Manual
48
Volume I
Programming
5.24 COIN (Consistency Comparison)
Function:
This code can be detected whether the input value and comparison value are consistent.
Format:
COIN
ACT
Length
format
specifying
S1
Input value
S2
Comparison
value address
(
W
)
Fig. 5-24-1
Controllable condition:
ACT
=
0, Do not perform the COIN code. W value is invariable.
ACT
=
1, Perform the COIN code.
Parameter:
Length: Input the specified format (constant or address) and the specified data length (1 byte
or 2 bytes) of the data.
Fig. 5-24-2
S1 : The input data can be specified both the constant and storage address.
S2 : Compare the storage address of the data.
Output:
W : W = 0: input value
≠
comparison value
W = 1: input value = comparison value
5.25 MOVN (Data Transmission)
Function:
The data of the source address or the specified binary data is transferred to the destination
address.
Format: