[Instruction] Contents

[Instruction] Contents [Instruction] Contents

servotechnica.ru
from servotechnica.ru More from this publisher
13.07.2015 Views

Basic Function InstructionFUN 4DIFUDIFFERENTIAL UPFUN 4DIFUSymbolOperandD: a specific coil number where the result ofthe Differential Up operation is stored.OperandRangeY M SM SY0∣Y255M0∣M1911M1912∣M2001S0∣S999D ○ ○ ○* ○Description●●The DIFU instruction is used to output the up differentiation of a node status (status input to "TG↑") andthe pulse signal resulting from the status change at the rising edge of the "TG↑" for one scan time isstored to a coil specified by D.The functionality of this instruction can also be achieved by using a TU contact.ExampleThe results of the following two samples are exactly the sameLadder Diagram Key Operations Mnemonic CodesExample 1X1TG4.DIFU Y 0ORGFUNORGFUNX41D:Y0Example 2X1Y0ORGORG TUX1OUTOUTY0X1tt : scan timeY06-18

Basic Function InstructionFUN 5DIFDDIFFERENTIAL DOWNFUN 5DIFDSymbolOperandN: a specific coil number where the result ofthe Differential Down operation is stored.RangeOperandY M SM SY0∣Y255M0∣M1911M1912∣M2001S0∣S999D ○ ○ ○* ○Description●●The DIFD instruction is used to output the down differentiation of a node status (status input to "TG↓") andthe pulse signal resulting from the status change at the falling edge of the "TG↓" for one scan time isstored to a coil specified by D.The functionality of this instruction can also be achieved by using a TD contact.ExampleThe results of the following two samples are exactly the sameLadder Diagram Key Operations Mnemonic CodesExample 1ORG X 1X1TG5.DIFDY 0ORGFUNFUN 5D: Y 0Example 2X1Y0ORGOUTORG TD X 1OUT Y 0X1tt : scan timeY06-19

Basic Function <strong>Instruction</strong>FUN 4DIFUDIFFERENTIAL UPFUN 4DIFUSymbolOperandD: a specific coil number where the result ofthe Differential Up operation is stored.OperandRangeY M SM SY0∣Y255M0∣M1911M1912∣M2001S0∣S999D ○ ○ ○* ○Description●●The DIFU instruction is used to output the up differentiation of a node status (status input to "TG↑") andthe pulse signal resulting from the status change at the rising edge of the "TG↑" for one scan time isstored to a coil specified by D.The functionality of this instruction can also be achieved by using a TU contact.ExampleThe results of the following two samples are exactly the sameLadder Diagram Key Operations Mnemonic CodesExample 1X1TG4.DIFU Y 0ORGFUNORGFUNX41D:Y0Example 2X1Y0ORGORG TUX1OUTOUTY0X1tt : scan timeY06-18

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

Saved successfully!

Ooh no, something went wrong!