Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
63
Добавлен:
11.10.2020
Размер:
2.21 Mб
Скачать

92• Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 Programming the PFC with WAGO-I/O-PRO CAA

Element

Description

 

 

EXCEPTION_HANDLER

POU returning errors occurred and permitting direct

 

error remedy.

NMT_ADDNODE

POU initializing for a specified module the Guarding

 

Object with Guarding Time and Lifetime Factor.

NMT_CHANGE_STATE

POU triggering a status change of a module initialized

 

beforehand with NMT_ADDNODE.

NMT_DELNODE

POU deleting a specified node from the list of slaves to

 

be treated.

NMT_GUARDING

POU switching the Guarding monitoring on and off.

NMT_SLAVE_IN_NW_LIST

POU returning the message whether a specified node is

 

in the internal slave list.

SEND_CAN_FRAME

POU transmitting the given data with the specified

 

COB_ID via the CAN bus

 

(max. data size = 8 bytes).

SYNC_MASTER_SEND_SYNC

POU transmitting a SYNC message.

3.1.6.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 fieldbus.

One 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 CAA manual (download: www.wago.com).

WAGO-I/O-SYSTEM 750

CANopen

Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000

• 93

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

 

 

 

3.1.6.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 COMX port of your PC with the communication interface of your controller via the WAGO communication cable.

A communication driver is required for serial data transmission.

In WAGO-I/O-PRO CAA, this driver and its parameters are entered in the

"Communication parameters" dialog.

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

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

The dialog "Communication parameters" opens. The basic setting of this dialog has not yet any entries.

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 and -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 CAA 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 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.

WAGO-I/O-SYSTEM 750

CANopen

94• Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 Programming the PFC with WAGO-I/O-PRO CAA

3.1.6.2.2Transmission via the fieldbus

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

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

The "Communication parameters" dialog opens.

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

4.Enter any name and mark the desired driver (i.e. "CANopenHilscher") in the selection window of the dialog.

5.Subsequently confirm with "OK".

The following entries have to appear in the center window of the dialog: - PCB number (number of the CANopen fieldbus PCB corresponding to your PC configuration), - Baud rate (the Baud rate of your controller set via the DIP switch) and – node number (the module ID of your controller allocated via the DIP switch).

If necessary, change the entry accordingly.

6.Change the entry - “Maintain” database into “Delete” database if you wish to delete previous settings from the database, and confirm with "OK".

7.The dialog window is closed and you obtain a message with the question whether or not to delete the database. Confirm this by again clicking on

"OK".

8.In the menu "Online", click again on the menu point "Communication parameter" and change the entry - “Delete” database to “Maintain” database.

9.Subsequently confirm again by pressing "OK".

The dialog window closes, the controller test can start.

Note

Prerequisite for the access to the controller is that the module ID and the Baud rate coincide with the settings at the controller, and that the operating mode switch of the controller is in the center or top position.

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

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

11.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.

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

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

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

WAGO-I/O-SYSTEM 750

CANopen

Соседние файлы в папке 750-837