Download F2424 User`s Manual

Transcript
Chapter 19
Zigbee Communication
19 ZIGBEE NETWORKING
19.1 Introduction
ZigBeeTM (trademark of ZigBee Alliance) is the commercial name of a specification for a suite of highlevel communication protocols using small, low-power digital radios based on the IEEE 802.15.4
standard. Please refer to Wikipedia for a good fundamental description of the ZigBee networking
protocols.
ZigBee is gaining popularity with building automation and HVAC equipment suppliers as a low cost,
secure and open standard intercommunication medium among devices used for the building industry.
More equipment will soon appear with built-in support for communication using the ZigBee protocol.
19.2 Installation of the XBEE Module
The Fx2424 is designed to easily interface to the XBEETM family of ZigBee modules produced by Digi
International, Inc. There are two rows of 10-pin solder pads on the Fx2424’s PCB and to each you can
solder a 2mm pitch, single-in-line socket that you can purchase from http://www.digikey.com (Part
number : S5751-10-ND), as shown in the following diagrams:
Remove U3 (RS485
Driver for COMM2)
Figure 19.1
Once you have soldered the two rows of sockets, you can purchase the XBEE module directly from Digi
International (http://www.digi.com) and plug the XBEE module into these two sockets. Through these
connector pins the F2424 PLC provides the 3.3V power to the XBEE module as well as connects its
COMM2 Receive and Transmit data lines to the XBEE module. However, the PLC does not support the
XBEE serial port hardware handshaking.
The Fx2424 PLC uses only its COMM2 serial port to communicate with the XBEE module. It can use the
PRINT #2, OUTCOMM 2, INCOMM(2) and INPUT$(2) commands to configure the XBEE module for
Transparent mode or API mode to integrate it with a ZigBee network.
However, since the Fx2424’s COMM2 port is already pre-installed with an RS485 driver IC at the U3
socket (IC part number is 75HVD3082 or equivalent), you MUST REMOVE the COMM2 RS485 driver IC
if you wish to install the XBEE module to prevent signal conflicts. You can easily remove the 8-pin RS485
driver IC from its DIP socket and store it in your parts bin as spare parts. Since the Fx2424’s COMM3
port also uses the same RS485 driver chip, the RS485 driver you just removed from COMM2 port would
come in handy if the COMM3 driver happen to be damaged due to bad wiring.
Note:
1. DO NOT be tempted to solder the XBEE board directly to the F2424’s PCB solder pad. You will
need to be able to remove the XBEE from F2424 and put into the Digi’ interface board whenever
19-2