Collaborate and share knowledge on the extensive range of remote systems and devices, including SCADA radios and RTUs, on the Schneider Electric Exchange Remote Operations (formerly SCADA & Telemetry) forum. From commissioning SCADA integration devices and software, to enhancing existing installations or troubleshooting, connect with a global community of experts and users. Subscribe today.
Posted: 1 week ago
I'm attempting to use the Get master ip FB in RC and am noticing a difference between IT and the function blocks that I was using in Workbench. See examples of both:
Workbench 6 with master register address
RC MasterIP-no master register address definition seen
The remote connect MasterIP does not appear to have a way to set the master IP register. Is there another way to set it? I need to use it instead of a modbus scanner as you can see in the snapshot.
Thanks
Posted: 1 week ago
Hi El_Gallo,
In Logic Editor, select the function block, then press F1 to open the Help topic for the FB. In the Help topic is a table listing and explaining all the inputs and outputs of the FB. The IP input is used to specify the server address - the address to be polled for the data. Below that is the port #.
The Help on this FB states that the IP input is a string value, so you might enter something like '192.168.2.100' (notice the single quotes used around the IP address are required)
Posted: 1 week ago . Last Modified: 1 week ago
Thanks Joel. I don’t think that this answers my question though: I need to know how to set the Master starting REGISTER not the IP address. Example: I want 16 modbus slave/server registers starting at 7401 polled using Enron modbus protocol into modbus master/client modbus starting address 41521.
Posted: 1 week ago
Ahh OK... I saw "master IP" and missed the word "register". The REG_ADDR input is used to specify the Modbus registers in the server device, along with NUMREGS to set the quantity. But more to your question, the output, if multiple words, is placed into an array tied to the MB_DATA output. If 16 or fewer booleans it can go into an INT variable.
NOTE that the output of a Read block is not inherently tied to Modbus registers in the x70 SCADAPack. Nor are the inputs of a Write block inherently tied to Modbus registers in the x70 SCADAPack. Instead the source of a Write, or destination of a Read, is an internal variable or array.
If you need for some reason to have these internal varaibles/arrays tied to a Modbus address you'd create an object in RemoteConnect of the appropriate type, make sure it's the correct logic variable type, then on its Modbus tab you'd enter a Modbus register #. e.g. if you created an object called Tank_Level and assigned it a logic variable type of T_SPx70_Real, you'd use Tank_Level.value.
Posted: 1 week ago
Thanks for clearing that up for me. I’ll try it out and let you know. I appreciate the help!
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.