ac500 cs31 communication

34
Insert image here AC500 CS31 communication

Upload: harish-de-silva

Post on 25-Oct-2014

161 views

Category:

Documents


10 download

TRANSCRIPT

Page 1: AC500 CS31 Communication

Insert image here

AC500CS31 communication

Page 2: AC500 CS31 Communication

CS31 fieldbus features

Communication: RS485 ( twisted pair, with shield)

Protocol: CS31 (Master / Slave)

Number slave units: maximal 31 modules

Maximal length: 500 m (2000 m by repeaters 3x NCB)

Bus redundancy: by bus repeater NCBR

Transmission rate: 187.5 KBaud

AC500CS31 Field Bus

Page 3: AC500 CS31 Communication

CS31 fieldbus rules

The slaves are identified by a module address between 0 to 61.

The module address should be reported inside AC500 control builder software PS501 in function of hardware configuration units present on CS31 bus.

The master AC500 can manage up to 31 module addresses.

- Example of one module address:

A series 30 or 90 remote units

An ICMK14 remote unit with binary extensions

An DC551 remote unit with binary I/O bus

A central unit ( 50 series with extensions, 90 or 30 series )

Warning : DC551 remote unit with analog I/O bus could use up to 6 module addresses.

AC500CS31 Field Bus

Page 4: AC500 CS31 Communication

CS31 fieldbus Remote units (binary format)AC500

CS31 Field Bus

Master AC500COM1

Max number of data exchanged by station240 input bits and 240 output bits ( with AC500 CPU)

Binary remote unitSeries 30

ICMK14 + binary extensions Binary remote unit

Series 90

Binary remote unitDC551 + I/O Bus

CS31 Field bus

1 module addressreserved

1 module addressreserved

1 module addressreserved

Up to 2 module addressreserved

Page 5: AC500 CS31 Communication

CS31 fieldbus Remote units (analog format)AC500

CS31 Field Bus

Analog remote unitSeries 30

ICMK14 + analog extensions

Analog remote unitSeries 90

Binary remote unitDC551 + I/O Bus

with AX522

CS31 Field bus

2 module addressesreserved

Up to 6 module addressesreserved

Master AC500COM1

1 module addressreserved

1 module addressreserved

No limit anymore for analog remote units ( number of module addresses )

Max number of data exchanged32 input words and 32 output words(with all CPU types)

Page 6: AC500 CS31 Communication

CS31 fieldbus Slave central unitsAC500

CS31 Field Bus

Master AC500

CS31 Field bus

1 module addressreserved

Slave AC500

Slave central unitSeries 30

1 module addressreserved

1 module addressreserved

Slave central unitSeries 50

Slave central unitSeries 90

Max number of data exchanged configuration:- 120 inputs bits and 120 outputs bits

Or - 8 inputs words and 8 outputs words

Page 7: AC500 CS31 Communication

CS31 fieldbus menuAC500

CS31 Field Bus

CS31 hardware configuration

CS31 AC500 CPU configuration with PS501 software

CS31 I/O addressing

CS31 remote units configuration

Used variables inside PS501 programming software

Return

ICMK14F1 remote unit configuration

90 Series remote unit configuration

30 Series remote unit configuration

Slave 50/90 CPU remote unit configuration

DC551 remote unit configuration

Page 8: AC500 CS31 Communication

CS31 fieldbus Hardware (1)AC500

CS31 Field Bus

Pin 2 – Bus + / Bus 1

Pin 3 – Bus - / Bus 2

Master AC500

Interface COM1 – CS31 Bus

CS31 connections is on interface COM1

The bus terminating resistance is integrated

Use twisted pair with shield

Shield connect on PE connection

Connect Term .P and .N ( Master realizes the line polarization )

Shield

Page 9: AC500 CS31 Communication

CS31 fieldbus Hardware (2)AC500

CS31 Field Bus

The master can realize the line polarizationwith the internal resistances within COM1,necessary to connect Term. P and Term.N

Page 10: AC500 CS31 Communication

CS31 fieldbus Hardware (3)AC500

CS31 Field Bus

Installation and Earthing

Return

Page 11: AC500 CS31 Communication

CS31 fieldbus AC500 CPU configuration (1)AC500

CS31 Field Bus

Configuration through AC500 control builder programming software.

Select menu Resources / PLC configuration

Possibility to have an automatic calculation of

addresses of remote units:

“ Recommended “

Page 12: AC500 CS31 Communication

CS31 fieldbus AC500 CPU configuration (2)AC500

CS31 Field Bus

After double-click on interfaces.

Configuration of COM1 in CS31 bus protocol

Page 13: AC500 CS31 Communication

CS31 fieldbus AC500 CPU configuration (3)AC500

CS31 Field Bus

After double-click on COM1.

Replace element / COM1 - CS31 bus

Page 14: AC500 CS31 Communication

CS31 fieldbus AC500 CPU configuration (4)AC500

CS31 Field Bus

AC500 Master central unit.

You can only select master mode for AC500 , slave

mode is not available todayReturn

Page 15: AC500 CS31 Communication

CS31 fieldbus I/O addressing

The structure of I/O addressing is based on Byte format (modulo 8) even if remote units have more than 8 channels (07DI92) or less than 8 channels (XK08F1). With respect to the MOTOROLA Byte order.

The module address number doesn’t appear anymore in structure of CS31 I/O Variables. Following the configuration, AC500 control builder software creates and optimizes automatically the addressing of variables

Specific variables area for COM1:% IB1000 ……. % IB1999% IW500 …...... % IW 999% ID250 ……… % ID499

Same relation for outputs Q % IX1000.0 ….. % IX1999.7

AC500CS31 Field Bus

Return

Page 16: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (1)AC500

CS31 Field Bus

After double-click on COM1 - CS31 bus.

Append Sub element / and select the right remote unit.

Return

Page 17: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (2)AC500

CS31 Field Bus

Example: with a DC551 remote unit. AC500 range

Append Sub element / and select DC551... Series 500

Page 18: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (3)AC500

CS31 Field Bus

Example: with a DC551 remote unit.

The inputs and outputs areas are created automatically for the 8 configurable channels

Series 500

Page 19: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (4)AC500

CS31 Field Bus

Example: with a DC551 remote unit + DX531 extension on I/O bus.

Append Sub element / and select DX531…….

Return

Series 500

Page 20: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (5)AC500

CS31 Field Bus

Example: with a ICMK14 remote unit standalone.

8 inputs

6 outputs

Series 50

Page 21: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (6)AC500

CS31 Field Bus

Example: with a ICMK14 remote unit + Extensions. Series 50

Page 22: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (7)AC500

CS31 Field Bus

Example: with a ICMK14 remote unit + its extensions.

Append Sub element / and select the right extension.Series 50

Page 23: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (8)AC500

CS31 Field Bus

Example: with a ICMK14 remote unit + XI16E1 extension.

Structure of variables =

Modulo 8

Direct access to Inputs in WORD format

WORD ( inputs 0-15)

Series 50

Page 24: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (9)AC500

CS31 Field Bus

Example: with a ICMK14 remote unit + XK08F1 + XI16E1 extension.

Structure of variables = Modulo 8, Even if the module have less than 8 channels

16 variables are reserved

4 inputs

16 inputs

4 outputs

Direct access to I/O in WORD or BYTE format

Byte ( inputs 0-3)

Byte (outputs 0-3)

Word ( inputs 0-15)

Page 25: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (10)AC500

CS31 Field Bus

Example: with a ICMK14 remote unit + XM06B5 extension.

One Word inputs is reserved

One Word outputs is reserved

Next Word inputs

Next Word Outputs

Byte ( inputs 0-7 )

Byte ( outputs 0-5 )

Return

Series 50

Page 26: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (11)AC500

CS31 Field Bus

Example: with a 07DI92 remote unit.

DWORD ( inputs 0-31 )

Direct access to I/O in DWORD, WORD or BYTE format

BYTE :( inputs 0-7 )( inputs 8-15 )

( inputs 16-23 )( inputs 24-31 )

Structure of variables = Modulo 8

WORD ( inputs 0-15 )( inputs 16-31 )

Series 90

Page 27: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (12)AC500

CS31 Field Bus

Example: with a 07DC91 configurable remote unit.

Append Sub element / and select the right I/O configuration .

Choice the I/O configuration corresponding to dip-switch 1

Series 90

Page 28: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (13)AC500

CS31 Field Bus

Example: with a 07DC91 configurable remote unit.

The inputs and outputs areas are automatically created for configurable channels

Return

Series 90

Page 29: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (14)AC500

CS31 Field Bus

Example: with a series 30 remote unit.

Append Sub element / and select other module on CS31 bus.Series 30

Page 30: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (15)AC500

CS31 Field Bus

Example: with a series 30 remote unit.

Append Sub element / and insert the right format of module.

Parameters to define the type of exchange

Number and type of I/O

ON

1 2 3 4 5 6 7 8

ON

11 22 33 44 55 66 77 88

Return

Series 30

Page 31: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (16)AC500

CS31 Field Bus

Example: with a slave central units. ( series 50 or 90 )

Append Sub element / and select AC31 CPU as slave on CS31 bus.SLAVE

Page 32: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (17)AC500

CS31 Field Bus

Example: with a slave central units.

Append Sub element / and insert the right format of exchange.

Number and format of I/O exchanged

SLAVE

Page 33: AC500 CS31 Communication

CS31 fieldbus Remote units configuration (18)AC500

CS31 Field Bus

Example: with a slave central units.

Address of CPU slave

Return

SLAVE

Page 34: AC500 CS31 Communication

CS31 fieldbus using variables in PS501AC500

CS31 Field Bus

Create a symbol associated to variables, and use F2 key and “system variables” to insert them