Search the Community

Showing results for tags 'logix'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 42 results

  1. Create TCP/UDP Socket

    I'm trying to send an int over TCP using a MSG Socket,  Compactlogix ==> Arduino Ethernet Shield I have set up TCP communication between two Arduino Uno's using Ethernet shield. I've set up the one as a server, the other as a client. server IP: 192.168.1.21 port 23. If the client is connected it reads incoming data as a byte or an array of bytes. The data between the two has been verified to work. I'm now trying to transition the communications between a compact logix-L32E. I'm looking to send a byte (or int being as there's no byte data type) from the Compactlogix to the Arduino using TCP. To my understanding I need to use a socket create, open, read/write, close. The manual to do this is vague as a step by step procedure. Does anyone have an example code for socket programming? I can open rs500, rs5000, and studio 5000 programs. If I can open a file to use as a reference I can translate it on my own. Any help/advice would be greatly appreciated. 
  2. I have a purchased Machine that came with a Siemens LOGO 8.FSR PLC (Smart Relay). Generally we use Allen Bradley or Mitsubishi. Anyway, we need to communicate data between the LOGO and an Allen Bradley Compact Logix.  I do not desire to add an additional network to the AB but as best i can tell the LOGO is exclusively Modbus TCP/IP. Has anyone come across a similar situation?  I look online and did find an  Anybus module that claims to be able to link them together.  Looking for anyone who has faced this challenge and succeeded, or failed.   Thanks
  3. Axis Attribute Error

    Hello All, First time working with PLC. Get the hang of it from stuff I researched. Having an issue with an axis setup for a servo motor.  When I try to do an auto tune it gives me an error that axis is not configured.  Source: Config Fault    Condition: MotorDeviceCode- INvalid attribute      ACtion: Immediate Stop Fault Entry: Type 8, code 9 subcode: 1314 stopaction: 4 Statechange: 3   I was wondering what am I doing wrong? Any leads or source information I can use to solve this. 
  4. Signal Tower Error Code(s)

    Hi, got a mental block lol.  Got a machine we are modifying, currently got most of the code in place. Working on a fault routine now. This machine doesn't have an HMI or wide array of PL. Nothing major just a simple vision system check. Currently have 6 faults that will stop the cycle running. I'm wanting to have the beacon light (Red light) blink for the cause of the fault. For example: Scenario 1- Fault stop for bottle check NG:  (two) .5 sec blinks -  2 sec red light off -  (two) .5 sec blinks ..... repeat  Scenario 2- Fault stop for bottle check NG and reject sensor blocked:  (two) .5 sec blinks -2 sec red light off - (three) .5 sec blinks - 2 sec red light off....... repeat I have the code a few different ways but it looks "dirty". Any suggestions? Thanks in advance  
  5. Control Logix 5561

    Hello  We have just purchased some equipment with a Control Logix 5561 (1756-L61/B Rev 13.40). The compact flash card is missing from the unit but the seller says the unit was running in his facility prior to shipping. Does the 5561 have internal memory where a program is stored? Is the Compact Flash used only for recipes and persistent data? Thank you
  6. I'm wanting to get upload the program from a CompactLogix L31 Controller.  I'm using a generic (non Allen Bradley) "C2G brand" usb -->rs232 cable coming directly off of my laptop because I don't have a serial port out.  The rs232 side of the C2G cable is a "pin out" or male end, and as you can see in the picture, the serial port at Channel 1 on the controller is also male.  I'm using a generic (non-Allen Bradley) null modem (female-->female) cable to complete the connection.  Ultimately, I'm not seeing the controller on linx.  But that's a result of me not being able to configure the driver.  When I try to auto configure this driver, Linx gives me an error saying, "Unable to verify settings due to a NAK!" btw, the rs232 cable going into channel 0 is for the HMI on the machine. A pv600 1. How do I get online and upload the program from the controller? 2. What does NAK mean?
  7. logix 5000 array

    Hi Guys! I have a problem with array filling. I use rslogix 5000 software. I have to save the timestamp sometimes. I can save it with GET instruciton. Its a dint array which have 7 elements (year, month, day....and so on),  But my problem is I dont know, how can I solve that, they are in a bigger array. So like an array within the array. Idk it is possible ? I hope you know how I mean.  So I have 7 dint value in one array, and I want 1000 array for this. How can increase the position of the array number ?  Can anybody help me with that ?  Thank you in advance.  
  8. Allen Bradley

    How could I find ON State duration of an Input/Output, in Compact Logix PLC? So it would help me to show in HMI that how long the I/O is ON.Kindly assist me.Thanks in advance
  9. Insert existing attachment A lot of automation cells we get done are made outside of shop so we don't typically have any current acd files for the plc. I am trying to make changes to the program but uploading seems to be giving me some problems. The initial upload seems to work fine I can select a file to save to and I begin to see the file being upload, the problem comes after about two minutes near the end of the upload. Attached is the error I see after the upload stops. Has anyone seen this problem before and know of a solution? Any help would be appreciated. Current controller Studio 5000 Logix Designer 28.03.00 1756-L71S
  10. MAOC Instruction Help

    I'm using a 1732e-ob8m8sr scheduled output block and the MAOC instruction to create a punching task. I'm already somewhat familiar with the instruction but I'm not sure if you're able to have two different MAOC instruction scheduling to the same armorblock. The first five outputs I want to make an output cam using position and duration as the condition for a punching task, but the last three outputs are cutter blades that need to be enabled at specific start and end position. I would also like to be able to phase shift (compensate) these features separately. Can I use two MAOC instructions as long as they don't try to overwrite the same output?
  11. Hi my problem may have a simple solution but i cant work it out. I need to use the Divide function but it wont let me use a decimal point in either Source A or Source B. Is there a way to use a decimal point in Logix 500 Math instructions? Im using an AB Micrologix 1400 PLC. Can you only use math instructions with whole numbers? is there a way around this? Thanks James
  12. Hi my problem may have a simple solution but i cant work it out. I need to use the Divide function but it wont let me use a decimal point in either Source A or Source B. Is there a way to use a decimal point in Logix 500 Math instructions? Im using an AB Micrologix 1400 PLC. Can you only use math instructions with whole numbers? is there a way around this? Thanks James
  13. Hi. I am new to Allen Bradley PLCs and bumped into the following issue, that I cannot find any solution to. When trying to add a module to the I/O configuration I get the attached error, error code 80131940. This prevents me from adding any hardware configurations in Logix Designer. I have tried to reinstall Logix Designer and uninstall all AOPs. I am running V30.00.00 on a Windows 7 Enterprise SP1 OS. Your feedback is very much appreciated.
  14. MNET to OMNI

    Good morning all, does anyone have any experience communicating to an OMNI Flow Computer through a MNET card, Im getting data back but it is not what i expected.  Should I be using Enron/Daniels? Byte Swapping? Thanks
  15. Ethernet/ip to modbus rtu

    HOW TO CONNECT AB 1769-L33ER ETHERNET /IP TO MOD BUS RTU
  16. Hi PLC programmers, I got a problem regarding my installation of Logix Designer/Logix5K. Here's the situation... a) Initially installed Studio 5000 without problem. b) I needed to open a program from Logix v20.1, installed RSLogix5k v20.1. After installing v20.1, RSLogix was corrupted and won't open program. c) Reinstalled entire Logix Software. d) Was able to open and convert program from Logix5k v20.1 to Logix Designer v24 but this annoying error occured on v24 (See attached "EN2T")... "Failed to Create Module Profile". All of a sudden, the module (1756-EN2T) I created with working v24 is no longer usable. Now, even when I create a new project, add a module with "Select Module Type", the list of available modules has been trimmed down to what it normally has (see attached "AB_Modtype"). Kept on re-installing entire Logix 3 times, clearing the registry with CCleaner and even deleted installation folder for Rockwell software but the problem is never gone. I even downloaded AOP for EN2T and installed it but to no avail. Now I'm lost and dumbfounded that uninstalling and reinstalling isn't working. By the way the OS I'm using is "Windows 7 Enterprise". I appreciate all the help I could get. Thank you very much. Sincerely, Andrei K.
  17. Hi,  I am writing some routines to decode the data from my Input: data array to User-defined Array Parameters. Is that possible to have a generic routine to decode data coming from more than one module? I have two Module ENode and ENode_1. I have defined User-Defined parameters for the module. Can I make a generic routine to decode the data coming from these two modules and put them in the defined arrays?  the two arrays ENodeData[0] and ENodeData[1] have the Generic User-Defined parameters.
  18. RS Logix Designer Tags

    Hi, Is that possible to define INT data type in EDS file so the Tags for the module in RS Logix Designer would receive INT data type in Input Tags not SINT? As marked in the image, the Logix Designer is receiving data as SINT but I want to have INT data type. Thanks Muhammad Azeem
  19. I have a "paddle wheel" style flow meter that I am trying to wire to my Micrologix 1400. It is a three wire device and there is a tag on it that says it can run at 6-36VDC. So, naturally, I thought to wire this to one of the HSC inputs of the Micrologix directly. I hooked the ( + ) on the meter to 24V, ( - ) on the meter to common, signal to the oscilloscope, and ground on the scope went to common. I see a small 60Hz sine wave @ like 5mv when the wheel is not turning. When the wheel is turning I get a small square wave but in the same mV range. It is not a nice smooth square wave either its all jumbled up with the 60Hz sine wave.  I hooked this thing up to a transmitter and scoped the signal and ( - ) in parallel with the wheel - I get a nice smooth square wave signal when the wheel turns. It is only at 4.5V though. My questions are? Why does't the paddle wheel give me what I am expecting directly? Also, what is the voltage range on the pulse that a micrologix will see? I am assuming that it will not count a wave with a 4.8V amplitude.... Thanks for your help in advanced! neech   
  20. Cimplicity 7,5

    Good Day There is a SCADA Cimplicity and controller Control logix 5561 AB. Communication between them is organized via Ethernet IP. It is necessary to transfer some tags from the Cimplicity to the controller Control Logix. How to do it better? Through Rslinx DDE OPC or write scripts in the Cimplicity? 
  21. 1.Can anyone say how can i communicate control logix plc with ethernet to serial converter. here i am not having any eds file.
  22. Could someone please generate PDF report for the ACD files on the attached .ZIP file? They are all RSLogix 5000 v20 files, I needed them for a university report which the deadline is today, but I don't have access to a computer with RSLogix 5000 :S Thanks!  ACD_files.zip
  23. Has anybody tried communicating Allen Bradley 5069 Compact logix PLC with Red Lion HMI ?  I am unable to communicate them in spite of adding AB tags via L5K file which gives me no error. I am able to see all the tags in Crimsion 3.0 software in development mode.  However, PLC & HMI are not communicating with each other. I am able to ping to both, using the same program in PLC of which I generated L5K file.  I think it may have something to do with the driver as 5069 is a new line of PLC Rockwell come out with only in 2016.   
  24. To Infinity

    Hello.  This is my first post and I hope someone has a solution. I have a program calculating Gal/sec adding to a running total and have up to the end.  Using REAL I can accumulate up to 16,777,216 (2^24) and using DINT up to 2,147,483,648 (2^31), but I need to have my registers continue past these limits.  I've read through many topics here and have tried the Rockwell Knowledge Base but can't seem to find a solution that truly works.  I have gone so far as to transfer the DINT to a string, cut the string into pieces and reassemble them in an Odometer type concatenation. If anyone has a suggestion, I would appreciate it.  I know I'm not the only one with this problem. PS & BTW - I'm using Studio 5000 v24 with a 1769 L33ER
  25. Thanks for your time.  We have purchased from auction a Getinge Autoclave (sterilizer) with Allen-Bradley controls (CompactLogix L32E).  The machine has a PanelView Plus 1000 installed.  A CD came with the machine w/ the following files.. HMI Project - (.apa file) Runtime (.mer file) Their is also a compact flash card installed in the CompactLogix L32E.  On the Panel View, their is an external Compact Flash slot, but no card, and on the inside of the panel view (if i remove the back cover) their is a compact flash card slot with a card installed.  I haven't checked what is on either of those cards yet.. We cannot get the program to load on the panel view. When the machine is powered on, the panel view goes through a quick dos setup screen and then the screen turns blue and we are stuck with an hour glass icon.  The icon will move depending upon where you touch on the screen.  I can boot the panel view in safe mode (by hitting the default button, then reset) at which point I get a message stating that the machines files may be corrupted and leaves me the options to Download new Firmware, or Continue.  Hitting Continue nothing happens, and choosing Download gives me Ethernet, or Serial options.  The Panel View is connected to the PLC via ethernet so I choose this option and it  gets stuck at this point. We do not want to make any changes to the program, but just to get it to run on the machine.  We do not have ANY of the software. Any advise is greatly appreciated. Craig