Delta Electronics — 5.2 Basic Instructions

AS Series Programming Manual Symbol LDI S : Specified device ANI ORI Explanation _5 1. LDI applies to contact B that starts from the main line or contact B that is the start of a contact circuit. Use it to save the current contents, and store the contact state in the accumulative register. 2. ANI connects contact B in series. It reads the state of the contact that is specified as connected in series, and performs the AND operation with the previous logical operation result. It stores the final result in the accumulative register. 3. ORI connects contact B in parallel.

It reads the state of the contact that is specified as connected in parallel, and performs the OR operation with the previous logical operation result. It stores the final result in the accumulative register. Example 1. Contact B of X0.0 is loaded, contact B of X0.1 is connected in series, contact B of X0.2 is connected in parallel, and the coil Y0.0 is driven. 2. When both X0.0 and X0.1 are ON, or when X0.2 is ON, Y0.0 is ON. 5-4 Instruction code Operand Function LDI/ANI/ORI S Loading contact B/Connecting contact B in series/Connecting contact B in parallel Device DX DY X Y M SM S T C HC D S           BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S 