Jump to content
OMRON Forums

Ethercat IO missing registers


piefum
 Share

Recommended Posts

Hi all

I have a problem configuring a small Ethercat IO network with a Power Brick LV.

The ethercat devices connected to the PowerBrick are: (all beckhoff)

- EK1100 (ethercat coupler)

- 3x EL3204-0200 (4x RTD / PT1000 input)

 

The Power PMAC System Setup recognizes the devices and I am able to read some registers, for example the 0x60n0:17 that are the analog RTD input. However, I need to configure some registers to make the EL3204 postprocess correctly the input (in fact the default readout is not the temperature). The configuration registers start from 0x8000, but I cannot access to them.

I tried to load a proper XML configuration file (containing the definition of these registers) but the System Setup does not show them.

I also tryed a manual readout of the registers via the command line, but I am still getting error messages ("Failed to read register: Input/output error").

 

Am I missing something?

 

-- EDIT:

ok, I set the proper value to the register using the command DOWNLOAD:

ethercat -m0 -p 1 -t uint16 0x8000 0x19 0

where 0x8000 is my address, 0x19 the subindex and 0 the correct value.

However, reg_write and reg_read still raise errors, and the System Setup tool is not able to recognize there addresses.

 

 

 

thanks

gg

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

...ok, I set the proper value to the register using the command DOWNLOAD:

ethercat -m0 -p 1 -t uint16 0x8000 0x19 0

 

Try using:

ethercat -m0 -p1 -t uint16 download 0x8000 0x19 0

 

When using a bkgrd plc, or a configuration file try using:

L0=ecatsdo(0,1,$8000,$19,0,0)

Note: there must be six parameters within the parens (...) even for reading. The first parameter is 0 for a write operation, or a 1 for a read operation. The second value from the end is the data to be written. Again, there must be a value here even when reading.

 

I hope this helps.

 

-m

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...