Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Are you using the XAEShell or full Visual Studio? If full VS, what version?

I have been using the XAEShell to work with TwinCAT projects and VS 2022 without TC integration for AdvancedHMI.
22
Hi All,

I originally installed my Visual Studio to run TwinCAT 3 from Beckhoff. As such, there are a lot of TwinCAT specific tabs on my toolbar. I didn't think this would interfere with developing with Advanced HMI, but it seems to. The software installed, I can create screens, but when pressing Start to test the application it says you can't start it directly as it is a Class library. I have attempted to create a separate console application and reference the Advanced HMI project as advised, but it creates hundreds of errors. Many of the errors point to the Root namespace of MfgControl.AdvancedHMI, which is apparently the default. Are there any simple fixes for this, or can it be run on my Beckhoff-ized Visual Studio at all?
23
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!!
24
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.
25
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
26
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!!!
27
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

28
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!

 
29
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}



30
Send it to the sales at advancedhmi.com email.
Pages: 1 2 [3] 4 5 ... 10