IkBenNietHier

Remote Run/stop on FX0

15 posts in this topic

Hello,

I'm working on a project where I'm trying to create Remote Acces to old PLC's. The Mitsubishi FX0-20MR-ES is one of those PLC's.
I got the remote access working by using a Serial to Ethernet converter, but I just found out that FX0 serie can only be put in Run or Stop mode by manually flipping the RUN/STOP switch on the PLC.

I was wondering if there is any software solution that enables me to "simulate" the stop function while the switch is still set on RUN. That way I can still program the PLC from a remote location.
I know this is possible with some PLC's by turning off a whole registry in the software, that way the PLC thinks it is in STOP while it's actually still running. I just don't know how this would work with the FX0.

I hope someone can give me the solution I'm looking for.

I'm looking forward to the reactions,

Jimmy

Share this post


Link to post
Share on other sites

Hi IkBenNietHier.

Firstly welcome to the forum.

There is a setting in GX Developer onwards that allows you to drive the internal Run/Stop from a phyiscal PLC contact. To find this, its under 'PLC system' in the CPU Properties.

If your just want to stop execution of main logic, you could drive all your subroutines from a common marker.

 

Regards

 

Daniel

Share this post


Link to post
Share on other sites

@IkBenNietHier for FX0(S) there are M device that can control remote operation to PLC by Enable M8035 first then control M8036 for forced run signal and M8037 for forced stop signal.

FX0_External_Control_01.jpg.8f13cbce912f

Share this post


Link to post
Share on other sites

Goedemorgen Jimmy,

Instead of a serial ethernet converter you could also have used a small got (Mitsubishi HMI) with ethernet.

The programming software already supports that so you do not need a COM to IP software on your PC.

 

Share this post


Link to post
Share on other sites

@collinsd70 I'm probably not looking in the right place, but I can't find the CPU properties you are referring to. I'm using GX Developer Version 8.55H, maybe that has something to do with.

@Wasan I tried forcing the M devices ON via the Entry data monitor, but after forcing the PLC in STOP (by forcing M8035 and then M8037 ON) I still can't write to the PLC and I still get the next error message. "The PLC is in RUN mode, so writing cannot be done. Execute again after the PLC stops" .

What document did you get the information from? I would like to take a look at the example operation in Chapter 10.

@Gambit Thanks for the tip. But the Mitsubishi PLC is only one of the PLC's I'm working with,  so I'm using the same converter for all of them and it works perfectly ;-)

Share this post


Link to post
Share on other sites

@Veganic If I read the manual right, I need a graphic FX-DU unit to use "SWITCH" devices.

I got it working using the Entry data monitor. Apparently the PLC need to be manually toggled to STOP mode (using the switch on the PLC). When the PLC is in STOP I can use the M8035 and M8036 to set it in RUN mode and the M8037 to set it  in STOP again.

Only after Writing to the PLC I get the following error message.

Error_message.png.3115ba4f7311e86469d84c

The only information I can find about this error is displayed below.
Does any of you maybe have an idea what this error message means and if I can ignore it, because it seems like the download is successful and the program that I downloaded works like it should.

Error_information.thumb.png.7e7367338b72

Edited by IkBenNietHier

Share this post


Link to post
Share on other sites

That is correct you can only use the Run and Stop Devices if the switch is in STOP mode.

Then do you get this error ? When the PLC switch is in STOP and You have set the PLC  to run via the M Devices?
 

 

 

Edited by Gambit

Share this post


Link to post
Share on other sites

I get the error message just after I write my program to the PLC. After this error message I get a "Completed" message, so I think I can ignore it but I'd like to be sure :lookingaround:

 

Share this post


Link to post
Share on other sites

Strange I've never encountered this message. Normally the Software will stop the PLC if it is in run when you do a download and start it again after.

If you don't use entry data monitor yourself. Have the select switch in Stop mode. Use GX Dev to start the PLC.
Then try a download. GX Should stop the PLC and start it again after it is finished downloading.

Share this post


Link to post
Share on other sites

This is the reason I started this topic :P

If the PLC is in RUN, GX Dev won't set it in STOP mode automatically, so the download won't start and it gives me the following error message:

Error_downloading.png.b162e2be123967a3c5

So I thought there must be a way to set it in RUN/STOP mode using GX Dev, but I couln't find any buttons for it.

After the good help in this topic, I now know how to START/STOP the PLC using GX Dev by forcing the M devices in the Entry data monitor. But I still have to set the PLC in STOP mode before downloading and then back in RUN afterwards. GX Dev won't do that automatically.

 

Edited by IkBenNietHier

Share this post


Link to post
Share on other sites

The FX0 is maybe a little to old. The current PLC is FX5. so you;ve missed the models 1.2.3 in between.

This wouldn't be an issue with those models. and the FX5 have ethernet as a standard.
The program can be converted if this is a big problem.

Share this post


Link to post
Share on other sites

The project I'm working on is making a training and test area with old/legacy PLC's. This will give service engineers the possibility to work with PLC's they haven't worked with for a while. Because a lot of plants still use old/legacy PLC's.

But thanks for the tip. I'm going to ignore the error for now and hope it won't cause any problems in the feature. :-D

 

Edited by IkBenNietHier

Share this post


Link to post
Share on other sites
6 hours ago, IkBenNietHier said:

The project I'm working on is making a training and test area with old/legacy PLC's. This will give service engineers the possibility to work with PLC's they haven't worked with for a while. Because a lot of plants still use old/legacy PLC's.

But thanks for the tip. I'm going to ignore the error for now and hope it won't cause any problems in the feature. :-D

 

Sorry, your version of PLC does not support this for some reason. I just tried myself with your PLC type and the selection is no longer there.

 

 

Regards

Daniel

Share this post


Link to post
Share on other sites
On 2/8/2019 at 11:06 PM, collinsd70 said:

Sorry, your version of PLC does not support this for some reason. I just tried myself with your PLC type and the selection is no longer there.

 

 

Regards

Daniel

No problem, thanks for trying it out. Would have been easier than using the M devices, but I'm still happy I now have a way to remote switch RUN/STOP state.

Edited by IkBenNietHier

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