Search the Community

Showing results for tags 'logic controller'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 86 results

  1. I am trying to create an Alarm handler for an NA5 HMI that can tell the end-user the 1SAN Drive AL Status code and an Annunciation according to the manual: I621. I already am using a similar method to use MFaultLvl.Codes in a Case statement that creates a message found in motion controller manuals. Ie. 16#6449: Fault_Axis0 := '1S Axis Immediate Stop Input'; I want to use the AL Status to create messages based on the Hex Code generated by the Alarm ie 16#20: DriveAlarm_Axis1 := '1S Overload Error'; 20hex being the AL Status from the Drive. However I  cannot find how to access AL Status from the Troubleshooter.   Thanks
  2. Emerson 90-30

    I'm working with Emerson 90-30 on proficy machine edition and I'm trying to use a string variable to display words on a graphical panel in target 2 but withing the code itself on target one I cant seem to understand how the reference address works? can some one explain how string variables function and how to use them?
  3. Hey guys,  I'm trying to build a therapy tank for burn victims that requires a few automated processes of which I need help! Essentially this device will function a lot like a temperature controlled "hottub" with an circulation pump but on a much smaller scale (like 10 gallons). I would also like to be able to observe and control the device remotely outside of the users direct control for programming therapy temperatures. The goal with most patients is to start them at a temperature just under body temp (around 94) degrees and the get them down to treatments in mid 60's over time. The machine will used a liquefied burn gel that has a consistency like thin vegetable oil.  Here's what I need in a controller: ON_OFF functionality for a liquid chiller.  Contact relay for reed switch to disconnect power to device when lid is open. (this is a safety feature - when the treatment tank lid is opened I would like for a relay to disconnect the chiller's power through LV to ensure there is no chance of electrical shock.  "Delay On" relay (The chiller is and on_off refrigerant based device that will require a "delay on" relay to allow head pressure to dissipate before restarting) (See below) ON_OFF relay with programmable timer functionality for a liquid circulation pump. (to be set at intervals throughout the day) Temperature controller for K-type thermocouple - this will be used to monitor, maintain, and cool liquid. PID or Arduino? (Will need the ability to establish limits on backend) The ability to display temperature in either F or C Functionality: Ideally each unit would have a controller similar to an on_off temp controller or PID so that the home user could manipulate controls within a limit on the device locally. The device would then automatically maintain temperature based on set point and would have timed on_off sequences throughout the day for the liquid pump which were programmed into the device logic. This functionality in addition to the safety cut off features for use are all I need this device to do. Safety feature - being that this device could be in the middle of a chilling cycle when a patient would want to use it, I would like for the device to have the ability to instantaneously cut power to the HV 110V 16A Pump and Chiller without damaging those devices upon restarting... For instance if someone were to open the lid to feel the water and close the lid again quickly, the on_delay timer set to around 5min would prevent the compressor from restarting until the 5 minutes passed, thus keeping the short cycling from damaging the refrigerant system.   Remote monitoring and commands I would like to have the ability to push settings to these devices all across the city/state in peoples homes. The controller would need the ability to connect to wifi and transmit information as well as receive commands. This feature would be for those who would be put on a therapy program where we would control and push temp settings to their device remotely. Mobiel User Interface The BIG goal would be to tie all of this together and be able to control a device via iPhone or android. User downloads the app - The app has the ability to: turn on off off the device  adjust temperature (again within limits) turn on a timer 15 minute filter cycle with the press of a button Select/program a filter schedule with up to 8 time slots Circulation filter replacement reminders (messaging function) Therapy reminder.  Opt in for therapy pre programming pushes - me pushing temp settings to their device. Thats the novel for now!! Looking for someone interested in building this, or anyone willing to guide me through the process. This is just an idea and my 9-5 is a physical therapist, but I would love to bring this vision to life!   Sorry if this is fragmented or ignorant, but I just need help getting started or pointed in the right direction! 
  4. As the industry of plc and scada softwares continue to integrate more and more programming languages into their IDE, what is the most common language that should be learned by controls engineers (excluding Ladder Logic)?  I mainly use Python and VB for scripting but I am curious what languages other SCADA and PLC programming environments use. Should I be sticking to a specific language and learning it well or just know a little bit of them all? Let me know your thoughts!!
  5. 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. 
  6. Newbie in the field of Automation here! I have a waste water project that requires operating 6 pumps to empty a sump. The water level in the sump is being monitored by an analog ultrasonic sensor. The analog range is divided into 5 levels; level 1 being the lowest and level 5 being the highest. The way the pumps operate is analogous to the water level, i.e., 5 pumps will run at level 5, 4 pumps will run at level 4, 3 at level 3, 2 at level 2, and only 1 pump will run at level 1. The sixth pump is used to run the pumps sequentially and that's where I need help. Basically, the pumps can not be assigned to a certain water level as this would result in the pumps at the lower level run way more as compared to the pumps assigned to higher levels. The pumps need to alternate so as to keep the running hours of each comparable. Another requirement is that say if pump 1 turns on due to water level rise and then turns off due to water level fall, and again if the water level rises, then the next pump should start instead of pump 1, and so on for the rest of the pumps. Also, if one pump goes on some kind of fault, the 6th pump comes in and runs in its stead until the fault is reset. I'm trying to come up with a ladder program to make all this happen but hoped that I could find some help online. I feel like this is a common project and there should be someone that can give me the proper solution. With thanks, Aafaq.
  7. controller is not coming online with rslogix 5000, but i can ping the ip from the pc. getting the error message says "controller failed to come online - error 701-8004250B" appreciate ur help.
  8. What are the types of fuzzy logic syatems and it's applications? Is the fuzzy systems based on the vague value or real values? What are the real time applications of fuzzy logic. I am writing a thesis at best essay writing services on fuzzy logic and it's applications.
  9. Hello friends I have worked with other series of omron plc but this is the first time I am working with cqm1h cpu51 series. In a factory, 4 of these PLCs exchange data with each other with a clk21 card. After a problem with one of the CPUs and replacement, I was never able to download the datalink settings. I did all the steps in the manuals step by step but I did not succeed. In cx-net software, after selecting online, I selected the data link menu, but as you can see in the attached image, the setup button is never activated. Thanks for guiding me
  10. Hey, (Programming a M224 with Machine Expert Basic) I'd like to get some input from you guys about a logical task: I have 8 contactors controlled by my PLC outputs, they heat a water boiler. throughout my operation, I require a different amount of heaters (I could move between 1-8 heaters in a single operation) I would like to scramble what contactors I put in use every time I start an operation, in order to not constantly use the same heating elements and wear specific ones out. For example, in the first stage of heating I will use contactor #1, next time I start the operation I would like to use contactor #2 and so on.. How would you approach this problem? SBR? Timers? Thanks
  11. Hi, Could anyone help me out on how to extract the digits present in a string in sysmac studio... Thanks in advance !!!
  12. Hi All, I am a new user to this Forum and definitely a newbie PLC user, so I'm not sure if this is a simple mistake. I am currently trying to correct the logic (of a sensor) on a PLC program to get a manufacturing machine back up and running. This is an issue that I have fixed via PLC several times previously, but for some reason I am having issues fixing it this time. The issue that I am having is that when I try to dig into the Logic of the PLC program (Programming > POUs > Programs > Logic > ...), nothing shows up where there is typically a PLC command ladder. I get the error "No instruction in rung" next to all of the PLC program modules. I am connecting to a Omron NX1P2 CPU via laptop & Ethernet cord. To give you background on my troubleshooting process, I have verified that the I am connected to the PLC controller, by using the Windows Run program to ping the IP address of the controller. After verifying connection, I attempted to connect to the controller using SYSMAC studio. At this step, a troubleshooting window appeared with the issue "Minor fault" "Tag Data Link Connection Timeout". When I look at the Controller Status at the bottom right corner of SYSMAC, it says that I am online and connected to the correct IP address (green circle). Under that, ERR/ALM has a red circle next to RUN Mode. Ignoring the troubleshooting window, I can click Synchronization and "Transfer from Controller". A dialog box pops up and reads "...Controller does not have the POU program source...". Pressing yes to ignore this, the transfer completes. This is where I encounter the issue of having nothing show up within the path of Programming > POUs > Programs > Logic > ... . I have a feeling that this is a connectivity or settings issue, but I am not sure. I have checked my ethernet splitter (D-Link DES-105) and everything seems to be connected and working. If anyone has some insight into this issue I would greatly appreciate any help. Thank you in advance! Best cszikszai    
  13. Remote Omron and Yaskawa control

    Information : On the websites - https://abrysshost.web.app (and https://abrysshost .firebaseapp.com ) detailed information about the construction of remote diagnostics and control (Iot) systems for control systems of objects based on OMRON and Yaskawa controllers. The information is presented in Russian and English.
  14. Hello Everyone, I am writing one logic and need some help regarding that logic.   CURRENT LOGIC -  -There are two timers TON_1 and TON_2. -TON_1 timer will start as soon as PLC turns on. -After the done bit of TON_1 timer, the TON_2 timer goes on. -After the done bit of TON_2 timer, again the TON_1 timer will start. -This logic cycle will run continuously, both timers will run turn by turn. Code (Codesys/Schneider Eco Structure Machine Expert)- PROGRAM POU_1 VAR      TON_1: TON;     TON_2: TON; END_VAR TON_1(IN:=(NOT(TON_2.Q)) , PT:= T#100S); TON_2(IN:=(TON_1.Q) AND (NOT(TON_2.Q)) , PT:= T#20S);   Actual Requirement -  -There is a BOOL tag. -If the BOOL tag gets high during the TON_1 running, the logic should move to the TON_2 immediately. -If the BOOL tag does not get high during the TON_1 running, the logic should move to the TON_2 after completion of TON_1. -after the completion of TON_2, again restart TON_1. -Logic Runs continuously in a cyclic mode.   Give me your valuable idea to fulfill the logic requirement.
  15. Hey Guys,  So i am working with Omron software to integrate it with the HMI screen.  Whenever I receive a user alarm, I have an acknowledge button on the screen, but when I click on it,  the alarm does not go away from the screen,  it is acknowledged though.    Can anyone please guide me to what changes I have to make in the system to make the alarm notification go away, or is this any sort of a bug in the Omron software ??   Please help guys !!!
  16. Hello everyone, I am new to PLC programming and will start working on Allen Bradley PLC. I have an experience in computer programming languages. Will learning ladder logic be a better option or starting with structured text as i have some knowledge about the syntax and programming of structured text?
  17. So I have a plc program where most of the outputs are based on a counter that goes from 0 to 1000. The counter speed is adjustable and is generally set to run through a full cycle (count from 0 to 1000) anywhere between 0.5 to 2 seconds. The problem is, when I try to energize an output by using an EQU instruction, it will almost always skip the count because the scan time is not fast enough. I've been using a LIM instruction which has been working, but its not quite as accurate as it needs to be. I switched the counter logic to be continuous to try to make it faster which made it almost perfectly accurate... But only in the continuous task; it made the other periodic task significantly less accurate. I was curious if any of you had any tips on how to remedy this or just general help. I am still relatively new to PLCs and ladder logic so any advice would be awesome, Thanks in advance! Edit: The purpose of the counter is to cycle through from 0 to 1000 over and over again. My outputs actuate during a certain interval within this cycle (For example I would say actuate from 300 to 800 and it would stop and end once it hit those values via an EQU or LIM instruction). I wrote the logic as follows: First I calculate how many cycles per minute I want to perform, using that value I calculate how many times I want to increment my counter per millisecond. Then a timer is given a preset of the total cycle time. While that timer is running I continuously multiply the timer's accumulated value by the "cycle count per millisecond" that I calculated earlier; the resulting value is the current count that all my outputs are based on... Hopefully that makes sense, I know it's not the best but I could not figure out a better way of doing it and I know rounding is certainly making the accuracy worse. My hardware is: Allen Bradely PLC (5069 l306erms2), 5069-ob16, 5069-ib16, and a Kinetix 5500s2 Driver for my motor(s)
  18. Hi there, I am fairly new to programming serial communications, especially with Mitsubishi PLCs. Can someone walk me through in ladder logic how to bring in ASCII to the PLC, store the data in the data registers. Then send the data out to another PC once an 'X' input is satisfied? ASCII code would go like the following: C2,0,1,123,2,ABC,3,456,CR
  19. Hello,  Sorry I'm newbie with omron plc programming. I'm wondering how can i simulate plc program on sysmac studio with Hmi on Nb designer without hardware. because I want testing my program and my plc and hmi connection before buying hardware. Thanks in advance !
  20. We have been working with PLCs for long time. We used to develop PLC logic, partly test it on an emulator and test the rest on the partly energised equipment. From time to time working with computer software development (C# and JavaScript) I was always looking for something similar to unit testing in the PLC world. As I couldn't find anything at that time I've started developing own automated testing tool. Now we use this tool, which basically simulates PLC inputs in defined actions and checks expected behaviour of internal tags or/and PLC outputs. If it behaved the way we expected, it's PASS, otherwise it's FAIL. We break complex logic into small parts and create unit tests for it. By creating more of these unit tests we can test PLC logic of any complexity. The software called PLC Logic Prover and it's free at https://www.controlx.io Recently, I've been told that there is no point to develop anything new if there are already great tools on the market. Honestly, I didn't do proper research earlier, so I'm here asking the experts. What do you use to test PLC logic? What automated testing tools do you use? Is it using IO simulation or it can test logic by other means? Your replies are appreciated. Thanks, Alex
  21. A little background information here, I am trying to create a moving average so I accomplished it with the code (imaged attached) The problem i am having is the AVE instruction error bit goes true. it leaved me with a result of 1.#QAN  I did some googling and it said this is typically done when dividing by zero?? so i added a NEQ to 0 prior to loading the array. then it happened again. so i put the error bit in front of the FFL so it will stop loading the array when i get the error bit so i can see what values are in the array when it errors out. Has anyone else had this issue and what could you do to resolve it? I haven't had any luck find something that points me in the right direction. Thanks in advance for your help.
  22. Hello Engineers, I  am Will from Levetop semiconductor. Our main product is LCD/TFT graphic controller. Support 8/16-bits MCU parallel interfaces, and SPI, I2C serial interfaces Built-in Ggeometric Drawing Engine: provide Point Drawing, Line Drawing, Curve Drawing, Ellipse, Triangle, Rectangle, Rounded Rectangle Drawing Built-in 2D Graphics Processing Unit: provide Magic Rotation, Reflect, PIP (Picture in Picture), Hybrid Graphics and Transparent Display Built-in 128Mbit Display Memory Support 16/18bits RGB type TFT Panel from 320*240  QVGA to 1280*1024 SXGA Built-in Standard ISO/IEC 8859 Fonts Built-in Two 16-bits PWM Timer Support SPI and I2C Master Interface Three Power Saving Modes: Standby,Suspend and Sleep mode Package: 128pin LQFP We have STM32/ST51C demo code open for developers, function libarary and Arduino Library available, too. Our product P/N as follow: LT7681   640*480   8/16bits/SPI/I2C LT7683+  1024*600    8/16bits/SPI/I2C LT7686   1280*1024  8/16bits/SPI/I2C LT7680A  640*480   SPI/I2C LT7680B  800*600   SPI/I2C LT7680+  1280*1024  SPI/I2C any questions, feel free to contact us   www.levetop.tw/en
  23. Hi, I've been having a problem with my Schneider setup, and I can't seem to figure out the problem. I'm using Machine Expert Logic Builder and Vijeo 6.2, and I can't seem to download to my PLC. I can download to my HMI just fine, but my HMI comes back with the message as mentioned in the title. Also when I perform a full download, machine expert comes up with the message "Could not connect to the device for item "xx", selected target system "PLC name" is different from the connected device "HMI name". The weirdest thing is that machine expert shows my PLC just fine, but doesn't show my HMI. I have no idea what to do, as I feel like I've tried everything. The IP range is fine, subnet is fine. The driver in IO manager in Vijeo has the PLC nodename in it, so that shouldn't be the problem either. Does anyone know what to do in a situation like this? Thank you in advance!
  24. Please could you assist with the software required to download data tables from 4 off DIRIS A10 Multifunction Meters into TM221CE40R Logic Controller via TMC2SL1 Comms Cartridge using Modbus Protocol over RS485. I have downloaded the Modbus tables from Socomec but not sure how to get these into the PLC. I would really appreciate your help in achieving this. I am using EcoStruxure Machine Expert - Basic to program the PLC & DAQ Factory Developer Release for my Touchscreen. Link to Socomec Modbus tables: https://www.socomec.com/files/live/sites/systemsite/files/SCP/6_gestion_energie/diris/diris_a10/DIRIS-A-10_COMMUNICATION-TABLE_2018-01_DCG01013_MULTI.html#General