119
Programming
disable the program parser, enter all of the changes, and then re-enable the parser to check for
errors. (Only available while online)
Programs
Motion Programs are a series of indexes, homes and jogs that have been previously setup.
You combine these with other programming steps to create a complex motion profile. Each
motion program provides a series of movements in conjunction with other machine functions.
The movements are used to perform a particular machine operation.
Multiple programs can be created using PowerTools Pro software and stored in the FM-3. The
FM-3 module is capable of storing up to 55 indexes, 99 motion programs, and a maximum of
1024 program steps in the FM-3 Flash Memory. The amount of available Flash Memory
determines how many programs, program steps, indexes, etc. that the configuration can hold.
The number of available programs and average number of steps per program are directly
related to each other. The memory is setup such that if you require 99 programs (maximum),
each program can have an average of 10 program steps each. If the number of programs is
reduced to a minimum, you could have as many as 1024 steps in a single program.
Program Instruction Types
Program Flow Instructions
If/Then/Endif
This is a program flow control instruction used to selectively run a section of code only if a
logical test condition is true. If the test evaluates to true the code between the If/Then and
Endif lines is executed. If the test evaluates to false the code is not executed and the program
skips to the next line of code after the Endif.
Logical tests (AND, OR, NOT) can be used in the If/Then/Endif instruction. Parenthesis “()”
can be used to group the logical tests.
Examples:
If DriveInput.1=ON Then
’Turn Outputs 1 On and 2 Off if Drive
’Input.1 is ON.
DriveOutput.1=ON
DriveOutput.2=OFF
Endif
If (DriveInput.1=ON AND DriveInput.2=OFF) Then
‘Turn Outputs 1 On and 2 Off if Drive
‘Input.1 is ON and DriveInput.2 is OFF
DriveOutput.1=ON
DriveOutput.2=OFF
Endif
If (ModuleInput.2=ON) Then
‘Jog+ when ModuleInput.2=ON
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: ......