NgoHoang

MELSEC Communication

8 posts in this topic

Dear!

Could you tell me how send data from PLC Mitsu Q03UDV CPU to another Q03UDV CPU use MELSEC Communication Protocol with Ethernet built-in port?

- Config for 2 CPU as picture below  (use same Port) is correct or not? Need to config more parameter?

- Which command I can you to send a data?

- Melsec Communication Protocol send and receive at the same time, right?

Thanks and best regard!

If you have 1 sample program (simple) or a topic about this, please send it to me.

Capture.JPG

Share this post


Link to post
Share on other sites

 

Dear All!

Can you help me review my software below 2 program of 2 PLC Q-Series:

When I On bit M1000 to Open Port of another PLC, M1003 (Error flag) is set.

I don't know why, Could you tell me that reason?

Sorry, because I'm new one but the job is very urgent. Tomorrow, I use MC Protocol but can not run. These are program for Socket TCP.

Thanks and best regard!
@kaare_t

TCP_CPU1.gxw

TCP_CPU2.gxw

Edited by NgoHoang

Share this post


Link to post
Share on other sites

I have attached a program I used to send data between 2 Q series over Ethernet. Take a look as see if that helps. 

 

EthernetLink.gxw

Share this post


Link to post
Share on other sites

Thanks alot for your reply @WattUp!

Could you tell me, command GP.READ and GP.WRITE is use for MC Protocol, right?

Because I see in the Ethernet Built-In CPU, you define MC Protocol and in Network Parameter, you define another network. Can you help me explain about this.

Thanks and best regard!

Sorry for the question because I studying about this network.

Share this post


Link to post
Share on other sites

This program is using an EJ71 Ethernet card to handle the communication. When I did this using the built-in ports I had issues with Ethernet timeouts.

 

My Mits rep told me that the CPU prioritizes itself over networking and I have had no such issues since using the EJ71 so i guess I believe him. 

 

The built in port is talking to a GOT1000 via MC Protocol. That is why you see that there. 

Edited by WattUp
More info

Share this post


Link to post
Share on other sites

Thanks WattUp!

Your explain is very helpful for me.

If you have any project demo for MC Protocol to transfer data with 2 PLC, please send it to me. 

Thank you alot.

Share this post


Link to post
Share on other sites

Affer research some infomation, now I can communicate 2 PLC use TCP/IP and UDP/IP.

Thanks all.

But now, I don't know how to create this command (in the yellow circle)?

 

Capture.JPG

Share this post


Link to post
Share on other sites

hi , 

need to finish that command  I----------[ MCR   N0 ]-I

after that , that structure in yellow circle will created itself.(after download to plc)

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