Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
GSK218MC Series Machining Center CNC System PLC & Installation Connection Manual
26
Volume I
Programming
There are three branches
①
,
②
and
③
from the left bus to the node N1. The branches
①
and
②
are series connection circuit block. When the series connection circuit block is performed
between bus to node or among the nodes, other than the 1
st
branch, use the RD code when the
following branch is ended. The branch
③
is not a series connection circuit block, which can be
used by the OR code.
OR. STK and AND. STK are the codes without operation component, which are indicated the
OR , AND relationships between circuit blocks.
4.5 AND. STK Code
Mnemonic symbol and function
Table 4-5-1
Mnemonic
symbol
Function
AND.STK
Right shift 1-bit of the stacked register after ST0 and ST1 logic AND
Code explanation
z
Use the AND. STK coded when the branch circuit (parallel circuit block) is connected with
series connection with the front of the circuit. The branch start is used RD, RD.NOT codes.
Use the AND. STK code connecting with series connection with the front of the circuit after
the series connection circuit block is executed.
z
AND. STK code is the separate code without any address.
For example:
Fig. 4-5-1
As for the abovementioned ladder diagram and command table,
⑴
OR.STK indicates parallel
connection in the series connection circuit block in the block
②
,
⑵
AND.STK expresses the series
connection between circuit block
①
and
②
.