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 32 of 50

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

Pages 311 to 320 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 311

FST 200

6. Text editor

Page header finished Once you have finished creating your page header, select function F8. This quits the edit routine and takes you to the file commands. Selecting the Save and quit editor at this point assigns the page header to your project. Page header as a block If you wish to use a page header for a number of projects, generate a page header as described above. Then save the page header as a block in the \LIB directory using the Save text block command. Later, for a new project, you should select the Project page header function from the Utility programs. Then use the Read text block function to retrieve the saved page header from the \LIB directory by name. Selecting the Save and quit editor at this point assigns the page header to your new project.

9610a

6-35

Page 312 read from a scan by OCR; it may hold reading errors

FST 200 6. Text editor FESTO

6-36 9610a

Page 313

FST 200

7.

7. Dialogue with the controller

Dialogue and Online operation with the controller When your PC is linked to the controller, you can: • Set mode of operation, field bus station number and baud rate and, where appropriate, terminating resistor and number of cyclical field bus I/Os on the SF 3, • Load individual control programs or a complete project into the controller, • Download complete projects from the controller memory and save it in an EEPROM memory, • Trace the changes to the operand values in a program currently being processed (status display, see section 4.7/5.6), • Execute test and diagnostic functions directly on the controller (Online mode, see section 7.3).

9610a

7-1

Page 314

FST 200

7.1

7. Dialogue with the controller

Connection to the controller Communication with the controller takes place via the diagnostic interface (DIAG).

POWER

RUN ERROR

BUS

DIAG 24VDC

FUSE 2A

Fig. 7.1: Communication via the diagnostic interface You require: • PC or Laptop with RS-232 serial interface (V.24) • Screened connecting cable (e.g. Festo SB.202-BU25 or -BU9 diagnostic cable) Connect the diagnostic cable as follows: • 4-pin plug to the diagnostic interface on the valve terminal (DIAG). • 25-pin or 9-pin socket to the RS-232 serial interface on your PC (laptop COMx).

PLEASE NOTE The baud rate on the PC must be set to 9600 baud for data transmission purposes. (See also 2.2.1)

7-2

9610a

Page 315

FST 200

7.2

7. Dialogue with the controller

Loading into the controller

During Project/Program loading, the controller switches all outputs off and halts program processing. You have two possibilities for transmitting your programs to the controller: • Complete solution: loading several (or all) programs in a project with one loading process (see section 7.2.1). • Custom solution (e.g. after a correction): a single program (see section 7.2.2). The first thing you should do when you connect up your controller for the first time is to clear its RAM.

9610a

7-3

Page 316

FST 200

7. Dialogue with the controller

This is done in online mode using function F4 Reset SF 3 (see section 7.3). This causes the entire RAM to be cleared, i.e. re-initialised.

If you use function F4 Reset SF 3 again at a later time, you should make certain that all the source programs loaded in the controller have been saved. General notes on loading A defective load will be indicated in the message line. You can view the causes of the error in the Show error list function. The following errors occur frequently: • Syntax errors: Final compilation into the controller code does not take place until loading. Compilation includes checking the legality of loops and jump labels. It is not possible to load defective programs into the controller. • Insufficient memory available in the controller: A program cannot be loaded if it is larger than the memory capacity available in the controller. • Faulty connection between PC and controller: Check the connection to the controller and the interface configuration.

7-4

9610a

Page 317

FST 200

7. Dialogue with the controller

7.2.1 Load project into the controller You can use this function to transmit a number of programs, program modules and function modules from the currently selected project into the controller with a single loading process. This is done by selecting the Load project option from Project management. You will then see all the programs for the project selected in a window.

Fig. 7.2: Loading a project

9610a

7-5

Page 318

FST 200

7. Dialogue with the controller

Here, you should place the highlight on the program required. Select the program by clicking on it or pressing the ENTER key. It is now marked with a prefixed asterisk. You will not be able to select any programs for other FPC controllers contained in the project selected. You may repeat the process for any number of program entries. You can delete the asterisk if you have selected a program by mistake by clicking on it or pressing the ENTER key again. Select function F1 once all the programs to be loaded have been selected. The loading process will now begin if the connection to the controller is OK (see Fig. 7.3).

7-6

9610a

Page 319

FST 200

7. Dialogue with the controller

If you see the following message in the status line

Warning: After Power On programs will be loaded from EEPROM. this is a reference to EEPROM Boot Mode (see section 7.2.3).

Fig. 7.3: Loading programs in Boot Mode EEPROM

9610a

7-7

Page 320

FST 200

7. Dialogue with the controller

7.2.2 Load program into the controller With this function, you can load a single program or a single program module from the current project into the controller. Do this by selecting the Load program option from the menu for the programming language concerned. All the programs included in the project selected are listed in a window (see Fig. 7.4).

Fig. 7.4: Loading a program Here, you should place the highlight on the program required. The loading process will begin immediately when you click on a program or press the ENTER key, as long as the connection to the controller is OK.

7-8

9610a