Top Banner
Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus
25

Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Dec 23, 2015

Download

Documents

Gary Heath
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Tuesday, March 28, 2000

Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus

Page 2: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

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

Page 3: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

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

Page 4: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

SLC500 Backplane Communications Basics

M0 M1Integer

FileInteger

File

Block Transfer Example

......

......

Page 5: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Setting Up the ProSoft 3150-MCM

•Verify Jumpers are in position for RS485 2-Wire (Factory Default)

Page 6: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Setting Up Communications between PC and SLC500

•From Start Menu, start RSLinx under Rockwell Software•Under Communications, select Configure drivers

Page 7: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Setting Up Communications between PC and SLC500

•From Available Driver Types select 1747-PIC/AIC+ Driver

Page 8: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Setting Up Communications between PC and SLC500

•Set station number to 31, pick open comm. port on PC

Page 9: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Setting Up Communications between PC and SLC500

•Close window then reboot PC to start driver

Page 10: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Loading the Driver for the 3150-MCM

From Start Menu, load RSLogix 500

Page 11: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Loading the Driver for the 3150-MCM

Select File, then Open and select the directory that West.RSS is stored in.

Page 12: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Loading the Driver for the 3150-MCM

Page 13: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

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

Page 14: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

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

Page 15: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

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

Page 16: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Loading the Driver for the 3150-MCM

•To begin download, first go to communications menu and select System Comms

Page 17: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Loading the Driver for the 3150-MCM

•Select PLC to download program to•Select Download

Page 18: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Loading the Driver for the 3150-MCM

•Select OK to begin download

Page 19: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Loading the Driver for the 3150-MCM

Press Yes to Go Online

Page 20: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Completing Communications between 3150-MCM 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

Page 21: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

Diagnostics on 3150-MCM

LED Name Color Status Indication

ACT Green Blink(Fast)Normal: The module is operating normally and successfully Block Transferring with SLC 500

On Module has power but other errors exist

Off

Block Transfers failing, SLC may be in program mode

FLT Red Off Normal: No system problems detected

On System problem: contact ProSoft Support

CFG Green Off Normal State: No configuration activity at this time

Blink Module is being reconfigured by processor

On Configuration Error

BPLN Red Off Normal: Block Transfers Successful

On

Block Transfers failing, SLC may be in program mode

ERR1/ERR2 Amber Off Normal: Successful Modbus Communications

Blink

Intermittent Comm Errors: Verify setup of correct number of loops

On

Comm Failure: Check Cable and MLC9000 Configuration

PRT1/PRT2 Green Blink Port is communicating normally

•Eight indicator lights on module used as communications diagnostics

Page 22: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

MLC 9000 Parameters

File N250 – Loop File 1 for Loops 1 to 16Loop Cool

PowerHeatPower

ActualSP

PV Alms SPSelect

SP1 SP2 CTRLS ManPwr

WR SPSelect

WRSP1

WRSP2

WRCTRLS

WR ManPower

1 0 1 2 3 4 5 6 7 8 9 11 12 13 14 152 16 17 18 19 20 21 22 23 24 25 27 28 29 30 313 32 33 34 35 36 37 38 39 40 41 43 44 45 46 474 48 49 50 51 52 53 54 55 56 57 59 60 61 62 635 64 65 66 67 68 69 70 71 72 73 75 76 77 78 796 80 81 82 83 84 85 86 87 88 89 91 92 93 94 957 96 97 98 99 100 101 102 103 104 105 107 108 109 110 1118 112 113 114 115 116 117 118 119 120 121 123 124 125 126 1279 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 15911 160 161 162 163 164 165 166 167 168 169 171 172 173 174 17512 176 177 178 179 180 181 182 183 184 185 187 188 189 190 19113 192 193 194 195 196 197 198 199 200 201 203 204 205 206 20714 208 209 210 211 212 213 214 215 216 217 219 220 221 222 22315 224 225 226 227 228 229 230 231 232 233 235 236 237 238 23916 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

Page 23: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

MLC9000 Parameters

Alarm Bit Description0 Over Range1 Under Range2 Sensor Break3 Spare4 Loop Alarm5 Spare6 Spare7 Spare8 Alarm 1 state9 Alarm 2 state10 Out state 111 Out state 212 Out state 313 Low heater break14 High Heater Break15 Short Cuitcuit

•Alarm Words are broken down into sixteen read accessible bits

•Bits are accessed through address format N250:XXX/XX

Alms4

2036526884

100116132148164180196212228244

Page 24: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

MLC9000 Parameters

Loop SPSelect

SP1 SP2 Ctrl ManPWR

Loop SPSelect

SP1 SP2 Ctrl ManPWR

1 0 1 2 3 4 17 80 81 82 83 842 5 6 7 8 9 18 85 86 87 88 893 10 11 12 13 15 19 90 91 92 93 944 15 16 17 18 19 20 95 96 97 98 995 20 21 22 23 24 21 100 101 102 103 1046 25 26 27 28 28 22 105 106 107 108 1097 30 31 32 33 34 23 110 111 112 113 1148 35 36 37 38 39 24 115 116 117 118 1199 40 41 42 43 44 25 120 121 122 123 124

10 45 46 47 48 49 26 125 126 127 128 12911 50 51 52 52 54 27 130 131 132 133 13412 55 56 57 58 59 28 135 136 137 138 13913 60 61 62 63 64 29 140 141 142 143 14414 65 66 67 68 69 30 145 146 147 148 14915 70 71 72 73 74 31 150 151 152 153 15416 75 76 77 78 79 32 155 156 157 158 159

File N254 – Loop write data area

•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

Page 25: Tuesday, March 28, 2000 Connecting the MLC9000 to the Allen Bradley SLC500 via Modbus.

MLC9000 Parameters

Control Bit Description0 Manual Control1 Programmable Sensor Break2 Select RaPID3 Select Easy Tune4 Control output action5 Control type6 Loop alarm enable7 Spare8 Spare9 Spare10 Spare11 Spare12 Spare13 Spare14 Spare15 Spare

Ctrl38

1318232833384348525863687378

•Control Bits are broken down into 16 Read/Write bits

•Parameters are addressed in N254:XXX/XX format