Search the Community

Showing results for tags 'time based interrupt'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 67 results

  1. Time Based Interrupt

    Hello guys!!! My system constist of: CPU: Q03UDE Some I/O modules Some Intelligent Modules (Q68ADI,QJ71PB92V...) A High Speed Digital Input card QX80H (setting responce time 0.1msec) 1 digital input from QX80H occupied to count the pulse that a flow meter sends. The pulse corresponds to the totalizer of the Flow meter (FCI ST100 series Thermal Mass) and it has fixed width 0.5msec. The flow meter sends 4 pulses / minutes approximately according to current flow rate. My Main Program has scan time 2.4msec. I think that PLC ignores some pulses because of the pulse width is lower than scan time of my program. Is it right? So, the PlC program calculates wrong total flow.... What can I do to avoid this issue? Attached you can find a sketch what I mean... I though to program a time based interrupt every 0.3msec. Is it right and possible in Q03UDE CPU.....? If yes, how can to do it? Thanks a lot in advance for your any help!!!
  2. Hi everyone, I would like to create a PLC code using RSlogix 5000 program in order to measure time delays on the network. Can anyone help me to do this? Thanks.
  3. 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?
  4. Hi all,  Can someone please help me, I am using a Micro830 Controller running connected components workbench software to program the controller. I want the use the Real Time Clock of the controller to control an output to turn on everyday at 01:30am and turn of when it receives a signal from an input. The output will control a backwash valve that will operate and activate a cam switch internally that sends a signal back to the Controller to say the valve has operated and can now stop sending the signal to the valve. (if that makes sense). I have tried playing around with the RTC instructions but I cannot seem to get it to operate how I want it to. Any help would be much appreciated. EnvrioService
  5. 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  
  6. FX3U 80m Counter Interrupt

    Hi:        I urgently need a simple sample Counter Interrupt Program to study and implement with my machine. I am using GX Work 2 My Problem is inconsistent start stop of roller conveyor after pulse count (OUT_C_32, with cc235, using CC235 to stop a conveyor.) I have to try interrupt, but the manual sample is suck!   Please help   Tks  
  7. S7-1500 HW Interrupt

    Hi Guys, I'm still here asking your help because i need to reproduce a previous work that i did on omron series. Now i'm using a Siemens 1510SP-1PN CPU, with a DI 24VDC module assigned in the first slot. I would like to know how to call an interrupt task every time that a rising edge on E0.0 and E0.1 occurs. I  have configured the I/O settings of the module, to call the OB40 hardware interrupt block, but unfortunately i don't know how to assign the addresses to a specified OB, otherwise i noticed that if this option is enabled, instead of the default settings, the CPU can't see the input addresses rise up or turn on; If i configure back the default settings i can see again in a variable table the address E0.0 turn on, why this happens? Is this meaning that i can't use this address for other tasks or other functions? Can i call a hardware interrupt or something like that with an internal variable like a merker? What instructions i must use to enable and activate the OB40? Thank you! Best Regards.
  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 all, I was asked to check if there is a PID real - time software which automatically calculates PID loops parameters and update the PLC registers or HMI ( by OPC server etc.) when the process is working and "breathing". REAL-TIME. Not PID simulator or PID tuner based on measured data, but a software that will calculate and update the PID parameters in real time while maintaning several PID loops simultaneously. Are there any suggestions? Thank you, Olesia
  10.   Dear, I need some help with an application in ml1500 with the RTC . I need an exit is enabled by days of the week . I´m programming in Rslogix500. Program follows the image. If possible help me. Thanks Daniel.
  11. If I understand the STI is just an Interrupt that will run every 32756 ms or 32.75 seconds. Is there any way this can be increase to around 10 minutes? I don't want to use a timer because the rest of the program will not be running while the timer is counting. Thanks
  12. Good day, I´m helping with small project and currently i am stuck because of this problem. And I hope you can help me out. I´m using PowerFlex 525 connected with AB CompactLogix 1769-33ER PLC via EtherNet/IP. Connection is working, I can read and write values from/to 525. To configure both devices i´m using RSLogix 5000. 1) First problem occurs after I loaded configuration to 525 and it´s, that 525 keeps overwriting values of Accel and Decel Time 1. It happens when i directly change parameters in Module Properties (online) or after I upload configuration to device. It happens even if i set parameters directly to 525 with its HMI panel. - I kinda get around this problem when i use Accel/Decel Time 2 for Step logic, but if i send direct reference value motor still jump to it and that is not good, especially when changing direction of rotation. 2) Second problem is that I cant get Speed Sources and Start References right. Usually Is working only option 1 and others are not, or they are doing something else that they should. For better imagination this is what i want to do: I have 3-state switch (left = 1 ON(DigIn TrmBlk 02), 2 OFF; center = 1 OFF, 2 OFF; right = 1 OFF, 2 ON(DigIn TrmBlk 03)), In center position I want to control 525 with EtherNet (already working when: Start 1 AND Speed 1 = EtherNet/IP). In left position I want to control motor directly with Drive Pot and In left position a want to start Step Logic (which i have already set) - Funny thing, If I set Start 1 = Ethernet, Speed 1 = Step, Start 2,3 = DigIn, Speed 2,3 = Drive Pot then in all three position motor goes in Step logic.. Or when i get left and right position working then Ethernet is blocked.. and this kind of things.. I Attach print-screen of my current settings, if you need something more just, tell me. Thank you for your time, and I hope someone will be able to help me.
  13. Can any one help? I am trying to write logic to collect data off a Control Logic controler using V.20.03 Logix5000 software. Attached is a copy of Time and Date logic. I there an easier way?
  14. Hello all, I am experiencing an unusual (and what appears to be an unheard of) behavior in my CompactLogix L18ER controller. I am setting the date/time of the controller from my work station, however when I GSV WallClockTime, it is reporting 4 hours different. I have asked our local resources as well as done some forum and knowledgebase searching without result. Has anyone encountered this before? Attached is a screenshot of the controller time vs. the wall clock time. This isn't mission critical since it can be manually adjusted however I would like to understand what is taking place that would cause this behavior. Thanks!
  15. Hello, I'm trying to convert time into seconds using the SECOND function. I use Word(signed) array 0..2 but get an error message saying "wrong input data type". What data type do I need? Thank you, Jurgen
  16. Dear all, I need some help with programming time in concept 2.6 in FBD. I use momentum PLC 171 CCC 980 30-IEC I would like to program 24Hours Clock with day, week and year. Can someone help me with this please. Regards Sam
  17. Hello I want to simulate my interrupt program but i coudn't. I'm using CJ2M-CPU32, in the I/O table, i have created an interrupt unit CJ1W-INT0 in the principle rack (starting adress 0000) and an input unit ID262 and an output one OD262. I have configured in MSKS instruction in a cyclic task of startup to enabe interrupt input 0.00. then, i have used cx-designer to crate an on/off buttom which adress is CIO 0.00 in order to simulate the interrupt input in the unit. in cx-programmer, the task 100 related to the interrupt input 0 is not running. I also think to create a contact which adress is 0.00 and force it to on in order to call the interrupt task but it does not resolve my problem. I have searched in the web a demonstration for simulating an interrupt task from an input basic unit. I find a program in this link http://support-omron.fr/pdf/FT034%20Carte%20Interruptive%20CS%20et%20CJ1W-INT01.pdf I have runned the simulation but always the same problem. how could I simulate the interrupt task. Can any one help me, i would be thankeful.