Search the Community

Showing results for tags 'real time sample'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 78 results

  1. I want to do a calculation in the FX3u-48MT ESS and combine it with the input from HMI GOT1020. By the time i put input in the HMI with real number, and i calculate that with some equation just like in the manual as seen in the picture. I was confused when the result in the DINT is too many and in the pulse, it got minus, when it should be plus. Is there any way to fix this ? and how to round up the result correctly ? I really appreciate your help. Thanks in advance.  
  2. Tia Portal V14 Real time graph

    I current have 2 variable: Displacement vs Pressure. I need to draw a real time graph on Comfort Panel. The problem with using just f(x) trend is that the minimum time between updating a point is 0.5 sec and that is for ever in my application as the whole cycle last only 5 sec and I have to plot 500 points in that time. Is there a way to do real time graph using Historical data without any time delay. If anybody can guide me through any sample program or material would e helpful. Thanks
  3. Hello.  This is my first post and I hope someone has a solution. I have a program calculating Gal/sec adding to a running total and have up to the end.  Using REAL I can accumulate up to 16,777,216 (2^24) and using DINT up to 2,147,483,648 (2^31), but I need to have my registers continue past these limits.  I've read through many topics here and have tried the Rockwell Knowledge Base but can't seem to find a solution that truly works.  I have gone so far as to transfer the DINT to a string, cut the string into pieces and reassemble them in an Odometer type concatenation. If anyone has a suggestion, I would appreciate it.  I know I'm not the only one with this problem. PS & BTW - I'm using Studio 5000 v24 with a 1769 L33ER
  4. Hi All, On our plant, we are using one Rockwell  PLC model 5573 with HMI(Allen Bradley 1500P). I am automation engineer but I did not work on the Rockwell PLC. Now I am planning to install the GPS clock on our plant. And I want clock will synchronize our Rockwell plc as well. Could someone advice what is the best option for this model to do the time synchronization.   Thanks in Advance, Warm Regards/Waqar
  5. Hi.  I am quite new to Sysmac Studio. Working on my first project with it now, coming from CX-series.  I have got one problem i can not find a solution to. On the NA-HMI I want to have an input display where i can input a time of the day.  As far as I can see NA do not allow me to use "TIME_OF_DAY" variables in the Data Edit component. Is there a solution to this? 
  6. Cycle Timer

    Hi all, I try to realize a cycle timer. A counter is triggered by a movement ( clamp close ) Then the machine does it things, piston here, and there and when the clamp closes again it should show me the real cycle time. Is there a timer/counter that is independent from the PLC cycle? I am using a CJ1M CPU11 Ver. 3.0
  7. I would like to use the actual Cycle Time (in seconds) of the NJ101 CPU in a Structured Text  math equation.  You might also call it the Task Period... However it's called, It needs to be the amount of time that has elapsed from the last calculation of the ST math equation.  It must be a variable that also satisfies this looping equation: Time:= Time +cycle time .. so that the master equation, which is calculating position information, based on TIME .. is up to date with each calculation in the loop. How do I insert that cycle-time, which might not be identical for each loop, (or, is it) ?  Thanks, Regards, Michael  
  8. In my application the LMC automation controller will be calculating date-based lot codes. I would like to synchronise the internal clock with a time server such as pool.ntp.org. I can't find any info in the Schneider-Electric SoMachine help files or on the web. Does anyone know if this is possible?
  9. Hi,  i want to read real time and date in simulation mode. How can i do this in Unity pro? Thanks for helping
  10. 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!!!
  11. I am having problems expressing an ANALOG OUTPUT 16bit INT word (0-10V Proportional Valve Voltage) as a REAL decimal number. From my understanding the word is divided into 2 (8bit) bytes...one representing the whole number value and the second the decimal value. We're using BL20 I/O Module (german therefore LSB first I believe). I need to MOV/COP (read) the value, CONVERT it into a REAL number, Manipulate the REAL VALUE, then CONVERT the MANIPULATED REAL Value back into a 16bit INTEGER & WRITE the NEW Integer Value into Proportional Valve Voltage Location.   I also have a similar situation regarding our Incremental Encoder. In this scenario the  pulse count is obviously a whole number (no decimals) where 4 (16bit) bytes represent the REAL Count Value.. I have read other posts on similar conversion topics and understand the general premise, but I'm having problems specifying write parameters.. -  i.e. writing bits 0-7 from an INT into SINT[0] (HIGH BYTE representing the whole # value? ) and writing bits 8-15 into SINT[1] (LOW BYTE representing the decimal value) THEN CONVERTING into REAL # (Voltage fed to Proportional Valve)     ...manual section... page 282&283 http://pdb2.turck.de/repo/media/_us/Anlagen/d300717.pdf - i.e. writing bits 0-15 from INT[0] , INT[1] , INT[2] and INT[3] into a LINT (not sure if correct) THEN CONVERTING into REAL # (Encoder Count) ...manual section... page 17 (current count value) http://pdb2.turck.de/repo/media/_en/Anlagen/D301224.pdf ANY SUGGESTIONS WOULD BE GREATLY APPRECIATED... project file if interested.. https://sites.google.com/site/lyncedrgb/eva/untitledpost-2/StellaPLC.ACD
  12. 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.
  13. Conversion

    Siemens S7-300........I can convert from INT to DI.....and from DI to REAL. I don't see any standard method of going backwards from REAL to DI and from DI to INT My actual application needs to go from REAL to INT (DI to INT is kinda dumb) Thanks, Bob
  14. 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?
  15. 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
  16. Dear Experts!!!   Could you please provide me the sample of "QD75MS Module & MR-J3-B program with functional block"    As you can see the page no. 3  in the attached document  "KI-Doc_QD77MSXX_MR-J3-XXBS.Zip" sample is there but i am not able to find it anywhere.   Or if you have any otherone please share it.   Please help!!! KIdoc_QD77servo_English_20130131.pdf
  17. 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
  18.   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.
  19. Have looked on this forum and found NO hint of a solution. I hope someone can provide me with a starting point. I have a Allen Bradley Micro830 & Connected Component Workbench that I use to SMS text message out the value of an Analog sensor. The value is a real number data type so it holds a number like this 123.32659+e. All I want to do is to "Truncate" so that the value ends up being like this 123.32 this would then be what sms receiver would see as the value. Thanks
  20. Greetings, I'm ok with RSLOGX 500 but am an absolute beginer with RSLOGIX 5000 and was wondering if anyone had any simple sample code just to study. I would love something using analog input and or analog output. thanks in advance.
  21. In my present project, I have to interface an energy meter that has its kWh count in 64 bit Double format. Now that Vijeo citect hasn't a facility to create tags of the "double' type I am looking for a work-around to this problem. Thanks for any help/advise in this matter
  22. 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.
  23. 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!
  24. 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?
  25. 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!