Search the Community
Showing results for tags 'decimal'.
I create a timer with MI (Memory Integrer) and MB (Memory Bits) and then I tried to display the current value with the time function. Problem is : the display of the timer is a hexadecimal value. I tried to use others function like "UTC to RTC" or "Numerics" but I don't know how to get the display of the current time and the elapsed time of the timer I made. Wanted display : HH : MM : SS (decimal value) The timer look like : MI 1 : Preset MI 2 : Current MI 3 : Elapsed And there is others nets to manage the proper functionning of the timer. I know that it
Hi This is my second project, and I have a question. I'm using V430-J-34 (provided by user...) Whats the best way to round up or round down decimal numbers to whole numbers? Currently I'm using simple linealization to convert result of some math to some normal number. Problem is there is whole excel table of math to do, that I am currently working on to be in plc example: Fx=IF(AND(C6>=130;C6<220);C6-20;IF(AND(C6>=220;C6<310);(C6-40)/3+G6;IF(AND(C6>=310;C6<400);(C6-40)/4+G6;IF(AND(C6>=400;C6<490);(C6-40)/5+G6;IF(AND(C6>=490;C6<=600);(C6-40)/6+G6;))))
Hello all, I have an 11 bit absolute rotary encoder that outputs in gray code. Here is datasheet on it: https://cdn.automationdirect.com/static/specs/encodermda.pdf This is needed for determining the position of the shaft on an engine. I am fairly new to Unitronics and Visilogic. I have a V700 with the V200-18-E3XB snap on. I have looked at other answers on this topic and have created a ladder diagram based on this format: http://www.plcdev.com/using_ladder_logic_for_gray_code_conversion However, I am still stuck when it comes to getting the binary to decimal and then being a
Hi everyone! Does anybody have experience with extracting numerical values from SCAN FB? Im communicating between controller and V350 over serial cable. And receive messages like: R+400<CR><LF> R-3000<CR><LF> Using <LF> as ETX. In the SCAN FB i have tried configuring this message in many different ways. But did not have succes. It alwas returns -1 in "Index of received message". Simple fixed length message without variables i can receive just fine. Any ideas? or pointers? Greets Tom