Search the Community

Showing results for tags 'fuzzy logic'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 42 results

  1. looping

    how to make looping in ladder logic? but i want to make the data +1 each time until 3 and return back to 0 after reaching 3.
  2. Monitor alarm block

    Hi all, I would like to monitor the status of my alarm word (MW100) and if any bit turns from 0 to 1 then an alarm signal should be generated, am new to siemens plc and am having a tough time accomplishing this easily. In omrom CX programmer its quite easy to do. Could anyone help me on this using ladder logic, all help will be deeply appreciated.  Regards, Ablex  PS: I'm using Step 7 V5.5
  3. Hi guys, I'm in the middle of a little university project, I'm attempting to implement a control system purely based on artificial intelligence. A neural network will be used to map the characteristics of a power plant. A fuzzy logic controller will be used instead of the conventional PID and finally a genetic algorithm will be used to tune the controller while the system is online. This is all simulated of course. Each of those AI's will be developed in Matlab. Only problem with that is, is it outputs the code in C or C++ (From memory). I would have to convert this to structured text (Based on Pascal). So to circumvent this problem I thought I would just directly interface matlab to the PLC (Schneiders M340).  My idea being, all the calculations are done in matlab which are then sent back to the PLC. However this presents me with a new problem of how I would be able to interface matlab to the PLC. If anyone has experience with this sort of connectivity, any advice would be greatly appreciated. Thank you in advance, Luchek
  4. Hi, I am using syswin and i am doing an exercise on saving and moving data. My challenge is am monitoring temperature from a sensor and the range is -20'C to 100'C from the 4-20mA sensor, after conversion and testing for positive and negative the values are stored in D205. (I have done the conversion and testing for positive and negative values only assigning of bit 15 in D205 is left) The simple program has to turn on Bit 15 if the value is supposed to be negative. 1000 0000 0000 0001, a simple approach to telling us this is -1’C.  0000 0000 0000 0001, is telling us this is 1’C. Bit 15 is going to be our Sign Flag, so we have to ensure that if the temperature is positive then  Bit 15 = 0, how can we do this make Bit 15 of D205 = 0? If the temperature is negative then  Bit 15 = 1, how can we do this make Bit 15 of D205 = 1? How can i turn on this bit inside a data word? for negative i thought i could just add #8000 to the values after conversion then storing in D205 but for positive values how do i ensure that bit 15 is 0? How could you approach this? Am a bit stuck, all thoughts and ideas are much appreciated if possible you could add a snapshot from syswin or cx-programmer. I have attached the WTANK.SWP file which can be opened in syswin or cx-programmer. Look in block Main 8 Temp Buffer, Network 3 Convert to 'C WTANK.SWP
  5. There are a lot of instructions in function block that are missing the enable input that is present when programming in ladder logic, such as  ADD or MOV.  It seems to be very limiting. The only way around it that I know of is to write your own function block in ladder logic or statement list and use that. I seems rather limiting of a language if it relies on other languages for it to be usable. Does anyone know why the enable bit was left out in many function blocks when it is so useful in ladder logic? Pat
  6. RSlogix500 Tutorials `

    I was hoping to get feed back on my website.  The site is for beginner PLC programers. The tutorials start right from the beginning with describing what a PLC is and then teaches basic instructions. Please take a look and tell me what you think, I would love the feedback.   thank you   ladiesandtech.com   1. What is a PLC Part1  https://ladiesandtech.com/2015/12/03/watch-whatisaplc1st-on-youtube/  2. What is a PLC Part2  https://ladiesandtech.com/2015/12/09/watch-what-is-a-plc-part-2-on-youtube/ 3. What is a PLC Part3 https://ladiesandtech.com/2015/12/15/watch-plc-programming-tutorial-for-beginners-part-3-on-youtube/ 4. What is the Binary Numbering System https://ladiesandtech.com/2016/04/01/watch-what-is-binary-numbering-system-and-how-to-convert-to-decimal-on-youtube/ 5. Relay Logic Intro https://ladiesandtech.com/2015/12/04/start-stop-motor-circuit/ 6. Relay Logic Intro Start/Stop with a seal  https://ladiesandtech.com/2015/12/04/watch-stop-start-relay-control-circuit-on-youtube/ 7. Relay Logic to Ladder Logic https://ladiesandtech.com/2015/12/04/watch-relaystopstarttoladderlogic-on-youtube/ 8. RSlogix Communication Driver and Configuration Tutorial  https://ladiesandtech.com/2016/01/14/watch-allan-bradley-comms-set-up-on-youtube/ 9. Micrologix500 Communication Set Up Tutorial https://ladiesandtech.com/2016/01/14/watch-allan-bradley-comms-set-up-on-youtube/ 10. Timing Relay Lecture https://ladiesandtech.com/2016/02/11/watch-timing-relay-on-youtube/ 11. RSlogix500 Timer On TON Instruction Tutorial https://ladiesandtech.com/2016/02/14/watch-plc-rslogix500-timer-on-delay-ton-instruction-tutorial-on-youtube/ 12. RSlogix500 Timer  Off TOF Instruction Tutorial https://ladiesandtech.com/2016/02/16/watch-rslogix500-ladder-logic-timer-off-delay-tof-instruction-tutorial-on-youtube/ 13. RSLogix500 Retentive Timer RTO Tutorial https://ladiesandtech.com/2016/02/19/watch-rslogix-ladder-logic-retentive-timer-on-rto-tutorial-on-youtube/ 14. How to do Online Edits in RSlogix500 https://ladiesandtech.com/2016/02/29/watch-how-to-find-and-download-autocad-files-for-allen-bradley-ab-plcs-and-products-on-youtube/ 15. RSlogix500 Counter Tutorial https://ladiesandtech.com/2016/02/25/watch-rslogix500-counters-on-youtube/ 16. RSlogix500 Counter Up CTU Tutorial https://ladiesandtech.com/2016/02/26/watch-rslogix500-count-up-ctu-instruction-tutorial-on-youtube/ 17. RSLogix500 Move MOV instruction Tutorial Part 1 https://ladiesandtech.com/2016/03/14/watch-rslogix-tutorial-on-move-instructions-part-1-on-youtube/ 18. RSLogix500 Move MOV instruction Tutorial Part 2 https://ladiesandtech.com/2016/03/14/watch-rslogix-tutorial-on-move-instructions-part-2-on-youtube/ 19. Rslogix500 Compair Instructions , LES, LIM, EQU etc Tutorial https://ladiesandtech.com/2016/03/17/watch-rslogix-tutorial-on-compair-instructions-grt-lim-equ-les-etc-on-youtube/ 20.How to Create a flashing bit in RSlogix500 using timers https://ladiesandtech.com/2016/03/24/watch-how-to-create-a-flashing-light-program-in-rslogix500-on-youtube/ 21. How to Create a program with a flashing light https://ladiesandtech.com/2016/03/24/watch-how-to-create-a-flashing-light-program-in-rslogix500-on-youtube/  
  7. Mitsubishi PLC

    Dear all,    I need to develop a PLC program for cycle operation. The logic is as follows : When I/p 1 is ON o/p1 should ON, with a time delay o/p2 should ON ,like wise four outputs should ON , if stop button is pressed the output should stop at the current position ,them again if start is pressed it should resume with that output . Can anyone help me with this logic ?? I am using Q03UDE Cpu..Thankyou.
  8. PAROCK1 for HMI/SCADA View File Now a software solution is available for your Modbus (MB) needs in Rockwell/Allen-Bradley Control Logix or Compact Logix (Clgx) family processors, instead of a traditional 3rd party hardware like Prosoft MVI-56, Molex SST-SR4-CLX-RLL etc.  It is an Add-on instruction (AOI) for PLC/PAC firmware v16 or later, (other solutions are available for pre v16 systems).  For hardware interface, use PLC’s channel 0 (serial) or TCP/IP Interface module(s) to have as many MB TCP/IP devices or serial devices.  (Some limits apply based on system configurations, Comm. settings depending on HW used.) Connect any MB Client/Master or Server/Slave device(s) to your CLgx PLC, including flow computers, analyzers, VFDs, Power Monitors, Level gauges, Smart I/O, etc.  All the MB public/native function codes are supported.  32-Bit integers/floats as single entity are supported with byte and word level swapping. A separate utility automates the data mapping to your PLC logic.  Features -Serial Master (BASIC required Option); TCP; Slave; Redundancy; More than 5000 accumulative registers; MB CFC (Custom/Private Function Code) Support; Data mapping too – Between PAROCK1 & your PLC logic; Packaged with Rockwell; TCP/IP Interface Module; Volume Discounts; Annual Support Requirements -Rockwell/AB-CLgx processor with v16 or later.  Contact PCI for earlier versions. -If using CPU’s Chan0, you cannot use Chan0 for any other user mode activity. You can use it for non-user mode activities -TCP/IP Interface Modules from Rockwell/AB supported, are: -1756-EN2xx ControlLogix® Ethernet/IP communication modules, firmware revision 5.007 or later -1756-EWEB ControlLogix Ethernet/IP web server module, firmware revision 4.006 or later -1768-EWEB CompactLogix Ethernet/IP web server module, firmware revision 1.002 or later -1769-L30ER, 1769-L30ERM, 1769-L30ER-NSE, 1769-L33ER, 1769-L33ERM, and 1769-L36ERM CompactLogix controllers, firmware revision 20.011 or later -1769-L24ER-QB1B, 1769-L24ER-QBFC1B, 1769-L27ERM-QBFC1B CompactLogix controllers, firmware revision 20.011 or later -1769-L16ER, 1769-L18ER, 1769-L18ERM CompactLogix controllers, firmware revision 20.011 or later Other Related Services/Items -Custom PLC Add-on instructions building -PLC upgrades, troubleshooting, applications -PC Windows, iOS5, Linux, Mobile devices Comm. Drivers -Custom development, Technology Transfer Services  -Other Non-AB communication drivers for serial or TCP  -Full control system integration, training, architecture design This driver can be conviniently used with Visual Studio in development of complete large scale complex HMI/SCADA Systems. It can be used to perform advanced reporting MES, analytics, IoT, Big data type apps. One example is available to download here For More Info Overview of Parijat Drivers: Click here  Additional supporting Info about Parijat Drivers:Click here Complete Related Driver options: Click here     Submitter Scadadoctor Submitted 03/10/16 Category Other PLC Demo Software
  9. Hello, I am a student that has been taught ladder logic for three years( on many different plc's ) but, I would like to learn an alternative method is there any way to convert ladder into Function Block or some other type of programming in RS logic 5000 or any other controller? If not can some one explain the basics of Function Block programming.
  10. 3 It has been decided to introduce a Programmable Controller into a manufacturing plant to control a three phase induction motor via an autotransformer in order to reduce high starting currents. It is required to include an alarm circuit which is to give an audible and visual alarm when the motor is overloaded. A momentary actuated Reset push button is to be included in the alarm circuit which will turn off the audible alarm but leave the overload lamp on until the motor overload is reset. Once the motor overload is reset the overload lamp is to be de-activated. The conventional relay circuit diagram for this starter is shown below. A single Stop/Start push button control station is required to initiate the following motor control sequence. a. Motor 1 turns on the instant the start push button is operated; b. Motor 2 turns on 10 seconds after Motor 1 starts; c. Motor 3 turns on 15 seconds after Motor 2 starts; d. Motor 3 turns off after running for six seconds; e. Motor 2 turns off 6 seconds after Motor 3 stops; f. Motor 1 turns off 3 seconds after Motor 2 stops. If the Stop push button is operated, or a thermal overload from any motor is tripped, the whole system will shut down. Motor 1 will start the control sequence again next time the Start push button is pressed.
  11. Hello Everyone, I am new to ladder logic, and trying to understand flow of below attached ladder logic- How does the program flow ? Does PT4601_I in rung 3 waits for rung 2 to complete inorder to consider updated value of PT4601_I or it consider PT4601_I default value and runs simultaneously with rung 2 ? Thank you in advacne
  12. Hello, anyone know how to make a logic that monitors the change in position of a carriage through some rails ?. In my application I measure the position of the carriage by means of a laser sensor and I have to detect if the laser beam is interrupted when the carriage is stationary or moving. I have implemented a logic as the adjunct file, but doesn't work.
  13. Hello!! I am a beginner in PLC and Automation. I have built a ladder logic program in RSLogix 5000, the controller I selected is 1756 L62 ControlLogix 5562. I want to test my logic. I have installed RSLinx Classic Lite already. Can I use RSLogix Emulate 500 (free downloadable from Rockwell Automations) for testing my ladder logic?
  14. Is it possible to make the ladder logic display the name, address and comment? If so how can i do this? Thank you, Mike
  15. I'm just starting to learn Ladder Logic Programming. I'm using Allen Bradley RSLogix 5000. I've been tasked with developing a 'Simple' Coffee Machine which operates like so: Toggle Push Button to StartDrop Cup (for 10 seconds)Feed Hot Water (for 10 seconds)If required, Add Milk (for 10 seconds)If required, Add Sugar (for 10 seconds)Procedure Complete - Illuminate Complete Light (for 10 seconds)I have implemented everything except the OPTIONAL add Milk & OPTIONAL add Sugar. Options are: To have a Coffee without either Milk or Sugar.Or have a Coffee with Milk and Not Sugar.Or have a Coffee with Sugar & Not Milk.Or have a Coffee with BOTH Sugar & Milk. I'm considering using Toggle Buttons to select / jump to a Subroutine (choosing the required ingredient make-up). But I'm wondering if there is another way to sequentially go through the procedure? Thanks. http://stackoverflow.com/questions/26930902/ladder-logic-simple-coffee-machine-optional-add-milk-add-sugar?noredirect=1#comment42839041_26930902
  16. hello guys I'm working on a project that requires knowing the first event that put on alarm state to one system and because everything happens in seconds and everything shuts down almost the same time it is very hard to tell the operator what was the cause of the shut down , so I would like to know how to implement a logic to capture within milliseconds the first event that "turns off" the whole plant. Would somebody could help me with this please?