Search the Community

Showing results for tags 'change speed control during operation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 116 results

  1. Hey guys, first post!  Friends at Practical Machinist sent me over here b/c we were stumped.   I have a Mitsubishi 500M control CNC machine.  There is a section of the ladders that i don't understand, and Mitsubishi couldn't help, and the OEM is defunct.  I do not have a hardcopy of the ladder circuits. I have an output , [Y13], that i can't get to turn on because of an internal relay | M453 |       see pic 1 When i searched for relay M453, it seems as if it's in some sort of array function.  see pic 2 None of the relays from M448 thru M512 ever turn on.  I understand that all these are controlled thru this circuit, but i have no clue what is going on with the R registers, and how the heck these internal relays can be turned on. Can you guys help explain?   Thanks!
  2. Sequencer Input

    I have a program using the SQO instruction. However, I am looking to control my program with a sequencer input. I have never used the sequencer input before and I have 16 sensors to move cylinders using the sqo.
  3. Speed/ Velocity Calculation

    Hello, I hope you are all having a great Wednesday.  So I was wondering if this is possible, and if so, how to do it.  What I'm trying to do is get a real time speed of my hydraulic cylinder using a transducer, a 1769-HSC high speed counter module, and a 1769-L36ERM processor.  Kind of like a speedometer in my car.  I would like the number in inches/ second.   We use a hydraulic proportional valve to control a cylinder that we use to pump molten lead into our die cast machines.  Back in the day they used to use limit switched that rest on a tail rod attached to the cylinder shaft to get an approximate stroke length.  It was very crude, but it worked for what it was.  I'll explain  a little more, in case I'm not explaining it very clearly.   So on most of our machines the maximum stroke length of a normal shot is about 11".  We have different "stages" to the shot.  Stage one is typically from 0" (when the shot is all the way returned) until about 1.5", at 1.5" the valve stops and there is a shot delay for 1 second (vacuum draws some lead into the goose neck and into the beginning of the mold), after the delay second stage starts, second stage is from 1.5" to 4", third stage is from 4" to 8" and fourth stage is from 8" to 11.5" or until the shot timer finishes timing, and then another valve switches, and the shot starts it's return.  We have the different stages because we typically shoot the cylinder slower at first, and then delay and then almost maximum velocity.  We control the velocity with an analog output to a solenoid on a hydraulic valve.  For example, for the first stage we may open it up 20%, then 0% during the delay and then 85% during second, third and fourth.  Sometimes we play around with different shot delay times, different shot velocities, sometimes 3rd may be faster than 4th, ect, to get the best die casted parts.   Anyways, so in the past they would use limit switches.  One was a button head style that when the shot cylinder shaft was all the way returned, it made the switch, and we knew the shot was fully returned.  One was set at 1.5", 4", 8" etc.  They all, except for the shot return switch, were roller style limit switches.  They were all made, and once the shot reached that stroke length, they would come off the rod and we would know we were in that next stage.  So it was very crude.  If you wanted to adjust the stages you would have to climb up on top of the very hot molten lead pot, mark where the limit switch currently was (in case you needed to put it back) loosen the bracket, try to make a measurement and guess how far you moved it.  It was crude to say the least.  Some of our older style machines that don't need much tweaking still use the limit switch style positioning system.   Most of our new machines all use a VisiTrak transducer.  The shot cylinder rod that is attached to the cylinder shaft is actually threaded and then has a very thing layer of chrome plating.  The transducer sits against the shaft and counts the threads.  It transfers those counts to a Very High Speed Counter module in our PLC I/O rack.  We have a CompactLogix L36ERM processor and we use a 1769-HSC as the VHS Counter.  Then we just do some math in the PLC program and we are able to get shot stroke in inches.  We set different compare instructions, for example when: Shot_Stroke is greater than or equal to 0 AND Shot_Stroke is less than or equal to 1.5 then 1st_Stage_Bit is active.  We set up different numbers for all the different stages and still use the button head limit switch as a second method to confirm that the stroke is fully returned.   The counter is very fast.  We are able to know what the shaft stroke is at any given point.  We currently do some math using the distance of each stage and using timers to calculate inches per second of each stage.  That way we can have a nice Speed number in inches/second that we can use to make different adjustments to the shot.  Typically the first stage is about 7"/second second is: 24"/second third is: 42"/second and fourth is 2"/second.  But I want a real-time, current speed, not just the speed that it traveled through each of the stages.     Ok, after all of that explaining, I'm finally getting to my question.  How would I logically write a set of instructions that could give me current speed in inches per second.  Like i said, I am able to calculate the speed of each stage, after the shot has completed the stage, I just divide the distance of the stage (in inches) by the time it took to travel through that stage (in seconds).  But I would like to have a real time speed, kind of like a speedometer on a car.  Is this possible?  I know that the scan time on this processor is very fast and the high speed counter module counts very fast as well.  How do I do the math to get a real time speed in inches/ second?   Sorry for the very long post.  I just thought i would give you a background on what we are doing/ would like to do.     Thank you very much.
  4. Control Code in ST file

    I forgot how to do this. If I put in let's say 1234569632<cr><lf> how do I store the carriage return line feed along with the number in my ST file??? 1234569632(chr$13)(chr$10) something like this, but can't remember. Thanks
  5. Good day, I´m helping with small project and currently i am stuck because of this problem. And I hope you can help me out. I´m using PowerFlex 525 connected with AB CompactLogix 1769-33ER PLC via EtherNet/IP. Connection is working, I can read and write values from/to 525. To configure both devices i´m using RSLogix 5000. 1) First problem occurs after I loaded configuration to 525 and it´s, that 525 keeps overwriting values of Accel and Decel Time 1. It happens when i directly change parameters in Module Properties (online) or after I upload configuration to device. It happens even if i set parameters directly to 525 with its HMI panel. - I kinda get around this problem when i use Accel/Decel Time 2 for Step logic, but if i send direct reference value motor still jump to it and that is not good, especially when changing direction of rotation. 2) Second problem is that I cant get Speed Sources and Start References right. Usually Is working only option 1 and others are not, or they are doing something else that they should. For better imagination this is what i want to do: I have 3-state switch (left = 1 ON(DigIn TrmBlk 02), 2 OFF; center = 1 OFF, 2 OFF; right = 1 OFF, 2 ON(DigIn TrmBlk 03)), In center position I want to control 525 with EtherNet (already working when: Start 1 AND Speed 1 = EtherNet/IP). In left position I want to control motor directly with Drive Pot and In left position a want to start Step Logic (which i have already set) - Funny thing, If I set Start 1 = Ethernet, Speed 1 = Step, Start 2,3 = DigIn, Speed 2,3 = Drive Pot then in all three position motor goes in Step logic.. Or when i get left and right position working then Ethernet is blocked.. and this kind of things.. I Attach print-screen of my current settings, if you need something more just, tell me. Thank you for your time, and I hope someone will be able to help me.
  6. Hi all, Currently running a Quantum 140-CPU-652-60 FW3.12 out to a remote rack over a Modbus Drop in to a 140-EHC-105-00 High Speed Counter, words are mapped OK to the program, configured at a type 7 setup (1sec frequency) etc. The card used to work when we were running the system as a ConceptXL 2.6 setup with a 140-CPU-534-14. We have just upgraded to UnityProXLv8 and it stopped. The mapping is configured by word to bit / bit to word across the %IW and %MW (previously 948 3x and 4x registers, but converted nicely, everything is aligning). Anyone stumbled across this issue before? Any help would be appreciated. Thanks, Rob
  7. Automation professionals, I would like to read the display values of a red lion DP700 in a control logix PLC. I was able to successfully integrate both devices through EtherNet / IP and I am geting the corresponding values in a DINT register in the PLC. But the problem is that the value in the PLC register is not in the same format as in the DP700 display. The display reads the length of a product in inches like 288.484 etc. Where as the value in the register is a 10 digit number like 1133526516. For sure, there is a definite correlation between these two values but I am not able to figure out the exact relationship as a function of a formula. I have given below 25 data pairs for your analysis. I tried to find out the scaling factor (slope and offset). The scaling that I found fit the first 10 records but did not fit the remaining 15 records Can you help me to find out the relationship between the ? # DP700 PLC register 1 288484 1133526516 2 288627 1133531202 3 288631 1133531333 4 288739 1133534872 5 288741 1133534937 6 288742 1133534970 7 288746 1133535101 8 288757 1133535461 9 288776 1133536084 10 288796 1133536739 11 241060 1131482972 12 241043 1131481858 13 241027 1131480809 14 241032 1131481137 15 241055 1131482644 16 241038 1131481530 17 241078 1131484152 18 241025 1131480678 19 241030 1131481006 20 241037 1131481465 21 241040 1131481661 22 241023 1131480547 23 241053 1131482513 24 241041 1131481727 25 241077 1131484086
  8. Sinamics G-120 Drive on Profinet

    Dear Friends, In my present project, I have a S7-1500 PLC & 3 Nos, Sinamics VFDs(PM-240s) with Profinet ports.(CU-240E -2PN) The drives and PLCs are on the same Profinet network. I wish to know the essentials of controlling the command and speed reference of these drives directly from the PLC on profinet. Reading the help in TIA portal got me nowhere its all about Telegrams and things that I haven't figured out yet Thanks for looking in; I shall greatly value all help and advice.
  9. B&R plc, motion control, CNC

    Hi all. I have a B&R PP420 panel, some I/O on the X2X and 4 Acopos servodrives /servomotors. Successfully created and tested 4 axes, they work OK, control via NCtest or X2X IN, or PP420 display. But creating CNC system is the problem... On NCtest, I have errors, and no move. Error 7742: ACP10_MC FB error or aborted Info: Axis Index [0] Info: ACP10_MC FB error number [29226] Info: Command aborted [0] Info: ACP10_MC FB number [1] = MC_BR_MoveCyclicPosition (cyc. pos.) On SDM, axis error: 32274 Network coupling: The broadcast channel was not configured Can someone help? Thanks.svinaga@yahoo.com Foto errors.pdf
  10. CJ1W-TC001 PID question

    What is Omron naming convention for PID settings? I need to adjust the upper MV limits for PID running on CJ1W-TC001 installed on CJ1M-CPU13. Looking at the CJ1W-TC001 Operation Manual I am not really sure which values would these be. I guess Omron naming nomenclature is a bit different than what I am used to. It seems that the Manipulated Value Monitor is just feedback, which value would I need to set or modify to adjust the upper MV limit?
  11. This is my company's first time using a Mitsubishi PLC and our partners/clients advised us against using the built-in Ethernet port on the Q03UDE CPU, saying that we should instead use a standalone QJ71E71 Ethernet module. The QJ71E71 costs 1.5x the CPU module so there are significant savings in using the built-in Ethernet. They cited reliability issues but can anyone here back up their claim? We use our PLCs as simple I/O blocks - a PC runs a program which communicates with the PLC and tells it what outputs to fire. There is no actual ladder logic on the PLC. The PC connects directly to the PLC. I wrote a small C# utility that blasts the QX40 and QY80 input/output cards on my stack with random values and reads them back to ensure correct data transfer. The QJ71E71 Ethernet module averages 10 ms for a read or write operation and the Q03UDE averages 3 or 4 ms (much quicker!). So, does anyone have a reason to use the QJ71E71 port instead of the CPU? Thanks
  12. Hello All, I want to read data from a Control Logix PLC, into a PLC5/60, using Ethernet and a MSG instruction in the PLC5. When verifying the MSG instruction in the PLC5, I get an error message. "Target Address in invalid". Once I figure out how to do this I need to replicate it in another PLC5. Scope is to read the status of 4 paint pumps controlled by the CLX. If any of the 4 stop, the PLC5 needs to know, because it is controlling the paint application equipment. Source data resides in a Control Logix 1756-L63. The tag is INT type, 4 elements long, and the name is PUMP_STS_B2. The IP address of the CLX is 4.2.6.230. There are 2 ENBT cards, one in slot 1, and the other in slot 3. 4.2.6.230 is slot 3. PLC2,5 / SLC Mapping has been created in the CLX. File=421 Name PUMP_STS_B1 and File=422 Name Pump_STS_B2. The file mappings represent a binary file created in each of the PLC5's B421:0~4 in Booth 1, and B422:0~4 in Booth 2. The PLC5/60 is Enhanced series E model using the Ethernet side card. The IP address of the PLC5 is 3.26.5.61. I also created MG file types in each of the PLC5/60. MG420:0~19 in each processor. This was necessary to use the MSG instruction in the PLC5. I have searched the forums for examples of how to do this with no solid results. I am trying to follow the best practices of reading the data into my PLC so anyone who follows can tell where it is coming from. While the IP addresses are not closely related they should be able to communicate. I say this because all of our PC's are on the 4.2.6.XXX network on a 255.255.252.0 sub net and we have no issue communicating with the 3.26.5.61 IP address. Any help and advice would be greatly appreciated. Regards, Mike Carter
  13. Hello, I need to set a 1 second timer in a TSX 572623 plc with pl7 pro, the question is that using %s6 bit (1 second pulse) the timer is not exact enough, the program is 98 kb, not too big I think, I use the %s6 attaching to a positive pulse auxiliar mark in one section of the program and i use this mark %M in the rest of the program, but as i said, it is not quite exact, measuring the time displayed in a HMI connected to the plc, 40 seconds in the program (displayed in a HMI), it´s 47 seconds in a chronometer, it is not exact at all as I said, how can I solve this problem, can anyone help me? Thanks
  14. I'm having a bit of difficulty with the MSG function on a logix5000. I'm simply trying to get a REAL value ("BH5_Flow") out of another logix5000 and assign it to a tag in the PLC. I've created a MSG function and created a new tag "BH_5_Flow_MSG" for the message, and created "BH5_Flow_M" for the value that will come from the MSG function. When I click the "..." button to bring up the config, I put the following in: Message Type: CIP Data Table ReadSource Element: BH5_FLOWNumber Of Elements: 1Destination Element: BH5_FLOW_MIn the PATH tab, i then put the following in: Path: LocalENB, 2, [iP ADDRESS OF SOURCE MACHINE]When I test the edits, I then get the ERR bit activate with error 16#0004 when the message rung runs. Anyone got any ideas where Im going wrong? I've practically copied another MSG instruction from further up the ladder but it doesn't seem to work
  15. Hello guys, i would like to know if is possible keep always active the run command in a vf drive and for stopping the motor only send 0 reference. It´s possible??? because I want to program a ramp function in my plc for start and stop one motor. could someone tell me how to do this type of control please?.
  16. Hi, I have a problem with my BC9020 and hope that someone can help me. I managed to set the IP adress of my PLC in the 10.2.5... add a root, run a program and make the PLC working for a while. I then tried another program, a new one... and now that I want to re-read the first program, Twincat System Manager doesn't allow me to enter in the "run mode" and stays in "config mode". It also has lost the IP address I set (10.2.5.....) and came back to the 172.16.22... (manufacturer settings) I cannot determine if the problem is in the PLC Control or In System Manager... This is my method to change the IP *** IP config *** 1) Reset the PLC First I place the end terminal next to the PLC. I set the DIP switches 1,6,7 to ON, power on the PLC and power off. I set the DIP switches 2,6,7 to ON, power on the PLC and power off. I set the DIP switches 1,2,6,7 to ON, power on the PLC and power off. 2) Set my PLC on the same AMS than my own IP (172.16.22...1.1) 3) In System Manager, add a new route 4) change the setting in I/O Configuration -> I/O Device -> Device 2(BX9000) -> clic on BX9000 define "set IP Address" to Manual define " IP Address" to 10.2.5...., the AMS change automatically. Press the configuration button and then Ctrl+F4 (run mode) This method worked but seems not to be the best... If you have any Ideas ? or questions? Thank you in advance Gregi