Sysmac Studio : MEROBEL DGT300+

6 posts in this topic

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.

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.

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.