Good afternoon, For an upcoming application I’m going to use the PLCnext as a datalogger with Schneider Electric PowerTags capturing the data. I’m setting up the readouts over Modbus TCP and found that the device address can’t be higher than 10 ? See below screenshots, basically every device connected to this gateway will have it’s own virtual ID, from 1 to 246. I’ve made a working example what I need to accomplish in our Schneider PLC’s, I’ve attached a screenshot of the function below (See the input UnitID). Anyone know how I can accomplish this in the PLCnext? Please let me know! Kind regards, Jorn
Hi Jorn, the Modbus TCP 9 library from the PLCnext Store should do the job. The function call blocks includes the input uiUnitIdentifier (which is an uint), which supports IDs up to 255 (internal is a converson from uint to byte done). Unfortunatly I’ve no RTU device at hand to test, but I’m sure that the lib will work for you. Take care, Frank
[quote]Hi Jorn, the Modbus TCP 9 library from the PLCnext Store should do the job. The function call blocks includes the input uiUnitIdentifier (which is an uint), which supports IDs up to 255 (internal is a converson from uint to byte done). Unfortunatly I’ve no RTU device at hand to test, but I’m sure that the lib will work for you. Take care, Frank[/quote] Hi Frank, I wasn’t aware there was another version on the store. Should work then! Thankyou Kind regards, Jorn