Search the Community

Showing results for tags 'step 15 stays in loop'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 32 results

  1. TIA Portal for beginners

    If you learn more quickly after watching videos about PLC like reading the literature without example, then these videos can help you if you are a complete beginner. Enjoy it  (If this is against the rules of this site then sorry for spam  )   PLC:   1. How to create project in TIA Portal   https://www.youtube.com/playlist?list=PLqYtPgi-xbbgUBs7nrNmq5ManYyQ-hvKK       2. Program blocks   https://www.youtube.com/playlist?list=PLqYtPgi-xbbhlni7Uw9-lfs8UIykpuubF       3. Bit logic operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbitdaKvFJv9WZEOj7VrMf_0       4. Timer operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbiaWQL8lXja1_Kd1z-jeDXr       5. Counter operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbgfyg2dwDiR7xzsaXtdI9xo       6. Comparator operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbgs-WgOvePyRUKgnDBK-qfx       7. Math operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbgInRxxraaX6RG5LUS8gcpM       8. Move operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbjQQEXr_bhzjKvNCjBeS1Zw       9. Conversion operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbjsjfMUtVn3QQ6MJM7cBpTW       10. Program control operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbgFtnxDkNZ7Amps67nr-KHX       11. Word logic operations   https://www.youtube.com/playlist?list=PLqYtPgi-xbbh6bGa9bgy6cJhVi-RhF0gH       12. Shift and rotate instructions   https://www.youtube.com/playlist?list=PLqYtPgi-xbbhlUnK9ECCKUccqt91Qsw6e   HMI:   1.       Beginning with HMI devices   https://youtu.be/EF4Qprf0Mn8   2.       Basic work with screens   https://www.youtube.com/playlist?list=PLqYtPgi-xbbgPAApJCAGcPZOHViTAT9C1   3.       Basic screen objects           4.    Elements objects   https://www.youtube.com/playlist?list=PLqYtPgi-xbbgOSznFb03Rr_St-2WFcygo         5.       HMI Alarms   https://www.youtube.com/playlist?list=PLqYtPgi-xbbi_V7XENgupV7HFjOJI7Yes   6.       User administration   https://www.youtube.com/playlist?list=PLqYtPgi-xbbgDP9dfAOkW3eodC5aH0kmR         7.       Scheduled tasks   https://www.youtube.com/playlist?list=PLqYtPgi-xbbjsaMlovHL2BDrju8kKgkZi     OTHER: Siemens PLC - Hardware configuration (SIMATIC S7-300) https://youtu.be/WVkAGKsxftw     Siemens HMI/PLC - communication (Basic Example) https://youtu.be/AcN50TShHgY   Siemens PLC - Firmware upgrade/downgrade via TIA Portal https://youtu.be/qEsS7RR7QIw   Siemens HMI/PLC - Recipes (Basic Example 1/2) https://youtu.be/wLmH-QT3T9U   Siemens HMI/PLC - Recipes (Basic Example 2/2) https://youtu.be/_2K6l7dYuqY   Siemens PLC - Upload program from PLC to TIA portal (PC) https://youtu.be/igw-4CxjnLw   Siemens PLC - Add and install GSD file in TIA Portal https://youtu.be/LJKUzv3Zykw   Siemens PLC - Activate and work with Web Server in TIA Portal (Part 1/2) https://youtu.be/WCpiej4S8-U   Siemens PLC - Activate and work with Web Server in TIA Portal (Part 2/2) https://youtu.be/xl4pxLK0CDY   Siemens PLC - Scaling/Converting Analog Input/Output (0-20mA to 4-20mA and vice versa) https://youtu.be/BOjFlhAwO0k   Siemens HMI/PLC - Linear scaling of HMI Tag (PLC/HMI tag scaling) https://youtu.be/XBUknb3JDfE   Siemens HMI - Changing of Date/Time format (12/24 hours format) https://youtu.be/bCVKFrLwzWA   Siemens PLC - Configuring and commissioning of SIRIUS ACT (PROFINET IO) https://youtu.be/yIW6kta34_s   and more...      
  2. IC200EBI001 firmware upgrade problem

    As I follow the instructions as shown on the instuction leaflet 82A1043-PM01-A1 The whole proces stuck at step 15. leds are blinking "waiting to receive new firmware"  but  ftp command  "put"...  fails   reason: "no connection with host"  Does someone has experience with this firmware updates? regards John
  3. Siemens Moore Mycro 352

    Hi, I was wondering if anyone knows where I can get the configuration software or the manual for Siemens Moore 352 and 353 digital loop controllers? I would be willing to purchase the software if anyone has a copy. Thank you. 
  4. E-Designer

    I have E-Designer 7.52 Build 344 installed on 3 windows 7 laptops the 2 that the problem is on are Pro 64 and the 1 thats working is Home Premium 64 but I seem to recall having this problem on the the Home one 9 years ago and getting it sorted but cant remember how The problem In Alarms,  Alarms New Alarm Alarm text: When typing cursor stays at left side and can only be moved to the right by the arrow key then jumps to left side after letter is pressed or you can type in reverse Signal:        Typing works normal OK:             Entry is not valid ;May not be blank Copy: Ok: Same result Properties:Ok:Same again Is there anyone who can help me with this as the laptop that works is on its last legs Thanks  
  5. Hello to all  We have a problem with starting CPU. In GX Developer we click "Diagnostics" and see Error 2400 File set Error. What causes this error? Error code list[Error code 2400] and point to step / parameter 1100 we already have format the memory the last thing not tried yet is :  - swap the CPU , (still in process provide by purchasing) - change memory battery (as per suggest by machine vendor) kindly needs some suggestion if anyone experienced this problem, or maybe some tips    Applicable machine    QnA series PLC ===================================================================================== Error code(SD0)    2400 Error message    FILE SET ERROR LED status(RUN)    OFF LED status(ERROR)    Flashing PLC operating state    Stop Diagnostics timing    At power ON & reset [FILE SET ERROR] The file specified with a parameter does not exist. ■ Collateral information • Common information: File name/Drive name • Individual information: Parameter number ■ Diagnostic Timing • At power-on/At reset/At writing to programmable controller/STOPRUN Read the individual information of the error using the programming tool to identify the numeric value (parameter No.). Check the drive name and file name of the parameter corresponding to the value, and correct it as necessary. Create the specified file and write it to the CPU module.
  6. have a good day! and thanks for reading! this is video when i start program (after 10second the Axis4 move couple of times : https://drive.google.com/file/d/1HNB07ZzH0-lBHFFwaRIhcSGUxp1m0XHz/view?usp=sharing   if you see the images that i attached you can see, IF test - afterConverData1 > 0.1 MC_MoveAbsolute4(Axis4~~ ElSE IF test - afterConverData1 < -0.1 MC_MoveAbsolute4(Axis4~~   if the plc run cycle ever 1ms, why that code don't executed every 1ms? example, test - afterConverData1 this condition value go over like 10 or -10 but the condition > 0.1 or < - 0.1 dosen't figure it out to run the code "MC_MoveAbsolute4(Axis4~~)" they just run code couple of times  What am i do for this...?  
  7. Hello from korea :) i got some problem writing loop code in sysmac studio what i wanna do is simple, running process together with loop if u see the picture that i attached there is IF condition, i want my machine run loop in "if" condition but if i use while loop maybe other process dead right lol? in words... running process, i want my machine check the "if" condition....   What can i do in this case?   Do i have to run whole process in loop?    is there any way to run loop with Other process keep going....   Thanks for reading!  
  8. Structured text syntax error

    I'm writing a Function Block in Structured text language. I'm only testing, so the function doesn't do what it has to do. However, my first step is make a for loop inside a while loop, this is for increment the value of a index register while a condition is true.   My code so far:   WHILE X100 DO;          FOR ID_INDEX := 0 TO 99 BY 1 ID_INDEX;         ID_INDEX := ID_INDEX + 1;     END_FOR;                     END_WHILE;     X100 is my boolean for general start. ID_INDEX is the index for a array that I want to manipulate.   The errors that GXWORKS2 tells me are the following:   -  Cannot find 'END_WHILE' in a statement. Please check the error display statement or the preceding one.    C8006 -  Parser error.    C1200   This is the first time that I write code on Mitsubishi structured text, so I based on the examples that I saw on the structured text manual.   
  9. Hello My emulator go to fault state as soon as it goes online and runs (Within a second) and the following error  Code 01, (May have been caused by an infinite loop, a complex program, or a higher priority task.) The same logic runs perfectly fine on a colleague's laptop  I'm using  RS Logix 5000 V30.00  Emulator V30.00.01 Running on Virtual Machine, Windows 7 Host system specs are:  8 GB RAM  Core i5 CPU @ 1.80GHz Socket 1 Cores 2 Logical Processor 4 Windows 10 Virtual Machine's specs:  4 GB RAM  Number of Processors: 2 Number of Cores per Processor: 2 Kindly suggest a suitable solution, what is the possible cause of this fault.    Thank You  
  10. I searched FX5 manuals and it appears that with the high speed inputs I can run a stepper motor without a motor controller. I have little experience setting up a new system with any motor but have made changes with servo issues. I sent a request for info from my supplier but I still have some questions/requests.   1. Can an FX5U control stepper motors without a motor controller? 2. If not then what Q/R series setup is required 3. Are there any document to help understand? (program examples are welcome)   Main objective is to run a sensor head to 3 or 4 specific points using a belt driven linear actuator with a nema motor.
  11. Loop through optimized DB.

    Hi guys. Im trying to figure out how to loop through a number og object i an db. I received some controls modules for a project. I have to chaeck if any of them have an unacknowledge alarm. I could do it the manualle way but theres alot! there's 5 alarms on every analog. So I started to do a loop as i would have done it before theese optimzed block was an option... As I tryif to show in the picture theres a mix og optimized and non optimized block. the Bit "SCADA_ALARM_ACK", How can i loop through all 5 of them and then go to next opbjoect lidsted in the static? Please let there be a solution other than manualy check every single one......  
  12. Siemens Field PG M3 - PLC Programming Rugged Laptop for Sale   Condition is Used   This is a Siemens Field PG for PLC Programming.   Purchased several years ago as part of an auction lot and has sat in my workshop since, I don't do much Siemens so this is up for sale - This is what I know about it :-   The machine has Windows 8.1 Pro 64 bit installed (Machine has Windows 7 Ultimate on the base but been upgraded at some point) 8GB ram installed It has a windows XP VM installed which runs the Siemens Programming software (Virtual Box) There is a folder on the desktop containing the original installation files, so would be easy to return back to the host machine if required. All software appears to be licensed (see pics)    Has Step 7 and Step 5 installed   Negatives - Missing the back flap & Battery not being recognised thus not taking on charge (I think this is a just BIOS update needed but not looked into it too much)   In very good overall condition, a few light marks but that's about it, still looks very good.   Comes with the original branded rucksack    This was a really expensive bit of kit in its day and still stands up as an excellent PLC programming machine   Open to sensible offers - I am located in the UK so worldwide postage will have to be calculated seperately   I have powered it up and it works well with no issues found, the PLC software all seems to work and appears fully licensed but as I am not the original owner and don't know the provenance of the machine or licenses this machine is sold with no returns or warranty provided.
  13. Hello, CJ2M CPU-32 to IAI motion controller through ethernet/ip I'm working on programming electric actuators to pick up parts from a tray. I will have x (row) and y (column) coordinates that I need to update to move the actuators. So to go through the whole tray I would have to use nested loops. (below what i'm trying to achieve if i was doing it in C++)                                           6 Rows and 6 Columns, palettizing                                           data rows&columns DWORD (Row1,row2,row3...row6; col1,col2...col6)                                           c++ code                                           for i=0,i++,i<6;                                               rowData = row                                               for i=0,i++,i<6;                                                   colData = col                                                   execute movement                                                   wait for confirmation                                               end                                           end I have a way of doing it but it will require a lot of repetitive lines and typing every step, and I was wondering if there is a way on every iteration to increment the data location instead of the contents. In the picture below you can see the example where the goal is to copy data from D8100 to D8000, then in next step from D8102 to D8000, then from D8104 to D8000 and so on. So far in the documentation I was only able to find how to increment contents. Is it even possible to do what I want to?
  14. Hi everybody,For a while I’ve been wondering, in every plc forum where the use of loops come to discussion I find most people answering that it’s best to stay away from them and that there are better, easier and mostly less scan time demanding solutions out there. Why is that?In my experience they’re the next best thing.Why would referencing data from an array of 40 Dwords using a FOR X:= 0 TO 40 DO loop be any more scan time demanding then the PLC scanning through 40 rungs of statments?Just curious if I’m missing something here. Cheers
  15. SEIMENS step 5 cpu 103

    Please see attached and help me convert this STL into ladder. I think I did it right just want to check. MX-4070v_20191025_132146.pdf
  16. Hello,  I have 30 recipes(g_Blend_Recipes) and want to search for an item number in the recipes and compare it with what the operator enters on the HMI. The recipes itself is an array and there are 5 item numbers in each recipe. I read about the FSC instruction but did not figure a way out yet. I am attaching a picture of the recipe. Any help would be appreciated.     
  17. Exceed maximum step size

    Hi guys!   Need some help from the real specialists!   I`am used to work normally with Scheider Unity and make my program`s always in function blocks. Now working on my first GXworks2 project, and programmed the whole project also in FBD.   I have an FX2N-32MR plc, and defined in the configuration the maximum step size of the cpu to 8000 steps. I have compiled my program successfully, but the result gives an program size of 10217 steps. (and i`m not finished programming yet)   Converting the program to ladder or ST is not possible i think....?  (and i`am not very familiar with those languages) Add additional memory card is also not possible because of the type installation. Did have some self-made function blocks inside, but they are very simple.     How is counting of steps working in GXworks2? Are the 8000 steps for the complete project, or per POU, so than split into pou,s will reduce steps??  Strange is when i add one single BIT move block into the program, and compile again. Program size becomes 10229.  (so the one move block is 12 steps?)   Are there any tips for reducing the memory/program  load?     
  18. Hi there all, this is my first post. I am DIY novice, building a control panel for my 5 axis CNC router. I need help with a few questions. I have 5 power supplies that are 220 volt. Is it an acceptable practice to fuse just one leg of the power input. It seems when using fuses instead of a circuit breaker that trip both legs together, Using a single or double fuse would protect the unit. It seems the problem is if one or two fuses are used, just one fuse would blow and the other leg is left hot, is that a problem? Can I fuse just one leg? Next question. Should I use the same grounding buss bar to ground everything. The main 220 volt power input, the computer, the DC power, the DC control circuit, the machine tool, the stepper motors, VFD, everything? Is there a potential for a ground loop or any other problem? Thanks for your help onthemarc
  19. how to download new program (step 7)

    Hello, i am new to step 7. I am trying to download a program but it wont let me can someone tell me why i am getting this pop up? Thanks    
  20. Gx Works 2 ve fx2n için bir fonksiyon kütüphanesine ihtiyacım var. Servo ve step motor kontrolü için.   thank you
  21. Hello, I need to make an ethernet communication Siemens S7-300 <> Omron G9SP. The HW of the Siemens that i us are CPU 315 2DP and CP 343-1 Lean. I did try to follow the Omron manuals Z922 and Z924, but faced with some problems. First of all in Z924 there is no complete HW configuration of Siemens (communication configuration is missing). Also, formats of messages differ in both manuals. Maybe there is an Simatic Step 7 project example, that i could open with Simatic Step 7 manager to do a deeper investigation, or maybe somebody has a lot more experience in this case? Thank you in advance.   WBR @rturas
  22. BeckHoff programming

    Hi to everyone, i'm a junior programmer. My boss told me that i have to study a new plc: BeckHoff. I ask you if somewhere there is a guide about this plc, and about ST language used in this plc. I tried to use the help function on TwinCAT 2, but it doesn't explain lot of things. Before that, i used to program with ladder language, so i don't know nothing about ST. I hope in one of your help. 
  23. In fx-64mr ,used medoc, i found instruction like pic,icant read on leader program, and found error if test, error is step 1304 too big.so if i want to upload from medoc file to plc have error invalid intruction. How to read intruction in leader and how to uploaded this file to fx-plc. Note: this file i get from fx-plc. I am download via medoc(plc to medoc).
  24. Hey guys,  Not really new to Allen Bradley per-say but I am very unfamiliar with PID loops and the best way to utilize them.  To be honest I had never even heard of it until a colleague said that it would be the best way to run my program.  Let me know what you think.  Here's the application. I have an Allen Bradley MircoLogix1400 with IF2OF2 analog card.  Controlling the speed of a motor via VFD. 4-20ma signal coming in from the flow meter of water entering the tank. 4-20ma signal coming from scale letting me know how much of the other product is left. 0-10v signal from PLC to VFD to adjust motor speed. The customer is going to have a separate system controlling water into the tank, we are going to use the signal from flow meter to measure how many gallons of water are entering per minute. My system will also be measuring the weight of that product in stock and feed it into the same tank as water at a 10:1 water:product ratio.   The motor will be running an auger that pulls product from stock and dumps it in the tank.  So we will be measuring how much weight is being lost per min and convert that to gallons per minute.  So once i have the rate of water flow in gpm and the rate of flow for product in gpm, i assume thats when the PID comes in?  Can anyone give me some pointers.  I'm positive it's not as difficult as I am making it out to be but again, never used it before so any little bit of info helps!   Thanks
  25. PID LOOP HELP

    Okay if I Have a drive with Freqencey signal back and a 4 to 20ma signal to drive the HZ up on the drive and at 300 psi and i need to maintain a Frequency in correlation of the pump curve what is the best way to do that?