Advanced HMI - Using With TwinCAT
Uploader Comments (arj3090)
All Comments (7)
-
Very cool demonstration with nice graphics, thanks for posting.
Another solution is to use a PLC that supports Codesys web visualizations, that way you can display it on any browser on the network. I have some tutorials on my channel showing how this can be done.
-
@arj3090 Thank you for your reply, it was indeed very helpful, exactly what I was looking for! : )
-
POST TWO:
Now, I want to try and have my VB program determine a float and set it inside the PLC. So not monitor a float value present in the PLC, but push a float value inside the PLC from my VB program.
I tried this by having my VB program set the DigitalPanelMeter.Value to a certainvalue, but the value in the PLC isn't changed. Instead it gets immediately overwritten again with the value inside the PLC...
(continued in next post...)
-
POST ONE:
A question about the TwinCat-VisualStudio link:
With some controls, f.e. the MomenteryButton, I can swith a BOOL variable in a PLC program on and off.
With other controls, f.e. the DigitalPanelMeter, I can monitor values (f.e. a float) in the PLC (They get displayed on the GUI element, once the PLCaddress is set correctly).
(continued in next post...)
-
hellow i have a question.. if i have an application running in a PLC and i want to sincronized with twincatcom driver how can set up the plc parameter to make a communication with plc
POST THREE:
How can I change this? Are there controls (in the advancedHMI project) that allow to do what I want? (push a value (float) from my VB program into the PLC)
Thank you for any help!
jadexvdp 1 year ago
@jadexvdp There are two ways. One is to use the Keypad cotrol, the other is within code: Try TwinCATComm1.WriteData("PRG.VaribleName", 1234) Catch ex As Exception MsgBox(ex.Message) End Try
arj3090 1 year ago