You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5. Type R Interface <br />
<br />
Command Code9660h<br />
Data Length0 byte<br />
Program END <br />
This command ends the program. Program execution stops when the END command is encountered.<br />
Empty command lines are recognized as NOP and the program execution continues. It is<br />
necessary to always include the END command in the program.<br />
It is possible to have subroutines after the END command.<br />
<br />
Command Code9761h<br />
Data Length2 bytes<br />
Timer Wait <br />
DAT No Function Setting range Initial value Setting unit<br />
DAT12 Timer Wait 0FFFFh 1ms<br />
This command sets the delay timer value.<br />
This command is ignored during STEP operations.<br />
<br />
Command Code9862h<br />
Data Length3 bytes<br />
In-Position JMP <br />
DAT No Function Setting range Initial<br />
Setting unit<br />
value<br />
DAT1 Jump<br />
01 0Jumps to the specified line when out-position<br />
Condition<br />
1Jumps to the specified line when in-position.<br />
DAT2 JMP target line Depends on <br />
3 number PRG number<br />
Sets the jump target according to the In-Position condition set by former movement command.<br />
<br />
Command Code9963h<br />
Data Length4 bytes<br />
In-Port JMP <br />
DAT No Function Setting range Initial value Setting unit<br />
DAT1 Jump<br />
condition<br />
01 0Jumps to the specified line when condition does not<br />
match<br />
1Jumps to the specified line when condition matches<br />
DAT2 Input Port status 0FFh 0coupler OFF 1coupler On<br />
DAT34 JMP target line Depends on <br />
number PRG number<br />
This command sets the jump target according to the status of the generic input.<br />
DAT2 input port allocation<br />
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0<br />
IN8 IN7 IN6 IN5 IN4 IN3 IN2 IN1<br />
Only the port selected as generic input port by Command 16h can be the target.<br />
553