Delta AH500 — 5.2 Basic Instructions

AH500 Programming Manual Symbol: LDI S : Specified device Bit ANI ORI Explanation: 1. The instruction LDI applies to contact B which starts from the mother line or contact B which is the start of a contact circuit. It functions to reserve the current contents, and store the contact state which is acquired in the accumulative register. 2. The instruction ANI is used to connect contact B in series. It functions to read the state of the contact which is specified to be connected in series, and perform the AND operation with the previous logical operation result. The final result is stored in the accumulative register. 3. The instruction ORI is used to connect contact B in parallel.

It functions to read the state of the contact which is specified to be connected in parallel, and perform the OR operation with the previous logical operation result. The final result is stored 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 L PR S ● ● ● ● ● ● ● ● ● ● ● ●