Search the Community
Showing results for tags 'hexadecimal'.
Hello togehter, I use a V1210 for my Visualisation Project of digital pressure transmitters. They are working with RS485 BUS and their own Protocol (Meriam Serial Protocol). In first test i tried to get the information how to Request via RS485 a new Measurement signal and in which format the transmitter is answering in a Response Frame. In this Case i already know that i have to send on RS485 Bus /11920Baud 8 Data Bits 1 Stop Bit Parity: None the following Frame(hex): 80 01 00 05 0B 04 92 00 00 00 06 10 05 80 80 0B F0 40 Answer: 40 01 20 0B 05 04 92 00 00 00 7D 9D 00 02 03 00 F9 4E 4A 41 C1 5E 58 BD 1B 3B 5E 41 00 01 01 00 E9 60 B6 41 91 DE B5 41 52 07 BB 41 0B F0 40 05 80 80 In the marked 4 Byte-little Endian Code is the Pressure of my transmitter shown. HEX: F9 4E 4A 41 Float - Little Endian (DCBA) : 12.64428 How can I implement such a Request Frame and how can I manage the Answer frame for visualisation of the pressure value? I already setted up a Protocol Config and a PROTOCOL Send - in the Protocol Send Block. But after closing and reopening the Code is missing?! Looking forward hearing from you soon. Kind Regards Alexander
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's possible to use the basic timer already set in the PLC but I don't want to use them.