keal

Sysmac Studio : MEROBEL DGT300+

6 posts in this topic

Hello !

I am new to the world of sysmac studio and PLC in general. I'm looking for 2 weeks all I can but there is no tutorial on the internet that learns really well,  or helps me understand how to achieve what I want.

I have a NJ301-1200 connected by USB to the PC, I have a NX-ECC202 connected to the ethercat port of the NJ. And a DGT300 + connected to the ethernet port of the NJ. I try to communicate with this DGT through the NJ and therefore sysmac studio.

Which function to use? and how to detect DGT and connect to it?

thank's ...

Share this post


Link to post
Share on other sites

Go to the following Link and Download the MTCP_NJ file https://www.myomron.com/index.php?action=kb&article=1245

Import the SLR file inside it to Sysmac Studio Library (Project --> Library --> Show References), then you'll find the MTCP_NJ Function Blocks on the Toolbox.

These function block were developed by Omron France team. It even had manual in French inside the ZIP so it should be easy to follow for you.
Basically from the brochure, I only know DGT300+ ethernet port is using ModbusTCP. You need to look for their communication manual to see what parameters you need to set in the DGT, and what are the Modbus addresses you need to read / write using the Modbus Functions...

 

Share this post


Link to post
Share on other sites

Thanks ! I'm going to do this now, If any problem appears I'll ask you !

 

Edit : For the DGT300+, I need the function block server or client ? and fn03,05,...?

 

Edit : I find it, but, i need only the function block client ? 

 

DGT300+ is equipped with RJ45 Connector

Use this port for communication with PLC through Modbus TCP/IP protocol.

PLC acts as a client (Master)

DGT300+ acts as a server (Slave)

IP address by default on DGT300+: 192.168.1.33

Local port: Modbus communication usually runs via port 502.

 

 

Edited by keal

Share this post


Link to post
Share on other sites
2 hours ago, keal said:

Thanks ! I'm going to do this now, If any problem appears I'll ask you !

 

Edit : For the DGT300+, I need the function block server or client ? and fn03,05,...?

 

Edit : I find it, but, i need only the function block client ? 

 

DGT300+ is equipped with RJ45 Connector

Use this port for communication with PLC through Modbus TCP/IP protocol.

PLC acts as a client (Master)

DGT300+ acts as a server (Slave)

IP address by default on DGT300+: 192.168.1.33

Local port: Modbus communication usually runs via port 502.

 

 

You are correct. Typically any equipment equipped with ModbusTCP are ModbusTCP Server running on Port 502.

So you need to set your NJ as a Client. Use the ModbusTCPClient FB for your NJ to connect to the DGT.
Should connection is established, then you run the Fn03/05/04/10 Function Blocks to Read/Write data. As long as you connect the device continuously, you don't need to Close the connection.

Share this post


Link to post
Share on other sites

Done ! Thank you very much for your help !

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