<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for alberth007</title><link href="https://forge.codesys.com/u/alberth007/activity/" rel="alternate"/><id>https://forge.codesys.com/u/alberth007/activity/</id><updated>2021-04-22T16:09:59.553000Z</updated><subtitle>Recent activity for alberth007</subtitle><entry><title>alberth007 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/afca2f74ac/?limit=25#adf5" rel="alternate"/><published>2021-04-22T16:09:59.553000Z</published><updated>2021-04-22T16:09:59.553000Z</updated><author><name>alberth007</name><uri>https://forge.codesys.com/u/alberth007/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/afca2f74ac/?limit=25#adf5</id><summary type="html">Hello, I have a question, maybe easy for you, but I cannot solve it and maybe you can help. I have a sensor that provides me the data in an array of 16 bytes. I need to take the 4 first bytes and save it in an INT value which is a distance value, so I have in the four first bytes [0,0,1,181,..] which is 437 mm that my sensor is displaying I need these 437 into a variable (INT I suppose). How can I do it easily? Thanks for your help!</summary></entry></feed>