Search the Community
Showing results for tags 'move'.
Found 8 results
Stoping MC_Move Relative block.
Poljak posted a topic in NJ Series / Sysmac StudioHello, 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.
1S Servo Merge Move
dipen_95 posted a topic in NJ Series / Sysmac StudioHi, 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
RS logix 5000 motion control
ABlearner posted a topic in Allen Bradley / Rockwell AutomationHi 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.
Compare not working
eagleplc posted a topic in CX-ProgrammerWe 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
Getting UDT to work with physical IO
electric101 posted a topic in Allen Bradley / Rockwell AutomationGreetings, 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 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 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 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!!
Block Set or Block Move
simonongsk posted a topic in MitsubishiHi: 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
MOVE a value to multiple dataregistry
Jim82 posted a topic in MitsubishiHi 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
Move Function Not Working
newbieplc2003 posted a topic in Allen Bradley / Rockwell AutomationI 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.