13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Basic Function <strong>Instruction</strong>FUN 7 DUDCTRUP/DOWN COUNTER(16-bit or 32-bit up/down 2-phase Counter)FUN 7 DUDCTRLadder Diagram Key Operations Mnemonic CodesX18X17CKU/D7.UDCTRCV :PV :R-03CUPY0ORGLDLDORG X 18LD X 17LD X 16FUN 7X16CLRCV: R 0PV: − 3FO 0OUTOUT Y 0Up(add)Down(subtract)X16X17X18R00123210-1-2-3-4Y0Remark 1: Since the counting operation of UDCTR is implemented by software scanning, therefore if the clockspeed is faster than the scan speed, lose count may then happen (generally the clock should notexceed 20Hz depending on the size of the program). Please use the software or hardware high-speedcounter in the PLC. Refer to the “High Speed Counter Application” in the Advanced Manual.Remark 2: In order to ensure the proper counting, the sustain time of the status of clock input should greater than1 scan time.6-22

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

Saved successfully!

Ooh no, something went wrong!