Search the Community

Showing results for tags 'nj mc relative move mc stop'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 23 results

  1. SIMATIC S7-300 training kit not working. PLC doesn't go to RUN mode, and still in STOP mode all the time. STOP mode led is blinking every 1 second, even when I press MRES key. This is a video I recorded for issue demonstration: https://www.youtube.com/shorts/ISMPH_zNuG4
  2. MOVE data

    Hello,   Seeking for assistance on how to program the below conditions, If I wanted to see the history of the total numbers per hour, like it will be displayed in my HMI Events Screen. How will I do it? Attached image is the one I am trying to work on, but still not working. Do you have any other suggestions what to use in the program for me to be able to display the logs per hour? Thank you for any help you may give.
  3. I'm doing a PLC upgrade and the system currently has a ControlLogix controlling various other racks. Some have been updated to ControlLogix, some to CompactLogix and some still remain on PLC5 racks. We are upgrading from the PLC5 to a CompactLogix in the cabinet we're working on. The program currently moves INT values from an RIO to a different integer. To keep the conversion as simple as possible i was wondering if I can reference the I/O cards as an INT set so that i can just easily swap them out. Attached is a picture of how they're doing it. Simple move command but I would love to see if there was an easy way to swap them out without writing hundreds of lines of code. For reference this is 2 full 16 card racks. Thank you,
  4. i just got my NX1p2-1140DT controller with a R88D-KN04-ECT. i conneted every thing and directy got the 87 message on the display. i found out dat is becous wrong wiring I dont have the I/o cable incallt with omron they where saying that i don't need it and i can controll the motor controller full via ethercat. i already try to change to pdo mapping. what am i doing wrong? can someone help me? is it indeed true i dont need the i/o cable  thanks in advance for helping.
  5. Hello, I've got a problem with a Motion control sequence. In my code i would like to perform operation like: When package move on optice sensor position it stopping and perform MC_Move operation. It's moving for X lenght, but sometimes it stop a little bit after sensor and i would like to stop MC_Move instruction faster - directly when state on sensor goes down. Which instruction use and how to code it to make it good. I already made something like. **pseudocode** seq=1: if sensor then            MC_MOVE_instruction_execute=True;            seq=2 seq=2:            f_trig(sensor)            If MC_MOVE_instruction_done or MC_STOP_instruction_done then            MC_MOVE_instruction_execute=False;            seq=3 seq3:         REST OF THE CODE   SR_INSTRUCTION(S=F_TRIG.q, R=MC_STOP_instruction_done OR SEQ=3) MC_STOP_INSTRUCTION_EXECUTE=SR_INSTRUCTION.Q   Am i doing it right or there is another way? Thanks in advance.        
  6. Hi everyone, Using Cicode programming ... I'm try to make a function empressed Button's input command that still running forever until the user press the Button again .. so if i press the Button at first the function inside Button will be running , But i wonder to terminate that function by press same button second time or don't mind if you suppose other Button for stop running the function ... plz help to make a code or something else to stop running of my function.
  7. Help needed with MM430

    Hi everyone, Now I used Micromaster 430 controlled by a PLC. I set parameters as follows: P0010: 0  P0100: 0 P0700: 2 (using BOP-2) P0701: 1 (start) P0702:12 Terminal 3+4: Connected to Analog output of the PLC  Terminal 5: connected to 24V via a relay which is controlled by the PLC DIP switch1 on (analog input1 with 0-20mA) When I turn on the relay to power to terminal 5, the inverter runs about 5 seconds, then stop automatically while terminal 5 is still powered. There are no fault and no alarm. I checked the parameter P0947 and P2110 with value 0. Especially, when I set P0700 = 1 (using Start button in Panel), the inverter runs well without stop automatically. Please give me some solutions.  
  8. Remote Run/stop on FX0

    Hello, I'm working on a project where I'm trying to create Remote Acces to old PLC's. The Mitsubishi FX0-20MR-ES is one of those PLC's. I got the remote access working by using a Serial to Ethernet converter, but I just found out that FX0 serie can only be put in Run or Stop mode by manually flipping the RUN/STOP switch on the PLC. I was wondering if there is any software solution that enables me to "simulate" the stop function while the switch is still set on RUN. That way I can still program the PLC from a remote location. I know this is possible with some PLC's by turning off a whole registry in the software, that way the PLC thinks it is in STOP while it's actually still running. I just don't know how this would work with the FX0. I hope someone can give me the solution I'm looking for. I'm looking forward to the reactions, Jimmy
  9. Hi All, I am doing an application that use servo motor to feed plastic film to a target length (set by operator), and it need to stop immediately if marker sensor is ON. This application is control by Omron CP1E PLC. It will feed plastic film in 500-1000mm/s depends on the target length set by operator. It is require to stop immediately if the servo feed length more than 90% of the target length and the marker sensor is ON. However, is there any possibility for the servo to stop immediately once the condition is meet? As I am using PLS2(887) to feed with target length, and INI(880) to stop immediately, however, it cannot get the desired result as servo not able to stop immediately after marker sensor is ON, I am not sure is because of the PLC scan time, or servo need time to deceleration (deceleration rate assigned to #FFFF). Appreciate anyone able to assist on this. Thank you.
  10. Hi, I have some trouble with a CJ2M-CPU33. My client did a backup to memory card earlier today, and after this we did some changes through remote link. Now the client wanted to restore the previous backup to the PLC and has done so, but the system would not function correctly. After going online on the PLC it seems like the PLC is stuck in "Stop/Programming Mode". When trying to change to "Monitor" or "Run" mode a dialog comes up containing the following message: "Failed to change the operating mode. The operating mode may be still changing in the PLC."  - All the dip switches are set to off after restoring backup - The PLC has been rebooted  - I have downloaded the application again through CX-programmer  - Verified that the PLC is set to start up in "Monitor mode" But nothing helps. The same message comes up when trying to change the operating mode.  Hoping anyone can help to resolve this issue as it is very critical for us and the client. In advance, thanks for any tips or help received. Best regards Stian
  11. Hi, I am trying to do a merge move on 1S Servo. The condition are as follows: Task: Move 2 in(absolute value) and then Move back to 1 in (absolute value). I have to do this move 10 times in a row.  The application is material leveling after dumping in the mold. The only question i have is if I use just MC_MoveAbsolute command, the only buffer mode for transition available is velocity. Is there a way i can do it with position. I dont want to stop when I can go from 1 to 2 and 2 to 1 again and again. Its time consuming. But rather a nice oscillation motion without stopping to mimic leveling. Can anybody please help me out with this problem.   Thanks
  12. Hi Guys! I have a problem with Motion axis move (MAM) command. There is an Allen bradley servo motor what is working well. But I need to add a new program section, wich is in  a specified moment, the axis should move a certain distance. I think I need to use the mam command, just I dont know how can I configure the motion control part. I need to make a new tag ? or what ? I need to use a user define ? PLS help me.   
  13. I’m using a Omron NJ to manage a LinMot linear motor .. all is going very well; however, there have been a few times during this development phase when the actuator, or programming creates a fault, perhaps from a following error, or exceeding a limit.  The result is sometimes scary.  The actuator might accelerate into a hard stop.  Not a big deal, the ends are protected with Sorbothane, so it isn’t a big problem .. yet.  Once the system is correctly programmed, it shouldn’t ever accelerate an actuator into the hard stops. In spite of my newbie-ness  to Omron programming I’m aware of the need to employ error & fault action that will stop a run-away actuator in closed-loop control, rather quickly. Just how to do that.. has evaded my research. I’ve noticed:  “FaultHandler”  in the W507 & W508 Manuals. And, been quite frustrated to not find any reference to FaultHandler or FaultHandeler()  .. which kinda suggests it’s a program?… and also expected to get some clues in the "NJ Programming Best Practices V1.1”   so far… no luck. Perhaps I’m going about this all wrong..  The LinMot Driver Controller might be the way to go.. An error message from the NJ to the LinMot drive would quickly shut down movement in closed loop .. instead of turning the motor into a rail gun… Any suggestions at how to do it with the NJ,  would be greatly appreciated.. Thanks Regards, Michael PS: here’s the progress so far, thanks to many out there, and on this forum ... https://www.youtube.com/embed/B0UGm9JTw3U?rel=0  
  14. Compare not working

    We have this logic (on a CP1E) the desired outcome is as follows: When a bad part is detected, force the operator to index the machine 6 times, using a holding register to prevent a power cycle from resetting the count. once 6 cycles are recorded output that the bad parts are removed AND reset the count to zero.   What has actually happened so far: the count has gone to 6 and not reset. I have used CX Programmer to set the H0 value to zero but the compare still says it's equal (to 6)   I have read everything i can get my hands on regarding holding registers and compare functions and i can't see what is wrong. I have no formal training on this so i'm sure it's something simple. can anyone point me in the right direction?   Thanks guys    
  15. Urgent help CS1 CPU Stop

    Hello all, Require some urgent help on a project, apologies if poor explanation.... When CS1 CPU goes into stop mode in fault condition, eg fatal cycle time error, outputs retain in the state they were when CPU was stopped. In code we monitor CPU status and turn output high to pull in relay to indicate CPU status normal to wiring circuit. But if CPU goes into stop mode relay remains energise as code is not running to turn output off?? Therfore for examples conveyors keep running... How can we prevent this, can outputs be configured to go low if cpu stops? Any other ideas? Any help will be appreciate, thanks.
  16. For some background information, I am in the process of converting a Mitsubishi FX2N to a Siemens S7-1200. I am viewing the Mitsubishi program with GX Developer Version 8.116W. There is this subroutine in the Mitsubishi program that appears like it will never run. I think the purpose of this subroutine is to clear the status of the devices in the PLC. I have attached a picture that demonstrates what I am dealing with. Can anyone tell if the subroutine P7 will run at any point? Thanks! For those who are not used to the Mitsubishi world or want to brush up on their Mitsubishi knowledge, below is some information regarding the devices and functions used in my example: M8000 - Always on bit (turns on when PLC is running and turns off when PLC is stopped). M500 - Just some random memory bit I chose. FEND - Indicates end of main routine program (everything below this rung is either a subroutine or interrupt routine, so it will only be processed if called from somewhere). P7 on left side of power rail - This is a label that indicates the beginning of the subroutine called P7. M8031 and M8032 - Special memory bits that, when set, tells the PLC to clear certain devices. SRET - Indicates end of subroutine.
  17. Greetings, I'm here in my home lab trying to acquire a working knowledge of UDT's.  I've had to work with them in the past in large existing programs and they were a pain to track down and find out what IO they were really controlling.  I have a decent understanding of what they are and I've created several to play with here using my softlogix processor and a digital flex IO rack. My issue starts when i'm trying connect my UDT's to the physical IO.  it looks like I cant use a simple move instruction (which would be way too easy and exactly what I need)  I have a flex IO 8 point output.  Local:1:O.Data[0] I have a UDT consisting of (see attachment) Valve001  Valve001.Out     Valve001.Out.OPEN     Valve001.Out.CLOSE   Valve001.In     Valve001.In.OPEN     Valve001.In.CLOSED I have a copy instruction set to copy Valve001    to Local:1:O.Data[0]     Length 2 that allows the Out.Open and Out.Close UDT's to control bits 0 and 1 of the 8 bit output . .... great. Now I have another UDT setup to control lighting... Door   Door.Out.OPEN   Door.Out.CLOSE I want to control bits 2 and 3 I make another copy instruction in a line before the original copy instruction that states Copy Door to Local:1:O.Data[0] Length 4 but i'm really just fighting for the same 2 bits that the valve controls.... how can I control bits 2 and 3 for the door/lighting logic using these UDT's?   and that's not yet getting into having physical inputs moved/copied to the UDT input bits. thanks!!    
  18. Hi, in my proyect i need integrate 2 modes, Auto abd Manual, but i have a doubt if i can use GEMMA (run/stop modes guide) I don't now if the software integrate this functions or I need integrate a subgrafcet (each mode need one) Thanks
  19. Block Set or Block Move

    Hi:     in Omron there is a command BSET which can be used to set value from DXXXX to DXXXXn. Example BSET #0 D2000 D30000 What is the similar command in Mitsubishi FX3U structure Ladder?   thks
  20. Hi guys! As the title explains, i wanna move a value to 210 -> 220... is there a function for that or do i have to make a MOV for every single dataregistry (look at picture)? Its an mitsubishi FX3GE PLC programmed in GxWorks2. Br, Jim  
  21. I am very new to PLC's, I work in a power plant and we have an ABB DCS. We have some vendors that use PLC's and they try to make them work with our system. Currently I am working on a project were I am trying to add 8 analog outputs to the PLC. I am working with two 1756-L71 controllers (redundant) and the rev for the program that was written 20.01. Basically I have 8 analog inputs that I want to bring to the spare analog outputs that I have. I want to see these inputs in our DCS. I wrote simple logic that at the end of the rung has a move block moving the source which is the input and taking it to the destination which I made an alias tag for the output channel that would correspond. Problem is I can see the source number moving, but the destination number stays at 0. I can type a number into the destination and it will work. I can see my 4-20 signal I am sending out in the DCS. Everything before the move function is true, I have and open contact, and a closed contact and they both are green. This is happening on all eight of my outputs that I am working on. Please help I have learned a lot from this experience but I cannot figure out what has me stuck this time.
  22. Hi everybody I'm new here. Can someone please help me? I have a normal single phase traffic light that works fine but, i need it to start and stop with only one input? Any ideas?
  23. gx developer,gx works

    can any one provide me programme of start & stop using a push button in gx deveoper or gx works.