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
Содержание FM-3
Страница 2: ......
Страница 14: ...xii ...
Страница 16: ...2 FM 3 Programming Module Reference Manual Figure 2 FM 3 Programming Module Features ...
Страница 128: ...114 FM 3 Programming Module Reference Manual ...
Страница 156: ...142 FM 3 Programming Module Reference Manual ...
Страница 196: ...182 FM 3 Programming Module Reference Manual ...
Страница 238: ...224 FM 3 Programming Module Reference Manual ...
Страница 251: ...237 Diagnostics and Troubleshooting Figure 97 Diagnostic Cable DGNE Diagram ...
Страница 262: ...248 FM 3 Programming Module Reference Manual ...
Страница 264: ...250 FM 3 Programming Module Reference Manual AX4 CEN CDRO ...
Страница 265: ...251 Specifications Cable Diagrams ...
Страница 266: ...252 FM 3 Programming Module Reference Manual SNCE XXX Cable SNCDD 001 5 Cable ...
Страница 267: ...253 Specifications SNCO 003 Cable SNCI 003 Cable ...
Страница 268: ...254 FM 3 Programming Module Reference Manual SNCLI 003 Cable ...
Страница 271: ...257 Specifications CDRO XXX Cable 8 9 24 23 38 37 11 12 34 16 14 15 29 4 19 26 40 18 17 31 33 43 44 41 27 ...
Страница 272: ...258 FM 3 Programming Module Reference Manual TIA XXX Cable DDS XXX Cable ...
Страница 274: ...260 FM 3 Programming Module Reference Manual CMDS XXX Cable CMMS XXX Cable ...
Страница 275: ...261 Specifications CFCS XXX Cable ...
Страница 276: ...262 FM 3 Programming Module Reference Manual CFCO XXX Cable ...
Страница 277: ...263 Specifications CFOS XXX Cable ...
Страница 278: ...264 FM 3 Programming Module Reference Manual ...
Страница 286: ...272 FM 3 Programming Module Reference Manual ...
Страница 290: ...276 FM 3 Programming Module Reference Manual ...
Страница 291: ......