Search the Community

Showing results for tags 'real time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 32 results

  1. Real world simulator

    When we simulate a plc program we have to manually input the changes in input(like magnetic reed switch) For example when a cylinder goes from up to down reed turn OFF and reed down turns ON Is there any program available where we can define such things that will turn on and off during the process automatically.

  3. Hi every body. I want to get and set Time Picker value in process analyst in citect scada using cicode. Also  I tried to find an event or function when time picker value is changed , is called but find nothing. May you help me please?
  4. 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.  
  5. 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
  6. To Infinity

    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
  7. 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
  8. 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? 
  9. 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
  10. Convert time

    Hello. this is my firs post is possible to convert the elapsed time of timer to real or int i need to make some math operation with the elapsed time thanks  
  11. 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  
  12. 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 I can't find any info in the Schneider-Electric SoMachine help files or on the web. Does anyone know if this is possible?
  13. real to integer number

    Hello, Could somebody give for me advice how need seperate real number to integer? for example I have in D10 real number 10,9 for me need to do integer number 10 and 9. The real number seperate to integer I am using this LADDER line, attached picture. In D90 I got 10, But how to isolate the number of decimal places,I can not think of. Please help for me
  14. Hi,  i want to read real time and date in simulation mode. How can i do this in Unity pro? Thanks for helping
  15. 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!!!
  16. 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) 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 - 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) ANY SUGGESTIONS WOULD BE GREATLY APPRECIATED... project file if interested..
  17. 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.
  18. 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
  19. 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?
  20. Micro 830 RTC programming

    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
  21. Hey guys,   I know this is a topic that has been discussed before, but I am having trouble finding exactly what I am looking for.. I want to know the most efficient way to record data from my PLC to an Excel file on my PC. I want this to be done without the use of the PLC's webserver.  Specifically I am trying to record vfd speed every 10seconds with a time and date stamp. How can I do this?   Thanks, James  
  22. 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
  23. ML1500 RTC

      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.
  24. Hello         I'm new for PLC, I need to set pump turn ON/OFF  in 4 time/day every day => [8:00-8:10]a.m, [11:00-11:20]a.m, [2:00-2:10-14:10[p.m, [5:00-5:20]p.m ** I have Omron PLC CP1E-N30 , Could you advise me, please ?  
  25. 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