Search the Community

Showing results for tags 'real'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 28 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.
  2. I am not sure if anyone know any websites or sources ,to practice and program same as real projects. I have seen many websites but they are not realistic.
  3. Good Afternoon, I am wanting to do two things with and ORMON PLC and HMI with CX-Programmer and NB-Designer. 1. I want to display the current time from PLC on HMI with the real time clock. 2. I want to be able to enter a time on the HMI which will be compared to the PLC time and will stop a process when when the entered time is equal to the actual PLC time.  If I can have some help with this that would be a great help. Thanks,
  4. Now I working on omron CP1H PLC, i'm receiving ASCII number from another PLC which is something like this  "#3031 #3030 #3030 #3030" which mean 01000000. How to convert the ascii number to real number or bcd without separate them? I know how to convert them which is using HEX but its turn out the number will separate into this 0100  and 0000.
  5. Hi, I am trying to convert a variable of REAL data type to DWORD. I 've tried using Real_To_Dword function which works fine if the real number is integer but when the real is decimal the function rounds the decimal number to INT first (I ve also read it in the instruction manual so no surprise here). I 've also tried experimenting with the function CopyRealToDWORD but again the outcome was not what I expected. Is there another way to convert decimal real numbers to DWORD without losing the decimal portion?
  6. Using sysmac studio, i get 4bytes binary data Data[24], Data[25], Data[26], Data[27] like this, the problem is that the 4bytes data represent my float data what can i do with that 4bytes lol If u see below images you can understand my problem.... thank you all,
  7. I have a function that reads ASCII code from a transducer, converts the code into characters and places the characters from the serial buffer into a string. Now, I am trying to convert the value in the string into a 64-bit float number. Any ideas on how to do that on the CCW? 
  8. Structure Text REAL constant

    Hello. I'm having difficulties of how to write REAL constant in ST. For example (Gap1 is defined as REAL): Gap1:= UDINT_TO_REAL(P_Cycle_Time_Value) / +1000.0;     RETURNS ERROR ERROR:   Conversion cannot convert from Integer Literal to REAL I have also tried 1000.0 If I use:  Gap1:= UDINT_TO_REAL(P_Cycle_Time_Value) / INT_TO_REAL(1000);  COMPILES OK My question.. How do I write REAL constant in Structure text? I don't want to use  INT_TO_REAL anytime I want to do calculations with constants.. Thanks. BR.
  9. Real to 3 decimal points

    I'm fairly new to Mitsubishi and I am trying to limit the amount of decimal places of a real value down to 3. I am using a FX3U CPU and the only thing I see in the manual is that real values are stored with approximately 7 significant figures. Is there a way to limit the amount of figures after the decimal point to 3 without converting to an int value? Also does restricting the decimal to 3 points on GT works change to PLC value at all?
  10. Please help me how develop totalizer for every 15 mins , for real value. Real value should   be taken sample  for 1Sec.
  11. I am new at PLC programming, I have tried some ways to convert a text into DINT and I haven't found the right way yet, maybe somebody can help me. I want to convert "Hello" to DINT, for example. I tried converting it on here  https://www.branah.com/ascii-converter  to decimal and then using it as an input for a ROUND, FLOOR, TRUNC blocks to get a DINT, but when I get the result and use as an input in a DI_R i block the output doesn't match with the first conversion of "Hello". Any tips on how do I get it to work, please? Thanks in advance. 
  12. 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
  13. 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  
  14. There have been many good discussions on the applicability of cloud-based solutions for manufacturing and process control systems. On one side, some people have concerns regarding security and control of the information, on the other side, there are identified benefits enabled by cloud systems. From VMS minicomputers to DOS and Windows, from ArcNet to Ethernet, it is inevitable the industrial automation systems shall adopt the technologies that are getting predominant in IT general use; the current environment that I am calling the “Cloud-iPad era” is no different; therefore the practical discussion is not if those new technologies will be applied in the industrial environment, but how. This paper is not intended to join the conceptual discussion about the cloud, but just to present a few simple practical examples, where cloud technologies are already enhancing industrial automation solutions and enabling new business opportunities. CloudPracticalApplications.pdf
  15. Hello - I am currently setting up a program to control a downlane conveyor motor and ran into the issue of operators leaving the conveyor on through their breaks/at the end of the shift.... I know, shocking . Anyways, the essentials of the program are the following - ladder logic, start/stop PB station, a sensor that says when I've seen a box for x-amount of time I will turn off, when the eye is clear for x-amount of time I will turn back on. When trying to 'solve the problem' of the operators leaving them on, I figured this would give me a chance to use a RTC (real time counter) and program it so that at various times of the day I will send a single shot to verify the relay is CT is open. I've enabled the RTC on the Micro810, dropped a TOW but do not really understand how to set the TOW block up. Hopefully that all makes sense. Thanks,  grubb
  16. Hello, I am having an issue with FIX Dynamics Real Time Database and the database columns available within when trying to query the database. On a system running iFIX 5.0, there are 19 data columns available, LHS of attached screenshot (in the screenshot example, crystal reports is used to view the columns). However in iFIX 5.9, only 15 columns are available (RHS of attached screenshot ), how can these missing columns be made available to be accessed? Regards, John
  17. 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 ?  
  18. 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.  
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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?
  24. 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
  25.   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.