MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by Veganic

  1. PLC download problem

    The answers are in the program - You would have to upload it here though. :)
  2. E1012 to GOT2000 conversion

      @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.  
  3. Main Program of CPU Q-Series memory

    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.    
  4. PLC Mitsubishi High Speed Counting

    650 pulses per litre is not a flow rate.
  5. GOT 2000 scripting?

    @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.  
  6. GOT 2000 scripting?

    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
  7. GOT 2000 scripting?

    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.
  8. 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
  9. GX configurator2-DP could not be loaded

    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>  :)  
  10. GX configurator2-DP could not be loaded

    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.
  11. GX configurator2-DP could not be loaded

    I am just downloading the update, I may be some time. I thought GX config DP was a separate license?  
  12. GX configurator2-DP could not be loaded

    GX Works 2 1.570U  
  13. Using bytes (not words) with MOV

    You've got it. 
  14. Using bytes (not words) with MOV

    Edit is not working: I have left an deliberate mistake for you to find :)
  15. Using bytes (not words) with MOV

    Check for ODD or EVEN IF EVEN move upper 8 bits only IF ODD move all bits.  
  16. GOT 1000 problem

  17. GOT and VNC

    Hello all, Has anyone managed to get a VNC client to connect to the VNC server on a GT panel? In my case a GT14... I'm using tight VNC as the viewer. The client seems to be connecting but not showing a screen. If I disconnect the ethernet cable I get a warning that the vnc connection has gracefully closed - so something is definitely connected. This set-up works with the E1000 series.
  18. Level Display

    Search for "GT Designer"  then look for "GT Works". Don't ask me why.
  19. FX3U simple positioning

    "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.        
  20. RS232 ascii to CC-Link

    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.    
  21. RS232 ascii to CC-Link

    Probably. The FX route has advantages and disadvantages. Have you got hundreds to do or just one?    
  22. RS232 ascii to CC-Link

    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.  
  23. FX 3GEwith GXworks 2

    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)-----    
  24. GOT2000 GD registers

    Thanks for the useful info.
  25. GOT2000 GD registers

    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.