Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - psullivan

Pages: [1]
1
Support Questions / Re: Modbus TCP 32-bit Input Registers
« on: March 18, 2016, 03:48:55 PM »
I gave that a try, but the problem isn't that I am getting the wrong value, the problem is that I am only getting the value from one of the registers at a time. If I force two consecutive modbus registers in my PLC to a value of 1, I should get 65537 when reading a 32 bit integer. However, I am always reading a value of 1.

2
Support Questions / Modbus TCP 32-bit Input Registers
« on: March 18, 2016, 11:17:21 AM »
I am trying to read a 32-bit integer from a PLC and display it on a digital panel meter. I saw this thread about modbus addressing:

http://advancedhmi.com/forum/index.php?topic=765.0

The more significant word is in input register 7 and the less significant word is in input register 8, I tried setting the "PLCAddressValue" to L30007 but that didn't work so I tried setting it to L30008 and in both cases the digital panel meter only displayed a single register. Any ideas on where I am going wrong?

-Pat

3
Tips & Tricks / Re: Tag Database
« on: September 18, 2015, 08:57:25 AM »
Okay. Thanks for your help!

4
Tips & Tricks / Re: Tag Database
« on: September 18, 2015, 08:01:09 AM »
Yes. That is exactly what I am doing.

5
Tips & Tricks / Re: Tag Database
« on: September 17, 2015, 09:59:22 PM »
I am writing to the application property that I have the IP address fields bound to, and then calling the my.settings.save() method. Before I tried using data binding I was just writing to the "IPaddress" property of the driver Instance, and that seemed to work just fine.

6
Tips & Tricks / Re: Tag Database
« on: September 17, 2015, 12:05:54 PM »
I am taking a crack at this method for syncing an IP address for multiple driver instances on multiple forms as you suggested. The only problem I am having is if a change the IP at runtime I need to close and reopen the form for the change to take effect. Do I just need to disable or reenable subscriptions on the driver or something?

Pages: [1]