DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 496API Mnemonic Operands Function ControllersES2/EX2 SS2 SA2SESX2221~223 D O R# Parallel Type Logic OperationTypeOPBit Devices Word devices Program StepsX Y M S K H KnX KnY KnM KnS T C D E F OR#: 5 stepsDOR#: 9 stepsS1 * * * * * * * * * * *S2 * * * * * * * * * * *PULSE 16-bit 32-bitES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2Operands:S1: Source device 1 S 2: Source device 2Explanation:1. This instruction conducts logic operation between the content in S 1 and S2. If the result is not “0”,the continuity of the instruction is enabled. If the result is “0”, the continuity of the instruction isdisabled.2. OR# (#: &, |, ^) instruction is used for parallel connection with contacts.API No. 16 -bitinstruction32 -bitinstructionContinuityconditionDiscontinuitycondition221 OR& DOR& S1 & S2≠0 S1 & S2=0222 OR| DOR| S1 | S2≠0 S1 | S2=0223 OR^ DOR^ S1 ^ S2≠0 S1 ^ S2=03. Operation:& : Logic “AND” operation, | : Logic “OR” operation, ^ : Logic “XOR” operation4. When 32-bit counters (C200 ~ C254) are used in this instruction, make sure to adopt 32-bitinstruction (DOR#). If 16-bit instruction (OR#) is adopted, a “program error” will occur and theERROR indicator on the MPU panel will flashProgram Example:M60 will be ON either when both X2 and M30 are “ON”, or 1: the result of logical OR operationbetween D10 and D20 ≠ 0, or 2: the result of logical XOR operation between CD100 and D200 ≠ 0.OR D100 D200OR D10 D20^|X2 M30M60