I have several modbus slave connected on RS485 using A Modbus_COM Master and Modbus slave.
The communication is working well but i would like to change the display on the HMI for the related value when the communication is broken.
I can see the structure associated to my slave online in the codesys but i would like to use the conteny of this structure in the program.
When i am offline, the variable name is not visible (only ($Device_name) appear
When i am online his name is Device.Application.Modbus_slave_AQ_10 where Modbus_slave_AQ_10 is the bame of the device in the Codesys hardware structure.
Do I need to map the diagnostic to another application variable to be abale to get the status in the program?
ok i finally found it through the IoConfig_Globals categorie
Log in to post a comment.