2
« on: December 04, 2017, 10:44:28 PM »
i have just download AdvancedHMI 3.99 few days back. seeing the video tutorial i just deveolpe first application in which i place DigitalDsiplayMeter and assigned the PLC address register 40001 to it.when i run the application i just got the 2 bytes value stored in the first register. i am using PLC simulator with modbus TCP/IP protocol. the address register on this plc simulator are of two bytes length. it mean each flot (real) value is stored in two consecutive register e.g. say i entered 50.5689 at address 40001 then this value will be stored at 40001 and 40002. my problem is that i want to display the same on DigitalDisplayMeter but i dont know what address to entered at PLCAddressValue property of this control if entered F40001 it read nothing wjen i entered 40001 then it read back only part of float that is stored in first two bytes that is at 40001 (but only binary value of stored number not in float form).can SOME one please guide me how to read float from plc in float form. i have also try to read float on simple BasicLabel control but again give garbage value. please tell me how to tell software to read two consecutive regsiters. i have use this simulator with other HMI it works fine. i simply give addres of first register and hmi show complete float value.
waiting for your reply. please also tell me what is significance of property ValueScaleFactor.
sajid