You are on page 1of 25

Communication Interface

Manual

Published by M2I Corporation

M2I Corporation
< Revision History >

No. Date Revised Revision History Rev. Remarks


1 2004-01-02 - SLC500 PLC Setup: Change from A
Half Duplex to Full Duplex.
Adding the method of SLC500
Input/output Setup
2 2004-10-28 - Adding SLC500 F DEVICE(32bit B Page 6
Real Number -Type)
- Communications Setup Parity Bit:
None. Page 2,4
(Same contents to Fig.)
3 2005-04-27 - Adding Control Logix 5500 series C Page8~13
4 2006-02-24 - Change the order of Contents D
5 2007-08-23 - Adding the method of SLC500 I/O F
Setup
6 2007-08-24 - Adding the method of SLC500 I/O G
Address Input
7 2007-09-12 -Adding Micro Logix H
8 2009-01-09 - Revision of the method of I/O I Page 9
Address Input
9 2009-09-08 - Change the device mapping value J Page 17
10 2009-10-08 - Adding the mapping device K Page 17

2
Allen-Bradley PLC Series
1.1.1. SLC500 PLC/ Micro Logix CPU Direct

The following section describes the system configuration and interface between
Allen-Bradley(AB) SLC500 PLC/Micro Logix and TOP using RS-232C through PLC’s
Loader port.

< System Configuration >


The above figure shows system configuration to connect AB SLC500 PLC to TOP.

PLC Comm. Unit Cable TOP

SLC5/03
SLC5/04
Refer to Cable
Micro Logix 1000
None Connection. All TOP
Micro Logix 1100
(RS-232C)
Micro Logix 1200
Micro Logix 1500

< Cable Diagram >

(1) RS-232C (SLC500 ↔ TOP (for 9/15 Pin Connector )


SCL500 LOADER Port(9Pin) TOP(9/15Pin)

1 CD 1 CD

2 RD 2 RD

3 SD 3 SD

4 DTR 4 DTR

5 SG 5 SG

6 DSR 6 DSR

7 RTS 7 RTS

8 CTS 8 CTS
3
9 9
(2)RS-232C (Micro Logix ↔ TOP)
Micor Logix(9Pin) TOP(9Pin)

1 1 CD

2 SG 2 RD

3 3 SD

4 RXD 4 DTR

5 5 SG

6 6 DSR

7 TXD 7 RTS

8 8 CTS

< SLC500 PLC Micro Logix Setup >


Recommended settings are 19200 bps, data 8 bit, stop bit 1, Parity None.

PLC settings
Baud Rate 19200 bps
Data Length 8 bit
Stop Bit 1 bit
Parity Bit None
Communication Driver DF1 Half Duplex Slave
Duplicate Packet Detection Disable
Error Detection BCC
Control Line No Handshaking
Station Address 0
PLC’s Station Address and TOP’s station num. must be same.

< TOP Setup >

(1) TOP Designer Setup


Select “SLC500[5/03,04](LOADER)” of “AB Series” in PLC type.

4
(2) TOP Serial Setup
Serial Settings are as follows.
 Serial Baud Rate : Same as controller’s setting.
 Serial Data Bit : Same as controller’s setting.
 Serial Stop Bit : Same as controller’s setting.
 Serial Parity Bit : Same as controller’s setting.
 Serial Signal Level : Same as controller’s setting.
 Controller’s Station No. at Comm. Diagnosis(0~31)
: Same as controller’s setting

5
1.1.2. PLC-5 PLC CPU Direct
The following section describes the system configuration and interface between
Allen-Bradley(AB) PLC-5 PLC and TOP using RS-232C through PLC’s Loader port.

< System Configuration>


The above figure shows system configuration to connect PLC-5 PLC to TOP.

PLC Comm. Unit Cable TOP

PLC-5/11
PLC-5/20
PLC-5/30
Refer to Cable Connection.
PLC-5/40 None All TOP
(RS-232C, RS-422)
PLC-5/40L
PLC-5/60
PLC-5/60L

< Cable Diagram >


(1) RS-232C (PLC-5 ↔ TOP (for 9/15Pin Connector )
PLC Loader Port(25Pin) TOP (9/15Pin)

1 FG 1 CD

2 SD 2 RD

3 RD 3 SD

4 RTS 4 DTR

5 CTS 5 SG

6 DSR 6 DSR

7 SG 7 RTS

8 CD 8 CTS

20 DTR 9

6
(2) RS-422 (PLC-5 ↔ TOP (for 5Pin Terminal Block or 15Pin Connector)
PLC Loader Port(25Pin) TOP
(5Pin Terminal Block/15Pin)

1 FG 1(11) RDA

2 SDA 2(12) RDB

3 RDA 3(13) SDA

4 4(14) SDB

5 5(15) SG

14 SDB

16 RDB

< PLC-5 PLC Setup >


Recommended settings are 19200 bps, data 8 bit, stop bit 1, parity None.

PLC Settings
Baud Rate 19200 bps
Data Length 8 bit
Stop Bit 1 bit
Parity Bit None
Communication Driver DF1 Half Duplex Slave
Duplicate Packet Detection Disable
Error Detection BCC
Control Line No Handshaking
Station Address 0
PLC Station Address and TOP Station number must be same.

7
< TOP Setup >

(1) TOP Designer Setup


Select “PLC-5(LOADER)”of “AB Series” in PLC Type.

(2) TOP Serial Setup

Serial Settings are as follows.

 Serial Baud Rate : Same as controller’s setting.


 Serial Data Bit : Same as controller’s setting.
 Serial Stop Bit : Same as controller’s setting.
 Serial Parity Bit : Same as controller’s setting.
 Serial Signal Level : Same as controller’s setting.
 Controller’s Station No. at Comm. Diagnosis(0~31)
: Same as controller’s setting

8
1.1.3. Available Address List

(1) SLC500 Series

Device Address
Bit B003000 ~ B003255 , B010000 ~ B255255
*1
Timer(Timing Bit) TC004000 ~ TC004255 , TC010000 ~ TC255255
*1
Timer(End Bit) TC004000 ~ TC004255 , TC010000 ~ TC255255
Timer(SV) TP004000 ~ TP004255 , TP010000 ~ TP255255
Timer(CV) TA004000 ~ TA004255 , TA010000 ~ TA255255
*2
Counter(Up Counter) CC005000 ~ CC005255 , CC010000 ~ CC255255
Counter(Down Counter) *2 CC005000 ~ CC005255 , CC010000 ~ CC255255
*2
Counter(End Bit) CC005000 ~ CC005255 , CC010000 ~ CC255255
Counter(SV) CP005000 ~ CP005255 , CP010000 ~ CP255255
Counter(CV) CA005000 ~ CA005255 , CA010000 ~ CA255255
Integer N007000 ~ N007255 , N010000 ~ N255255
Float(32bit, decimal point F008000 ~ F008254
1 pixed)
Output O000000
Input I001000
SV : Set Value, CV : Current Value
REF.
*1 : Timing Bit : 14
End Bit : 13
*2 : Un Counter Enable Bit : 15
Down Count Timing Bit : 14
End Bit : 13
※ Bold numbers mean file number.
※ Red numbers are have to added file number in RSLogix500 program “ Data
Files”

9
(2) PLC-5 Series

Device Address
Input Relay I001000 ~ I001999
Output Relay O0000000 ~ O0000999
Internal Relay B0003000 ~ B0099999
Timer(Timing Bit) *1 TC003000 ~ TC099999
*1
Timer(End Bit) TC003000 ~ TC099999
Timer(SV) TP003000 ~ TP099999
Timer(CV) TA003000 ~ TA099999
*2
Counter(Up Counter) CC003000 ~ CC099999
*2
Counter(Down Counter) CC003000 ~ CC099999
Counter(End Bit) *2 CC003000 ~ CC099999
Counter(SV) CP003000 ~ CP099999
Counter(CV) CA003000 ~ CA099999
Integer N0003000 ~ N0099999

REF. *1 : Timing Bit : 14


End Bit : 13
*2 : Up Count Enable Bit : 15
End Bit : 13

10
<PLC – TOP Address mapping>
<< AB >> << TOP >>
N 7 : 00 N 0007 000
File Type File Type
File Number File Number
Element Element

B 3 : 00/15 B 0003 000 15


File Type File Type
File Number File Number
Element Element
Bit(00~15) Bit(00~15)

I : 3 / 15 I 0003 000 15
File Type File Type
Slot Number(1~) Slot Number(1~)
Bit(00~31) More than 16bit : 1
Bit(00~15)

O:4 / 16 O 0004 001 00


File Type File Type
Slot Number(1~) Slot Number(1~)
Bit(00~31) More than 16bit : 1
Bit(00~15)

11
<SLC500, Micro Logix Input / Output Address Input Method>
For using Input / Output, must set up as the following Fig.
I/O operates only in the state of RUN.

2) Word Address 3) Bit Address


주소

1) Slot No.

1) Slot No.
This means the location of IO Card Slot in the Rack. CPU will be “0” and the numbers
of “1, 2, 3…” are allotted in regular order from the right side, respectively. In the above
example, the second Slot is designated.
2) Word Address
In case of using IO Card with 32 or more Dot, must use Word Address. In case of
designating Bit between 16 and 31, Word Address will be “1.”
3) Bit Address
This designates Bit to be selected. (0 ~ 15)

12
<SLC500 / Micro Logix /PLC5 PLC Communications Setup >
The followings show how to set up the communication parameter of Allen-Bradley PLC by
using RS Linx and RSLogix 500 English for communicating with TOP.

(1) Operate RSLinx out of AB PLC program. This is the program setting up PLC to be
connected to PC. The following Fig. shows the screen that RSLinx is operated. The left Fig.
is displayed in case that PLC to be used in PC is not set up. For setup up PLC to be
connected to PC, click the right button of mouse in the item #1 of the right Fig., and click
„Configure Driver.‟

(2) If clicking Configure Driver, Dialog Box is displayed as following Fig. Here after set up the
item #1-4 as Fig., push „Auto-Configure,‟ the item #5.

13
Here the Station Number of #3 must be set up to “00”. Because this Number is the telephone
exchange number of PC, it must be always set up to “00.”
By pushing „Auto-Configure‟ of #5 in above Fig., a message as below Fig. is outputted. If the
message is the same to that of the right Fig, Setup is normal.

In case that normal message is displayed, the sign of “X” of PLC on Screen is disappeared as
following Fig.

Now all PLC Setup to be accessed in the PC is completed.

14
(3) For setting up PLC Parameter, execute „RSLogix 500 English.‟
In case of executing RSLogix 500 English, a screen is displayed as following Fig. In order to
create a new file in following Fig., select #1, then screen #2 is displayed. Here select the kind
of PLC.

By pushing OK Button of #4, Project Screen and Painting Screen are created as following Fig.

15
By double clicking „IO Configuration‟ of #1 on Project Screen of above Fig., the Screen #2 is
displayed; by pushing „Read IO Config‟ Button of #3, the Screen #4 is displayed; and by
pushing „Read IO Config‟ of #5, a screen is displayed as following Fig.

This indicates that 1747-L531 was selected before but the presently connected PLC is
1747-L531F.
For setting up the Parameter of PLC, double click „Channel-Configuration‟ on Project screen
of following Fig., then the screen #2 is displayed.

In the screen #1, set up as following Fig.

16
In the above Fig., „Source ID‟ means the telephone exchange number. The user is able to
revise the basic Parameter for use.

. By pushing Download of #2, Dialog Box is displayed for several times. By checking
“Authentication” in all cases, the process of Access is completed.

17
1.2. Control Logix / Compact Logix CPU Direct Connection

The following section describes the system configuration and interface between Allen-
Bradley(AB) Control Logix/Compact Logix Series PLC of AB and Loader Port and TOP
using RS-232C through PLC’s Loader port.

< System Configuration>


The above figure shows system configuration to connect PLC to TOP.

PLC Comm Unit Cable TOP

TOP

1756-L1

1756-L1M1

1756-L1M2

1756-L1M3

1756-L55M13
Refer to Cable
1756-L55M14
None Connection. All TOP
1756-L55M15
(RS-232C)
1769-L20

1769-L30

1769-L31

1769-L32E

1769-L35E

< Cable Diagram >


(1)RS-232C (Control Logix / Compact Logix ↔ TOP Series)
PLC Loader Port(9Pin) TOP(9Pin)

1 CD 1 CD

2 RD 2 RD

3 SD 3 SD

4 DTR 4 DTR

5 SG 5 SG

6 DSR 18
6 DSR

7 RTS 7 RTS

8 CTS 8 CTS
< Control Logix/Compact Logix Setup >

(1) RsLinx Configuration.

PLC station Address and TOP Station number must be same.


Protocol must be Duplex, Error Checking is also BCC.
(2) Edit Menu > Controller Properties.

19
(3) Device Mapping.

20
Click “ Data Type” , Choose that N7 is INT, B3 is DINT, F8 is Real.
Assign Array Number that You are going to use at the Array Dimensions.
Map the Tag and File Number.

21
Monitor current value in the Monitor Tags of Logic Menu.

22
< TOP Setup >

(1) Top Designer Setup


Select ” AB Control Logix DF1_Slave(LOADER)” in the PLC Type.

(2) TOP Serial Setup

Serial Settings are as follows.

 Serial Baud Rate : Same as controller’s setting.


 Serial Data Bit : Same as controller’s setting.
 Serial Stop Bit : Same as controller’s setting.
 Serial Parity Bit : Same as controller’s setting.
 Serial Signal Level : Same as controller’s setting.

23
 Controller’s Station No. at Comm. Diagnosis(0~31)
: Same as controller’s setting

<PLC – TOP Address mapping>

<< TOP >>


N 0007 999
File Type
File Number
Element(Max 0~999)

: B 0003 999 31 N 0007 999 15


File Type File Type
File Number File Number
Element(Max 0~999) Element(Max 0~999)
Bit(Max 0~31) Bit(Max 0~15)

<Example>
Control Logix TOP
B3[000].01 B0003 000 01
B3[000].31 B0003 000 31
B3[32] B0003 032
B3[33] B0003 033
N7[123] N0007 123

24
N7[123] .15 N0007 123 15

25

You might also like