Now i try with custom EXE/SCRIPT sensor and no luck... I use modpoll.exe program ( https://www.modbusdriver.com/modpoll.html ) I don't know how to program script to run a program and read values.

In windows cmd i use command: modpoll.exe -c 1 -r 1 -f -t 3:float -p 4001 -m enc 192.168.5.87 and I get the answer :

-- Polling slave... (Ctrl-C to stop)
[1]: 234.171463

This is Phase 1 VOLT

If i use modpoll.exe -c 1 -r 1 -f -t 3:float -p 4001 -m enc 192.168.5.87 and I get the answer : -- Polling slave... (Ctrl-C to stop) [7]: 5.705577 This is Current of L1

Now have problem with writing script in Windows PowerShell ISE....

Can someone can help me ?

Thank you!

Damjan


Article Comments