Search the Community

Showing results for tags 'motion instruction'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 79 results

  1. I am noticing a problem where i am using MOV instruction and writing literal text into source and String datatype in destination. It works fines in one program but doesn't on another it show an error Invalid Data Type. Argument must match Parameter Data type. I know what the error is and why but my question is why is it working perfectly fine in 1 program and not on another.
  2. Hello, just wonder if anybody can point me in the right direction as have an issue after converting Q series Motion cpu program to R series. Program stops at the commend: BMOV N005, #1000,#80 and flags error H3903, BMOV execution error.   
  3. QD77MS4

    Hi My system : plc Q03ud , simple motion module : QD77MS4 , software : Gx works2 , Application : rotary table and unit degree I send position and speed from HMI ( got 2000 ) , my problem is that when i want send 90 degree for position ( dmov d0 u0\g2006 ) , i have to enter the 9000000 from hmi . and for speed i have similar problem Position hmi ( 9000000 ) ===>> motor rotate 90 degree  Speed hmi (100000) ==>> motor rotate with 100 degree per min
  4. I am trying to create an Alarm handler for an NA5 HMI that can tell the end-user the 1SAN Drive AL Status code and an Annunciation according to the manual: I621. I already am using a similar method to use MFaultLvl.Codes in a Case statement that creates a message found in motion controller manuals. Ie. 16#6449: Fault_Axis0 := '1S Axis Immediate Stop Input'; I want to use the AL Status to create messages based on the Hex Code generated by the Alarm ie 16#20: DriveAlarm_Axis1 := '1S Overload Error'; 20hex being the AL Status from the Drive. However I  cannot find how to access AL Status from the Troubleshooter.   Thanks
  5. Hi guys, I am having difficulty in understanding and implementing the scaling of 32 or 16 bit binary data using Mitsubishi DSCL2 instruction. I just don't understand what to pass in its parameters particularly s2 parameter. I tried many variables but I get errors.  Please can someone provide an example how to implement that and scale any float no, for example 1200.00 to 100.00 using this instruction with output scale 0-100 being 100 at maximum for the sensor value of 1200.00  I am attaching pdf for DSCL2 instruction taken from Mitsubishi manual for help. and the error I am getting on my melsoft. instructions_manual.pdf
  6. Hi all  I need to view a project in instruction list format on Mitsubishi GX Works 2. On GX developer the shortcut is Alt + F1 or View tab then press instruction list.   Thanks 
  7. Hello Everyone Im working with Coordinated Motion instructions, specifically MCLM instruction and I Would like to know if there is a way to know the exact End position (XYZ) when parameter Command Tolerance is Set since i need to calculate the distance to the end point, there is no problem as long no command tolerance is set cause I can find the distance using  AB=Sqrt ((x2−x1)**2+(y2−y1)**2+(z2−z1)**2)  but as some points have command tolerance the X2,Y2,Z2 are unknown. Hope I was Clear Thank you in Advance.
  8. Motion Control

    Hi Everyone.   I have been tasked with changing out an older Flex Drive servo drive to a more modern Micro Flex drive in a machine that has an Omron CQM1H-CPU51 PLC.  I'm having a few issues but hope that i can gain some clarity around at least one of the hurdles Im facing from here. Biggest issue for me at this moment is My work hasn't yet purchased a programming lead for this PLC (or even the bits required to make one myself) but i have a feeling the control for the Servo is done via motion control in the PLC.  Question here is, if changing from one servo drive to another type, will the motion control code need to be updated to work with the new servo drive?  I have very limited experience with motion control itself at this stage so I'm a bit lost when it comes to these sort of details. Regards Kiwi_man82
  9. Hi All, I just start to setup a rotary servo (rotary transmission load type) and the designer pass me the spec of gear ratio 1:100. In my motion scaling page, I set Transmission I:O as 1:100  and then scaling unit is just position unit with 1:1. However, when i jog my rotary servo, it does not reflect the actual position in degree, so I went to read through the manual but still cant quite get how should i configure my scaling so that I can see that when the motor is rotating, i can see it rotate how many degrees? I try to set scaling 360 degree to 1.0 load rev, and the position feedback seems like much more finer....
  10. hello everyone, I using stepper 17HS2408, microstep driver, modul motion QD75D2, PLC QD3UDV,, i've been trying to use program Absolute in axis 2. When I trigger the command to run absolute program the current value is running but the stepper motor still not moving, is there any suggestion about this?
  11. Analog

    I have plc mitsubishi A2USHCPU-S1 and there is already a program in it. The problem is, the analog input data doesn't want to be saved. How do i find the analog address instructions? Can anyone help?
  12. Delta 20PM series

    I have a Delta DVP 20pm00m controller , it has O100 is the main program , OX and P are subroutines I can not enable the OX motion subroutine , although O100 and P subroutine are excuted. How can I run the OX motion subroutine??? I wrote               mov H8000 D1868                            mov H1000 D1848 to enable OX0 but it did not execute How can I run the OX motion subroutine??? Thanks a lot
  13. Wait Command

    Hi, I'm quite new to the PLC programming, I saw this delay input in one of the videos, that automatically switched to 1 after a set time, it wasn't a timer, just an contact input with time delay
  14. Hey y'all- I have an application that uses an Allen Bradley servo with a brake and a linear actuator to lift a plate vertically. While maintaining a position, the servo drive (Kinetix 5500) will occasionally fault due to over-torque.  I'm thinking it could possibly be due to mechanical issues i.e. bearings in the actuator but my initial thought would be that it would fault while moving up/down as well, so far I've only ever seen it fault while holding a position. This leads me to suspect that there may be something off in the control loop. I'm not involved in the setup but I know we use load observer and I reckon we use auto-tune. Other than that, I wonder if it's something to do with the brake. I also read about mechanical resonance in the manual which seems like a stretch but it could be contributing, the frame that the actuator/motor is attached to does vibrate a fair bit.  I'm familiar enough with basic motion control using Allen-Bradley and understand the basic concepts behind the servo/control loop. However I'm at a loss for why the servo/drive would spontaneously over-torque while maintaining a position.  How would you guys approach troubleshooting this further/solving this issue?  Many thanks!
  15. Good day everybody,    Currently I am working on an application using 3-axis controlled by a QD77MS4 Simple Motion Module.  In this case, I have already set up most of the configuration, but when I try to execute the program, I get the following error:   SP. UNIT ERROR - The location designated by the FROM/TO instruction set is not the intelligent function module/special function module.  - The module that does not include buffer memory has been specified by the FROM/TO instruction.  - The intelligent function module/special function module, Network module being accessed is faulty.  - Station not loaded was specified using the instruction whose target was the CPU share memory.   The QD77MS4 Module is mounted in Base Slot #3, so I use U2\G800, U2\G1500, etc... to Read/Write from it.  The Diagnostics tool indicates the error occurs as soon as I try to access the U2\G800 Buffer Memory. If I set this part of the program to No Execution the error is no longer displayed.  Additionally, if I try to monito the Buffer Memory area of the Module, it says that "The Module Stat Address is incorrect".   I already tried changing the position of the module in the base (Slot 3 --> Slot 1) and changing the corresponding values to reflect that, but still the problem persists.    What am I doing wrong? Is there some kind of configuration I could be missing?    Thanks in advance for your help!   
  16. Old Cqm1H cpu51

    Looking for information about an APR fuction for analog output. Thks
  17. Hi everyone, To explain the problem a little bit: I have 2 systems that are equal, they have 1 PLC, 1 Inverter and 1 Servo Axis (Image01). The devices are connected via EtherCat. The thing here is tht in these systems the PLC and Servo Axis is the same but the inverter is different. My goal is to have the same project on both systems and depending on the inverter detected use the correct program. What worked: If I add the 2 Inverters and 2 Servo Axis on the project on different nodes (Image02), I can detect which is present using the variable _EC_EntrySlavTb[n]. My issue is that if I want to make more replicas of the systems using different inverters I will eventually hit the Axis Number limit for the PLC while in reality I am only using on Servo Axis at a time. What I wanted: I would like to be able to control 1 Servo Axis with 2 different inverters (only one active per PLC) (Image03). What I tried: The axis parameters can be set using a variable of the type _sAXIS_PARAM, however it seems that the option to change the axis basic settings is not available (Manual: NJ/NX-series Motion Control Instructions Reference Manual (W508) page 5-58) (Image04). The axis basic settings is where the definition of the output device plus control words are set (Image05). Is there a work around to solve this issue? I would really like to avoid having to manually change the output device for the Servo Axis every time I make an update on all the systems.   Best Regards, BR  
  18. simple motion cam curve

    Good afternoon, I have a problem in an application for a rotary knife, I'm using a MR-JE-B servo to make this movement, while my material is powered by an inverter connected to a modbus rs485 network, with a 5v encoder connected directly in motion. I'm having some problems and I think it's my cam curve. I have a very high refeneration, and the system doesn't obey the size of the length I want the cut. It always cuts the same size, regardless of the configuration I use, it always cuts to 245mm. Put some photos, how are my settings. Grateful in advance, if anyone can help me. Dover_roll_1-Motion-configuração_jog_manual.gx3
  19.  What is the difference between Active Immediate homing and passive immediate homing ?   Does Motion servo axis have to be turned ON for active immediate and turned OFF for passive immediate homing ?.
  20. I have seen some programs in which they manually unlatch all bits like in figure 1, and in some programs they don't do that.  The instruction help page, ladder execution says that in pre-scan .EN, .DN, .ER, .IT bits are cleared to false So do we need to unlatch all these bits before giving a motion command like MAM ?  
  21. Hello everyone, I have this weird problem that the PC (process complete) bit of MAS command does not clear after a cycle time.  As you may probably see in the picture attached when the desired torque has been reached, the servo has to be stopped using MAS command; however, this is good only for one cycle!! The PC bit will remain on even when the whole sequence gets unlatched/reset. I have to manually reset this bit. I was wondering if you could help me with this issue, please?  Thank you!  
  22. MT Developer 2

    Good day everyone, I am working on a problem on a Mitsubishi Q series PLC and motion system. The system consist of a Q12H PLC CPU and 2 x Q173CPUN Motion CPUs. The first motion controller controls 23 x MR-2JS-_B Servodrive and thesecont motion controller CPU controls 6 x MR-2JS-_B Servodrives. They are all using SSCNET1 system.The machine have been working fine all along until the machine stoped for 3 months because we were waiting for one spare part that was coming from oversees during covid lockdowns. When we restarted the machine, the servodrives could not home. When we were busy checking for the problem and before finding the problem, the machine just started homing. This keeps on happening over and over. Everytime you stop the machine overnight, it just stop working then when you are busy troubleshooting, it just come to like. In the time when it is not responding, we figured out that when we jog the servodrive controlled by second Motion controller CPU for the HMI, the drives jog fine but the servodrives controlled by first motion controller CPU does not respond. I have tried jogging the servodrives indipendently using Setup161E and they move . I even changed the motion CPU but to no success. When you monitor using MT Developer 2, the are no errors. Is there anyone who might have an idea on what might be the probable cause    
  23. NX1P2 Motion Control

    Hi:       I need to change an old PLC  with NX1p2  to control 3 servo motor by means of Analog Outputs couple with encoders, My job is to change the PLC only. So the servo drives and drivers are untouchable (No budget and involve too much mechanical works).   I observed that Sysmac Sttudio Axes setting has this: Servo Axes, Encoder axes, Virtual Servo Axis and Virtual Encoder Axes.   I believe the Encoder Axes couple with Analog Output is able to to do the Job? If so, what function block should i use? If no, do any body have a suggestion of any function block i can use? Thanks  
  24. So I'm new to the automation scene and in my training I decided to setup a little test rig, plc, drive, servo, sensor, hmi...etc.  Everything is wired and hooked up. What I'm trying to do is simply get the servo to spin. here is a screenshot showing what I have. I think there are some flags on the servo itself that need to be set but I'm not sure how to do that. In Base(x) I have tried 0, 1, 4, 5, 35. Any help would be appreciated.
  25. I have a problem trying to scale a floating number coming from an HMI to a value to use on PID instructions.My problem is on the scaling instruction.Whenever i try to run on cx simulator it gives me an error My setup of the scale parameters are (using SCL3(487)) D616 #0000 D617 &350 D618 #FFFF D619 #FFFF D620 #0000 My ladder to use the float number is: *F(456) Value +10,0 D2120 FIX(450) D2120 D2062 SCL3(487) D2062 D616 D2072 The error that throws is 0x80F0 Thanks in advance for any help PS Also tried all Scaling instructions.I think my problem is the setup of parameters for scaling instructions