Connecting MLC9000 to SLC500 via Modbus - McGoff

Download Report

Transcript Connecting MLC9000 to SLC500 via Modbus - McGoff

Connecting the MLC9000 to the
Allen Bradley SLC500 via Modbus
Tuesday, March 28, 2000
Equipment and Software Needed
•MLC 9000 BCM with Modbus and appropriate
number LCM’s
•AB SLC 5/03 CPU or higher, Power Supply and Rack
-5/03 is smallest CPU to support M0/M1 file transfer
•ProSoft MCM3150 Modbus Communications Card
•RSLogix 500 Programming Software for SLC500
•Programming Cable for SLC500
•West.RSS Driver File
•Communication Cable between MLC9000 and
MCM3150 Card
SLC500 Backplane Communications Basics

SLC 500 is a modular PLC
–

Racks can be configured with a wide variety of modules
PLC CPU receives information from modules in rack via one of two
ways
–
I/O Transfer

–
Used with Analog or Digital I/O Modules where small amounts of information
are being passed
Block Transfer via M0/M1 Files

Used for large blocks of data

M0/M1 files are local to the module

Information must be transferred form M0/M1 files into usable registers
–
Process is known as Block Transfer
SLC500 Backplane Communications Basics
M0
M1
Integer
File
Integer
File
..
.
..
.
..
.
..
.
Block Transfer Example
Setting Up the ProSoft 3150-MCM
•Verify Jumpers are in position for RS485 2-Wire (Factory Default)
Setting Up Communications between PC and
SLC500
•From Start Menu, start RSLinx under Rockwell Software
•Under Communications, select Configure drivers
Setting Up Communications between PC and
SLC500
•From Available Driver Types select 1747-PIC/AIC+ Driver
Setting Up Communications between PC and
SLC500
•Set station number to 31, pick open comm. port on PC
Setting Up Communications between PC and
SLC500
•Close window then reboot PC to start driver
Loading the Driver for the 3150-MCM
From Start Menu, load RSLogix 500
Loading the Driver for the 3150-MCM
Select File, then Open and select the directory that West.RSS
is stored in.
Loading the Driver for the 3150-MCM
Loading the Driver for the 3150-MCM
•From Menu Bar on Left, Double-Click on IO Configuration
•Verify Configuration for correct number of racks and position of modules
Loading the Driver for the 3150-MCM
•From Menu on left, under Data Files, double-click on N255 West
•Adjust N255:110 to the proper number of loops in the system
Loading the Driver for the 3150-MCM
•N255:111-N255:142 Contain the Modbus Addresses for up to 32 loops
•Adjust these files to match Modbus Addresses of LCM’s
Loading the Driver for the 3150-MCM
•To begin download, first go to communications menu and select System
Comms
Loading the Driver for the 3150-MCM
•Select PLC to download program to
•Select Download
Loading the Driver for the 3150-MCM
•Select OK to begin download
Loading the Driver for the 3150-MCM
Press Yes to Go Online
Completing Communications between 3150MCM and MLC9000
MLC9000 to ProSoft 3150-MCM Cable Pin-out (RS485)
3150-MCM
MLC 9000
9
5 (A)
1
4 (B)
5
3 (GND)
7
8
Diagnostics on 3150-MCM
LED Name
ACT
Color
Green
Status
Indication
Blink(Fast)
Normal: The module is operating normally and
successfully Block Transferring with SLC 500
Off
Module has power but other errors exist
Block Transfers failing, SLC may be in program
mode
Off
Normal: No system problems detected
On
System problem: contact ProSoft Support
Off
Normal State: No configuration activity at this time
Blink
Module is being reconfigured by processor
On
Configuration Error
Off
Normal: Block Transfers Successful
Block Transfers failing, SLC may be in program
mode
On
FLT
CFG
BPLN
Red
Green
Red
On
ERR1/ERR2
Amber
Off
On
Normal: Successful Modbus Communications
Intermittent Comm Errors: Verify setup of correct
number of loops
Comm Failure: Check Cable and MLC9000
Configuration
Blink
Port is communicating normally
Blink
PRT1/PRT2
Green
•Eight indicator lights on module used as communications diagnostics
MLC 9000 Parameters
File N250 – Loop File 1 for Loops 1 to 16
Loop Cool Heat Actual PV Alms SP
SP1 SP2 CTRLS Man WR SP WR WR
WR
WR Man
Power Power SP
Select
Pwr Select SP1 SP2 CTRLS Power
1
0
1
2
3
4
5
6
7
8
9
11
12
13
14
15
2
16
17
18
19
20
21
22
23
24
25
27
28
29
30
31
3
32
33
34
35
36
37
38
39
40
41
43
44
45
46
47
4
48
49
50
51
52
53
54
55
56
57
59
60
61
62
63
5
64
65
66
67
68
69
70
71
72
73
75
76
77
78
79
6
80
81
82
83
84
85
86
87
88
89
91
92
93
94
95
7
96
97
98
99 100 101 102 103
104 105
107 108 109
110
111
8
112
113
114 115 116 117 118 119
120 121
123 124 125
126
127
9
128
129
130 131 132 133 134 135
136 137
139 140 141
142
143
10
144
145
146 147 148 149 150 151
152 153
155 156 157
158
159
11
160
161
162 163 164 165 166 167
168 169
171 172 173
174
175
12
176
177
178 179 180 181 182 183
184 185
187 188 189
190
191
13
192
193
194 195 196 197 198 199
200 201
203 204 205
206
207
14
208
209
210 211 212 213 214 215
216 217
219 220 221
222
223
15
224
225
226 227 228 229 230 231
232 233
235 236 237
238
239
16
240
241
242 243 244 245 246 247
248 249
251 252 253
254
255
•N250 File used to hold parameters read from MLC 9000 loops 1-16
•N250:XXX-address of parameter to be accessed
•Read-Only data, to be used by PLC or HMI for reference
•File N251 used for loops 17-32
MLC9000 Parameters
Alms
4
20
36
52
68
84
100
116
132
148
164
180
196
212
228
244
Alarm Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description
Over Range
Under Range
Sensor Break
Spare
Loop Alarm
Spare
Spare
Spare
Alarm 1 state
Alarm 2 state
Out state 1
Out state 2
Out state 3
Low heater break
High Heater Break
Short Cuitcuit
•Alarm Words are broken down into sixteen read accessible bits
•Bits are accessed through address format N250:XXX/XX
MLC9000 Parameters
File N254 – Loop write data area
Loop SP
SP1 SP2
Select
1
0
1
2
2
5
6
7
3
10 11 12
4
15 16 17
5
20 21 22
6
25 26 27
7
30 31 32
8
35 36 37
9
40 41 42
10
45 46 47
11
50 51 52
12
55 56 57
13
60 61 62
14
65 66 67
15
70 71 72
16
75 76 77
Ctrl Man
PWR
3
4
8
9
13 15
18 19
23 24
28 28
33 34
38 39
43 44
48 49
52 54
58 59
63 64
68 69
73 74
78 79
Loop SP
Select
17
80
18
85
19
90
20
95
21 100
22 105
23 110
24 115
25 120
26 125
27 130
28 135
29 140
30 145
31 150
32 155
SP1 SP2 Ctrl
81
86
91
96
101
106
111
116
121
126
131
136
141
146
151
156
82
87
92
97
102
107
112
117
122
127
132
137
142
147
152
157
Man
PWR
83 84
88 89
93 94
98 99
103 104
108 109
113 114
118 119
123 124
128 129
133 134
138 139
143 144
148 149
153 154
158 159
•N254 File used for data to be written to MLC9000
•N254:XXX-address format used for accessing write data
•Data has Read/Write capabilities, can be manipulated by PLC or
HMI
MLC9000 Parameters
Ctrl
3
83
138
13
18
18
23
23
28
28
33
38
38
43
43
48
48
52
58
52
63
58
68
63
73
68
78
73
78
Control Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
•Control Bits are broken down into 16 Read/Write bits
•Parameters are addressed in N254:XXX/XX format
Description
Manual Control
Programmable Sensor Break
Select RaPID
Select Easy Tune
Control output action
Control type
Loop alarm enable
Spare
Spare
Spare
Spare
Spare
Spare
Spare
Spare
Spare