Motion Coordinator
Technical Reference Manual
Programming Examples 9-11
Example Programs
Example 5 - Rotating Print Head with Registration
Description
A rotating print head prints a number on a conveyor mounted product. During
printing the print head must be synchronized with the conveyor. The print posi-
tion must be registered to be relative to a registration mark.
The program achieves the motion profile by:
1) Making a synchronization gearbox connection between the conveyor and the print
head with CONNECT. This will let the printer make a print on the conveyor. The
distance between the prints will be the peripheral distance of the print head
rotation.
2) Datuming and setting the repeat distance REPDIST for the print head rotation so
that it has an absolute position of zero every time it touches the conveyor.
3) Superimposing a movement onto the print head. This movement has two func-
tions: To adjust the printer position to keep the system in register and to adjust
by the difference between the peripheral distance of the printer and the regis-
tration marks on the conveyor.
4) The superimposed movement is run on axis 3 of the controller (an “imaginary”
axis) and the movement summed with the ADDAX command. The move is per-
formed when the printer is going “over the top” of its stroke.
Program Listing
' Rotating Head with Registration:
start: GOSUB initial
loop:
WAIT UNTIL MPOS>100' Wait 100mm past print
IF MARK THEN
’ mark seen during last cycle:
TDC
Registration Sensor
Encoder to Axis 0
Inverter/Motor Axis 1
(not under servo control)
Содержание Motion Coordinator Euro 205
Страница 1: ...Trio Motion Technology Motion Coordinator Technical Reference Manual Sixth Edition 2004 Revision 4...
Страница 4: ......
Страница 11: ...C H A P T E R CHAPTER0INTRODUCTION...
Страница 12: ......
Страница 27: ...C H A P T E R CHAPTER0HARDWARE OVERVIEW...
Страница 28: ......
Страница 35: ...Motion Coordinator Technical Reference Manual Hardware Overview 2 9 Motion Coordinator MC202...
Страница 47: ...Motion Coordinator Technical Reference Manual Hardware Overview 2 21 Motion Coordinator Euro205 X...
Страница 75: ...C H A P T E R CHAPTER0INSTALLATION...
Страница 76: ......
Страница 88: ...3 14 Installation EMC Considerations Trio Motion Technology...
Страница 89: ...C H A P T E R CHAPTER0DAUGHTER BOARDS...
Страница 90: ......
Страница 126: ...4 38 Daughter Boards Profibus Daughter Board Trio Motion Technology...
Страница 127: ...C H A P T E R CHAPTER0EXPANSION MODULES...
Страница 128: ......
Страница 158: ...5 32 Expansion Modules Communications Adaptors Trio Motion Technology...
Страница 159: ...C H A P T E R CHAPTER0SYSTEM SETUP AND DIAGNOSTICS...
Страница 160: ......
Страница 173: ...C H A P T E R CHAPTER 0PROGRAMMING...
Страница 174: ...7 2 Programming Trio Motion Technology...
Страница 190: ...7 18 Programming Command Line Interface Trio Motion Technology...
Страница 191: ...C H A P T E R CHAPTER0TRIO BASIC COMMANDS...
Страница 192: ......
Страница 200: ...8 10 Trio BASIC Commands Trio Motion Technology VERIFY 8 178 VFF_GAIN 8 178 VP_SPEED 8 179...
Страница 254: ...8 64 Trio BASIC Commands Input Output Commands Trio Motion Technology...
Страница 372: ...8 182Trio BASIC Commands Axis Parameters Trio Motion Technology...
Страница 373: ...C H A P T E R CHAPTER 0PROGRAMMING EXAMPLES...
Страница 374: ......
Страница 389: ...C H A P T E R CHAPTER0SUPPORT SOFTWARE...
Страница 390: ......
Страница 443: ...Motion Coordinator Technical Reference Manual Support Software 10 55 Creating and Running a program...
Страница 472: ...10 84Support Software Project Autoloader Trio Motion Technology...
Страница 473: ...C H A P T E R CHAPTER0FIBRE OPTIC NETWORK...
Страница 474: ......
Страница 486: ...11 14Fibre Optic Network Network Specification Trio Motion Technology...
Страница 487: ...C H A P T E R CHAPTER0USING THE TRIO ACTIVEX CONTROL...
Страница 488: ......
Страница 518: ...12 32Using the Trio ActiveX Control Events Trio Motion Technology...
Страница 519: ...C H A P T E R CHAPTER0COMMUNICATIONS PROTOCOLS...
Страница 520: ......
Страница 551: ...A P P E N D I X CHAPTER 0REFERENCE...
Страница 552: ......