Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Support Questions / Re: Modbus 16bit addresses Read Only
« Last post by cajunman64 on February 13, 2024, 09:13:39 AM »
Thanks I will try it out when I get back on shift tonight
72
Support Questions / Re: Modbus 16bit addresses Read Only
« Last post by Archie on February 13, 2024, 08:02:42 AM »
- Add a BasicIndicator to the form
- Set PLCAddressSelectColor2 to 30209.0
- Set PLCAddressSelectColor3 to 30209.1
73
Support Questions / Re: Modbus 16bit addresses
« Last post by zipfrog2022 on February 13, 2024, 12:03:50 AM »
Ok

Thank You
I checked the code and it will use function code 6 if there is only a single register to read.
74
Support Questions / Modbus 16bit addresses Read Only
« Last post by cajunman64 on February 12, 2024, 11:54:12 PM »
Hello all this is my first time here and I am working on a small project to try to make a HMI on just reading values; so for I had setup my PT sensors to display my readings on my screen but now I'm trying to display the valves to show if they are Open or Closed.
The address for one of the Valve status Indicator = 30209 and will have a reading of 1 if the Valve is Closed and 2 if the Valve is Open.
I had read different post but still haven't found a solution
I had tried different Controls Components but I couldn't fine where I can enter in a value of 1 for one color and 2 for another

Thanks
75
Support Questions / Re: Modbus 16bit addresses
« Last post by Archie on February 12, 2024, 07:16:33 PM »
I checked the code and it will use function code 6 if there is only a single register to read.
76
Support Questions / Re: Modbus 16bit addresses
« Last post by zipfrog2022 on February 12, 2024, 06:04:36 PM »
Can you not use function code 6? 16 is to write multiple registers and 6 is to write a single register.
AdvancedHMI uses function code 3 to read 16 bit registers and function code 16 to write them.

Normally you use addresses in the 40000+ range, such as 40001

I
77
Support Questions / Re: Modbus 16bit addresses
« Last post by Archie on February 12, 2024, 01:31:03 PM »
AdvancedHMI uses function code 3 to read 16 bit registers and function code 16 to write them.

Normally you use addresses in the 40000+ range, such as 40001

I
78
Support Questions / Modbus 16bit addresses
« Last post by zipfrog2022 on February 12, 2024, 01:21:17 PM »
I am working on setting up some fairly basic actuator controls. All my single bit items work fine. What I need to know is how to read a 16bit address or write a 16bit address.

To send a operation command lets say for open / closed its function code 06, offset is 4096, bit 0= open, bit 1=closed, bit 2= setpoint.

How would I read these or write these. I would like to either use selector switch to change from open close using the bits above or push button to send the open / closed commands.

Help understanding how to work with the 16bit addresses would be greatly appreciated.

Thanks
79
Feature Request / Re: LIVE VIDEO WITH SAVE FUNCTION
« Last post by smithpetermark@gmail.com on February 11, 2024, 02:17:29 AM »
I cannot get this control working and in fact now my Solution is throwing errors.

I know this post is old.

I deleted the control and the dll resource and have no errors and will try again.

OK -  reread the instructions and succeeded.  I used the encoder from here btw: https://sourceforge.net/projects/x264vfw/
80
Open Discussion / Re: ON/OFF Button for bit in a register Modbus TCP
« Last post by Nikola Tesla on February 05, 2024, 01:51:08 PM »
in conjunction with the subtract you want to use a logical AND.

ModbusTCPCom1.Write("40001", Value AND (65535 - 2 ^ (b_Num - 1)))

I can't test that right now, but the 65535 assumes it is an unsigned 16 bit integer, it may need to be a 32767

Thanks Archie!

I have just teste with a ModbusPal Tcp Servidor Simulator and run with 65535 y 32767, this week I'll test with a plc.

Pages: 1 ... 6 7 [8] 9 10