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.


Messages - TheTinker

Pages: [1]
1
Tips & Tricks / Re: CLICK PLCs and modbusTcp
« on: March 04, 2016, 09:34:45 AM »
The CLICK is pretty nice. I'm using it with the analog cards to automate a startup and shutdown sequence. Currently the operators have to press a series of buttons in a set order as well as ramping up media flows to match a set value.  I'm adding PID controllers to the media controls and at the same time converting to a one button startup/shutdown. I'm hoping to use the Raspberry Pi with AdvancedHmi to fetch the set-point values from a recipe file or database through a touchscreen and provide informational displays on the current process state.

The Clicks don't appear to have native PID capabilities, but I don't need that for this project. It may be possible to program them in manually, I want to try it if I ever get a chance.

The Raspberry Pi with the 7" touchscreen is 1/10th the cost of the cheapest off-the-shelf HMI screens and it can be networked with existing computer networks without the need for expensive gateways.

Sam

2
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

3
Support Questions / Re: Modbus RTU - KOYO PLC
« on: February 25, 2016, 04:59:33 PM »
To help others who come to this post with the same problem, To read and write to the DF registers in Koyo (CLICK) plc's, place a F in front of the Modbus address in AdvacedHMI setup. For example, if I'm trying to read the value in DF201, The modbus address would be F429073.  The Click DF registers are fully accessible this way.

Hope this can help someone else out.

Sam

Pages: [1]