Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - TheTinker

Pages: [1]
1
Tips & Tricks / CLICK PLCs and modbusTcp
« on: February 25, 2016, 05:30:24 PM »
I've been playing around with the new Click Ethernet enabled PLCs and thought I'd pass along a few things I've learned.

First, the Ethernet port only supports ModbusTcp/IP. You can't access it by typing the IP address into a browser (it would be cool if you could!).  This caused some minor confusion at my shop.

Second, the inputs, X001 etc., are read only. I was hoping to use AdvancedHMI and a touchscreen as a direct replacement for a panel full of push-buttons without having to reprogram.

Third; there are a few quirks with the addressing.  For all the discreet bits, the address in the HMI must use leading zeros.  Even though the CLICK displays the Mobbus address as 8193, it needs to be addressed as 008193 in the HMI program. I was almost ready to shift integer registers around for discreet bits before I figured it out.
Also in addressing floating point registers (DF in the CLICK) you need to put a F in front of the address in the HMI program F428673 for example.

So far I've been using the CLICK as a Slave only.  I plan on trying using it as the Master as well at some point.

I hope this can help save a few people some frustration and time.

Enjoy,

Sam

Pages: [1]