Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Read some Bit value via Modbus TCP -> to M340

Read some Bit value via Modbus TCP -> to M340 7 months 1 week ago #10323

  • Delerue
  • Delerue's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi everybody,

sorry for my poor english, i'm new here and i trying for my work to connect prowiew to several schneider automate ( M340,Premium ) under Unity or pl7Pro.


I do not have a problem to read an int word (% MWx) but when I want to read a bit of type %Mw.x. I can read the first MWx.o and after according to the representation (bit8 or bit16) I can only read that bit% MWx.8 -> % MW (x + 1).0

I can not read the intermediate bits.

I tried a lot of parameters, you would have already done type operation.

My Proview version is 5.4

Thank you for your precious help

Erwan
Last Edit: 7 months 1 week ago by Delerue.
The administrator has disabled public write access.

Read some Bit value via Modbus TCP -> to M340 7 months 1 week ago #10324

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2709
  • Thank you received: 357
  • Karma: 117
Hi Erwan,

If you read a 16-bit register you should set representation to bit16 and set Number in the ChanDi from 0 to 15.

/Claes
The administrator has disabled public write access.

Read some Bit value via Modbus TCP -> to M340 5 months 4 days ago #10345

  • Delerue
  • Delerue's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hello, it is a bit late for an answer but I have progress on my project which is functional.

it turns out that we can not read the bits of a word %MWX.X

On the other hand we can read a bit % M.

I will put some screenshots if it can interest some person
The administrator has disabled public write access.

Read some Bit value via Modbus TCP -> to M340 5 months 2 days ago #10347

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 709
  • Karma: 0
Hi Erwan,

Congrats you succeeded.
Please upload some screenshots.
It can be helpful in the future for somebody else and a Schneider
project...

Thanks!

/Marc
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 3.530 seconds