Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual Kuhnke Electronics Instruction Manual

17.02.2013 Views

PROFIBUS Step 0 1 1 2 3 4 Initialising After starting the master it will first of all initialise the slaves: Sent by Frame Recipient Station SAP Station SAP master 62 set parameters slave 61 slave - single code acknowl. master - master 62 get diagnostic data slave 60 slave 60 diagnostic data master 62 master 62 set parameters slave 61 slave - single code acknowl. master - master 62 check configuration slave 62 slave - single code acknowl. master - master 62 get diagnostic data slave 60 slave 60 diagnostic data master 62 If the DP slave has no device-specific problem it returns 6 bytes of standard diagnostic data, i.e. initialisation was successful and data communication can commence. If there was a problem it will append the device-specific diagnostic data. In this case, no connection will be established and initialisation will be repeated starting with Step 1. 1 Step 0 is taken by the following masters only: Profi Control 680I, DP master module of system 680 (500 kbps), PC Control 645-500 156 E 700 GB

6.2.2 Receive Parameter Data (Prm_Data) PROFIBUS The parameters of passive stations (slaves) are set during DP system startup. The master transmits all parameter data to the DP slave (here: Ventura Remote PLC DP). The master is also allowed to send/change parameter settings during operation. The first 7 bytes (octets 1...7) contain the general bus parameters. They are obligatory for all DP slaves and generally supported by the usual configuration tools. Starting with byte 8, you can transmit device-specific parameters. These parameters deserve special attention because they affect the functions of the unit concerned. 6.2.2.1 General Bus Parameters Octet 1: Station_status See EN 50170, "Parameter Data Transmission" for details Octet 2: WD_Fact_1 Range: 1...255 Octet 3: WD_Fact_2 Range: 1...255 Octets 2 and 3 use the following equation to define the response monitoring timeout (watchdog time, TWD): TWD [s] = 10 ms * WD_FACT_1 * WD_FACT_2 This allows you to set times between 10 ms and 650 s that are entirely independent of the baud rate. When the watchdog control reacts the unit reports the event as error no. 3 (� section 8.3.3). 157

6.2.2 Receive Parameter Data (Prm_Data)<br />

PROFIBUS<br />

The parameters of passive stations (slaves) are set during<br />

DP system startup. The master transmits all parameter<br />

data to the DP slave (here: Ventura Remote PLC DP).<br />

The master is also allowed to send/change parameter<br />

settings during operation.<br />

The first 7 bytes (octets 1...7) contain the general bus<br />

parameters. They are obligatory for all DP slaves and<br />

generally supported by the usual configuration tools.<br />

Starting with byte 8, you can transmit device-specific<br />

parameters. These parameters deserve special attention<br />

because they affect the functions of the unit concerned.<br />

6.2.2.1 General Bus Parameters<br />

Octet 1: Station_status<br />

See EN 50170, "Parameter Data Transmission" for details<br />

Octet 2: WD_Fact_1<br />

Range: 1...255<br />

Octet 3: WD_Fact_2<br />

Range: 1...255<br />

Octets 2 and 3 use the following equation to define the<br />

response monitoring timeout (watchdog time, TWD):<br />

TWD [s] = 10 ms * WD_FACT_1 * WD_FACT_2<br />

This allows you to set times between 10 ms and 650 s<br />

that are entirely independent of the baud rate. When the<br />

watchdog control reacts the unit reports the event as error<br />

no. 3 (� section 8.3.3).<br />

157

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

Saved successfully!

Ooh no, something went wrong!