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 4 years 9 months 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: 4 years 9 months ago by Delerue.
The administrator has disabled public write access.

Read some Bit value via Modbus TCP -> to M340 4 years 9 months ago #10324

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3173
  • Thank you received: 499
  • Karma: 133
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 4 years 7 months 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 4 years 7 months ago #10347

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
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
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.233 seconds