Search the Community

Showing results for tags 'compactlogix / control logix'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 208 results

  1. 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.
  2. I have a project that has moving carriers that each have their own CompactLogix processor onboard communicating over wireless to the main Controllogix PLC.  When each station needs to update the supervisor or vice versa we enable a CIP Data Table Write to the other PLC.  We have 36 moving stations basically, and one main.  Looking for any tips from anyone who has had a similar project.   We have lost messages in our trial and may need to sequence the messages. Thanks in advance.
  3. 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. Can anyone advise if there are data structure #s associated with each of the data types in Logix?  Example if it is a Bool, I believe Logix advises it is a 32 bit number.  But is there an "under the hood" data type reference number for each Logix data type?  I.E.  if it is a Bool, that is a RA data type #1, if it is a DINT, it is a RA data type #2, etc.  
  5. Hello, I am trying to get a Fanuc R-30iB controller added into my RSLogix program. The PLC is a CompactLogix 1769-L30ER When I search for new modules to add I see a pre setup Fanuc Robot Ethernet module, but I can't get that to work. I tried following Fanuc's instructions and setting it up as a generic ethernet module, but I couldn't get that to work either, it just says i/o not responding for that module. I am definitely able to ping the Fanuc controller, so I believe I am seeing it. When I add the controller in RSLinx, it's there, but there is no icon next to it's name. I'm guessing because its a fairly new controller, and it came out after the version of RSLinx that I'm using? Don't I need to download the EDS file for the new controller so that Linx can recognize it? Any help would be greatly appreciated. Thanks
  6. Using its internal Ethernet ports, our 1769-L36ERM processor communicates with 15 other devices inside the same machine. Can a rack mounted Ethernet module be installed to allow communication to/from this processor and an external network containing a SCADA system and RSLogix 5000 workstations? We prefer not to add all 16 devices to our external network and our I/S department does not allow routing devices on the network that they did not install.
  7. I have new compactlogix plc L43, it was 1.4 firmware rev and when i try to upgrade the firmware the communication lost during upgrade , I make this upgrade using Serial communication (very slowwwwww) Now i cannot see the plc on RSlinix and cannot communicate with it I know that if the communication loss during firmeare upgrade, the PLC will be stop and it should return back to allen bradley any one have soloution for this problem ??????????????
  8. Hi. I'm taking a class through my job (I'm an industrial maintenance technician), and they've offered us the schooling through our local community college. They bring the trainers and laptops to our site, and we have class there. We're in our "PLC II" class, and we're using CompactLogix 5332E 1769-L32E PLCs with PanelView Plus Compact 400 HMIs. I'm having issues with getting my PLC to work properly with the HMI. I have a very simple program. A pushbutton turns on a timer with blinks a light. I have my tags as Green_On and Output_Green. They're obviously aliases for Local:1:Data.0 and Local.2:O.Data.0. I created a screen in FactoryTalk View ME, and gave it two simple pushbuttons. One a Maintained and one a Momentary. I created tags in the HMI, and linked them to the tags in the PLC. I have the button properties set as such: I create the runtime application and send it to the HMI. When I push the buttons on the HMI, I get no response from the PLC. If I push the manual pushbutton on the trainer, the PLC reacts appropriately and the buttons on the HMI change state (from the tag indicator). What am I doing wrong? Obviously the HMI is seeing the PLC, because the pushbuttons are updating the to tags change in state from 0 to 1. Why is it when I press the buttons, I'm not writing the value to the tags and the PLC changing state? I've talked to the instructor, but he's been retired for some time, and while he's given us a good overview of the basics, he's a bit out of his depth.
  9. 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
  10. Hello! I'm working on a project. I cannot get online with the PLC. The compagnie who made the program does not exist anymore so they cannot help me. Does anyone knows how to unlock a locked controller ? Do you know a compagnie who can solve this kind of problem ? Otherwise my only option is to wipe the all thing and reprogram it .... which would be bad. Thanks !
  11. Hello, my question today deals with a particular way of coding in RS Logix 5000. I have two routines ( titled "Gauge" and "Alarm"). where rung 10 in Gauge is the exact same as rung 2 in Alarm. How can I make a change to rung 10 in Gauge and allow the program to automatically make that same change in rung 2 of Alarm? The only reason these two routines have the same rung at 10 and 2 respectively is to make trouble shooting easier whenever an issue arises. So instead of searching through the "Gauge' routine to find out where the fault is, I can easily look at the "Alarm" routine and find out what the problem is. I just want to be able to make changes to the Gauge routine and find someway to allow the program to automatically update the exact same rung in the Alarm Routine. Thanks.
  12. 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.
  13. I'll set the scene a little before I explain the issue that I am having. I have an application where I have a Linear Servo Slide acting as a Press Kick-off cylinder on a ceramic press. In order to trigger this Slide accurately, I have installed an Absolute Rotary Encoder (a Turck product) to the press, which outputs an Analog signal for its specific position. I then have this as an input into my CompactLogix L33ERM through a 1769-IF4 Analog Input card. Within my code, I'm trying to capture the moment where the press has presented the part out of the die and it can be ejected from the press cavity without damage the part. Mis-timing on this ejection and the part will clip the die pad tooling and incur damage upon ejection. Now, one last point of clarification, I am a Mechanical Engineer by trade, so I don't claim to be an expert programmer. But I have learned a lot and have gained experience in programming applications like this, so I can learn quick and should be able to program this task. I have had my local Allen Bradley guy look at the code I'm using for this application, and he thinks it looks good, but I'm still having issues. What I have done, is within the code, I have a window that I look for, of the encoder's position, to trigger the ejection shoe to fire its sequence and kick the part off. However, I have had to make this window so large in order for the code to see it every press cycle, that occasionally, the ejection shoe will be fired at the back end of the window, which is actually too late, and my part is being damaged. Attached is a snapshot of the code. The OkSamplePress.DN is actually a timer that I have that looks at the current press rate and puts a delay in to not allow the kick-off to fire too early, because I was actually getting a glitch before where the kick-off would fire prematurely for some reason. I don't know if anyone can offer assistance on this or not, but I would greatly appreciate any help at all. Its become quite frustrating, as the rest of my machine functions quite well, and this seems to be the nagging issue I can't get rid of. Thanks in advance...Josh
  14. Hey, this may be an obvious question, but here goes: I have a CompactLogix L36ERM running RL5000 controlling one of our lead die cast machines. When I make a change to the program offline and need to download I always go and shut the machine down for safety reasons before downloading. One of our techs stopped the machine but left the control power and hydraulic pump on while downloading (something we are not supposed to do) when he finished downloading he switched it back to run mode and the machine closed on it's own and started right back up. This is a safety concern to me. We have a "close enable" tag that is true when all necessary conditions are met, and gets latched on when the machine is running in full auto. Before he downloaded the machine was at idle, meaning that the only way to close the machine would be to press the two dead-man switches to start the process. But, when he downloaded it started up automatically. Now I know the reason why is when the program was last saved, the "close enable" tag had a value of 1, it was latched on, so it bypassed the dead-man switches. A quick fix would be to save the program with that tag un-latched so that it can't start up on it's own after downloading. But, in case somebody saves the program while the machine is running and with that tag latched on, I need a better solution. Is there any tag or bit that goes true when a program is downloaded or when the mode of the PLC is switched from run to download to run? I want to manipulate that tag so that when I download it un-latches the "close enable" tag. I'm sure there is a way to do it, I'm just not even really sure what to search for in the online help. Any help is greatly appreciated. Thanks Howard
  15. Hello, I am trying to communicate with MicroLogix 1100 from CompactLogix. But I keep getting an error and It says connection failure. This is what I have done so far. Can anyone tell me what I am missing? Regards,
  16. 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
  17. 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.
  18. 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
  19. 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?
  20. Hey guys, so I feel like I must be doing something wrong here, well obviously since I cant get it to work. So I have a CompactLogix L36ERM running RSLogix5000, I've got 28 cards in total, all working except for one. My 1769-OF8V Analog Ouptut module. I just want to be able to output a 0-10v signal to a proportional valve module, specifically a Parker PCD00. Anyways, so I am online with the processor, everything is looking good, I/O is responding. I have the specific channel on that output module enabled in the module properties. I have tried changing the data type to every different option, I have raised and lowered the limits. I think I am addressing it correctly. I am just trying to move a value into that channel's data file. It appears to be moving the number in just fine, but when I put a meter on the output for that channel, I get 0V from the output to analog com. There is a little switch inside the module that allows you to use rack power or external 24V, I tried switching it down and using an external 24VDC source, I currently have it switched up to use the rack power. I'm lost. If somebody could please help me out and tell me if there is something obvious that I'm missing or doing wrong/ take me through an easy step by step way of setting this up for basic 0-10v output, that would be great. Sorry for being so new, I have attached a couple screenshots of the logic I'm using and the way I have it configured right now, but I have tried all different configurations. Thanks, Howard
  21. Hi all, So this is more of a theory / how would you attack this problem, question: I'm creating my first HMI and while playing around in FactoryTalk View Studio I noticed I can add objects to a screen. I can add a browser and with some work I can get it to display an HMTL file directly in the screen. So the browser in this case is opening a file stored locally, not something served up from the internet. Which opens up the question, could I write most of my HMI in HTML and Javascript? As a previous developer having the ability to control more of the UI would be amazing and perhaps easier to use/maintain. The only pitfall that I haven't been able to figure out is how to get real time values from the PLC. I'd welcome anyone's input on the idea in general or if someone knows a good method for getting/setting values from the PLC. Thanks!
  22. Currently we have a remote I/O module to connect with our PLC, yet it's not showing up whenever we try to connect it via inside RS logix 5000.
  23. Hello all, I am experiencing an unusual (and what appears to be an unheard of) behavior in my CompactLogix L18ER controller. I am setting the date/time of the controller from my work station, however when I GSV WallClockTime, it is reporting 4 hours different. I have asked our local resources as well as done some forum and knowledgebase searching without result. Has anyone encountered this before? Attached is a screenshot of the controller time vs. the wall clock time. This isn't mission critical since it can be manually adjusted however I would like to understand what is taking place that would cause this behavior. Thanks!
  24. 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
  25. 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