Author Topic: RedLion PaxDP10 via Modbus RTU  (Read 860 times)

gfulk

  • Newbie
  • *
  • Posts: 8
    • View Profile
RedLion PaxDP10 via Modbus RTU
« on: June 15, 2017, 09:01:08 AM »
Hello,
I am currently developing an app that will connect to a RedLion Panel Meter used to display compression values. Once the compression hits a setpoint set in the meter a coil will change states and fires a solenoid.

This meter does not handle the Modbus Function code FC01 for reading coils. This coil has a mirror register(40021) and a bit(bit 3) within that register that changes when this coil fires. I have tried drilling down to the bit level visa the .Net framework BitArray class and the BitVector32 struct . I tried to display the entire register as a ushort on screen and no change when the setpoint was fired .

I have tested getting the bit and the word change visa a small Indusoft app using their built in Modbus RTU driver. I saw the change in the register and the bit going this route of comms.

If you need code snippets or any other information I am happy to send.

Thanks,


Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: RedLion PaxDP10 via Modbus RTU
« Reply #1 on: June 15, 2017, 09:06:19 AM »
Add a BasicLabel to the form and set PLCAddressValue to 40021
Add a second BasicLabel to the form and set PLCAddressValue to 40021.3
Run the app and see what the BasicLabels show

gfulk

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: RedLion PaxDP10 via Modbus RTU
« Reply #2 on: June 15, 2017, 09:54:03 AM »
Archie,
Thanks for getting back to me, I have already tried this and there is no change.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: RedLion PaxDP10 via Modbus RTU
« Reply #3 on: June 15, 2017, 10:10:51 AM »
Try address 44021

gfulk

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: RedLion PaxDP10 via Modbus RTU
« Reply #4 on: June 15, 2017, 11:05:52 AM »
No luck

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: RedLion PaxDP10 via Modbus RTU
« Reply #5 on: June 15, 2017, 12:22:57 PM »
Maybe 44022

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: RedLion PaxDP10 via Modbus RTU
« Reply #6 on: June 15, 2017, 02:49:06 PM »
I had the opportunity to look at the manual and it looks like they are showing Modicon style addressing which means 40021 should be correct.

If you use a BasicLabel with address 40001, do you get a value?

Also set the EnableLogging property to True. After you run the application you will get a driver log file in the same directory as the executable. Post that file.
« Last Edit: June 15, 2017, 02:52:15 PM by Archie »

gfulk

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: RedLion PaxDP10 via Modbus RTU
« Reply #7 on: June 15, 2017, 03:20:46 PM »
After doing more research I found that i had to bring it over as a "u40021". I am now returning the proper value.