Transcription

PLC CommunicationsChapter6In This Chapter.Introduction 6-2DirectLOGIC PLCs Password Protection 6-2PLC Protocols 6-3PLC Communication Cables & Wiring Diagrams 6-5AutomationDirect PLCs RS-232C Serial 6-7AutomationDirect PLCs RS-422A/RS-485A 6-10DirectLOGIC Universal Isolated Network Adapter, p/n FA-ISOCON: 6-16DirectLOGIC Universal Converter, p/n F2-UNICON: 6-17RS-422A/RS-485A Multi-Drop Wiring Diagram Examples 6-18Allen-Bradley 6-22GE 6-27GE VersaMax Micro 6-27Mitsubishi 6-28Omron 6-30Modicon Modbus RS-232 6-31Modicon Micro Series 6-31Modicon Modbus with RJ45 6-31Siemens 6-32

Chapter 6 - PLC CommunicationsIntroductionThe C-more family of touch panels is capable of communicating with a wide variety of1Programmable Logic Controllers. C-more is capable of communicating over RS232,RS422 and RS485 serial networks as well as Ethernet networks. It communicates with all2AutomationDirect PLC’s utilizing various protocols. C-more also communicates with otherbrands of PLCs by their different protocols. The table on the next page lists all of the various3PLCs and protocols that can be configured. The page after the protocol table lists the variousserial communication cables that are available to purchase. The rest of this chapter is devotedto showing the pin to pin connections of all the available cables plus wiring diagrams that4the user can refer to in order to construct their own cables, along with wiring diagrams ofcables that are not available for purchase. To simplify RS422/RS485 wiring schemes, we have5included wiring diagrams showing connections for available terminal connectors such as ourZIPLink Communication Adapter Module, p/n ZL-CMA15, used for example with ourDL-06 and D2-260 PLCs.6If you have difficulty determining whether the particular PLC and/or protocol you are usingwill work with the C-more series of touch panels, please contact our technical support group7at 770-844-42008DirectLOGIC PLCs Password Protection9NOTE: Many DirectLogic PLCs support multi-level password protection of the ladder program. This allows passwordprotection while not locking the communication port to an operator interface. The multilevel password can be invokedby creating a password with an upper case “A” followed by seven numeric characters (e.g. A1234567). Please refer10to the specific PLC user manual for further details.11C-more12Touch PanelDL-06 PLC1314EA-2CBL-1APort 2Port 1BCD6-2 EA9-USER-M Hardware User Manual, 1st Ed. Rev. N

Chapter 6 - PLC CommunicationsPLC ProtocolsPLC Protocol TableModelProtocolsProductivity 260/D2-262D2-240/D2-250-1/D2-260Using DCMH2-ECOM/H2-ECOM100D3-330/330P (Requires the use of a Data Communications Unit)D3-340AutomationDirectDL305D3-350D3-350 DCMD4-430D4-440DL405D4-450/D4-454All with DCMH4-ECOM/H4-ECOM100H2-WinPLC (Think & Do) Live V5.2 or later and Studio any versionH2-WinPLC (Think & Do) Live V5.5.1 or later and Studio V7.2.1 or laterGS DrivesSOLO Temperature Controllers (models with serial communications)Productivity SerialProductivity EthernetDo-more SerialDo-more EthernetModbus (CLICK addressing)Modbus TCP (CLICK addressing)K-SequenceDirect NETModbus (Koyo addressing)Direct LOGIC EthernetK-SequenceK-SequenceK-SequenceDirect NETK-SequenceDirect NETModbus (Koyo addressing)Direct NETModbus (Koyo addressing)Direct LOGIC EthernetDirect NETDirect NETK-SequenceDirect NETModbus (Koyo addressing)Direct NETModbus (Koyo addressing)K-SequenceDirect NETK-SequenceDirect NETK-SequenceDirect NETModbus (Koyo addressing)Direct NETModbus (Koyo addressing)Direct LOGIC EthernetThink & Do Modbus RTU (serial port)Think & Do Modbus TCP/IP (Ethernet port)GS Drives SerialGS Drives TCP/IP (GS-EDRV)SOLO Temperature ControllerEA9-USER-M Hardware User Manual, 1st Ed. Rev. N 1234567891011121314ABCD6-3

Chapter 6 - PLC CommunicationsPLC Protocols1234567891011121314ABCDPLC Protocol Table (cont’d)ModelProtocolsMicroLogix 1000, 1100, 1200, 1400, 1500, SLC 5-01/02/03DH485/AIC/AIC MicroLogix 1000, 1100, 1200, 1400 and 1500SLC 5-03/04/05DF1 Half Duplex; DF1 Full DuplexControlLogix , CompactLogix , FlexLogix Allen-BradleyPLC-5DF1 Full DuplexControlLogix, CompactLogix, FlexLogix - Tag BasedDF1 Half Duplex; DF1 Full DuplexControlLogix, CompactLogix, FlexLogix - Generic I/O MessagingEtherNet/IP ServerControlLogix, CompactLogix, FlexLogix - Tag BasedMicroLogix 1100, 1400 and SLC 5/05, via native Ethernet portEtherNet/IP ClientMicroLogix 1000, 1100, 1200, 1400, 1500, SLC 5-03/04/05, all via ENI adapterMicro 800 SeriesMicro 800 Series - Tag BasedModbus RTUModbus TCP/IPGEMitsubishiModicon6-4DF1 Full DuplexEtherNet/IP ClientModbus RTUModbus TCP/IP devicesModbus TCP/IP90/30, 90/70, Micro 90, VersaMax MicroSNPX90/30, Rx3iSRTP EthernetFX SeriesFX DirectQ02, Q02H, Q06H, Q12H, Q25HQ CPUQ, QnA SerialQnA SerialQ, QnA EthernetQnA Ethernet984 CPU, Quantum 113 CPU, AEG Modicon Micro Series 110 CPU: 311-xx, 411-xx,Modbus RTU512-xx, 612-xxOther devices using Modicon Modbus addressingCJ1/CS1 SerialCJ1/CS1 EthernetSiemensModbus TCPModbus RTU devicesC200 Adapter, C500OmronModbus RTUModbus RTUTUModbus TCP/IPHost LinkFINSS7-200 CPU, RS-485 SerialPPIS7-200 CPU, S7-300 CPU, S7-400, S7-1200, S7-1500 CPUEthernetEthernet ISO over TCP EA9-USER-M Hardware User Manual, 1st Ed. Rev. N

Chapter 6 - PLC CommunicationsPLC Communication Cables & Wiring DiagramsCable DescriptionCable Part No.Cables used with 15-pin RS-232/422/485 serial Port1AutomationDirect Productivity Series,Do-more, CLICK, Direct LOGIC PLC RJ-12port, DL05, DL06, DL105, DL205, D3-350,D4-450 & H2-WinPLC (RS-232C) 3m (9.8ft) cable lengthDirect LOGIC (VGA Style) 15-pin port, DL06,D2-250 (250-1), D2-260 (RS-232C)3m (9.8 ft) cable lengthDirect LOGIC PLC RJ-11 port, D3-340(RS-232C) 3m (9.8 ft) cable lengthDirect LOGIC DL405 PLC 15-pin D-sub port,DL405 (RS-232C) 3m (9.8 ft) cable lengthDirect LOGIC PLC 25-pin D-sub port,DL405, D3-350, DL305 DCU and all DCM’s(RS-232C)3m (9.8 ft) cable lengthAllen-Bradley MicroLogix 1000, 1100, 1200,1400 & 1500 (RS-232C)3m (9.8 ft) cable lengthAllen-Bradley SLC 5-03/04/05, ControlLogix,CompactLogix, FlexLogix DF1 port(RS-232C)Allen-Bradley PLC-5 DF1 port (RS-232C)3m (9.8 ft) cable lengthAllen-Bradley SLC 5-01/02/03, PLC5 DH485port 3m (9.8 ft) cable lengthGE 90/30, 90/70, Micro 90, Versamax Micro(Port2) 15-pin D-sub port (RS-422A)3m (9.8 ft) cable lengthMITSUBISHI FX Series 25-pin port(RS-422A)3m (9.8 ft) cable lengthMITSUBISHI FX Series 8-pin mini-DIN(RS-422A) 3m (9.8 ft) cable lengthOMRON Host Link (C200 Adapter, C500)(RS-232C) 3m (9.8 ft) cable -4CBL-2CablePart No.Cable DescriptionCables used with RJ12 RS-232 serial Port3AutomationDirect Productivity Series,Do-more, CLICK, Direct LOGIC PLC RJ-12port, DL05, DL06, DL105, DL205, D3-350,D4-450 & H2-WinPLC (RS-232C)3.66m (12ft) cable lengthDirect LOGIC (VGA Style) 15-pin port,DL06, D2-250 (250-1), D2-260 (RS-232C).Use with D0-CBL cable.Direct LOGIC PLC 15-pin D-sub port,DL405 (RS-232C).Use with D0-CBL cable.Direct LOGIC PLC RJ-11 port, D3-340(RS-232C) 2m (6.56 ft) cable ub 15-pin femaleon rear of touch panelPin –Logic GroundRS-485 SerialCommunicationsPort3Signal10V2N.C.3RXD4TXD5 5V60V16RJ12 RS-232 SerialCommunications*NOTE: All cables for connections at Port 2 are user constructed. Refer to the specifications of the connected deviceport to construct the cable properly. The connector for Port2, EA9-3TB , is included with your C-more panel.EA9-USER-M Hardware User Manual, 1st Ed. Rev. N 1234567891011121314ABCD6-5

Chapter 6 - PLC Communications1234567891011121314ABCDCables from AutomationDirect (cont’d)6-6Part No. D0-CBLPart No. EA-2CBLPart No. OP-3CBL-1Part No. FA-15HDPart No. FA-CABKITPart No. EA-2CBL-1Part No. EA-4CBL-1Part No. EA-4CBL-2Part No. EA-3CBLPart No. EA-MLOGIX-CBLPart No. EA-SLC-232-CBLPart No. EA-PLC5-232-CBLPart No. EA-DH485-CBLPart No. EA-MITSU-CBL Part No. EA-90-30-CBLPart No. EA-MITSU-CBL-1Part No. EA-OMRON-CBLEA9-USER-M Hardware User Manual, 1st Ed. Rev. N

Chapter 6 - PLC CommunicationsPLC Communication Cables & Wiring Diagrams (cont’d)The following series of wiring diagrams show the connectors and wiring details for thecommunication cables that are used between the C-more touch panels and various PLCcontrollers. Part numbers are included with the pre-made cables that can be purchased fromAutomationDirect. The information presented will allow the user to construct their owncables if so desired.AutomationDirect PLCs RS-232C SerialTo PLCRJ12 Port1 Sig GND2 do not use3 RXD4 TXD5 do not use6 do not useEA-2CBLProductivity Series, Do-more, CLICK and Direct Logic PLC RJ12 port:DL05, DL06, DL105, DL205, DL350, DL450, H2-WINPLCRS-232C (p/n EA-2CBL)RJ12 6-pinPhone Plug(6P6C)Wiring DiagramTXDRXD123456GND433215shield1RXDTXD8 do not use7 do not use6 do not use5 Logic GND4 do not use3 RXD (232C)2 TXD (232C)1 Frame GNDTo C-more TouchPanel PLC Port15-pinD-sub(male)15115 do not use14 do not use13 do not use12 do not use11 do not use10 do not use9 do not useNote: Use the above wiring diagram if you need to make your own cable. We recommend using 22 AWG shielded cable.EA-2CBL-1To PLC15-Pin HD PortDirect Logic PLC (VGA style) 15-pin HD port:D2-250, D2-250-1, D2-260, D2-262, DL06RS-232C (p/n EA-2CBL-1)To C-more15-pin Port1Wiring Diagram15-pin15-pinHD D-subD-sub23 RXDTXD(male)(male)15 do not use8 do not use8 do not use15 do not use2 TXD3RXD14 donotuse7 Sig GND7 donotuse1515 14 do not use513 do not use GND 76 do not use6 donot use13 do not use12 do not use5 CTS5 Logic GND12 do not use4RTS11 do not use4 RTS4 do not use11 do not use10 do not use CTS 53 RXD3 RXD (232C)1 610 do not use9 do not use2 TXD2 TXD (232C) 19 do not use1 5 VDC - N/C11 FrameGNDshieldHD High DensityNote: Use the above wiring diagram if you need to make your own cable. We recommend using 22 AWG shielded cable.EA9-USER-M Hardware User Manual, 1st Ed. Rev. N 1234567891011121314ABCD6-7

Chapter 6 - PLC CommunicationsAutomationDirect PLCs RS-232C Serial (cont’d)1234567891011121314ABCD6-8EA-3CBLDirect Logic PLC RJ11 port: D3-340RS-232C (p/n EA-3CBL)To PLCRJ11 PortTo C-more15-pin Port115-pinD-sub8 do not use15 do not use(male)7 do not use14 do not use2315 13 do not useTXDRXD 6 do not use1 RXD5 LogicGND12 do not use2 TXD2 TXDRXD 14 do not use11 do not use3 do not use53 RXD (232C)GND 410 do not use4 Sig ground12342 TXD (232C) 119 do not useshield1 Frame GNDNote: Use the above wiring diagram if you need to make your own cable. We recommend using 22 AWG shielded cable.RJ11 4-pinPhone Plug(4P4C)Wiring DiagramEA-4CBL-1To PLC15-Pin PortDirect Logic PLC 15-pin D-sub port: DL405,RS-232C (p/n EA-4CBL-1)To C-more15-pin Port1Wiring Diagram15-pinD-sub8 YOM Sense (male)7 CTS156 do not use5 do not use4 Online3 RXD (232C)2 TXD (232C)1 YOP Sense 1TXDRXD15 Logic GND14 Logic GND13 Logic GND12 do not use11 do not use10 do not use9 do not useSee PLC user manualfor pin out details.online233245GND 13GND 14GND 15YOPCTSYOM17RXDTXD15-pinD-sub8 do not used (male)7 do not used156 do not used5 Logic GND4 do not used3 RXD (232C)2 TXD (232C) 11 Frame GND15 do not use14 do not use13 do not use12 do not use11 do not use10 do not use9 do not use81shieldNote: Use the above wiring diagram if you need to make your own cable. We recommend using 22 AWG shielded cable. EA9-USER-M Hardware User Manual, 1st Ed. Rev. N

Chapter 6 - PLC CommunicationsAutomationDirect PLCs RS-232C Serial (cont’d)EA-4CBL-2To PLC25-Pin PortDirect Logic PLC 25-pin D-sub port:DL405, D3-350, DL305 DCU, and all DCMs,RS-232C (p/n EA-4CBL-2)To C-more15-pin Port1Wiring Diagram25-pin15-pinD-subD-sub3 RXD 8 do not use13 do not use (male) 25 do not use TXD 2(male) 15 do not use12 do not use25 24 do not use2 TXD 7 do not use314 do not use11 do not use23 do not use RXD15 13 do not use6 do not use10 do not use522 do not use GND 75 LogicGND12 do not use9 do not use21 do not use44 do not use11 do not use8 do not useRTS20 donotuse3 RXD (232C)10 do not use7 Signal GND19 do not use CTS 52 TXD (232C) 16 do not use9 do not use18 do not use5 CTS1 Frame GND117 do not use4 RTSshield16 do not use3 RXD2 TXD15 do not use11 do not use14 do not useNote: Use the above wiring diagram if you need to make your own cable. We recommend using 22 AWG shielded cable.D0-CBLRJ12 6-pinPhone Plug(6P6C)D0-CBL RS-232 RJ12 to RJ12 Shielded CableEA3-S3ML, EA3-T4CL, EA3-T6CL, EA3-T8CL, EA3-T10CL(Does not provide power)RJ12 6-pinPhone Plug(6P6C)12 feet [3.7 m]1 Sig GND2 not used3 RXD4 TXD5 not used6 not usedRJ12 6-pinPhone Plug(6P6C)Wiring DiagramGNDRXDTXD113344GNDRJ12 6-pinPhone Plug(6P6C)RXDTXD1234561 Sig GND2 not used3 RXD4 TXD5 not used6 not used123456OP-3CBL-1Direct Logic PLC RJ11 port: D3-340 Port 1 & 2RS-232C (p/n OP-3CBL-1)To PLCRJ11 PortRJ11 4-pinPhone Plug(4P4C)1 RXD2 TXD3 do not use4 Sig GNDTXD1234RJ12 6-pinPhone Plug(6P6C)Wiring DiagramRXDGNDTo C-moreEA9 seriesSerial Port3142341TXDRXD1234561 Sig GND2 not used3 RXD4 TXD5 5 VDC6 Sig GNDNote: Use the above wiring diagram if you need to make your own cable. We recommend using 22 AWG shielded cable.EA9-USER-M Hardware User Manual, 1st Ed. Rev. N 1234567891011121314ABCD6-9

Chapter 6 - PLC CommunicationsAutomationDirect PLCs RS-422A/RS-485A1234567891011121314ABCDWhen using the RS-422A/RS-485A capabilities of the C-more 15-pin PLC communicationsPort1, the termination resistor is placed between the RXD– and RXD terminals on the PLCside of the connection between the touch panel and PLC. The Termination Resistor valueis based on the characteristic impedance of the cable being used. To enable the built-in 120Ohm Termination Resistor, jumper pin 13 to pin 9 (RXD ) on the C-more 15-pin PLCcommunications Port1.User ConstructedDirect LOGIC DL-06, D2-250, D2-250-1, D2-260, D2-262 (all Port 2)RS-422ATo PLC15-Pin PortWiring Diagram15-pinHD D-sub(male)8 do not use7 Sig GND6 RXD–5 do not use4 do not use3 do not use2 do not use1 do not useTXD TXD–151 615 CTS–14 CTS 13 RXD 12 RTS11 RTS 10 TXD–9 TXD RXD RXD–GNDRTS–CTS–RTS CTS 913910101311612751215To C-more15-pin Port115-pinD-sub(male)8 do not use15 do not useRD– 7 do not use14 do not use156 do not use13 TerminationSD 5 Logic GND12 SD– (RS422)SD– 4 do not use11 SD (RS422)3 do not use10 RD– (RS422)2 do not use 19 RD (RS422)1 Frame GNDTerm.RD 1114shield1Note: Use the above wiring diagram to make your own cable. We recommend Belden 8103 shielded cable or equivalent.User ConstructedTo PLC25-Pin PortTo C-more15-pin Port1Wiring Diagram13 Term.15-pin25 do not useD-sub24 do not use TXD 149 RD 8 do not use (male) 15 do not use23 do not use1015RD– 7 do not use14 do not use25 22 do not use TXD–1513 Termination11 SD 6 do not use21 do not use RXD 175 LogicGND12 SD– (RS422)20 do not use12 SD– 4 do not use1611 SD (RS422)19 do not use RXD–3 do not use5710 RD– (RS422)18 do not use0V2 do not use 19 RD (RS422)17 RXD 11RTS–1 FrameGND(RS422)16 RXD–CTS– 13(RS422)RTS 10* Note: The DCM modules must be set for:15 TXD–1Direct NET Slave, HEX mode.CTS 12(RS422)114 TXD shield(RS422)Note: Use the above wiring diagram to make your own cable. We recommend Belden 8103 shielded cable or equivalent.13 CTS–12 CTS 11 RTS–10 RTS 9 do not use8 do not use7 0V6 do not use5 do not use4 do not use3 do not use2 do not use1 do not use6-10Direct LOGIC D2-DCM*, D3-DCM* & D4-DCM*RS-422A25-pinD-sub(male)NOTE: The RS-422 wiring diagrams shown above are not for multi-drop networks involving connecting more thanone PLC to a panel. Refer to the multi-drop wiring diagram examples later in this chapter if more than one PLC willbe connected to a panel. EA9-USER-M Hardware User Manual, 1st Ed. Rev. N

Chapter 6 - PLC CommunicationsAutomationDirect PLCs RS-422A/RS-485A (cont’d)To PLC25-Pin Port13 do not use12 do not use11 CTS 10 RXD–(RS422)9 RXD (RS422)8 do not use7 0V6 do not use5 do not use4 do not use3 do not use2 do not use1 do not useUser ConstructedDirect LOGIC D4-430/D4-440/D4-450/D4-454 Port 1 and D3-350 Port 2RS-422AWiring Diagram25-pinD-sub(male)125 do not use24 do not use25 23 CTS–22 do not use21 do not use20 do not use19 RTS 18 RTS–17 do not use16 TXD–(RS422)15 do not use14 TXD (RS422)TXD TXD–RXD RXD–0VRTS–CTS–RTS CTS 1413916109111012751823To C-more15-pin Port115-pinD-sub(male)8 do not use15 do not useRD– 7 do not use14 do not use156 do not use13 TerminationSD 5 Logic GND12 SD– (RS422)SD– 4 do not use11 SD (RS422)3 do not use10 RD– (RS422)2 do not use 19 RD (RS422)1 Frame GNDTerm.RD 1911shield1Note: Use the above wiring diagram to make your own cable. We recommend Belden 8103 shielded cable or equivalent.User ConstructedTo PLC25-Pin PortDirect LOGIC D4-450/D4-454 Port 3RS-422ATo C-more15-pin Port1RTS and CTS are not present on this port.13 TXD–(RS422)12 TXD (RS422)11 do not use10 do not use9 do not use8 do not use7 0V6 do not use5 do not use4 do not use3 do not use2 do not use1 do not use25-pinD-sub(male)125 RXD–(RS422)24 RXD 25(RS422)23 do not use22 do not use21 do not use20 do not use19 do not use18 do not use17 do not use16 do not use15 do not use14 do not useWiring DiagramTXD TXD–RXD RXD–0V1213913102411251257shield115-pinD-sub8 do not use (male) 15 do not useRD– 7 do not use14 do not use156 do not use13 TerminationSD 5 Logic GND12 SD– (RS422)SD– 4 do not use11 SD (RS422)3 do not use10 RD– (RS422)2 do not use 19 RD (RS422)1 Frame GNDTerm.RD Note: Use the above wiring diagram to make your own cable. We recommend Belden 8103 shielded cable or equivalent.NOTE: The RS-422 wiring diagrams shown above are not for multi-drop networks involving connecting more thanone PLC to a panel. Refer to the multi-drop wiring diagram examples later in this chapter if mor