i’m writing this from the head, so it’s mabye a little off, but it’s a start
1.set the comm parameters of 485 module in pac manager - inspect - serial to mach the blower settings
2. open the opto modbus example strategy, set the comm port setting to tcp:127.0.0.1:22500 (22500 is the number of port on the rack if you plug the 485 module on the first position and the device in the first channel)
3. open the watch window (there are predefined wth files for every type of data you want to read from device… in most cases you’ll use 1 and 3) and then try to read some registers from blower documentation
Russ the first hting you need to know is what registers the app is using, what of these registers you need, and how they are using it. The last part refers to whether the register platform is starting with 0 or 1. You will see this in the aformentioned docs.
Next you need to set up a comm handle in Pac and set up the parameters like orm mentioned.
A simple way to get started is don’t use the all encompasing example. Just stick one of the modbus commands in a script block such as a read command with a 1 second loop and then start playing with the paramters until you get the hang of it. Don’t forget to bring the subroutine command you are using into Pac Control before trying to use it. Use a read multiple registers command and have it write to a table and you will see if you have the parameters right becuase the values that make sense will either be in the right register or off by one.
Acutally, I have done numerous implementations but I am not quite up to speed without going back over the lastest implementation with the latest version of SDK. I did recently provide an implementation for Krohne Flow meters where it gets all the important info and a lot of the fairly usless troubleshooting data as well on an R1 with the 485 module.