adccommunitymod (AutomationDirect) asked a question.

PLC/sensor wireless communication

Created Date: January 08,2013

Created By: uman

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I have an application that requires wireless communication between a microcontroller and a PLC. Research indicates that a ZigBee could provide the communication link, but I am not sure how the PLC would communicate with the Zigbee. The system would deploy/retrieve a sensor probe into a tank of liquid and wirelessly transfer the data to the PLC after the cycle. The probe sensor would incorporate an embedded microcontroller and wireless communication capability. I expect a minimum of 400 data points per cycle. I am not sure how to approach this microcontroller/PLC communication and ask for any help or direction. Jeff in Florida


  • adccommunitymod (AutomationDirect)

    Created Date: January 08,2013

    Created by: uman

    I have an application that requires wireless communication between a microcontroller and a PLC. Research indicates that a ZigBee could provide the communication link, but I am not sure how the PLC would communicate with the Zigbee.

    The system would deploy/retrieve a sensor probe into a tank of liquid and wirelessly transfer the data to the PLC after the cycle. The probe sensor would incorporate an embedded microcontroller and wireless communication capability. I expect a minimum of 400 data points per cycle.

    I am not sure how to approach this microcontroller/PLC communication and ask for any help or direction.

    Jeff in Florida

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: January 09,2013

    Created by: ljbeng

    Go to www.sparkfun.com , get an Arduino with an xbee Sheild. You can then get familiar with the Arduino. In order to get the data from the Arduino to the plc, you will then want to learn how to send serial data to the plc as a modbus master. From other threads here, you can read about the modbus drivers for the Arduino. You could also just write your own because it sounds like you may just be writing data from the remote to the plc and once you know where that data is going (vmemory), the serial data structure of the modbus string will not change much and you can just keep sending the data over and over.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: January 10,2013

    Created by: uman

    Thanks ljbeng that's the push I needed.

    Jeff in Florida

  • adccommunitymod (AutomationDirect)

    Created Date: January 10,2013

    Created by: g.mccormick

    I would think that you would want the PLC to be the master and the arduino to be the slave. The PLC should poll the Arduino. That way, if the communications fails, the PLC can take safe actions to shut down the process or what ever would be the right thing to do.