Thiago Turcato

MrPLC Member
  • Content count

    48
  • Joined

  • Last visited

Community Reputation

11 Good

4 Followers

About Thiago Turcato

  • Rank
    Sparky
  • Birthday 09/26/79

Profile Information

  • Gender Male
  • Location São Paulo
  • Country Brazil
  • Interests Engineering, Automation, Artificial Intelligence, Classical Music, Jazz Music, Programming in any languages and Vintage Electronics.
  1. Connect FX3G-40M to proface HMI GP-4301TM

    Hi kdshaw87, The PLC 8-pin front port (MiniDIN 8) is RS-422 (4-wire), not RS-232. Appearently your HMI is set for RS-232, what seems incorrect. Another important point is the protocol. Does Proface driver for Mitsubishi mentions which protocol it does use? The PLC front port only accepts programming protocol, not MC Protocol in any format. The front port is "CH0" so, the serial port parameters you sent does not apply to front port, only to extension ports, what is not your case. Regards!
  2. Hello RedViper, According to your description, it looks OK the procedure you did. To ensure that the program was correctly loaded in the PLC, you may open GX Developer, go to "Online" > "Read from PLC" and try to read the program again. The best way to check if the program is really running accordingly is to monitor the program that is in PLC memory. I checked your program and, apparently, you have 2 units 1PG installed, in positions K0 and K1. As I could realize from the program, 1PG modules are working in "Interrupt Single Speed Position Mode". In this mode, the servo movement is started by bit 9 of BFM #25, in speed mode first. I could detect that your program uses bits M9 and M209 respectively for modules K0 and K1, for starting the servomotor movement. These bits seem to be turned ON by interruptions: in the case of M9, interruptions I10 and I20. These interruptions are triggered by two high-speed counter comparison instructions HSCS, connected to counters C235 and C236. Long story short, my recommendation: 1- First things first: I know it may be obvious but make sure your PLC is really running (RUN LED is solid lit). Sometimes we neglect the simplest thing and this may be the problem. Check also if 1PG module is not in error (ERR LED in 1PG module is not lit). If 1PG is in error, you must check BFM #29 and see what is the error. Follow the potential error causes; 2- Monitor counters C235 and C236 while the encoders (which may be mechanically linked to the conveyors you mentioned, check it!) shafts are spun. If those counters are incrementing while the conveyors run, it is a good sign; if it is not incrementing, you will want to start looking at what may be wrong with those encoders, including if X0 and X1 (encoder inputs for C235 and C236) inputs are blinking when spinning the encoders slowly; 3- If it is all OK with the encoders, look at HSCS instructions, if the HSCS setpoint registers (such as D316 in your program) have correct values for triggering the interrupts (the value must be one that the C235 may reach and trigger the interrupt); 4- If the HSCS setpoint (such as D316) is good for the C235 to reach it, and C235 is actually passing through it, so interruptions are probably being triggered. Check if D302 has a value different from zero. It is the pulse train speed to be sent to servo drive; Important to have the manuals to follow the steps above: FX2N CPU Programming Manual: http://dl.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy992d48301/jy992d48301j.pdf  FX2N-1PG manual:  https://www.mitsubishielectric.com/dl/fa/document/manual/plc_fx/jy992d65301/jy992d65301n.pdf Regards!
  3. S7-300 to GOT Simple

    As further as I know, DB inside data cannot be accessed by GOT Simple but I will check further with my colleagues to see if anyone found a way to do it easier than transfer data to/from %M type devices in S7-300 PLC and let you know! Best Regards!
  4. Mitsbishi FXxx Programmer-Port. via C# or VB

    The FX3 programming port unfortunately has a proprietary protocol. The documentation is not disclosed by Mitsubishi Electric.
  5. About Fx3u-64ccl and how to config using two FX3U cpu's

         Vinícius,       Just adding a comment to Crossbow reply, currently 110 Ohms cable type is more common. I don't know if you already purchased the cable but, just in case, in Brazil you can find CC-Link compatible cable from Igus (Jundiaí) and Eurocabos.       If you need help in Portuguese, Mitsubishi Electric Brazil has a technical support address cat@mitsubishielectric.com.br where you can send your doubts.        BR,        Thiago  
  6. GOT2000 Blinking lamp with signal off

        Bloggy,     You can make a lamp to blink by setting the option below. Click in the figure of the ON lamp and the configuration, shown below in green rectangle, will appear. You can select from slow (low) to fast (high) blinking.   BR, Thiago
  7. PID Loop Review

         Dear wbaumgartner,      I took a quick look and your program looks OK for me, as program structure. I ran it under simulator to check if any errors would appear (and, believe me, if you do something inconsistent for these QPLC PID instructions, you will sure get 4100 coded operation error) and no errors (I don't know if you tried to run your program under it, and more recently the GXW2 simulator is supporting PIDINIT/PIDCONT instructions).      As you may know, PID is very process-dependent control so it is difficult to really know if it will work but all-in-all it the program looks fine.      BR,      Thiago
  8. Mitsubishi PLC comparison function

    It's ANDed, so any of the conditions in your ladder line goes false, M3 goes false, as well. Regards!
  9. Mitsbishi FXxx Programmer-Port. via C# or VB

    I know it's not exactly what you're looking for but I recommend you add a FX3G-485BD and use computer link protocol that is open documented (like "MC Protocol C type, for serial"). I can send a link to you of this manual if you decide to use this option, just let me know.  Regards!
  10. Mitsbishi FXxx Programmer-Port. via C# or VB

    Sorry Bob, I can't help. This port only works with programming protocol which is Mitsubishi proprietary. Probably there's a specific protocol command to set baud rate in first communication cycle... I don't know! I don't have access or clearance to such as this information. Even D8118 and D8119 is undocumented in public manuals.
  11. PID Loop Review

    Are you getting some alarm or problem?
  12. Q170MCPU problem

    There are many reasons for the L alarms, the best way is to connect your Q170M to MT Works2 and check the diagnostics. The MT Works even may give you potential causes and possible solutions.
  13. GOT2000 Blinking lamp with signal off

    There is a blinking option in lamp or you may combine two bits in lamp for this, like SM412 (or M8013 depending on the PLC you're using). I can take a picture tomorrow and send of this config on GT Designer.
  14. SFC in Mitsubishi plc

    Hello m.rahmy, To implement the SFC by using stepladder in FX you must combine the usage of S type bits with STL instruction. The way it's programmed in your example will not work as SFC. As I'm answering from my cellphone, I cannot take a picture from GXW2 so, I will try to represent using text (if not clear, please ask again I will answer tomorrow): To work as an SFC, your ladder must be programmed like this:      X1 1 --| |---------------------------[SET S41]   2 --------------------------------[STL S41]    M8000 3 --| |------------------------(M50)     M78 4 --| |------------------------[SET S42] 5 --------------------------------[STL S42]    M8000 6 --| |------------------------(Y1) 7 --------------------------------[ RET ]  Ok! Line 1 runs all the time because it's not under any previous STL instruction. Consider the first STL instruction is on line 2 from the beginning of the program. Considering initial state S41 and S42 off, M50 and Y1 are off two because they depend on some of those states to be active.  Now, let's consider X1 turns on. Then, S41 state becomes active so, lines 1 to 4 are being processed (every line between the current STL active until and before next STL (S42) will become active and being processed). At this moment, as S41 is active and M8000 is always on, M50 now go on and stay like this, as long as S41 is active. Now, let's consider after a while, M78 goes on. Now, S41 goes automatically off (because of STL working way, no need to reset it) and S42 goes on. Lines 1 to 4 become inactive, so M50 also goes off. Because of STL S42 active, now lines 5 to 7 (RET instruction delimit the last STL region) become active, so Y1, that was off previously, becomes on. This is basically how SFC in ladder - stepladder - works on FX PLC. Hope it helps! Regards,  Thiago          
  15. FX0N not communicating with GX Developer

       I also had lots of problems with SC-09. I can't explain why but the MAX232 IC usually comes to fail and must be replaced. Some customer of us even had a problem when using for the first time or, sometimes, few times.