4
4
4
C
hapter
C
hapter
C
hapter
PLC C
ommuniCations
In This Chapter...
Introduction ................................................................................................................. 4-2
PLC Communication Ports Specifications ................................................................... 4-3
LED Status Indicators ................................................................................................... 4-4
3 Steps to Using the CLICK PLC Communications ..................................................... 4-6
Typical Communication Applications .......................................................................... 4-7
W-1: USB Port Wiring ................................................................................................ 4-11
W-2: Com Port 2 (RS-232) Wiring ............................................................................. 4-12
W-3: Com Port 1 (Ethernet) Wiring .......................................................................... 4-16
W-4: Com Port 3 Wiring ............................................................................................ 4-18
C-1: USB Port Setup ................................................................................................... 4-19
C-2: Com Port 1 (Ethernet) Setup ............................................................................ 4-20
C-3: Wireless LAN (WLAN) Setup .............................................................................. 4-21
C-4: Bluetooth Setup ................................................................................................. 4-22
C-5: Com Port 2 Setup (Modbus RTU) ..................................................................... 4-23
C-6: Com Port 2 Setup (ASCII) .................................................................................. 4-24
C-7: Com Port 3 Setup (Modbus RTU) ..................................................................... 4-25
C-8: Com Port 3 Setup (ASCII) .................................................................................. 4-26
P-1: Modbus Slave (Server) Programming ............................................................... 4-27
P-2: Modbus Master Programming (Modbus RTU) ................................................. 4-31
P-3: Modbus Client (Modbus TCP) Programming ................................................... 4-36
P-4: ASCII Receive Programming .............................................................................. 4-42
P-5: ASCII Send Programming .................................................................................. 4-45