IFM AL1431 handleiding
Handleiding
Je bekijkt pagina 56 van 78

AL1431 IO-Link master with EtherCAT interface
56
Input Description Value range
PORT ADS communication port = 0x1000+port number • 0x1001: Port 1
• 0x1002: Port 2
• 0x1003: Port 3
• 0x1004: Port 4
IDXGRP AoE Index Group 0xF302
IDXOFFS Index Offset
• Bit 0…7: IO-Link Subindex
• Bit 8…15: 0x00
• Bit 16…31: IO-Link Index
e.g. access to index 21, subindex 0:
IDXOFFS = 0x00210000
ERRID ADS Error Code
• Bit 0…15: Error code of the IO-Link device
• Bit 16…31: ADS device error = 0x0700
e.g. access to parameters of the IO-Link de-
vice refused: ERRID = 0x07008023
9.3.12.2 Using CANopen over EtherCAT
The device supports mailbox communication via CANopen over EtherCAT (CoE). The CoE protocol
allows acyclic access to the IO-Link master and the connected IO-Link devices.
CoE uses the IO-Link Acyclic Command object area: Manufacturer-Specific Area (0x2000 - 0x5FFF)
(Ò/67)
A separate object area is available for each port.
u Observe the TwinCAT help!
In TwinCAT, access via CoE can be implemented via the following options:
1. [CoE – Online] tab in the device settings
2. Function blocks:
– FB_EcCoESdoRead: Read SDO of an EtherCAT slave
– FB_EcCoESdoWrite: Read SDO of an EtherCAT slave
Notes on the input assignment of the CoE function blocks:
Input Description Value range
sNetId AMS net ID of the EtherCAT master to which the de-
vice is connected
Depending on the project; e.g. 172.16.131.2.1
nSlaveAddr EtherCAT address of the port on the IO-Link master:
0x1000+port number
• 0x1001: Port 1
• 0x1002: Port 2
• 0x1003: Port 3
• 0x1004: Port 4
nSubIndex IO-Link subindex of the date
• Depending on the device; Ò IODD description of
the IO-Link device
e.g. subindex 0: 0x00
nIndex IO-Link index of the date
• Depending on the device; Ò IODD description of
the IO-Link device
e.g. subindex 21: 0x0015
Principle of acyclic command processing
General procedure of acyclic communication:
The IO-Link master can only process one CoE command request at a time. If another CoE
request is started during an active request, the device responds with an error (SDO abort code:
0x06090030).
1. Writing a command request
u In the command buffer (object 0x310n, subindex 0x01): Write command data
Bekijk gratis de handleiding van IFM AL1431, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
| Merk | IFM |
| Model | AL1431 |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 6386 MB |







