134
FM-3 Programming Module Reference Manual
Resetting Faults in "Run Anytime" Programs
To reset a fault from a "Run Anytime" program, use Fault.Reset = ON command in the user
program. The Fault.Reset command does not clear all types of faults. Some faults require
power to be cycled in order to clear the fault. For more information on the method used to
clear individual faults, see the Faults section.
After using the Fault.Reset command in a user program, use a Wait For Time 0.100’seconds
command to give the drive time to clear the fault and re-enable the drive before initiating
motion. If this is not done, the motion will be initiated before the drive is disabled. and the
instruction will be ignored.
Example Programs
Out and Return - Simple
Description: Move out to an absolute position and return
Index.2.Initiate
‘Absolute,Posn=10.000in,Vel=5.0in/s
Index.1.Initiate
‘Absolute,Posn=0.000in,Vel=10.0in/s
Wait For Index.AnyCommandComplete
Out and Return – More Complex
Description: Home, Wait For an input, Move out to an absolute position, set an output, dwell
for 1 second, clear the output, return to home position, repeat the out and return sequence until
the stop input halts the program.
Home.0.Initiate ‘Sensor,Offset=0.000in,Vel=-10.0in/s
ModuleOutput.1=ON
‘Set the “At Position 1” output
Do While (TRUE)
‘Repeat until the program is halted
Wait For ModuleInput.2=ON
‘Wait for the “Go” Input
ModuleOutput.1=OFF
‘Clear the “At Position 1” output
Index.2.Initiate
‘Absolute,Dist=10.000in,Vel=5.0in/s
Wait For InPosn
ModuleOutput.2=ON
‘Set the “At Position 2” output
Wait For Time 1.000
‘Seconds
ModuleOutput.2=OFF
‘Clear the “At Position 2” output
Index.1.Initiate
‘Absolute,Dist=0.000in,Vel=10.0in/s
Wait For InPosn
ModuleOutput.1=ON
‘Set the “At Position 1” output
Loop
Summary of Contents for FM-3
Page 2: ......
Page 14: ...xii ...
Page 16: ...2 FM 3 Programming Module Reference Manual Figure 2 FM 3 Programming Module Features ...
Page 128: ...114 FM 3 Programming Module Reference Manual ...
Page 156: ...142 FM 3 Programming Module Reference Manual ...
Page 196: ...182 FM 3 Programming Module Reference Manual ...
Page 238: ...224 FM 3 Programming Module Reference Manual ...
Page 251: ...237 Diagnostics and Troubleshooting Figure 97 Diagnostic Cable DGNE Diagram ...
Page 262: ...248 FM 3 Programming Module Reference Manual ...
Page 264: ...250 FM 3 Programming Module Reference Manual AX4 CEN CDRO ...
Page 265: ...251 Specifications Cable Diagrams ...
Page 266: ...252 FM 3 Programming Module Reference Manual SNCE XXX Cable SNCDD 001 5 Cable ...
Page 267: ...253 Specifications SNCO 003 Cable SNCI 003 Cable ...
Page 268: ...254 FM 3 Programming Module Reference Manual SNCLI 003 Cable ...
Page 272: ...258 FM 3 Programming Module Reference Manual TIA XXX Cable DDS XXX Cable ...
Page 274: ...260 FM 3 Programming Module Reference Manual CMDS XXX Cable CMMS XXX Cable ...
Page 275: ...261 Specifications CFCS XXX Cable ...
Page 276: ...262 FM 3 Programming Module Reference Manual CFCO XXX Cable ...
Page 277: ...263 Specifications CFOS XXX Cable ...
Page 278: ...264 FM 3 Programming Module Reference Manual ...
Page 286: ...272 FM 3 Programming Module Reference Manual ...
Page 290: ...276 FM 3 Programming Module Reference Manual ...
Page 291: ......