4 configuration by controller application – ProSoft Technology PS69-DPS User Manual

Page 46

Advertising
background image

Configuration and Start-Up

PS69-DPS ♦ CompactLogix or MicroLogix Platform

User Manual

Profibus DP Slave Communication Module

Page 46 of 108

ProSoft Technology, Inc.

May 9, 2014

2.3.4 Configuration by Controller Application

The second option to configure the Slave module is to let the controller
application decide on the configuration. To do so the parameter "Force User
Config" in the configuration array has to be set to 1. By setting this parameter
and initialization of the other values the controller program can configure the
slave. With this method the slave module will not start any network
communication as long as the master and slave configuration don't match to
each other. The following table shows the outline of the mapping of the
configuration data image.

Word Offset Configuration word

Data type Low/High Byte Description

Valid values

0

Local: 1:C.Data[0]

INT

LOW Byte

Busaddress

0 ... 125

HIGH Byte

Force User
Configuration

0 =
ForceMasterConfig
1 = ForceUserConfig

1

Local: 1:C.Data[1]

INT

Reserved

2

Local: 1:C.Data[2]

INT

Watchdog Time

0 … FFFFh

3

Local: 1:C.Data[3]

INT

Number of valid config
bytes
(starting with

Local:1:C.Data[8])

2 ... 48

4

Local: 1:C.Data[4]

INT

Reserved

5

Local: 1:C.Data[5]

INT

Reserved

6

Local: 1:C.Data[6]

INT

Reserved

7

Local: 1:C.Data[7]

INT

Reserved

8

Local: 1:C.Data[8]

INT

LOW Byte

Module 1 Type

see table "Module
Types"

HIGH Byte

Module 1 Length

see table "Module
Types"

9

Local: 1:C.Data[9]

INT

LOW Byte

Module 2 Type

see table "Module

Types"

HIGH Byte

Module 2 Length

see table "Module
Types"

...

...

...

...

31

Local: 1:C.Data[31]

INT

LOW Byte

Module 24 Type

see table "Module
Types"

HIGH Byte

Module 24 Length

see table "Module
Types"

Advertising