Search the Community

Showing results for tags 'relay logic'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 46 results

  1. How do you test PLC logic?

    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
  2. Siemens IEC 60870-5-103

    Hello!, im having some troubles communicating Siemens Relay 7SJ622, with the IEC 60870-5-103 protocol, with some SEL controller, i don't have any signal of the slave relay 
  3. Siprotec Relay 7sj62

    I have 24 Siemens Siprotec relay(7sj62) which i want to communicate with Scadapack 330E (Schneider) on 103 Protocol. but every time I try to communicate it shows Slave device is failed to communicate. trying to communicating via serial (RS-485). What should i do..?? or do i need to communicate it with Siemens PLC..?? If so which PLC should use..??
  4. Good Afternoon  im a complete newbie when it comes to PLCs but have done plenty of PIC programming in the past. I've been gifted a couple of FX0s 20mr units to try to repair something I made with PICs years ago. It got damaged during a move and I can’t see well enough now to make PCBs anymore so thought that this might be a solution. The basic operation is  1. switched on 2. motor A moves till hits limit switch (X000) 3. Wait 2 seconds 4. motor reverses till hits second limit switch (X001) then once this has been completed then the following  5. Motor B turns clockwise for 30 seconds then stops  And while Motor B is turning I need Motor C to turn until hitting limit switch (X002) I then need to get it to repeat on the press of a button but I need to reverse operation of Motors B and C I am using double position relays to drive the motors so motor A is on Y000 and Y001 if I power either relay the the motor turns in that direction. Same with Motor B and C Y002 to Y005 is this something that’s possible with one of these controllers or am i going to be programming a PIC to control the PLC ?   All the various COM and powers are connected up, I can individually make every motor do what I want, but the program doesn't flow from one item to the next. but this is probably just me      
  5. AVE instruction Error

    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.
  6. Hi, Could anyone help me out on how to extract the digits present in a string in sysmac studio... Thanks in advance !!!
  7. 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!
  8. 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
  9. Control Panel

    Is it possible to view the values / states of all inputs, outputs and workbits (e.g. 64.00 through 64.15 on Omron CQM1 PLC) on a single screen or control panel within CX-Programmer software?  I'm trying to troubleshoot some ladder logic that I wrote and need to know the values of 5 or 6 inputs/outputs/workbits simultaneously.  Having to scroll up and down through my ladder logic repeatedly does not work well with code that changes state every 5-10 seconds or so. Any help is welcome.
  10. Q03UDVCPU

    I am new with PLC's and I am learning how to work with GX Works 2. I have two questions, 1st Question: Using a Q series PLC (Q03UDVCPU) Is it possible to convert the language of a project from ladder logic to structured text? 2nd Question: If I read a project from a PLC why is it always ladder logic? Is there any way to read out structured text?
  11. Hi I'm looking for Ladder Logic code that I could use for a plastic injection molding machine.  I am willing to purchase and/or modify existing code to meet our specifications.  We have lost the Ladder Logic out of the TI/Siemens Controller on our Newbury 100 Plastic Machine so we're looking at replacing both the PLC and the HMI interface with an Automation Direct Controller.  We have the HMI Basic Code for the Newbury but not the ladder.  I've pasted the manual below for our machine.  Any assistance would be much appreicated.  The manual was too large for me to post but I've posted a document with information about how we intend to upgrade which has a little information about the machine also. Newbury 100 upgrade logging.docx
  12. Hello! I have a project where I need to use Allen Bradley PLC, it might be one of CompactLogic series. In scope of the project I need to transfer few real values to DirectLogic PLC that installed on customer side. DirectLogic PLC has installed ethernet card that support Modbus TCP, TCP/IP and UDP/IP protocols as it says on automationdirect website. I start looking for Allen Bradley PLC that support Modbus TCP or TCP/UDP protocol and did find clear information. Could you help me to find out a way how I can pass the data to directlogic PLC from CompactLogic?   Thank you in advance!   Regards, Scotty
  13. MC protocol

    Hello once again, before I'll dive into mitsu manuals, does anyone of you know if there is some special relay signaling that PLC (FX3GE) have lost communication via MC protocol? Thank you in advance
  14. Hi..  someone please help me.. i'm working in omron CS1H-H CPU67 PLC. My struggle is I/O in one particular rung is not getting updated.  Note: the rung is consist of a P_On flag followed by a FB ; all I/O to the FB were correctly assigned. but the inputs inside the FB instance are not getting updated so that the output not updated. can anyone please help me....????   sorry for my poor english... thanks in advance.
  15. I need to run 4 exactly same devices with 4 different controllers. The logic for them would be exactly the same but the IPs and controller names would be different. Is there a way to do it using 1 project file? Basically whenever download is done the logic would be downloaded but the controller name/IP would be left unchanged. They will be connected to the same network so the IPs must be different. I am using 1769-L32E for these and all racks are set up exactly the same. Any ideas?
  16. Relay Digital signals

    I have a CJ1M-CPU13. It will be used for a prototype and later if successful, a better PLC fit will be employed. This system does not have the ability to drive pulses for servo control. However, will this system relay a digital signal at ~1kHz? I also need the PLC to count the pulses, reset at 1000 and start again continuously and never miss an input pulse. I see that the published transactions give  <15 microsecond decision times. I would think it would be no issue. Thank you.
  17. Hi, I would like to provide the PLC control for a scenario where the temperature in a machine, heated by the two electric heaters, is controlled with use of 1 TCK and 2 s/s relays. Please see draft “plc4” sent attach. The TCK is fixed to the machine and is not in a physical contact with the heaters. Nominal temperature of machine is 200degC. The machine temperature tolerance is +/-2degC. This means that the heaters should be turned on when machine T drops to 198degC and turned off when T reaches 202degC.  For this moment I have created the start PLC diagram outlined on draft “PLC4”.  I am still learning PLC. Therefore, I would be very grateful for your opinion whether the PLC diagram shown on picture “PLC4”, in terms of the tools used (direct contact, direct coil, etc.) and their layout, is of proper design. I know that there is much more work needed to complete this task (e.g. set up of the variables, etc.). I am using Unilogic software. Please help. Regards
  18. Hi Everyone, I'm working on my first PLC program and I have gotten my hands on some ladder logic I'm trying to duplicate. I'm using SoMachine 4.1 and have started a new Ladder Logic diagram POU. I'm curious on how do I create internal contacts. EXAMPLE: 24v--------l START BUTTON l----------------( COIL A)----- --------------l COIL A CONTACT 1; attached to a real output, solenoid valvel-------------l COIL A INTERNAL CONTACT TO CLOSE l---------------- Are there standards for numbering and labeling? I'm seeing L and U inside coil contacts. Does this have an underlying meaning according to standard? Is there a RTO function inside SoMachine 4.1    
  19. Hi everyone, I'm a newbie in the ladder logic programming languages. For my thesis project I've to develop a scenario but I'm stuck with the creation of a socket connection from the Modicon M340 PLC to a server for transfer continuous data given from sensors or similar. Does anyone have a sample program that could have such a functionality so that I can change it based on my needs? Thanks in advice for any further reply!
  20. Hello, I am currently working on programming my first sortation system.  Attached is a blue print of the in feed conveyors and their loadout lines.  As boxes merge together they will be scanned by the barcode scanner.  From there we will be told which lane each box must go down, from the WCS.   My question is, without encoders, what would be the best way to control this system? Counting the packages as they pass through the photoeye? Or setting timers?   Thanks, James Sorting Conveyor Layout.pdf
  21. PLC SIMULATORS (LADDER LOGIC)

    CAN SOMEONE PLEASE SUGGEST ME ONE OF THE BEST ONLINE LADDER LOGIC SIMULATOR OR SIMULATOR SOFTWARE FOR PRACTICING AND DEVELOPING LADDER LOGIC SKILLS.??
  22. Hi All, We have an old machine using a Mitsubishi Fxo-30MR/ES and I will be replacing the PLC with a FX3S-30MR/ES.  This old machine would power some led's on a panel mounted PCB using the PLC outputs.  The 24V from the PLC output would go to the PCB board where a resistor would drop the voltage for the LED.   This PCB is damaged I would like to avoid getting a new PCB made and instead power some panel mounted LED rated for 24V directly form the PLC output.  I guess these panel mounted LED have a built-in resistor.  Power consumption for the LEDs are 20mA at 24V volts.  The 24V power supply has plenty of capacity for this. Are there any issues with doing this? I have attached the spec sheet for the panel mounted LED (I will be using the 24V versions).   Panel Mounted LED.pdf
  23. 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.
  24. 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.
  25. 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