212
FM-3 Programming Module Reference Manual
The example program uses the following instructions:
Do While / Loop – This program instruction is used to repeat a sequence of code as long as
a test expression is true. The test expression is validated before the loop is entered. If the test
expression is evaluated as False (0), then the code inside the loop will be skipped over. If the
expression is evaluated as True (1), then the code inside the loop will be performed. Upon
reaching the Loop instruction, the program flow returns to the Do While instruction, and the
expression is evaluated again. The example program uses an expression of TRUE, which is
always evaluated as True (1). Therefore the program will run continuously.
Wait For – This program instruction halts program execution until the expression becomes
True. Once True, the program continues with the next line of code. The example program
uses a Wait For DriveInput.1 so that the program will wait until DriveInput.1 is activated,
then continue on.
Index.Initiate – This program instruction is used to initiate a single index. When using this
instruction, an Index Selection Box will appear allowing you to select the index you wish to
initiate. This selection box is shown in Figure 93.
Figure 93:
Index Selection Box
The program is initiated using DriveInput.4 (see Figure 89).
The setup is now complete, and the example is ready to be downloaded.
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: ......