Search the Community

Showing results for tags 'code generation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 44 results

  1. Hi All, I am pretty new at electrical design for PLC control panels. We are a UL508A shop, so this is the code I refer to most. Something struck me as odd when I was trying to size wire for this control panel. UL508A 28.3.1 says this: The required size of the field wiring terminal shall not be less than 14 AWG (2.1 mm2) and shall be determined by: a) Calculating the required ampacity per 28.3.2 – 28.3.6; and b) Determining the minimum field wiring conductor size from Table 28.1 having a corresponding ampacity that is equal to or greater than the required ampacity from (a). How can the minimum wire size be #14 AWG? We use #16 AWG for wire to the PLC modules? Are we breaking code or is there something I am missing? Also, understanding code books can be difficult. Is there a website or place I can go to get a plain English translation? I feel like I will read a sentence over and over again to try to understand what they are saying, and feel like there's is a much easier way to say it than the way it is written. For example, "28.3.1 b" ……...what is it really saying?  
  2. Hi everyone - my first post here.  I have a customer with a SLC5/01.  The controller is 1747-L511.  Battery seems good.  The fault LED is flashing.   I tried to connect to it using RSlogix500 and I got this message (photo1).  I selected 'Load From EEPROM' and got this notice. (photo2) Customer has the printed ladder but I can't tell which data types are what. everything is just numbers - no B's, no I's and no O's.  the timers and counters are just numbers too. Luckily the printed ladder has a cover sheet, which led me to the PLC2.(photo3) The rack has two 8 channel inputs and 2 8 channel outputs.  I would like to replace everything with a micrologix 1400 or something, if I could translate the code. Can anyone advise on this matter please?      
  3. good day! I would like to put some ascii code in a device: D3000..D3009 has to be filled with 0x5F54 0x4F5F 0x4150 0x6F73...  ("_TO_APos")  When I fill it using an ascii-input-field in the designer and press "enter" it works. But I would like to put this text automatically in D3000 and following register, when the user press a switch-object. I tried with an 10 actions  "keycode" but I don't see how to say that the key code shouls be saved in D3000. Can somebody tell me the best way to fill more word devices with only one object switch? Thanks in advance   MEBoerner  
  4. Are there any good guide books out there that parse down the NEC to the sections relevant to controls engineering and panel building?
  5. FX-3G MODBUS

    fx 3g modbus.gxw
  6. I've been building a contraption with linear rails and stepper motors. It has an X, Y, and Z axis. I'm using Velocio PLCs to control the motors which seems to be work well so far. I understand these are not very common and my question are related to general motion control, not Velocio programming specifically. Since I'm new to PLCs, programming, and stepper motion I thought I'd ask for some input instead of trying to reinvent the wheel. I'm to the point in the build where I'll be adding emergency stop/limit switches and am wondering how to go about writing the program; if there's an "industry standard" way to go about it. I figure the PLC will check to see if any switch is active. If one is, drive the motor away from it till it's inactive and store the location. If one is not, drive the motor until a switch activates then back off a until it's inactive and store the location. Drive the motor to the other limit of the axis (the number of steps should be known) to activate the switch, back off and store location. Rinse and repeat for the other axes. Is my approach about right?
  7. Hi every body! Now I use a Q-motion controller Q172DSCPU with advanced synchronous control method. I try to synchronize 4 axes with Axis1 as command generation axis. The problem is that the command generation axis current value is not be cleared to zero after restarting the cycle. It should be cleared to zero to be kept within stroke limit during the process. Thanks in advanced  
  8. Hi everyone...im new on clerarscada 2014 R1.1 . I dont know how to generate report in clerarscada 2014 R1.1 . Only report generation is remaining in my project. Is anyone known about this. Plz help me
  9. What is M code in mitsubishi qd75d4?

    i have a question about M codes. what is it? using QD75D4 motion control
  10. Help Programming a Beckhoff PLC

    I have a very simple problem that I need help with.  I have some programming experience but I am brand new to PLCs and structured text.  I am using TwinCat 3 to program a Beckhoff CX9020.  My goal is to read the temperature from my thermocouple and open or close a valve based on the temperature.  I have successfully connected the PLC to the TwinCat software and I am able to see the value of the thermocouple increase and decrease when I touch it with my fingers.  I need to link that value to a variable in my code so I can have the valve act on it.  I don't know how to properly address the inputs and outputs.  Thank you!
  11. Gents, i'am getting error code 8 when i try to read from another plc . Both are siemens im151-8 plc's. I hope anyone can help.   Regards, Mucho
  12. Error code: 4140

    Hallo. Recently ive got an error i haven't seen before. Error 4140 im using GX IEC developer  CPU is Q06UDEH I cannot figure out why the error happens.  When show the location to the step where the error occurs it makes no sense. The specific area has only got simple bool operations. When trying to recompile the entire project. The error "moved" to another location in the program. At this step there was a lot of float operations. When monitoring one of the variable value was NAN. I could not find anything about NAN in the manuals. But google stated it could mean not a number, which makes sense when reading the error description. I know it impossible to help me with my specific problem, when i cant really tell where or why the problem happens. But im pretty sure it has to do with me using float operations wrong. Ive tried to do a simple test program just to see if i could provoke the error, but no luck. How can i make a number go out of range, make it unnormal, nonnumeric or even infinite? Maybe someone could give me a simple example how to provoke this error, which might help me on my search in my own program. Thanks. Below is a screen-dump from the manual on this error.
  13. Bit strange - I use CompoNet all the time and just had my first issue. I found Remote I/O error code 9 in the CPU but cannot find what the code means. Went through the manuals and all errors appear to be in hex. Can anyone help at all please?
  14. Greetings, I'm ok with RSLOGX 500 but am an absolute beginer with RSLOGIX 5000 and was wondering if anyone had any simple sample code just to study. I would love something using analog input and or analog output. thanks in advance.
  15. Hi everyone, Currently i am having a PGP server fail to connect to the node as per the ICI status screenshot as per link below. https://www.dropbox.com/s/0qg435zkqzou9p3/Node%20Disconnected.bmp?dl=0 Appreciate anyone can assist me on this matter. I'm a new control engineer who just started working in a power plant and has limited exposure to the troubleshooting of this and i really hope that any of you can assist me. Thank you very much.
  16. Hello! I am programming with FT view studio version 8. In the program, when I make numeric display, I can not input values for this tag I am using in the display. Then I decided to make 'invisible button' for enabling the input for this tag which is shown in the numeric display. This is okey for me, only if there is other ways to do this please tell me. Now when I have created this numeric display with input enabling -'group', I have a problem, how can I use security levels for this group, so that only logging in values can be set? I have found that there is security code selection for this in the screen displays, but not for the buttons.
  17. Hi all and nice to meet you here! I hope that someone with experience helps me and I hope in future to offer also my help to someone. I am having problem with a Mitsubishi plc with A2N (S1) cpu installed on a machinery. The machinery stayed 20 days switched off and with battery empty as I realised when switched on and the problems come out. I changed the battery but the problem didnt resolved. The plc gave error with stable error led and flashing run led on the cpu. Also an error led stable on a (double role) module of printer and ram. I have to say that I have never used GX developer environment before and it is my first contact with Mitsubishi plcs. Reading some manuals (found on the internet) and by using GX developer I read from plc the faults. Register D9008 was set at 12 error meaning MISSING END INS. I Followed the described flow charts from a2n manual for reseting faults but the situation was the same always as described above. I tried to read the program from plc and succeded to read it. It is a lader with about 6000 lines. Anyway I have no previous experience of the GX development environment but I tried to put the missing END in the program as sugested also by the flow chart in the manual. At this point I have to say that it was automatically added from gx developer as I can remeber from an appeared message. I verified also many times the program on gx developer with the plc and the only difference was that missing END at the last line of ladder program. Anyway I tried to write back to plc the program with correct end but it was not possible. I tried several times. The error mesages took with Gx developer was the following : "THE SAME T/C COIL EXISTS IN PROGRAM (MAIN) AND/OR PROGRAM (MAIN-SFC). THE VALUES ARE SET TO BE THE SAME AS IN THE FIRST FOUND T/C COILFROM THE TOP OF PROGRAM" "THERE IS A DEVICE IN THE PROGRAM (MAIN) THAT IS OUTSIDE OF THE RANGE. CHECK THE PROGRAM AND CORRECT THE DEVICE THAT IS OUTSIDE THE RANGE." Anyway I decided to delete the plc memory. After that the run was stop blinking and the error led went off. Only the error on the printer-ram module was on (This module was changed with a know functioning one witout any variation on behaviour). I thought that problem has gone now that the cpu is empty. I tried again to write the program to the plc but again i take the above mentioned messages. Now I have an empty plc and a program on the Gx developer that cannot be written to plc!!!!!!!!!!!!!!!!!!!!!!!!! I am desperate!!! I do not know how to proceed. I am not knowing the mitsubishi development environment. Other than Gx developer I tried to install the GX simulation but it not works to my computer. At this point I dont know even if the ladder program is somehow corrupted after the described above messages. I can sent the code (GX developer project) and any other information to someone expert, if necessary, to have an opinion. Please help!!! Let me know how to proceed!! I have to write back the code to plc !!!!! Thank you all in advance!! Now i realised that there is SFC that is my problem. Could someone help please? Big part of ladder is in yellow color. How can i proceed?
  18. Hi, Did somebody try or know how to create a QR code on HMI screen? The goal is quickly read data from PLC with a smartphone. regards, Wal