beautypg.com

Appendixes – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual

Page 413

background image

Application Examples • In-line Bottle Filler

391

Publication 1398-PM601A-EN-P — October 2000

APPENDIXES

WAIT FILL_CMPLT ON

;Wait until the fill operation has completed

FILL_EN OFF

;Turn off filling machine

GEAREN OFF

;Turn off electronic gearing

MOVP FILLER_HOM

;Return fillerhead to home position

JMP MAIN

;Return to start of main program

PSN_ERR:

POS_ERR ON

END

NOTE: The correction distance is calculated in encoder counts so the distance is still properly calcu-
lated if the position counter rolls over.