Jump to content
OMRON Forums

hendraprimasyahputra

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by hendraprimasyahputra

  1. in addition, i also got negative sign value, when P6 and P7 indication negative value. The jog command from the PLC can't work. I need solution on this, thx.
  2. I tried this code for my PLC loop. I can view my M572 and M672 on the watch window, but motor 5 and 6 can't jog. OPEN PLC 2 CLEAR P0 = M161/(I108*32) P1 = M162/(I108*32) P2 = M261/(I108*32) P3 = M262/(I108*32) P4 = P0-P1 P5 = P2-P3 P6 = P4*-52 P7 = P5*52 M572= P6 M672= P7 CMD"#5J=*#6J=*" CLOSE Maybe wrong syntax or the cycle is too fast. Any idea in this ?
  3. The reason is because A must respond very quickly while X move very slowly, another reason because the characteristics of the actuator itself ( with the same feedrate, they will respond differently ). But to try it in the PLC it's a good idea, so let me try this. I hope it will work well.
  4. In my case i want to do an error calculation of X-Axis motion and put the error value as the input of A-Axis command to do an error compensation of X-Axis. This X and A actuator actually a stacked actuator in my system ( you can see in my previous post about close loop piezo, i put my system in that thread ). The purpose is to have more precise and accurate movement. I decided to use the PLC program to monitor my XY motion and doing error calculation in the PLC program loop. Right now the program running well to do error calculation, but when i comeback to motion program ( to do simutaneous movement ), i got problem on specifiying the feedrate. Here is my program : OPEN PROG 2 CLEAR INC LINEAR F 20000 A 16383 DWELL 5000 F 100 X 500 A(P6) ------>> in this step i want to have different feedrate but in the same execution time. DWELL 1000 X -500 A(P6) DWELL 1000 CLOSE OPEN PLC 2 CLEAR P0 = M161/(I108*32) P1 = M162/(I108*32) P2 = M261/(I108*32) P3 = M262/(I108*32) P4 = P0-P1 P5 = P2-P3 P6 = P4*-52 P7 = P5*52 CLOSE As you can see in my program, i want to execute X axis and A axis simultaneously but with different feedrate. I try to execute this program in single coordinate system setting, but i failed. So i decided to have another coordinate system for that. Anybody can help me ?
  5. Hi all, I want to have multiple coordinate system in my system. Currently i have 5 actuator. Here how i assign them in motion program : &1 #1->1X #2->1Y #3->1Z &2 #5->1A #6->1B As you can see, i have 2 coordinate system. In my motion program i want to execute them simulaneously. For example X and A ( but with different feedrate ). But it fails when i try using this program : OPEN PROG 3 CLEAR INC LINEAR DWELL 1000 F 1000 X 10000 F 10000 A 16383 DWELL 1000 F 1000 X -10000 F 10000 A -16383 DWELL 1000 CLOSE Only one coordinate system is executed. Anybody can help me ? I need to know how to assign different feedrate on multiple coordinate system. Thx
  6. Hi all, I got question about circular interpolation in motion program. Here is my code : OPEN PROG 1 CLEAR INC INC (R) F 1 CIRCLE1 NORMAL K-1 X 0 Y 0 i 25 j 0 CLOSE As you can see in the program i made a complete circle, and UMAC automaticaly interpolate the movement. In my case, i want to have a circular movement with segment by segment movement ( by specifiying angle or arc length) and using the while loop to have a complete circle. Anyone ever try ? Thank you
  7. Hi, How about the following error value, where is UMAC store this value ? Thx.
  8. Hi all, I want to ask about encoder counts. Actually in UMAC system where the values of this counts stored ?. For example when i move a motor, the position ( in position window will change ). I need to create an algorithm which based on the position, for example : after motor 1 moves 1000 cts, motor 2 moves 100 cts. So, i need access to this counts values. After that, how to reset the encoder counter ?, for example after we i moved 1000 cts, i want to reset the counter to be 0 again, and use by another motor. And the last,. How to command UMAC to stop the counter ? If i want a movement without encoder. Thanks
  9. Hi all, How to scale down DAC output command from ACC-24E2A ? Right now, if send command from jog ribbon 32767 cts, the voltage output will be 5 V. I want to have like 1:1 ratio. So i can send command for example 1 cts = 1 Volt. Thanks before ^_^
  10. Hi all, Right now i'm using ACC-51E as my feedback for piezo-actuator. I can move the piezo by using jog ribbon command, and detect the position using position window. My piezo can travel up to 100 micrometer (external measurement ) if i send 32767 cts command from jog ribbon. So the calculation will be like this : 32767 cts ( jog ribbon command ) = 20 cts ( encoder hardware counts / position ) = 100 micrometer So my question, how to use position command to control my piezo ?
  11. For example, right now i have sinusoidal encoder with grating pitch 20 micrometer. After interpolation i can't calculate the resolution of my sensor. Is that correct if i just do 20/4096 as my new resolution ?
  12. Hi all, I'm trying to use ACC-51E to read 2D sinusoidal encoder ( LIK2D, made by numerik jena ). I just install the card to the UMAC system with servo IC 4 address $79200. I connect the sensor to the card ( SIN+ SIN- COS+ COS- +5V GND REF+ REF- ). Now i'm trying to set the parameter using turbo setup. But still the card can't read the output from the sensor. So i need guide to set the variables, which variable i should consider ?
  13. Hi all, Right now i'm working on a 3-Axis dual-stage / dual-feed micro-milling machine for my research ( I attached my control system scheme). I use UMAC as the controller. The first stage of this machine is using stepper motor which is can be easily controlled by UMAC. I use ACC-24E2A card in my UMAC to control the stepper motors. The second stage of my micro-milling machine is using piezo actuator, which is installed in a micro-stage. For the feedback of this micro-stage i use 2D-encoder (made by numerik jena). So regarding this customized machine i got several question : 1. I need suggestion for controlling piezo actuator using UMAC, what ACC card can be the best way to control the piezo actuator ? The elongation of the piezo actuator depends on the voltage generated by UMAC. It's analog 0-5V range. 2. I need also need suggestion to interface 2D encoder to as my feedback, the output from this encoder it's sinusoidal 1Vpp. 3. I need an overview on the logic for controlling close loop piezo actuator displacement, which variable should i concern of ? Thank you before, i hope i can get help from you all. ^_^
×
×
  • Create New...