Westermo FD-10 User Manual

Page 29

Advertising
background image

29

6630-2212

Input word 2 to 16 is the input data, with following content:
Word 2 Input word 1
Word 3

Input word 2

.........

........

Word 16 Input word 15.

7.3.2.3 PROFIBUS DP communication

This describes the required PROFIBUS DP communication sequence from a PROFIBUS
DP master to an FD-10 N, to get access and data exchange with a remote FD-10 N.

Preparing for data exchange:
1. Enable normal operation access with FD-10 by command EN

Out word 1, bit 15 set high (1).

2. Verify accepted EN command by checking status ST

In word 1, bit 15 shall be high (1).

Send PROFIBUS DP data from local FD-10 N to remote FD-10 N:
1. Set the Transfer slave address.

Out word 1, low byte.

2. Set Out data to this Transfer slave.

Out word 2 ... 16.

3. Reset Input word status by the command RES.

Out word 1, change state of toggle bit 11.
Transmit output data over serial transfer line by the command SDO.
Out word 1, change state of toggle bit 14.

4. Verify correct transmitted serial transfer frame by checking status ACK.

In word 1, bit 11 shall be high (1).
• Or incorrect transmitted, resulting in no acknowledge by checking status NAK.
In word 1, bit 12 is set to high (1) in case of no acknowledge.
• Or, incorrect transmitted, resulting in exceeding “Max time to acknowledge frame”

by checking status TO.

In word 1, bit 10 is set to high (1) in case of time out.

Receive PROFIBUS DP data from remote FD-10 N via local FD-10 N:
1. Wait for received frame by checking status DEX.

In word 1, bit 14 shall be high (1).

2. Set the received serial transfer frame in the PROFIBUS DP input data by the com-

mand GTL.
Out word 1, change state of toggle bit 13.

3. Wait until serial transfer frame data has been set in the PROFIBUS DP input data, by

checking whether the status bit DV has changed.
In word 1, toggle bit 13 shall change state.

4. Read the Transfer slave address of the Fieldbus Adapter from which this received

frame has been transmitted.
In word 1, low byte.

5. Read input data of PROFIBUS DP.

In word 2 ... 16.

Advertising