Flex727 and Isacovic,
big thanks you are helping me. Now step by step situation is better and better clear what is going on. Improved communication, divided program part to be clear readable. Added socket for communication with PC. Works now.
Some more new question appears:
Sometimes not all sockets has statuss 23, often statuss 19 or 21. Found out that is also depends other side – device wihch I want communicate other side over selected socket. But how better control such problems with sockets? I just added key to restart whole communication, but also not always helps..
In Modbus communication configuration ( I need work with 3 Modbus IP devices) I put different Modbus ID address of my PLC, when I use the same – also looks some problems with socket initialization. But how do it correctly?
I don't know why, but I can read from Danfoss ECL only one Modbus register at time, vector reading not working… Modbus CAS scanner can read more than one register.. How correctly read registers one by one? Please look on my program's 14, 15 rungs. How do modbus reading in sequence of many registers? (I need aprox 30-40 registers to read from one device, and they not going one by one)… Not found such example unfortunately, need your advice in that case..
BR,
Alexander
P.S. Flex727 thank you for explain very in detail what to do step by step. This is REALLY helpful for novice who begin work with Unitronic devices.
Unitronics_V700step6b.vlp