I’m trying to add a dust monitoring system to ignition, The device supports TCP over port 3602. I have the device added, with 1/1 Connected.
Using telnet I have to issue command ‘rmmeas’ this then returns a string ‘9581379,0.005,’ The value I want to capture is 0.005 for a tag in ignition.
I noticed there is a writable and message. I wrote rmmeas to the writeable and can read that back, but can not return the sensor value from the end device. I always receive ‘’ or null. I’ve tried setting up comma delimitation and set the return amount to 2, and then 3.
Any suggestions? How do I pool the command at a specific rate? How do I read the value back into Ignition?
Can you get a message back at all? Get rid of the comma delimitation and return amount. Get the raw value back as you get over putty. Then use an expression tag to capture everything to the right of the comma.
Make a bool expression tag that executes at your desired rate that switches between true and false. Then use that to trigger your write.