Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
GSK218MC Series Machining Center CNC System PLC & Installation Connection Manual
24
Volume I
Programming
RD.NOT
Left shift 1-bit of the register’ content, the signal state specified by address is
set to ST0 after it is set to NOT.
WRT
Output the logic calculation result to the specified address
WRT.NOT
Output the logic calculation result after NOT to the specified address
Code explanation
z
WRT and WRT.NOT codes are the coil drive code of the output relay and internal relay, but
the input relay can not be used.
z
The parallel WRT command can be used multiply, but it can not output with double coil.
For example
(
)
X002.1
Y003.7
(
)
F100.3
G120.0
RD X002.1
WRT Y003.7
RD.NOT F100.3
WRT G120.0
Fig. 4-1-1
4.2 AND, AND.NOT Codes
Mnemonic symbol and function
Table 4-2-1
Mnemonic symbol
Function
AND
Logic AND
AND.NOT
Logic AND after the specified state is NOT
Code explanation
z
Connect 1 contact with series connection by using AND, AND.NOT code. The numbers of
series connection contacts are unconstrained, and this code can be used for dozens of
times.
For example:
(
)
X002.1
Y003.7
F100.3
X008.6
RD X002.1
AND.NOT F100.3
AND X008.6
WRT Y003.7
Fig. 4-2-1