jaseplc

MrPLC Member
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jaseplc

  • Rank
    Hi, I am New!

Profile Information

  • Gender Male
  • Country Brazil
  1. Hello I am new on mitsubishi cpu plc programming. I need help regarding the programmation of an actuator. In fact, the actuator move between two limit switch s you can see in the picture : actuator I am actually trying to write the program code in GXWorks 2 of the FX3U-CPU of Mitsubishi. in the attachment you can see what I have started to write and how i have declared my different variables. I want you to help me make my program work correctly. I have to count the number of cycle when the system is used in automatic mode. And I have to avoid anyone except those with the required password to be able to reset this count. And I want this count to show up every time the system is used in automatic mode. So I have a little hmi panel. to the count, I have to consider that: 1 CYCLE = PosFWD + PosREV so that the actuator goes from END_REV_SW until reach END_FWD_SW and then directly come back to END_REV_SW and so on .... Each mode either AUTO MODE or manual mode CAN BE RESET BY PRESSING RESET on the HMI. I have not program the RESET for the moment, because I dont really have idea, and due to the fact that my program is not even working at this moment. So I need helps AND TO RESET THE CYCLE or number of count of the counter, the right password in the HMI. IN AUTO MODE I have to give the possibility to ADJUST THE TIME THE OPERATOR WANT THE ACTUATOR TO MOVE FORWARD AND BACKWARD INDEPENDENTLY BEFORE REACHING THE LIMIT SWITCH. BUT IF THE TIME IS TOO LONG I HAVE TO STOP THE ACTUATOR TO AVOID ANY PROBLEMS IF YOU CAN TAKE A LOOK AT MY CODE SHOWN IN PICTURES BELOWS AND GIVE ME ANY PROPOSITION YOU COULD HAVE OR MAKE THE CORRECTION OF MY CORRECT MY PROGRAM. THANKS
  2. HELP S7-1200 tia portal

    Thanks you Homer_BL for your response. I'm actually trying to write your proposition and test it. I have a question: What is DiffCommREV and DiffCommFWD instruction, I'm not sure to have already used them before. By the way, Ihave deceide to write the program code into a Mitsubishi PLC processor specially the FX3U PLC CPU. Another question: I have to count the number of time the system will be used in automatic mode when SEL_Auto will be activated. to count that, I have to consider that one cycle = when the actuator goes from the PosREV until reach PosFWD and then comeback to PosREV. and I have to increment this count everytime the cycle is done and count the total. I m open to any proposition to do that since i am not a special at all on FX3U CPU thanks you !
  3. HELP S7-1200 tia portal

    And to do the count, I have to count like this, everytime the actuator hit the WND_FWD_SW and then hit the END_BCK_SW this is one count, and so on and increment it countinuously Please any help ! the program is not functional at all !
  4. HELP S7-1200 tia portal

    Hi I m new and I need some help in programmin an actuator with S7-1200 on TIA PORTAL Here is the topic: program an actuator which move between two position located by thwo limit switch END_FWD_SW and END_BCK_SW To do that I have : Hardware: S7-1200 CPU 1212C AC/DC/RLY 6ES7 212-1BD30-0XB0 1 REVERSING CONTACTOR WITH LED 1 STARTER 1 POWER SUPPLY the list of inputs I have : 1 FWD_BUTTON to send the actuator forward until it reach the limit switch END_FWD_SW 1 BCK_BUTTON to send the actuator backward until it reach the limit switch END_BCK_SW 1 ESTOP_BUTTON to stop the actuator at any time 1 AUTO_BUTTON to set the system in auto mode so that the actuator could move itself from one position to another and so on go and come automatically 1 MANUAL_BUTTON to set the system in manual mode 1 INPUT_FWD_SWITCH this is the limit switch for the END FORWARD POSITION 1 INPUT_BCK_SWITCH this is the limit switch for the END BACKWARD POSITION The list of outputs I have 1 OUT_FWD to send the actuator forward 1 OUT_FWD to send the actuator Backward I do not know if I have to put the coil of the reversing contactor as OUTPUT too ??? because the reversing contactor has two coils : one that i used to go Forward and the other that I use to go backward the reversing contactor has an mechanical interlock of course. The actuator connection has two switch to send it Extended or Retracted. Of course the actuator is connected to a motor as you can see in the file attached showing it with his drawing connection. I also have to count the number of thime the actuator is used for the history. Any help please ???? Thanks you ! i HAVE ALSO ATTACGED THE PROGRAM I HAVE WRITE, I WANTED TO USED DB AND DB INSTANCE TO DO THAT CAN SOMEONE HELP ME IN MY PROGRAM ????