Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Support Questions / Re: Float Register with Modbus
« Last post by Nikola Tesla on March 20, 2024, 08:39:42 AM »
Yes! i just test It. As always thank you!!
12
Support Questions / Re: Float Register with Modbus
« Last post by Archie on March 20, 2024, 08:31:20 AM »
In the Modbus driver, try to set SwapWords to True to see if that does what you want.
13
Support Questions / Float Register with Modbus
« Last post by Nikola Tesla on March 20, 2024, 06:47:41 AM »
Good morning, I am doing some Float register readings in modbus TCP and I am using the AnalogoValueDisplay with PlcAddressValue F40001. It reads correctly the float register, taking register 40002 as the most significant register (where the sign and the exponent are), I wonder how I could do it the other way round, that is, with register 40001 as the most significant register.

Thank you very much
14
Support Questions / Re: Basic Indicator On wiith decimal value
« Last post by Nikola Tesla on March 14, 2024, 03:23:10 PM »
The PLCAddressSelectColor2 works on a boolean value, so you can program the comparison in your PLC to set a boolean value.

The other option is to use some code:

- Add a DataSubscriber to the form
- Set PLCAddressValue to the register you want to use
- Double click the DataSubscriber to get back to code
- Enter this code:
Code: [Select]
if e.Values(0)=101 then
  BasicIndicator1.ForColor=Color.Red
else
  BasicIndicator1.ForColor=Color.White
end if

Oh!! Thank you very much Archie for introducing me to the wonderful world of DataSubscriber!!!
15
Support Questions / Re: Basic Indicator On wiith decimal value
« Last post by Archie on March 14, 2024, 08:53:31 AM »
The PLCAddressSelectColor2 works on a boolean value, so you can program the comparison in your PLC to set a boolean value.

The other option is to use some code:

- Add a DataSubscriber to the form
- Set PLCAddressValue to the register you want to use
- Double click the DataSubscriber to get back to code
- Enter this code:
Code: [Select]
if e.Values(0)=101 then
  BasicIndicator1.ForColor=Color.Red
else
  BasicIndicator1.ForColor=Color.White
end if

16
Support Questions / Basic Indicator On wiith decimal value
« Last post by Nikola Tesla on March 14, 2024, 06:25:26 AM »
Good morning friends, I have been trying all day to turn on a BasicIndicator in red colour for example when the modbus register is at a decimal value of 101 and when it is at any other value the indicator is off. But something escapes me because as much as I try I don't get it. How could I do this?

 Thank you very much!

 
17
Hi
Under the conditions of 2 devices connected using two com ports (one device per com port),
after a few minutes the active communications, I turned off one of the two devices to simulate a time out error;
this was the result:

Exception message:
Message
   "Send Queue Full"   String
Source
   "MfgControl.AdvancedHMI.Drivers"   String
StackTrace:
   "in MfgControl.AdvancedHMI.Drivers.Modbus.RTU.ModbusRTU.SendRequest(ModbusPDUFrame PDU)" & vbCrLf &
   "in MfgControl.AdvancedHMI.Drivers.Modbus.ModbusBase.BeginRead(ModbusAddress address)" & vbCrLf &
   "in MfgControl.AdvancedHMI.Drivers.Modbus.ModbusBase.BeginRead(String startAddress, Int32
          numberOfElements)" & vbCrLf & 
   "in AdvancedHMIDrivers.ModbusRTUCom.BeginRead(String startAddress, Int32 numberOfElements) in
         .\AdvancedHMIDrivers\Modbus\ModbusRTUCom.vb: row 291" & vbCrLf &
   "in MfgControl.AdvancedHMI.Drivers.Modbus.ModbusBase.b()"   String
   
TargetSite
   {Void SendRequest(MfgControl.AdvancedHMI.Drivers.Modbus.ModbusPDUFrame)}   
        System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}



18
Send it to the sales at advancedhmi.com email.
19
Hi,

I updated the driver to version 1.3.4.0 however, the unhandled exception still occurs. I've created a minimal working example. What's the best way to send this to you without sharing the dll publicly?

Thanks!
20
Support Questions / Re: Changing the Look of a Button
« Last post by Arvanoss on March 04, 2024, 05:53:29 AM »
Thank you Archie that works very well.
Pages: 1 [2] 3 4 ... 10