Материал: m013500e_x06

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

Feldbus-Koppler/-Controller • 81

Fieldbus Controller 750-806

3.2.6 Programming the PFC with WAGO-I/O-PRO 32

Due to the IEC 61131 programming of the DeviceNet fieldbus Controller 750-806 you have the option to use the functionality of a PLC beyond the functions of fieldbus Coupler 750-306.

An application program according to IEC 61131-3 is created using the programming tool WAGO-I/O-PRO 32 (order No.: 759-332/000-002).

This manual, however, does not include a description of how to program with WAGO-I/O-PRO 32. In contrast, the following chapters are to describe the special modules for WAGO-I/O-PRO 32 for you to utilize explicitly for programming the DeviceNet fieldbus Controller.

The description also explains transmitting the IEC 61131-3 program into the Controller and loading a suitable communication driver.

More information

For a detailed description of how to use the software, please refer to the

WAGO-I/O-PRO 32 manual (order No.: 759-122 / 000-002).

3.2.6.1 WAGO-I/O-PRO 32 Library Elements

You are offered various libraries for different IEC 61131-3 programming applications in WAGO-I/O-PRO 32. They contain modules for universal use and can, thereby, facilitate and speed up the creation of your program. As standard, the library 'standard.lib' is available to you.

The library described in the following is specifically intended for DeviceNet projects with WAGO-I/O-PRO 32:

• "DevNet. lib"

This library extends the fieldbus Controller 750-806 by the master function. As a result, it can be programmed in the network as a DeviceNet Master.

Several libraries are loaded on the WAGO-I/O-PRO CD.

Having integrated this library, you have access to its POUs, data types and global variables which can be used in the same manner as those defined by yourself.

More information

For a detailed description of the POUs and the software operation, please refer to the WAGO-I/O-PRO 32 manual (order No.: 759-122 / 000-002).

WAGO-I/O-SYSTEM 750

DeviceNet

82 • Feldbus Coupler/Controller

Fieldbus Controller 750-806

3.2.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 32 manual (order No.: 759-122 / 000-002).

3.2.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 61131-3, order No.: 759-332/000-002, 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 32, this driver and its parameters are entered in the "Communication parameters" dialog.

1.Start the WAGO-I/O-PRO 32 software via ’Start/Programs’ or by double clicking on the WAGO-I/O-PRO-32 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

- Stop bits:

1

If necessary, change the entries accordingly.

You can now commence testing the Controller.

WAGO-I/O-SYSTEM 750

DeviceNet

Feldbus-Koppler/-Controller • 83

Fieldbus Controller 750-806

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

3.2.6.2.2Transmission via the Fieldbus

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 how it is parametered is entered in

WAGO-I/O-PRO 32 in the "communication parameter" dialog.

Note

Transmission via the fieldbus is supported by UCMM. Here, for the download of the PFC program, WAGO-I/O-PRO 32 counts as a subscriber.

1.Start the WAGO-I/O-PRO 32 software via ’Start/Programs’ or by double clicking on the WAGO-I/O-PRO-32 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 driver "Hilscher PA Interface standard" in the selection window of the dialog.

Subsequently confirm with "OK".

5.If necessary, change the entry accordingly in the center window of the dialog.

WAGO-I/O-SYSTEM 750

DeviceNet

84 • Feldbus Coupler/Controller

Fieldbus Controller 750-806

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

WAGO-I/O-SYSTEM 750

DeviceNet

Feldbus-Koppler/-Controller • 85

Fieldbus Controller 750-806

3.2.7 Special DeviceNet Features of the Controller

3.2.7.1 Connection via the UCMM port

In contrast to the fieldbus Coupler 750-306 as a Group 2 Only Server, the DeviceNet Controller supports the dynamic connection via the UCMM port (Unconnected Message Manager Port).

For the Controller, the simultaneous set-up of 5 explicit and 5 dynamic I/O connections, i.e. the connection with 5 subscribers, is possible.

3.2.7.2 Offline Connection Set

Due to the Offline Connection Set, the fieldbus node can be addressed via the network when this node has been switched off because of a double MAC ID and is in a Communication Fault status. After being addressed, the MAC ID of the fieldbus Controller can be changed using the software.

3.2.7.3 DeviceNet Shutdown

The Device Shutdown allows the fieldbus node to log out from a control in a defined manner if the node is switched off due to internal faults. This function can be used in a targeted way in DeviceNet networks subject to very high safety requirements, such as e.g. in the chemical industry or in semi-conductor production.

3.2.7.4 Dynamic Assembly

An Assembly Object is used to group data (e.g. I/O data) to form blocks to be sent as a single message. The static Assembly allows the user to access permanently pre-programmed Assembly Instances in the fieldbus Controller. The dynamic Assembly, on the other hand, offers the possibility to set up Assembly Instances in which process data from various application objects can be configured as required.

In addition to the I/O data transmission, the dynamic assembly can also be used for a targeted selection of data which are to be transmitted explicitly via the fieldbus, or those which are explicitly not to be transmitted via the fieldbus.

Attention

To set the pysical outputs with the PFC either use the dynamic assembly or the instance 11 of the static assemblies. With this, you do not enter the physical outputs into the mapping in order to prevent the output data from being transmitted and temporary overwritten by the fieldbus.

Further information

You can find more details in chapter 5.6.2.2.2 "Dynamic Assembly".

WAGO-I/O-SYSTEM 750

DeviceNet