Search the Community
Showing results for tags 'float'.
Found 8 results
AndrejP posted a topic in CX-ProgrammerHello. I need to create project to manage FLOAT VALVE. Let's say that RUNNING_Time of valve is 100 seconds. Usually I would control the float valve in this way: When I start or stop the regulation, the valve would be closing for 110% of RUNNING_Time (positioning). When the positioning is done, I would start NORMAL_Operation. In normal operation I would like to drive the valve based on time intervals. If the valve is closed and the POSITION_Setpoint is 50%, I would set the DIGITAL_OUT_Open for 50 seconds. If the POSITION_Setpoint then goes to 60%, I would set the DIGITAL_OUT_Open for 10 more seconds. Does someone have this kind of sample written in CX-Programmer? Thanks. I have INPUT data for valve: - POSITION_Setpoint (0-100%) - RUNNING_Time (120 sec) I would like to have OUTPUTS: - POSSITION_Current - DIGITAL_OUT_Open - DIGITAL_OUT_Close
Float Value FX2N Problem
zubair136 posted a topic in MitsubishiDear All, I am facing a problem in FX2n, Infact i am making a totalizer from the flow. everything is fine. but client demands to add some totalizer value to start with totalizer. the problem is that when i add 50000 value the value of registers stucks. although i am using 32bit float register along with DEADD command for Totalizer. the makes some steady at some place. i dont know why. but i give the totalizer 0 it works fine. Any Solution regarding this will be help. Value in the D72 = 0.0003
fx5u PLC C# Read float devices
laguardiajulio posted a topic in MitsubishiHi, I am trying to read float devices using ActUtlTypeLib from MX COmponent v4, i can't. Using C#. In the manual, it seems only short and int can be readed?? Can anyone help me? Thks!
Dword to Float on FX3GE
nikitost posted a topic in MitsubishiHello! I have a float number (HEX: 3CA01D0F) in Big Endian. It's 0.0195451062. I get it from the sensor and store it in a double word variable. Could you help me? How can I convert DWord to Float? If i use DFLT instruction, It treats DWord as an integer (1017126159) and just gives me 1.017126 e+009 Thanks in advance.
Conversion from Integer to float and vice versa
Rajesh Anand posted a topic in Allen Bradley / Rockwell AutomationHello, I'm using RSLogix 500 application for LAD programming. I would like to convert the float data type to integer data type and vice versa. I tried with the COP instruction as some had mentioned in other forums, but it was not working. So any suggestions on solving that issue would be helpful.
How to store that float value in any of the registers in FX-3G plc
vijayvpv posted a topic in MitsubishiHi all, I am working with FX-3G PLC and it is communicating with a Weintek HMI. I am feeding a data in HMI in float format through a D register. But it is showing some other value in PLC. I don't know what is needed to done to extract the same float value into FX3G plc. So the basic question is how to store that float value in any of the registers in FX-3G plc? Requesting your support please.
Micrologix 1400 Float TAG
jpratik92 posted a topic in Allen Bradley / Rockwell AutomationHello, I have a micrologix 1400 plc connected to a length measurement gauge. The gauge sends an analog value to the plc to an analog input. I convert the value into a dimension and send it to F8:0. but I need this value in three different steps in the program. Since i just have one element of float (F8:0) is there anyway i can store the value in a different location or create more floating point tags eg. F8:1. F8:2 ? Thank You
Convert int to float
foxtrot99 posted a topic in MitsubishiI'm trying to read a result from encoder (which in pulse) and convert it to milimeter. To do that, i need to devide it. But here is the problem when i move the result of the encoder read to register (D) then devide it with another register, it doesn't show result in the monitor. It looks like i need to convert it to float first, but i dont know how. My command for the division is DEDIV D17 D40 D22. is there anyway to solve it? Thanks, i really need this. I try to look in the forum but i dont found it. I'm using mitsubishi FX3U-48 MT ESS. I'm new in this forum, if i break a rule, please tell me.