Mitsbishi GX Developer Issue

Hi, In GX developer, I have M502 is shown as “Rst”. Problem is I need M502 “ON” so that my Y005 will switch on to get machine going.

But the ladder in GX Developer is going in circle, not allowing me to see how M502 will switch on. See attached pictur.

IMG_5660.jpg
 
There has to be another rung in the program which sets M502. I do not know the meaning of Y005 output in your application. We may need a bit more information about the problem. I wish I could be of more help.
 
GX Developer Issue

Thanks Alfredo.

Y005 is output in Mitsbishi plc which gives output (24v) to start machine clutch.

|Y005|- M502| - |pls M61| - here need to have M502 to be in ON state.


See attached screenshot of programme. How can M502 be switched on when it keeps going in loop. There is no outside interventions

This programme was running ok till suddenly it stopped and started showing negative speed values (SPD) on HMI.

What can we done to rectify this?

Pic1.jpg Pic2.jpg Pic3.jpg Pic4.jpg Pic5.jpg
 
But there is a pulse M10 off M500 so that is resetting M502
I would assume that there is an encoder connected to X0 (C235) As this was working there must be some input or state that is causing it without seeing the whole program it is very difficult to understand what is going on.
 
I was thinking the same as JTCat.
Rung 535 shows that when M10 becomes true M502 is reset [RST M502].
There has to be another part of the program in which M502 is set through a pulse [PLS M502] or set to TRUE otherwise by other means. Otherwise M502 will forever remain FALSE and the logic in rung 503 (and other steps before which depend on M502)will not execute.
If there is no such code in the PLC program, then one possibility is that this M502 is set by some HMI and if there is a problem with the HMI the M052 is never set to TRUE and you see the behaviour you describe, and the machine does not start.

2023-07-23_ladder_Melsec.jpg
 
GX Developer Issue

@Parky

yes there is encoder connected to X0. But why is Y005 not switching on to give 24v to clutch to come on.

Please see attached ladder programme.
Would really appreciate your help.
 
M502 has to be a field device in a maintained state. Likely from a HMI or other operator interface as previously suggested. M502 will not come on through the program according to your PDF. But it is turned off when a series of events occur.

Y005 will not some on because it is missing the conditional statement M501.

The question we need answered is What are M501 and M502? How are they set if not through the program?
 
Kootni, I will look tommorow as busy today to see if I can find out why.
Actually just had a quick look & I looked for KxM5xx which could indicate a batch set or reset etc. of a range of M bits but none found so It does look like this may be set from the HMI or perhaps just been set by the programmer will also look for indicrect address as well.
 
GX Developer Issue

M502 has to be a field device in a maintained state. Likely from a HMI or other operator interface as previously suggested. M502 will not come on through the program according to your PDF. But it is turned off when a series of events occur.

Y005 will not some on because it is missing the conditional statement M501.

The question we need answered is What are M501 and M502? How are they set if not through the program?

HMI is only used to change length in D26 register.
 
HMI is only used to change length in D26 register.


Other than the operator HMI, is there a SCADA HMI that is running a recipe control and it sets all the M500+ bits? (and probably some Dword values too as part of the recipe)


This could also be a computer without a monitor or keyboard.
 

Similar Topics

Hi Would really appreciate someone help as stuck with Mitsbishi plc with password. Engineer left industry many years ago and i am unable to go log...
25
Replies
8,710
Views
Hi, I've not been on here for a while. There's talk of an upgrade to our test facility and the PLC PC (currently a Windows 7 build machine) might...
12
Replies
1,135
Views
Hi there I'm somewhat new to plc, I went to school around 10 years ago to program them. Mostly we used rslogix. I haven't done much of it since...
13
Replies
1,036
Views
Hello I'm running CCW v22 Developer, and whenever I try to Change Controller on my main project, CCW immediately closes the project file. Once I...
1
Replies
658
Views
Hi, when I try to go Online>Debug, it’s greyed out in GX developer Melsoft V8. PLC used is Mitsbishi MELSEC FX-48M I can’t force any switch...
1
Replies
722
Views
Top