• No results found

3.5 Programming of the PFC with WAGO-I/O PRO

3.5.2 IEC 61131-3 Program Transfer

Program transfer from the PC to the controller following programming of the desired IEC 61131 application can be made in two different ways:

• via the serial interface or

• via the field bus.

A suitable communication driver each is required for both types.

More Information

For information on the installation of the communication drivers as well as details regarding the use of the software, please refer to the

WAGO-I/O-PRO manual . Note

The station address 0 starts up the controller after switching on POWER-ON and it also starts the PFC functions without the field bus being active.

This function allows an autarkic smallest scale control with the WAGO-I/O-SYSTEM 750.

Autarkic smallest scale control

Any station address may be used from SW 03. The user determines whether the controller may start up with the default configuration using a functional building block.

3.5.2.1 Transmission via the Serial Interface

Use the WAGO communication cable to produce a physical connection via the serial interface. This is contained in the scope of delivery of the programming tool IEC 1131-3, order No.: 759-333, or can be purchased as an accessory under order No.: 750-920.

Connect the COM port of your PC with the communication interface of your controller via the WAGO communication cable.

Warning

The communication cable 750-920 must not be connected or disconnected while the coupler/controller is powered on!

Programming of the PFC with WAGO-I/O-PRO

WAGO-I/O-SYSTEM 750

Bus System

1. Start the WAGO-I/O-PRO software via 'Start/Programs' or by double clicking on the WAGO-I/O-PRO symbol on your desk top.

2. In the "Online" menu click on the "Communication parameters" menu point. The dialog "Communication parameters" opens.

3. In the selection window mark the desired driver on the right-hand dialog side (i.e. "Serial (RS232)", to configure the serial connection between PC and the controller).

4. In the center window of the dialog, the following entries have to appear: -Parity: Even

-Stop bits: 1

If necessary, change the entries accordingly. You can now commence testing the controller.

Note

To be able to access the controller, ensure that the operating mode switch of the controller is set to the center or the top position.

5. Under "Online" click on the "Log-on" menu point to log into the controller. (The WAGO-I/O-PRO Server is active during online operation. The

communication parameters cannot be polled.)

6. If there is not a program in the controller, a window appears asking whether or not the program is to be loaded. Confirm with "Yes". Subsequently the current program will be loaded.

7. As soon as the program is loaded, you can start the program via the

"Online" menu, menu point "Start". At the right-hand end of the status bar, the system signals "ONLINE RUNNING".

8. To terminate the online operation, return via the "Online" menu and click on the "Log-off" menu point.

3.5.2.2 Transmission via the Field Bus

The field bus cable is the physical connection between the PC and the controller. It is necessary to have a suitable communication driver for data transmission. This driver and its parameterization is entered in

Programming of the PFC with WAGO-I/O-PRO

WAGO-I/O-SYSTEM 750

Bus System

3.5.2.2.1 MSAC2 Interface

The communication between WAGO-I/O-PROand the PFC run-time system of the field bus coupler is performed via the READ and WRITE services of the acyclic communication channel MSAC2 (Master-Slave-Acyclic Class 2). This channel exists parallel to the cyclic data exchange MSCY (Master-Slave- Cyclic) and has no influence on it. The program download and debugging transmission speed is very effective, since the relevant telegrams are sent or received in a PROFIBUS telegram. The transmission speed depends on the physical requirements of PROFIBUS (e.g. baud rate).

1. Start the WAGO-I/O-PROsoftware via 'Start/Programs'

or by double clicking on the WAGO-I/O-PRO- symbol on your desktop. 2. In the "Online" menu click on the "Communication parameters" menu

point

3. Click on the "New" button to define a driver in the "Communication parameter" dialog.

4. Enter any name and mark the desired driver "Hilscher PA Interface Standard" in the selection window of the dialog.

5. The following entries have to appear in the center window of the dialog: - Interface

Number of the Interface corresponding to PC configuration Class 2 station address of the master

- Baud rate

Baud rate of the PROFIBUS system - Node number

Station address of the PROFIBUS controller to be programmed - Highest station address

Highest station address in the PROFIBUS network - Waiting time

Waiting time in ms for the preparation of the station list - Data base

To operate the PROFIBUS card (WAGO) as a class 2 master, the data base on the card must be deleted only once by WAGO-I/O-PRO. Once the data base has been deleted, it can be left unchanged.

Note

Prerequisite for the access to the controller is that the operating mode switch of the controller is in the center or top position.

6. Under "Online" click on the "Log-on" menu point to log into the controller.

(During online operation, the WAGO-I/O-PRO server is active. The communication parameters cannot be polled.)

7. If there is not a program contained in the controller, a window appears asking whether or not the program is to be loaded. Confirm with "Yes". Subsequently the current program is loaded.

8. As soon as the program is loaded, you can start processing the program via the "Online" menu, menu point "Start".

At the right-hand end of the status bar, the system signals "ONLINE RUNNING".

9. To terminate the online operation, return via the "Online" menu and click on the "Log-off" menu point.

Configuration

WAGO-I/O-SYSTEM 750

Bus System

Related documents