MSG Instruction for Write Access. Festo CTEU-EP, CPX-FB36, CPX-CTEL-LK

Add to My manuals
30 Pages

The CTEU-EP, CPX-FB36, and CPX-CTEL-LK are Festo products that support the ability to add 3rd party IO-Link devices. These devices can be used to control various types of sensors and actuators, such as RFID readers, light stacks, and other IO-link devices. The application note provides detailed information on how to configure and use these products, including information on how to validate the IO-link devices, how to read diagnostics events, and how to set IO-link parameters.

advertisement

MSG Instruction for Write Access. Festo CTEU-EP, CPX-FB36, CPX-CTEL-LK | Manualzz

7.1.2

MSG Instruction for Write Access

To write to sub-index 3, the user must create the following:

 “Source” Controller Tag of type SINT[4] for

SINT[0]=40h (index)

SINT[1]=0

SINT[2]=3h (sub-index)

SINT[3]=7h (example value to write to sub-index 3)

 “Destination” Controller Tag of type SINT[4] for destination holder

 MSG instruction

The controller tags are created as follows:

 RFID_WR_source_CTEU = SINT[4]

 RFID_WR_destination = SINT[4]

Parameterize via Mailbox Function:

Figure 7.5

The table data to fill the message instruction is as follows:

Parameter Value Description

Message Type

Service Type

Service Code

Class

CIP Generic

Custom

33 h / 51 d

300 h / 768 d

CIP-specific message

Write access to single CIP attribute -> Service Code “10h”

Write ISDU

CIP-Class-ID for vendor specific „ISDU Access Object“

Instance

Attribute

1

0

Read from Port 1

Always 0 in case of CTEU-EP

Source Element Tag of SINT[3] Contents of tag: RFID_RD_source_CTEU

40h Index (INT)

Source Length

Destination Element

4

0h

3h Subindex (SINT)

7h Data 0 Value to write to Index 40h, Subindex

3h (parameter inside RFID reader:

“Action if Tag is present”)

When writing 4 Bytes of data to an ISDU, then Source Length is 3+4=7

Bytes.

Tag of SINT[4] Contents of tag: RFID_RD_destination_CTEU

0h Data 0 Reserved or error

Table 7.5:

Application Note – EtherNet/IP IO-Link Integration – 1.30 Seite 23 von 30

Message Instruction to write Parameter data:

Parameterize via Mailbox Function:

Figure 7.6

In this case, the source element is the first byte of the array.

Figure 7.7

The communication tab will have the path to the CTEU Ethernet module configured:

Sample logic to execute instruction:

Figure 7.8

Informationen

The message is executed upon a rising edge trigger.

Seite 24 von 30 Application Note – EtherNet/IP IO-Link Integration – 1.30

advertisement

Key Features

  • Supports IO-Link devices
  • Provides diagnostics for IO-Link devices
  • Allows parameterization of IO-Link devices
  • Integrates with Festo EtherNet/IP products
  • Provides detailed documentation for setup and configuration
  • Supports a range of 3rd party IO-Link devices

Related manuals

Frequently Answers and Questions

What is IO-Link?
IO-Link is a communication protocol for industrial automation that provides a standardized interface for connecting sensors and actuators to a control system.
How can I validate the IO-Link configuration?
The application note details how to retrieve vendor and device IDs via explicit messages to ensure the correct devices are connected to an IO-Link port.
How can I monitor diagnostics for IO-Link devices?
The application note describes how to monitor general diagnostics provided by the CPX or CTEU and how to read specific error information via explicit messages.
How can I parameterize IO-Link devices using the mailbox function?
The application note explains how to use the ISDU Access Object to access and modify parameters of IO-Link devices through the mailbox function.