FM-3 Programming Module Reference Manual

The “Dwell For Time” instruction is in units of seconds with a resolution of milliseconds (0.000 seconds).

If you want to pause the program while an index is executing you should use a “Wait for Time” instruction described below.

A comment is automatically inserted after the “Dwell For Time” instruction which notes that the dwell time is in units of seconds. The comment starts with the ‘ character.

Examples:

Do While (TRUE)

 

Index.0.Initiate

‘Incremetal,Dist=25.000in,Vel=25in/s

Dwell For Time 1.000

‘Seconds

Loop

 

Do While (TRUE)

 

Index.0.Initiate

‘Incremetal,Dist=25.000in,Vel=25in/s

Dwell For Time 1.000

‘Seconds

Index.1.Initiate

‘Incremental,Dist=15.000in,Vel=25in/s

Dwell For Time 0.500

‘Seconds

Loop

 

Dwell for Master Dist

This motion instruction is used to pause program execution for a precise change in distance on the master encoder signal. This is typically used in synchronized motion applications. This dwell does not begin until all other motion has completed. When the dwell begins, program flow will wait until the specified master distance has passed. The units for the dwell value are specified in the Master Units View.

Example:

Do While (TRUE)

 

Index.0.Initiate

‘Synch,Incr,Dist=5.0 Inches,Vel=1

Inches/MstrInch

 

Dwell For MasterDist 12.00

‘MstrInch

Loop

 

Index.Initiate

This program instruction is used to initiate a single index. The index is preset to include an acceleration up to speed, a run at speed and a deceleration to a stop.

A comment is automatically inserted after the index instruction which shows key data about the particular index. The comment starts with the apostrophe ‘character.

A “Wait For Index.AnyCommandComplete” instruction is also automatically inserted after each index. This insures that the index has completed before the program continues on to the next line of code. It is also possible make the program wait until the index is complete and

126

Page 140
Image 140
Emerson FM-3 manual Dwell for Master Dist, Index.Initiate