Features, discussions, tips, tricks, questions, problems and feedback

Reading the value from plc

Im trying to read current value/water level from PLC,the problem im facing, l can’t scan 32bit in analog. It sees 16 bits 32767.my address is 400509.

I assume you are using modus tcp? Are you scanning the value with D or maybe L postfix?
Can you post here screenshot of the scan point?


Yes I’m using Modbus tcp and am scanning the value with L postfix, your help will be much appreciated Damiand.

L is read as 32 bit long meaning, long integer. For floating point you should use F - check the driver documentation for the addressing table (go to plc communication config, pick mod bus tcp and then click documentation button)
Also make sure to change device span and engineering span - yours are pointing for 0-100 limits so it won’t read anything above that