AH500 Motion Control Module Manual The instruction OR is used to connect a Form A contact in parallel. It reads the state of a contact which is connected in parallel, and performs the OR operation on the previous logical operation result. The final result is stored in an accumulation register. Explanation Ladder diagram Instruction code: Description: Example X0.0 LD X0.0 Loading the Form A contact X0.0 X0.1 Y0.1 OUT Y0.1 Driving the coil Y0.1 The instruction ORI is used to connect a Form B contact in parallel. It reads the state of a contact which is connected in parallel, and performs the OR operation on the previous logical operation result.
The final result is stored in an accumulation register. Explanation Ladder diagram X0.0 Instruction code: Description: LD X0.0 Loading the Form A contact X0.0 Example X0.1 Y0.1 OUT Y0.1 Driving the coil Y0.1 4-6 Instruction code Operand Function OR S Connecting a Form A contact in parallel Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S Connecting the OR X0.1 Form A contact X0.1 in parallel Instruction code Operand Function ORI S Connecting a Form B contact in parallel Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S Connecting the ORI X0.1 Form B contact X0.1 in parallel