Hi Ken,

It depends on what protocol the IO-Link Gateway device supports.  You might be 
lucky and have a simple JSON over HTTP (using 4D’s HTTP Get, etc), but it’s 
more likely to be one of the industrial standards.  For example, if it’s 
Ethernet/IP (which uses CIP) you could cherry-pick and create a partial comms 
stack using 4D Internet Commands like TCP_Open, TCP_Receive, UDP_ReceiveFrom, 
etc. However, that won’t be an easy job so you might want to see if there’s a 
driver available.

Hope that helps!

Tony Pollard
Another Dimension Ltd




> On 20 Jan 2020, at 7:26 pm, Ken Daniel via 4D_Tech <[email protected]> 
> wrote:
> 
> Hi All, I've been communicating with devices connected via serial port
> using Set Channel and Receive Packet for a number of years. We now want to
> be able to communicate to another device (a Q4X sensor
> <https://www.bannerengineering.com/us/en/products/sensors/photoelectric-sensors/q4x-laser-distance-sensor.html?pageNum=1&sort=4#flt/6887>)
> connected to the network using an IO-Link <http://io-link.com>device.
> Basically, I just need to get the current reading from the device similar
> to getting lbs from a scale. Does anyone have any experience communicating
> with something like this from within 4D they can share? Thanks, Ken
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to