13.07.2015 Views

Concurrent I/O•Parameter - Motoman

Concurrent I/O•Parameter - Motoman

Concurrent I/O•Parameter - Motoman

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1.13 Standard Ladder ProgramFormatWOR InstructionWOR S1, S2, DFunctionS1: SourceRegister (M000-M161)S2: SourceDecimal (0-65535)Relay (byte) #XXX0Relay (word) W#XXX0D: Destination Register (M000-M099, M150-M161)Relay (byte) #XXX0Relay (word) W#XXX0Logical OR operation between S1 and S2 is performed and the result is output to D when theinput signal is at ON state. The logic operation is performed in each correspondence bit of S1and S2.DS1∪S2S1 1100110011001100 Binary DataS2 1010101010101010 Binary DataD 1110111011101110 Binary DataLadder Program ExampleNOTEThe output cannot be done to the same relay two or more times.The multiple outputs of the register used as a current position of the TMR instruction andthe CNT instruction cannot be used.#7010M000M001WORM010< Program>STR #7010WOR M000,M001,M0101-104

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!