Sign in to follow this  
Followers 0
jkolb

Modbus Server/Slace

4 posts in this topic

Hi Gents,

I've got a project I'm working on at the moment and we need an NX1P2 to connect via modbus TCP/IP to a building management system to monitor some digital inputs and outputs and some internal BOOL variables, there doesn't seem to be a lot of information available for this. So far I've found the function block online, added it to the program but I've been unable to even ping the PLC thus far. Does any one have any sample programs for this that I can use for reference? do I need to map these variables to a table somewhere? Can anyone explain how this is meant to work.

Bare with me this is my first project using this platform.

Share this post


Link to post
Share on other sites

You need to know what the devices its talking to has laid out for its memory map.  The NX1P2 doesn't determine where the data is in the building management system.

Did you set an IP address in the NX1P2?

Share this post


Link to post
Share on other sites

Hi Crossbow,

Opposite way around, so the NX1P2 is the slave and the BMS is polling it for information. Basically its a new hospital build and the PLC is controlling some fuel pumps, the BMS monitors the whole building and thus wants information from the PLC.

As for IP address it only has the factory one that I haven't changed yet.

Share this post


Link to post
Share on other sites

You will need to set the PLC IP address so it is on the same subnet as the BMS. Then you need to use the MCTP_Server function block.

https://www.myomron.com/index.php?action=kb&article=1245

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0