Ask our Experts
Didn't find what you are looking for? Ask our experts!
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-10-12 06:31 AM . Last Modified: 2025-10-12 06:50 AM
Hi
I am looking for more details on the Video_GetParam function. The manuals don't seem to have a detailed description; all I can find is this.
I am very new to programming so this may be obvious to everyone else.
idxDevice - Index of device connected. (Modbus address?)
idxParam - Index of parameter. (?)
subIdxParam - Sub-index of parameter. (?)
pVal - Address of variable that contains the read value. (?)
Output - Number of chars printed (I dont think this is the value of the "get parameter")
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-10-13 10:15 PM
Hi,
You could find this description in the online help of ESME HVAC
idxDevice is the id of the connected PLC. If you use TM172DGRP it is possible to connect more then one PLC. If you use the internal display the value is 0.
idxParameter is the modbus register adress from configuration tab
subIdxParam is 0 and not needed
pVal need to be attached via pointer (ADR) or (?) with the variabel you want to use in the HMI.
for type you need to use one of the follow shown types.
The easiest way to see an example is to check the integrated sample projects
In the samples there are mostly constant values used for the modbus Register address. Every variable which is written in uppercase is a constant.
And at least the best matching part of the forum for such question is the Pumping HVAC section. This is dedicated for ESME HVAC.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-10-16 04:09 AM
Thank you very much. I was getting confused over the word index, in this situation index is synonymous with address ....
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.