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.
Содержание 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: ......