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 ProgramWANDWORWXORWNOTSHLDS1∩ S2DS1∪ S2DSArith Flag: Carry=0/1; (Zero=0); (Error=0)List of Usable Instructions in <strong>Concurrent</strong> I/OInstruction Symbol Function Format RemarksS1S2WANDDS1S2WORDS1S2WXORDD(S1∪ S2) ∪ (S1∪ S2)CarrySWNOTDMSBSnSHLDSDLSB0n times shiftLogical AND of 8/16 bitsdataS1, S2: Source• Decimal (0-65535)• Register (M000-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0D: Destination• Register (M000-M099,M150-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0Logical OR of 8/16 bits dataS1, S2: Source• Decimal (0-65535)• Register (M000-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0D: Destination• Register (M000-M099,M150-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0Exclusive OR of 8/16 bitsdataS1, S2: Source• Decimal (0-65535)• Register (M000-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0D: Destination• Register (M000-M099,M150-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0Logical NOT of 8/16 bitsdataS: Source• Decimal (0-65535)• Register (M000-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0D: Destination• Register (M000-M099,M150-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0Left shift of 8/16 bits dataS: Source• Decimal (0-65535)• Register (M000-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0n: Shift count• Decimal (0-16)D: Destination• Register (M000-M099,M150-M161)• Relay No. (byte) #XXX0• Relay No. (word) W#XXX0WANDS1,S2,DWOR S1,S2,DWXORS1,S2,DWNOT S,DSHL S,n,D2 StepsInstructionExe Condition2 StepsInstructionExe Condition2 StepsInstructionExe Condition2 StepsInstructionExe Condition2 StepsInstructionExe Condition1-82

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

Saved successfully!

Ooh no, something went wrong!