Search the Community

Showing results for tags 'timer 1400 awa abl arl jsr osr'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 79 results

  1. I'm designing a PLC system in which a Micrologix 1400 talks Modbus TCP/IP with three Modbus TCP-capable SCR controllers. I've never done Ethernet/Modbus TCP communication using the 1400, so I'm asking the following questions: 1. Can I connect the 1400 PLC and the three devices to an Ethernet switch and configure Modbus TCP communication from the devices to the PLC (data collection only) ? The switch will also be connected to the customer's DCS, receiving the data from the PLC and the three devices. 2. Can I connect the Ethernet port on the1400 PLC to the Ethernet switch directly, or do I need some kind of Ethernet interface, like the 1761-NET-ENI ? 3. The system also includes an HMI, connected to the 1400 PLC by RS-232 communication. Any issues with communicating with the HMI and doing Modbus at the same time? Your help in this matter would be highly appreciated. Thanks. Ron
  2. GX Developer timer command

    Hello everyone! Could someone help me and tell me what the "D212" means? I know that to define the time of a TIMER you must put a k and number (miliseg).   Help.... :(
  3. cqm1 timer problem

    Hi I put value #80 in word 60 I run timer 2 with word 60 I replace word 60 withe the value #10 I run timer 2 again with word 60                       but you see the timer counting down from 80 instead of 10 So the timer runs first the previous value of word 60 before he runs with the new value although you see the new value of word 60 appearing in the timer. How can I let the timer run immedeatly with the new value.   Thank you
  4. Hi everyone, I have a Micrologix 1400 that went out over the weekend.  First thing that happened was a contact went out on it forcing us to move the wire and change the program to a different location, but then the next day it provided full voltage to a solenoid even when it was supposed to cut out via timer.  We switched the processor out, but now I want to find out why it went bad, and if there is something I can do to make the next one last longer.  I don't have techconnect through AB (That I know of), so how and where do I send my processor out to get a post-mortem analysis on it?
  5. retentive timer

    I tried setting parameter in gx works 2 for plc q series of q03ude cpu. I set retentive timer to 1k and reducing special link relay to 1k from 2k. then I set 0 in latch 1 start and 5 in latch 1 end. Getting error c4129 and c4139. I changed it to just 16 points of device, then put 0 in latch 1 start and 15 in latch 1 end, still getting same error code. In mitsi pdf of basic course, it just said all I have to do is to go to parameter>device>set retentive timer value to 32 from 0 to use 32 timers total, but I just simply getting error code of f1028 How to make it right? Got it now, have to uncheck retentive timer in tools menu.
  6. Didnt know this before but should have anticipated it, I cant put 8 hours into say a TON or a TOF, etc. Only goes up to 2880 seconds, .8 of an hour. What would be the best way to go about this?
  7. As I am a noob this is probably a noob question. I have a machine with a micro 1400 and if the machine has a fault or jams it lights it's "machine fault" lamp. The fault can be triggered by one of 8 prox switches not getting made within a certain time span. There is nothing to indicate which one. I'd like to program the lamp to, rather than stay on steady, have a blink pattern to indicate which prox caused the fault condition. 3 blinks and a pause, then repeat for PROX 3 for example. I have searched for this with no joy. Thanks - Jon
  8. Hi, everyone, I started learning very recently, and I have been writing this little program in which I communicate through RS-232 with a machine. Every time I send a command from the PLC I wait a couple milliseconds for the machine to send a response (a response must always exist, even if it's a mere acknowledgement response), then I save the response that the machine has sent. I organized my ladder logic by the commands that the PLC has to send to the machine (4 commands total, for example: execute this, give me status on that, etc). I started every ladder with an OSR and an AWA instruction, and when AWA is done I have a timer in the next rung to wait for the machine response, and after timer I have a ABL activated when TON is done. The Ladders are related in the sense that the end of each LAD contains a JSR instruction to the next command/ladder. So the commands/ladder always execute in a predefined sequence (LAD2 -> LAD3 -> LAD4 -> LAD5). The logic inside each ladder is like this (the last rung is a little different for the others, this is LAD2): ] start [ ----------------------------------------- [ OSR ] ] OSR OUTPUT BIT [ -------------------- [ AWA ] ] AWA/DN [ ---------------------------------- [ TON ] ] TON/DN [ ----------------------------------- [ ABL ] ] ABL/FD [ ------------------------------------ [ ARL ] ] test if ARL string is 0 [ ----------------[ JSR ] 1) Since I have to use timers so often in my program (they all last for the same period of time) I wonder if I could use the same timer every time (same Control File R6). But I'm quite lost on WHEN I would have to reset the timer, or if this would not be recommended at all, since the timer is still counting for more than one scan. Although I want to believe that the timer for that Ladder would never be counting after the JSR instruction, I think this is true only for the first time since the next time I turn "start" ON the ARL is not zero, so JSR would occur while the timer is still counting. I tried resetting my timer parallel to JSR and using the same timer in the next ladder, but then the timer only counted up for the first time "start" goes ON (I believe because the timer was constantly being reset at every scan). 2) Also using OSR with AWA was the only way I found of making AWA and TON to "behave" (that is, to make AWA only go ON once per start and the timer to go ON every time AWA is DONE). Would there be a better way to do this or is this acceptable? When I tried connecting "start" to AWA directly the program just didn't behave the way I expected at all, I believe because AWA would always be enabled for more than one scan, although I cannot explain why this would be a problem since AWA should only execute from the transition false to true, no? 3) I never clear my buffers or reset my ASCII instructions... when I try to clear in parallel with JSR some of the ASCII instructions' bit ER goes ON, and when resetting my ASCII instructions sometimes I don't see any before/after difference, but oftentimes I just see an undesirable behavior, and to be honest I'm not even sure where in the code I should do it, so I wonder if I should bother. More specifically, in which situations should I care about doing it when writing a program, and where in the program is it recommended to do it? So far I don't seem to have a problem, so I'm being willingly ignorant about it Any suggestion regarding my code/logic is much appreciated! Thank you!
  9. Hi! I just started with PLC programming. I am trying to get the time between a output signal and a input signal. The problem is that the time is ~200 ms but when i measure it with this code:   TONR(Timer1); IF PosFeedback <= PosFeedback_Min & not Timer1.Reset THEN Timer1.TimerEnable := 0; FullCloseDeltaTime[1] := Timer1.ACC; Timer1.Reset := 1; END_IF; IF (move & not Move_LastScan) THEN //Start timer Timer1.TimerEnable := 1; Timer1.Reset := 0; END_IF; Move_LastScan := move; i only get even values in intervalls of 50 ms like 150, 200 and 250 ms. I have changed the real time sample rate to 11 ms so i don't understand why i don't get a more exact result. And i can see in my trend that the time isn't exactly 150, 200 or 250 each time. I i tried and time my own click on a button and i see the problem is the timer, i only get values in an interval of 50 ms. Is there a way to make the timer more exact?
  10. S7-200 PLC Timer interrupt function program

    LD     I0.0 EU ATCH   INT_0, 21 ENI LDN    M0.0 A      I0.0 TON    T32, +1000 LD     T32 =      M0.0 LD     I0.0 ED DTCH   21 DISI         INT0   LDN    Q0.0 =       Q0.0  
  11. project or PLC mode

    Hi, I keep getting an error that project is in binary mode and plc is in BCD mode.  Wont let me change either. I must be trying in the wrong place...please point me to where i can change this in the PLC.   I am getting an error in my RXDU with a Honeywell barcode reader, on one machine, I am thinking it is related.   thanks for any help. 
  12. I am working on a project with Micrologix 1400 and PanelView C600 I am not able to communicate over Ethernet with any device and my computer. I was not able to load the HMI screens so I don't know if they are communicating between themselves. The RSLinx does not see any device connected via Ethernet. I am using EtherNet/IP driver for this, not sure if that is right. I have tried connecting directly to each device from PC over ethernet and also connecting to them through switch. I can however ping each device and the packets are coming back. The IP assignments are as follows: 192.168.0.1 Router 192.168.0.2 PLC 192.168.0.3 HMI 192.168.0.25 PC Would anyone have any suggestions what I need to try to get this resolved? I was able to communicate with the MicroLogix via serial port but was not able to communicate with the PanelView through serial port at all. I have tried using the USB-2711-NC13 cable for the PanelView connection. Thank you.
  13. Product:             STEP7 Professional V13 Reference:           FB Declaration Static: Data type TON is not allowed here Description: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Hi, I'm using Step7 Prof V13 SP1 upd7 & WinCC Adv V13 SP1 upd7.    In my project I'm using a 312CPU, Article No.: 6ES7 312-1AE14-0AB0, Version: V3.3 & TP1500 Comfort, Article No.:6AV2 124-0QC02-0AX0, Version:13.0.1.0   My Issue: I've taken previously used FB from my Global library and inserted it into my new Project. In this FB I've declared an IEC Timer (TON) in the static section of the FB. When I go to upload to the PLC after TIA carries out the compilation I get error message 'Data type TON is not allowed here'. I've tried creating a new FB to test and had same issue for CTU,CTD,TOF.   See attached pics This is really strange as it has always functioned before! Has anyone seen or heard of this issue before? I'd appreciate any help, Cheers.
  14. GX Works2 Timer Example View File OUT_T on of delay timers in GX Works2 Submitter HwT Submitted 12/12/15 Category PLC Sample Code
  15. Version 1.0.0

    652 downloads

    OUT_T on of delay timers in GX Works2
  16. Siemens

    Hi, I am new to the forum and relatively new to PLC's and I am working on a project that controls several pumps and I would like to install a off delay timer that can be adjusted on the HMI for individual pumps, is this possible ? I am using Siemens TIA Portal V13 and I have a KP1200 comfort panel along with a S7-1500 PLC Any help would be greatly appreciated
  17. Panasonic FP0R

    Could anyone tell me that how can we use/recall Q bit of timer in FP0R. As we can use DN/TT in Allen Bradley
  18. ON/OFF Timer for Mitsubishi FX

    FB_TIMER_ON_OFF The FB is a part of RTC library and implements a timer, based on RTC, for ON and OFF a control bit, e.g. to turn ON/OFF a load in the time interval, and can be easily added into your program in desired quantity. The FB is supplied with E (Enable) input, EO (Output to Control Bit), and can operate in one of two modes: HMS = Hours + Minutes + Seconds (daily timer) MDH = Month + Date + Hours (yearly timer) Each setpoint of ON and OFF time settings should be represented as Array of INT [0...2] type and contain a time data according to the chosen mode. Thus, for example: - in HMS mode: a control bit can be turned on at 02:03:14 am and then turned off at 06:04:17 pm, or turned on at 05:12:27 pm and turned off at 07:06:22 am; - in MDH mode: a control bit can be turned on 3th February at 02:00 pm and then turned off 4th June at 05:00 pm, or turned on 12th November at 03:00 pm and turned off 6th March at 10:00 pm. If the values of both time settings are the same, the FB output will not be activated. Supporting PLC CPUs: All FX Program memory: - 34 steps per each FB instance - 4 steps for entire project (reading from RTC) System variables: M - 3 bits (for entire project) The library is compatible with GX IEC Developer and GX Works2 software . https://plus.google.com/105445006108716761629/posts/Z4v4F11s4Bz
  19. Hello all, I have been trying to get my first C-more application to work and am pulling my hair out. I have an AB micrologix 1400 and am trying to connect it to a C-More EA9 with ethernet. I am using a cable directly from the panel to the plc. I can ping the PLC, and works well with RSlogix via the Ethernet cable. Nothing I do to the EA9 CMORE has worked yet. I have changed the ip settings several times. I can load the program with a USB and I can see it using the CMore software but I cannot transfer. AutomationDirect seems to be out of town this week and I can't get anyone to speak/talk with. There is no section on troubleshooting this as far as I have found. I have set the PC to : IP 10.0.0.65 Mask of 255.255.255.0 I have set the EA9 Panel to : IP 10.0.0.21 Mask of 255.255.255.0 I have set the Micrologix to : IP 10.0.0.10 Mask of 255.255.255.0 Thanks, Hutch07
  20. At work we have been having a slightly increasing number of instances where the Micrologix 1400 that is paired with a Panelview C400 resets values when we cycle the power. Originally we thought the solution was a bad battery in the ML1400. This was the case the first few times that it happened. However, we recently had one doing the same thing and when the program was loaded onto another PLC and HMI combo it had the same issue. So either the battery for both just happen to be bad, or there is something in the program that is forcing the values to automatically reset when the power is cycled. I cannot post the program on here but I can tell you that the tags that are being reset are only used in the PLC program once. There are six total that are being reset and they are the high and low range in an SCP function that is used to scale inputs. I will be testing the program myself in house on a bench setup, but I wanted to get this question out there as soon as possible in case it is not an obvious problem. Has anyone seen this before? Any suggestions? If I come up with an answer I will post it. Thanks.
  21. I am currently trying to get my program to take distance traveled per pulse, which is based off of the diameter, and convert it into IPM. I am using RS Logic 5000 software. If anyone could help me get over this hump I would really appreciate it!
  22. C40K

    Hi Can anyone help with changing timer values in a C40K using syswin and a host link3G2C7-LK201_EV1. I have tried clicking Editors, Data display editor and then T/C VAL. This then loads all the values into the display window. Double click the required Timer and a new window opens up with the value. Changing that value and then clicking ok and then writing the value to the C40K. This does not appear to change the value because if I then read the values back I still have the original value and not the one I changed it to. Hope this makes sense. I assume that it should be possible to change the values using this method. I can change the values using the hand held console
  23. Memory M8011 - 5ms possible?

    Greetings! I just have one question. Is it possible to get pulse time down to 5ms? I have only been using down to 10ms so far. Im using the M8011 timer memory. Thanks in advance! Best Regards Henrik.
  24. I am trying to use my RFIDeas pcProx plus reader with my micrologix 1400. I know that the 1400 can send and receive strings. I want to read in the id number from the reader and send it to an external database. Can someone please point me in the right direction? Thank you
  25. I want to build a logic in ladder diagram in RSLogix 5000 v16/v17 where an analog output is intially set to 10%. Two analog inputs are continuously being read and being compared to some respective threshold values, and if any of these two inputs are less than their respective threshold values, the PLC has to increment the analog output by 2% every 5 seconds. The effect of the analog output increment is reflected on this two analog inputs. If both the inputs reached their respective threshold values, turn on an LED lamp. Let me make it simple to understand: Let A = analog input1 B = analog input 2, C = analog output initially C = 10 after 5 seconds if A < 22 OR B < 36, then increment C by 2% if A < 22, B = 36, then increment C by 2% if A = 22, B < 36, then increment C by 2% and if A = 22 or greater and B = 36 or greater, turn on LED lamp do this (increase C by 2 %) every 5 seconds until both the inputs are equal or greater than their threshold values, i.e. A = 22, B = 36. The analog output must be set at increased value until next increment is given I've tried this using timer, timer done bit, timing bit, enable bit all, but did not success. The PLC doesn't increment after 1st increment, my logic is faulty. Any help would be appreciated. Thanks :)