Altering Attibutes in the DeviceNet coupler 750

Altering Attibutes in the DeviceNet coupler 750

Altering Attibutes in the

DeviceNet coupler

750-306 Version 3.0

Application note

A207000, English

Version 1.0.0

ii • General

Copyright

ã 2001 by WAGO Kontakttechnik GmbH

All rights reserved.

WAGO Kontakttechnik GmbH

Hansastraße 27

D-32423 Minden

Phone: +49 (0) 571/8 87 – 0

Fax: +49 (0) 571/8 87 – 1 69

E-Mail: [email protected]

Web: http://www.wago.com

Technical Support

Phone: +49 (0) 571/8 87 – 5 55

Fax: +49 (0) 571/8 87 – 4 30

E-Mail: [email protected]

Every conceivable measure has been taken to ensure the correctness and completeness of this documentation. However, as errors can never be fully excluded we would appreciate any information or ideas at any time.

We wish to point out that the software and hardware terms as well as the trademarks of companies used and/or mentioned in the present manual are generally trademark or patent protected.

Application note

A207000

Table of Contents • iii

TABLE OF CONTENTS

1 Important comments..................................................................................1

1.1

Legal principles.................................................................................1

1.1.1 Copyright...........................................................................................1

1.1.2 Personnel qualification......................................................................1

1.1.3 Intended use ......................................................................................1

1.2

Range of validity...............................................................................2

2 Description ..................................................................................................3

3 Solution........................................................................................................3

3.1

Attribute definitions for: ...................................................................3

3.2

Coupler configuration Object (0x64) 100 decimal ...........................5

3.3

Using AB s DeviceNet Manager tool without using the Advance

EDS files from WAGO ....................................................................6

3.4

To change Attibute 12 “Buscoupler Produced Data Size (Status

Byte)” ...............................................................................................9

3.5

Using OMRONs CompoBus/D Configuration tool without using the Advance EDS files from WAGO .............................................11

3.6

Using AB s DeviceNet Manager tool with the Advance EDS files from WAGO...................................................................................14

Application note

A207000

iv • Table of Contents

Application note

A207000

Important comments • 1

1 Important comments

To ensure fast installation and start-up of the units described in this manual, we strongly recommend that the following information and explanation is carefully read and adhered to.

1.1 Legal principles

1.1.1 Copyright

This manual is copyrighted, together with all figures and illustrations contained therein. Any use of this manual which infringes the copyright provisions stipulated herein, is not permitted. Reproduction, translation and electronic and photo-technical archiving and amendments require the written consent of

WAGO Kontakttechnik GmbH. Non-observance will entail the right of claims for damages.

1.1.2 Personnel qualification

The use of the product detailed in this manual is exclusively geared to specialists having qualifications in PLC programming, electrical specialists or persons instructed by electrical specialists who are also familiar with the valid standards. WAGO Kontakttechnik GmbH declines all liability resulting from improper action and damage to WAGO products and third party products due to non-observance of the information contained in this manual.

1.1.3 Intended use

For each individual application, the components supplied are to work with a dedicated hardware and software configuration. Modifications are only admitted within the framework of the possibilities documented in the manuals. All other changes to the hardware and/or software and the non-conforming use of the components entail the exclusion of liability on part of WAGO Kontakttechnik GmbH.

Please direct any requirements pertaining to a modified and/or new hardware or software configuration directly to WAGO Kontakttechnik GmbH.

Application note

A207000

2 • Important comments

1.2 Range of validity

This application note is based on the stated hardware and software of the specific manufacturer as well as the correspondent documentation. This application note is therefore only valid for the described installation.

New hardware and software versions may need to be handled differently.

Please note the detailed description in the specific manuals.

Application note

A207000

Description • 3

2 Description

Altering Attibutes in the WAGO 750-306 ver. 3 Buscoupler using

ALLEN-BRADLEYs DeviceNet Manager

& OMRONs CompoBus/D configuration tools.

3 Solution

3.1 Attribute definitions for:

Class 100 Decimal (64 Hex) Instance 1 Attribute 11

Þ With some control systems when the scanner/Main processor is placed into program/configuration mode the scanner starts transmitting idle messages.

Some I/O systems do nothing with this type of message, the WAGO I/O systems does react. The reaction is configurable and can be affected by changing the value assinged to this object.

When this object is set to a value of “0” (default) the WAGO local I/O bus stops updating its I/O. Note: If the control system was running and is changed to program/configuration mode there is a chance the outputs could be set to an ON state. The I/O will not be updated until the control system is placed back into run mode

When this object is set to a value of “1”, the WAGO local I/O bus will update its I/O. Note: The buscoupler will set all the Outputs to an OFF state and then stop the WAGO local bus.

When this object is set to a value of “2”, the WAGO local I/O bus continues updating its I/O. Note: The buscoupler will set all the Outputs to the last commanded state that it was told by the control system. If the

Output states were set to be in an ON state when the control system was switched to program/configuration mode, they will stay ON until the control system is placed back into run.

When this object is set to a value of “3”, the WAGO local I/O bus places the I/O to the states that you configured.

Note: The purpose of this Application Note is not to describe how, or the issues associated with defining, I/O states other than OFF.

Application note

A207000

4 • Solution

Class 100 Decimal (64 Hex) Instance 1 Attribute 12

Þ The WAGO buscoupler 750-306 produces one additional byte of data in addition to the data that is produced by the Input modules located on the node.

This byte contains various bits of information regarding the buscouplers status or operating conditions.

Some control systems have limited memory space available to the scanner. Some scanners do an Auto Build of the data that needs to be asssigned to the Scanners Image table. You may not want to take advantage of the diagnostic inforamtion provided by the buscoupler status byte. Because of these issues the user can eleliminate the status byte from being produced by the buscoupler.

When this object is set to a value of “4” (default) the buscoupler produces the status byte along with the Analog & Digtal Inputs. Example:

The node has 4 Analog & 12 Digital Inputs, 2 Analog & 14 Digital

Outputs channels. The data produced (sent from the node) and consumed (received by the node) would be 11 Bytes produced and 6 bytes consumed.

When this object is set to a value of “5” the buscoupler produces the status byte along with only the Digtal Inputs. Example: The node has

4 Analog & 12 Digital Inputs, 2 Analog & 14 Digital Outputs channels.

The data produced (sent from the node) and consumed (received by the node) would be 3 Bytes produced and 6 bytes consumed.

When this object is set to a value of “6” the buscoupler produces the status byte along with only the Analog Inputs. Example: The node has

4 Analog & 12 Digital Inputs, 2 Analog & 14 Digital Outputs channels.

The data produced (sent from the node) and consumed (received by the node) would be 9 Bytes produced and 6 bytes consumed.

When this object is set to a value of “7” the buscoupler produces only the Analog & Digtal Inputs. Example: The node has 4 Analog & 12

Digital Inputs, 2 Analog & 14 Digital Outputs channels. The data produced (sent from the node) and consumed (received by the node) would be 10 Bytes produced and 6 bytes consumed.

When this object is set to a value of “8” the buscoupler produces only the Digtal Inputs. Example: The node has 4 Analog & 12 Digital Inputs, 2 Analog & 14 Digital Outputs channels. The data produced (sent from the node) and consumed (received by the node) would be 2 Bytes produced and 6 bytes consumed.

Application note

A207000

Solution • 5

When this object is set to a value of “9” the buscoupler produces only the Analog Inputs. Example: The node has 4 Analog & 12 Digital Inputs, 2 Analog & 14 Digital Outputs channels. The data produced (sent from the node) and consumed (received by the node) would be 8 Bytes produced and 6 bytes consumed.

NOTE: CAUTION MUST BE TAKEN TO USE THE CURRECT

SETTING FOR THE NODE CONFIGURATION.

3.2 Coupler configuration Object (0x64) 100 decimal

Instance1:

Attribute

ID

Used in coupler

Access

Rule

Attribute

Name

11 (0xB) specific Get/Set BK_FAUL

T_REACT

ION

12 (0xC) specific Get/Set BK_SEL_

STORED_

POLL_P_

PATH

Data

Type

Brief Description of Attribute

USINT A number used to specify the fieldbus error handling.

0: Stop local I/O cycles (default)

1: Switch all outputs to 0

2: Do nothing

3: Switch all output to a predifined

UINT

output image

(do not uses other values)

Non volatile power up value for the polled I/O produced connection path.

The attribute is used to hold an value for the assembly path and the Class and Instance for modules object

(Discrete Input Point ...) paths.

Write only Instance values that are available for couplers present module configuration. (Note e.g. do not use analog input points if only digital modules are fixed to the coupler)

0: bad value,path value not visible

1: analog and digital output data

2: only digital output data

3: only analog output data

4: analog and digital input data plus status (default)

5: only digital input data plus status

6: only analog input data plus status

7: analog and digital input data

8: only digital input data

9: only analog input data

10...: path value not visible

The failure code is only for digital modules available (A detailed description is TBD).

The Set / Reset bit is only supported for digital modules. (0 = set failure, 1 = clear failure)

Services

Service

Code

Service Name Service Description

0Ehex Get_Attribute_Single Used to read a Coupler Configuration Object attribute value

10hex Set_Attribute_Single Used to modify a Coupler Configuration Object attribute value.

Application note

A207000

6 • Solution

3.3 Using AB s DeviceNet Manager tool without using the Advance EDS files from WAGO

Step 1 Go online using DeviceNet Manager

Step 2 Do a Network WHO. The following should be displayed.

(note MAC_ID 1 is the WAGO node that is used for this application)

Step 3 Double click on NODE 1.

Application note

A207000

Step 4

Solution • 7

The screen should appear as follows. Select Yes. The tool will create a generic EDS file.

Step 5 Select Polled and then OK

Application note

A207000

Step 6

The following window will appear select Yes

8 • Solution

Step 7

Type WAGO into the box as it is shown below and select OK

Step 8

Double click on the WAGO node and the follow screen will be displayed.

Application note

A207000

Solution • 9

3.4 To change Attibute 12 “Buscoupler Produced Data Size

(Status Byte)”

Step 1

Step 2

Step 3

Change the class number from 1 to 100. (100 Decimal = 64

Hex)

Change the Attribute value from 1 to 12

Select the “Load from Device” button.

The “Attribute Data” window will populate with the current value of the buscoupler.

Application note

A207000

10 • Solution

Step 4 Enter the value for the Attribute behavior that is required in the Attribute Data field, choose Word in Data Size, and then select Save to Device ( In this example the buscoupler is being configured ‘Analog & Digital data without Status byte’).

To change Attibute 11 “Buscoupler Fault Reaction” repeat the above example with the exception of placing a value of 11 in the Attribute field. Once the data is retreived from the Buscoupler, enter the new value into the Attribute

Data field. ( see object profile on page2 for specific information ) The following is an example of this.

Application note

A207000

Solution • 11

3.5 Using OMRONs CompoBus/D Configuration tool without using the Advance EDS files from WAGO

Step 1

Go online using CompoBus/D Configuration Tool tool.

Select the node address for the configuration

Application note

A207000

Step 2

Do a Network WHO. The selecte icon

.

The following screen should be displayed. (note

MAC_ID 1 is the WAGO node that is used in this application note)

Step 3 Click on Tool on the menu bar, it should apper as below. Select by clicking on the Device Parameters

Setup option from the pull down list.

12 • Solution

The following window should be displayed.

Step 4 Step 1. Change the following fields:

The

• configured. In this example place a 1 in that field.

Set

Set

Set

Attribute value to 12.

2 Byte for the Data Size radio button

Application note

A207000

Application note

A207000

Step 5

Solution • 13

Press the Read From Device button.

The follow value should appear in the Data: field.

Step 6

To change an attribute, enter the value that needs to be set in the buscoupler and select the Write to De-

vice button.

14 • Solution

Step 7

To verify that the attibute has been changed enter a different value in the Data: field and select the Read

from Device. The value that was sent to the node should now be the same as what was just read.

3.6 Using AB s DeviceNet Manager tool with the Advance

EDS files from WAGO

NOTE: Before going on-line, WAGO EDS file and Bitmaps must be loaded into DeviceNet man

Step 1 Go online using DeviceNet Manager

Step 2

Do a Network WHO. The following should be displayed. (note MAC_ID 1 is the WAGO node that is used for this application)

Step 3 Double click on the desired NODE or, click once on the desired Node and click on the Configure Device button to run the Device Configuration Enhanced

Mode. ( In this example it is Node 1.)

Application note

A207000

Step 4

Solution • 15

To change attribute 11 select the Failure reaction by clicking on number 12.

Step 5 Next click on the Modify Paramater button as pictured above

Application note

A207000

Step 6

Select the desired configuration from the list and then select the Save to Device button. ( In the example the Switch outputs to 0 has been used.)

16 • Solution

Step 7

To change attribute 12, select the ‘Stored polled I/O produced’ by clicking on number 16. (Remove status byte)

Step 8

Next click on Modify Paramater button as pictured above

Step 9 Select the desired configuration from the list and then select the Save to Device button.. ( In the example the analog and digital input data without status byte has been used. )

Application note

A207000

Application note

A207000

Solution • 17

WAGO Kontakttechnik GmbH

Postfach 2880 • D-32385 Minden

Hansastraße 27 • D-32423 Minden

Telefon: 05 71/8 87 – 0

Telefax: 05 71/8 87 – 1 69

E-Mail: [email protected]

Internet: http://www.wago.com

Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project