Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 9 of 50

Festo Software Tools: Statement list and Ladder diagram for SF 3, FST 200 Manual, pages 81 to 90

Pages 81 to 90 of 496

The original document is the PDF (3.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Festo FPC-202

Page 81

FST 200

3. Management of the control programs

Fig. 3.20: Importing a MAK file to the LIB directory You only have two entries to make here. • Name: Here you should enter a name of no more than 8 characters under which the current file should be saved. Recommendation: Pressing the ENTER key causes the field to be filled with the name of the source file. • Commentary: This field is available for a note describing the current file. Any text already present, e.g. for Festo files (see above), should be kept. Recommendation: Pressing the ENTER key causes the field to be filled with the comment from the source file.

9610a

3-35

Page 82

FST 200

3. Management of the control programs

Transferring files Once you have completed the settings for all the files to be transferred, select function F1. The various files are then transferred from the source drive to the project directory specified, in accordance with their numbering. The FST main menu will reappear on the screen on completion of the transfer. 3.10 Calling a program This function allows you to call other, external programs from within the FST software. You are returned to the Utilities menu once the external program has run. Thus, you do not need to quit the FST software if you require external programs or wish to work at the DOS command level. You have access to all kinds of external programs and can • Execute internal DOS commands (eg DIR*.OBJ) • Switch over to the DOS level by calling COMMAND.COM • Call executable programs (these are programs with one of the following extensions *.EXE, *.COM, *.BAT) • Run FST programs which cannot be selected or run through the FST menus.

3-36

9610a

Page 83

FST 200

3. Management of the control programs

The last point is the principal application of this function. Programs of this type are supplied with the FST software or will be available in future (e.g. position controller with associated editor, display editor, etc). To make calling the program easier, the FST software supplies predefined parameters (#1 to #5) which you may combine in any way you wish depending on the program call required. 3.10.1 Entering a program call You must first enter a program call before you can activate it. This is done by selecting the Configuration option from the utility programs. In this option you open the Program call function. You will then be presented with a dialogue box. The first time you open this function you will only see a highlighted field at the left margin. There may already be entries when this function is called again. (See Fig. 3.21).

9610a

3-37

Page 84

FST 200

3. Management of the control programs

Fig. 3.21: Entering a program call Here you enter the program call. The entry consists of the filename and its extension. Executable programs and DOS commands with the appropriate parameters (see above) are permitted. No extension is required for DOS commands.

3-38

9610a

Page 85

FST 200

3. Management of the control programs

Working at the DOS level Enter COMMAND.COM as the filename if you wish to execute a number of tasks at the DOS level. This file must previously have been copied into the directory in which the FST software is stored. When this command is called, your computer switches to the DOS level. Directory/drive change If the program to be called is not found in the current directory, or resides on a different drive, you will have to modify the entry as follows: Drive:\subdirectory(ies)\filename.extension

Calling external FST programs You may also use predefined parameters when calling external FST programs. These allow you to assign the same configuration data to the relevant program call as the functions have within the FST software. Only then will some external programs run without problem.

9610a

3-39

Page 86

FST 200

3. Management of the control programs

The following tables show the possible parameters with a description. Parameter #1 (computer configuration) #1

Four character string describing the PC configuration.

1st letter

Identifies the graphics card: E = EGA C = CGA H = Hercules card V = VGA

2nd letter

Identifies the monitor type: F = colour monitor B = monochrome monitor

3rd letter

Identifies the computer type: G = GridCase computer N = all other IBM compatible types

4th letter

Shows use of a mouse: M = MicroSoft Mouse or compatibles N = no mouse

Example: EFNN.

Parameter #2 ( ) #2

Is not currently assigned

Parameter #3 (project and project path) #3 String

Identifies the current project and its path Drive:\Path(s)\Project name

Example: C:\FESTO\FST 200. 3-40

9610a

Page 87

FST 200

3. Management of the control programs

Parameter #4 (controller type) #4

Identifies the controller type xxx

101 = FPC 101 103 = FPC 103 203 = FPC 202 C 206 = SF 3 404 = FPC 404 405 = FPC 405

Example: 206. Parameter #5 (port) #5 COMx/y/z

Describes the interface parameters x = 1 or 2 (serial) y = baud rate (300, 600, 1200, 2400, 4800, 9600) z = wait time for response from controller (0 to 32676 ms)

Example: COM1/9600/300. A total of 38 characters are available for the program call entry.

9610a

3-41

Page 88

FST 200

3. Management of the control programs

Comment Once your entry is complete, pressing the ENTER key or the TAB key takes you to a new input field at the right margin. You must enter a comment here. It describes the program to be called and will appear in the selection window later when you open the Program execution function. The comment may be up to 36 characters long. You may enter further program calls in the following lines. Quit function Select function F8 to conclude the entry of program calls. Then you will be given the options of • Ending and quitting the function (entries will be saved; the program returns to the main menu) • Saving and continuing • Cancelling the entry of program calls (the most recent entries are discarded)

3-42

9610a

Page 89

FST 200

3. Management of the control programs

3.10.2 Executing a program call Select the Program execution option from the utilities to call a program entered as described above. You will then see a selection window at the bottom left of the screen. This window shows the comments for the programs entered as described in 3.10.1 (see Fig. 3.22).

Fig. 3.22: Calling a program Select the program you require from its comment. When you make the selection the screen is cleared and the program loaded, or the DOS command is executed immediately.

9610a

3-43

Page 90

FST 200

3. Management of the control programs

Return to the FST software Press any key (except: Function keys, cursor keys, CTRL key, ALT key) if you wish then to switch back to the FST software. If you have been working at the DOS level, you must enter the command EXIT and then press any key. If the program called returns an EXIT code=255, you do not need to press a key. 3.11 Linking a module You can obtain ready made machine programs from Festo which you can adapt to your control program. These modules can then be used like your function modules. The modules are supplied on a floppy disk. A description of their functions and operands is attached. Further procedure is as follows: • Insert the disk in the disk drive and import the modules into the \LIB directory using the Import file function (see section 3.9). • Then open the Link module option from Project management. A picklist of the modules imported will be displayed (see Fig. 3.23).

3-44

9610a