AdvancedHMI Software
General Category => Open Discussion => Topic started by: sualk2619 on November 10, 2022, 06:42:55 AM
-
Hello,
I need some help in rather stupid questions, because I did not find something like a complete written tutorial.
My first steps:
I wrote a small program with openPLC (ST) witch runs at raspberryPi4. ModbusTCP installed and running.
It`s just a very simple thing, to check the possibilities of AHMI.
Did a lot of things in Codesys. I will try to change from Codesys to OpenPLC together with AHMI.
- what is the PLCaddressvalue, and where did I get it (e.g. to display real variable "var_1" from somewhere in the program
- if PLCaddressvalue is a internel address of the machine, it should change when I modify my plc-programm. Do I have to change the PLCaddressvalue in AHMI after each modification of my plc-program ?
- are simple exampels available for displaying variables and for input numbers in variables (usual IED 63111 types)
Thank you very much for help
-
AdvancedHMI uses the common Modicon style addressing, such as 40001. You will need to find the Modbus address that corresponds to the variable in your controller.
AdvancedHMI also accepts a FunctionCode:Offset, e.g. 3:0001
-
I propose to Archie to add some addendum to the UsageAndLicense file:
No absolute beginner shall use AAHMI with a Raspberry PI as a PLC.
-
Thank you Archie.
Response to bachpi: I am a absolute beginner with respect to AHMI/OpenPlc. I worked more the 15 years on codesys and may be I'm a little spoiled by using this complete system of PLC-programing+built-in HMI with complete documantation.
What I need is simply an example program, written in ST with OpenPLC, with demo-varialbles of all types, which are displayed and/or manipulated with AHMI via modbusTCP. That will be absolute enaugh to find my way.
-
Based on this page:
https://openplcproject.com/docs/2-5-modbus-addressing/
In the table of addresses:
Holding Registers Memory (16-bits) %MW0