18.12.2013 Views

PROFIBUS DP Slave (Protocol API, netX)

PROFIBUS DP Slave (Protocol API, netX)

PROFIBUS DP Slave (Protocol API, netX)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Getting started/Configuration 38/228<br />

Bit 6: Auto configuration (WRMSTRT_FLG_AUTOCONFIG):<br />

Flag that indicates if set to TLR_TRUE(1) that the slave stack requests the host application for<br />

check configuration and user parameter data. If set to TLR_FALSE(0), the stack handles<br />

configuration and parameter data.<br />

Bit 7: Address change not allowed (WRMSTRT_FLG_NO_ADDR_CHANGE):<br />

Flag that indicates if set to TLR_TRUE(1) that the slave stack does not support the “Set <strong>Slave</strong><br />

Address” command. If set to TLR_FALSE(0), changing the bus address via the master is activated<br />

and the slave stack does support the “Set <strong>Slave</strong> Address” command<br />

4.3.1 Behavior when receiving a Set Configuration / Warmstart<br />

Command<br />

The following rules apply for the behavior of the <strong>PROFIBUS</strong>-<strong>DP</strong> <strong>Slave</strong> protocol stack when<br />

receiving a set configuration command:<br />

• The configuration packets name is <strong>PROFIBUS</strong>_APS_SET_CONFIGURATION_PRM_REQ<br />

for the request and <strong>PROFIBUS</strong>_APS_SET_CONFIGURATION_PRM_CNF for the<br />

confirmation.<br />

• The configuration data are checked for consistency and integrity.<br />

• In case of failure all data are rejected.<br />

• In case of success the configuration parameters are stored internally (within the RAM).<br />

• The parameterized data will be activated only after a channel init has been performed.<br />

• No automatic registration of the application at the stack happens.<br />

• The confirmation packet <strong>PROFIBUS</strong>_APS_SET_CONFIGURATION_PRM_CNF only<br />

transfers simple status information, but does not repeat the whole parameter set.<br />

For all former versions up to firmware version V2.0.12.1, only the warmstart command (the<br />

predecessor of the set configuration command) was present showing up the following deviations<br />

from the behavior described above:<br />

3. For the first time the stack receives a warmstart/set configuration packet the stack will start<br />

up automatically.<br />

4. On every further received warmstart/set configuration packet the stack waits for a channelinit<br />

to be performed until reconfiguration takes place.<br />

5. Registration of the application at the protocol stack is also done automatically.<br />

4.4 Process Data (Input and Output)<br />

The input and output data area is divided into the following sections:<br />

• Input and Output Data for <strong>PROFIBUS</strong> <strong>DP</strong> <strong>Slave</strong><br />

I/O Offset Area Length (Byte) Type<br />

0x1000 Output block 244 Read/Write<br />

0x2680 Input block 244 Read<br />

Table 34: Input and Output Data for Remote Device Station with One Occupied Stations, Single Setting<br />

For more information about the configuration of inputs and outputs refer to section Configuration of<br />

Inputs and Outputs on page 55.<br />

<strong>PROFIBUS</strong>-<strong>DP</strong> <strong>Slave</strong> | <strong>Protocol</strong> <strong>API</strong><br />

DOC050401<strong>API</strong>12EN | Revision 12 | English | 2012-01 | Released | Public © Hilscher, 2005-2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!