Download QSCPU Programming Manual (Common Instructions)
Transcript
ANB, ORB 5.2 Connection Instructions 5.2.1 Ladder block series connections and parallel connections (ANB, ORB) ANB, ORB ANB ANB Block A Block B Block A ORB ORB Block B Set Data Internal Devices Bit –– Word Constants For parallel connection of 1 contact, OR or ORI is used. Others –– Function ANB (1) Performs an AND operation on block A and block B, and takes the resulting value as the operation result. SEQUENCE INSTRUCTIONS 5 (2) The symbol for ANB is not the contact symbol, but rather is the connection symbol. (1) Conducts an OR operation on Block A and Block B, and takes the resulting value as the operation result. (2) ORB is used to perform parallel connections for ladder blocks with two or more contacts. For ladder blocks with only one contact, use OR or ORI; there is no need for ORB in such cases. [Ladder mode] X1 X0 Y10 0 X2 X3 X4 (3) The ORB symbol is not the contact symbol, but rather is the connection symbol. 5.2 Connection Instructions 5.2.1 Ladder block series connections and parallel connections (ANB, ORB) 5-7 ANB, ORB ORB