Veganic
MrPLC Member-
Content count
471 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by Veganic
-
Ethernet: FX3u-ENET units. Search for the EthernetFX3MC_GW2_V100 function blocks in MyMitsubishi for all the information. Other options: CC link - limited to 32 words I think but expandable if you send in batches. CC link is rock solid and easy to program. Use data exchange in an HMI. Slow but simple and adds other functionality - you may have one already. Edit: I will say that the Mitsubishi approach to Ethernet on the older stuff can seem overly complicated - I sometimes just strip out the couple of lines of code that will do the job for testing or for non-critical operations.
-
The answers are in the program - You would have to upload it here though. :)
-
@Gambit the answer to that is a whole new thread. There are pros and cons for each. @PeteW1959 The first questions that come to me are: 1. How many messages do you need to display at once? 2. Look at the alarm function and see if that is of use. It seems to be just what you need. There other options but you'll find them once you get started.
-
There are lots of trick to reduce your program size but I would suggest changing the CPU as already recommended. The problem is too general to give any meaningful help. Hints would be: - look at the program structure - use "for next" loops for example. - Load the program into the plc, or at least half of it. Upload a raw ladder - see how the function block bloat the program. - Look at your addressing and see if index registers can help. -You can then go deeper and look for repeated snippets of code. Your program will probably end up being completely unreadable and if it does fit in the plc it will leave no room for expansion.
-
650 pulses per litre is not a flow rate.
-
@dunc GS385 Script Monitoring TimeSet the monitoring time for one script in units of seconds. If a script does not end even when the set time has elapsed after the start of the script, the script processing stops. (Error code: 15) The setting range is [1] (second) to [300] (seconds). If 0 or any value greater than 301 is set, the value is processed as 10 seconds. The following shows examples of settings. ・When 0 is set for GS385, the monitoring time is 10 seconds. ・When 1 is set for GS385, the monitoring time is 1 second. ・When 10 is set for GS385, the monitoring time is 10 seconds. ・When 11 is set for GS385, the monitoring time is 11 seconds. ・When 301 is set for GS385, the monitoring time is 10 seconds. You can check for errors here: GS16 to GS47 Script Error DataStores the script Nos. and error codes of the script where an error has occurred are stored in order from the upper address of the storage area. When an error occurs, the script No. and the error code are stored in 2-word unit as a history. If 15 or more errors occur, the upper addresses are overwritten in order.
-
OK. This modified version of your first example works with an ordinary trigger: //if login level above 0 or login above 0 and login time count at 0 if (([w:GD0] > 0) || (([w:GD0] > 0) && ([w:GD1] <= 0))) { //set GOT seconds to login time count [w:GD1]=[w:GS7];} //while login level is above 0 while ([w:GD0] > 0) { [w:GD2]=[w:GD2]+1; //increment GD2 to show we are in the loop //if 60 seconds elapsed [w:GD3]=([w:GS7]-[w:GD1]); //check the calc if([w:GS7]-[w:GD1]>=10){ //set login level to 0 [w:GD0]=0;}} Only tried it with the simulator. EDIT: This is pretty much identical to your first example. I have added some parts to help with debugging. GD2 is incremented every scan of the HMI when the while loop is active. GD3 calculated GS7 - GD1 just to check if there was a problem with the this calcuation. It now works with the additions edited out so that it is back to your original version as far as I can tell Edit2: If I cut and paste your original code it fails to work on the simulator. Oh the simulator the while statement seems to block the screen refresh. @dunc
-
Which security method are you using? Level or operator? LEVEL: Setting the security level device will log-out and even elevate the security level when changed in the controller. Well it does in the simulation I have tried. OPERATOR: The manual explains out to log out an operator - I haven't simulated this one. It seems that control from the PLC should be possible.
-
After a recent update I am getting an error when I start GX works 2 and try to open a FX project. The error starts "GX cofigurator2-DP could not be loaded..." Sometimes it can be clicked away, sometimes it just hangs. Now I am not using Profibus and have no plans to so why would this happen? Is this bit of software hidden somewhere on the DVDs? Is this just the way it is now? Thanks
-
GX works 3 has SFC? You mean using the Sxx labels in ladder? Defeats the object for me, I like graphical boxes and steps. No many fans of SFC so probably a good thing to let it go. Too much choice is a real time-waster. If I want a 7" screen my needs are simple. I don't need it to be anything other than 24VDC. I don't need a choice of colours. I don't need a choice of screen resolution. I don't need a bargain range, or a horrible wide screen option. Or new models every other week. I don't think I've used the same GOT screen twice (slight exaggeration). For example, a quick look at a recent brochure: 8.4" screens: GT2308-VTBA GT2308-VTBD GT2708-STBA GT2708-STBD GT2708-VTBA GT2708-VTBD GT2508-VTBA GT2508-VTBD GT2508-VTWA GT2508-VTWD Then there is the GT21s, the GS 7", the older but still available GT1000s. </rant> :)
-
Same problem after update. I'll add it to the list of thing I live with thanks to Mitsubishi, (Like no more SFC in GX works 3, and the excessive choice in HMIs of the same size, , etc etc ) Thanks for your input.
-
I am just downloading the update, I may be some time. I thought GX config DP was a separate license?
-
GX Works 2 1.570U
-
You've got it.
-
Edit is not working: I have left an deliberate mistake for you to find :)
-
Check for ODD or EVEN IF EVEN move upper 8 bits only IF ODD move all bits.
-
Search for "GT Designer" then look for "GT Works". Don't ask me why.
-
"Since I only have a FX3U 24MR unit available, I'll need an transistor output module." do you mean a transistor ouput expansion block on the side of the existing FX3U? I think you may need FX3U transistor output base unit. If you need to use the high speed output commands PLSY, DRVI,DRVA etc I think you can only use Y0 to Y2? I think DRVI would do what you want without the need for encoder feedback. See attached.
-
I find AJ65 a pain to use and document so I tend to stick to an FX with CC-link slave. Everyone is happy working on an FX. It looks like that is not an option though.
-
Probably. The FX route has advantages and disadvantages. Have you got hundreds to do or just one?
-
FX5UC + FX5-232-ADP Add a CC link card if you can't use CC-Link IE. Probably bigger than you'd hope but you can't always get what you want.
-
That isn't really how ladder logic works, it doesn't really do 'else' unless as suggested you go for a PLC with structured text (ST) language option. In ladder one options would be: IF --[> DB*** DB###]------------------------------------(M1)--- THEN --|M1|-------------------------------------------------(Y0)----- ELSE --|/ M1|------------------------------------------------(Y1)-----
-
Thanks for the useful info.
-
Can the contents of GOT2000 internal registers be retained after power down / power up? Also,and possible related, how do I get a bettery low warning? Finally, what are VGD registers? I've tried the manuals and can't find anything, apologies for such basic questions.