Search the Community

Showing results for tags 'logix 500 math with decimal point'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 59 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. Convert time

    Hello. this is my firs post is possible to convert the elapsed time of timer to real or int i need to make some math operation with the elapsed time thanks  
  8. 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.  
  9. 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
  10. 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
  11. 1734 IA4 confusion

    Hello All, I will first state that I am very new to the world of PLC's. I do the control drawings where I work. I'm trying to figure out the 1734 Point IO, specifically the 1734-IA4. The manual states "Module power is supplied from the internal power bus". Does this mean I do not need to run ANY power wires to the modules? The installation manual shows points 4,5,6 and 7 as "L1" wires?? The system I am designing, from left to right has the following: 1794-PS13, 1734-AENT, 1734-FPD, Followed by Qty. 11 1734-IA4's. I'm bringing 120VAC and 24VDC to the 1794-PS13. From the 120VAC terminals, I run wires to the FPD. From the 24VDC terminals, I run wires to the 1734-AENT. On the first 1734-IA4, I would think I should bring any power there, because its already back plane fed...….correct? Or DO I run power wires there? Thanks in advance
  12. Device point error between Parameter and PLC

    Hello all, I am a beginner with PLCs programming. I have an issue on GX Developer programming software from Melsoft trying to program my Mitsubishi Q-series PLC. CPU is Q03UDCPU. When the program is written and I try to upload it to the PLC, with the write to PLC window, I check -Program -- MAIN and -Prameter -- PLC/Network/Remote, click EXECUTE and a message appears : "Device point that is set in parameter is not match the device point in PLC". I can't fix it. In Parameter - PLC Parameter - Q parameter setting (window) - I/O assignment tab : I have (see image). Whe I use CHECK button it says there is no error. The X41 input device is plugged on slot 1/00. I am making this folowing the instructions a PDF I found on the Mitsubishi electric's wesite : Q-series basic course (for GX Developer). Thanks for the help, A. S.
  13. 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?
  14. 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
  15. 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
  16. How to watch the value in decimal directly in the ladder page ?  Default Hexadecimal The only way I can do it is in Watch Tab and I/O map per example Thank you
  17. 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.
  18. I am definitely a newbie in the world of PLC's. So I hope this doesn't sound like a dumb question. I do the electrical design for PLC's and have only done this for a few short months. I am currently working with a Point IO PLC. This is the first one I've seen. Because of the qty. of input and output modules, we had to add 1734-FPD and 1734-EPAC to boost the power. Easy enough, I get that. I bring power to the 1734-AENTR.....then, do I hard wire to the next module, or are the next adjoining input/outs connected view the internal power bus? Same question goes for the 1734-FPD and 1734-EPAC. I understand to bring power to those devices, but do I hard wire to the first module or is it automatically connected via internal power bus? I have done my research before I posted on this site. I think some of the installation manuals for these devices are conflicting., I think that's why I'm so confused. Thoughts? Does anyone know of a good trusted manual for such a question. Thanks in advance
  19. I am definitely a newbie in the world of PLC's. So I hope this doesn't sound like a dumb question. I do the electrical design for PLC's and have only done this for a few short months. I am currently working with a Point IO PLC. This is the first one I've seen. Because of the qty. of input and output modules, we had to add 1734-FPD and 1734-EPAC to boost the power. Easy enough, I get that. I bring power to the 1734-AENTR.....then, do I hard wire to the next module, or are the next adjoining input/outs connected view the internal power bus? Same question goes for the 1734-FPD and 1734-EPAC. I understand to bring power to those devices, but do I hard wire to the first module or is it automatically connected via internal power bus? I have done my research before I posted on this site. I think some of the installation manuals for these devices are conflicting., I think that's why I'm so confused. Thoughts? Does anyone know of a good trusted manual for such a question. Thanks in advance
  20. CX-Supervisor 3.4.1

    Hi After updating CXS to ver. 3.4.1 I can't see point address I can see them when I editing but in the list form only the array len. is shown. When I enter a new point I can see the address. Anybody now hove to solve that ? Banker
  21. 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
  22. Ethernet/ip to modbus rtu

    HOW TO CONNECT AB 1769-L33ER ETHERNET /IP TO MOD BUS RTU
  23. 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.
  24. Point I/O 1734-AENT to LabvIEW

    Hello, I am new in PLCs, I hope you can help me. We are working to communicate point I/O 1734-AENT Series B to PC (LabVIEW) by Ethernet/IP. We need to read inputs from slots and need to write output to slots and the library we are using in LabVIEW needs class, instance and attribute parameter to comunícate with specific slot. I read those parameters you can configure that in the web page allen bradley (you put the IP point I/O in the browser internet) and then configure those parameters in the tab diagnostic messaging but for my case that tab is not visible, so I could not configure this part. Can anybody help for that? and help me to give me more information about class, instance and attribute CIP (Common Industrial Protocol). Best regards Carlos Luevano Test Engineer specialized in Development Software LabVIEW.
  25. 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.