Owner's manual
NORDAC AS-Interface Manual
62 BU 0090 GB
Example for the reading of a parameter (PKW data via USS protocol / Parameter string):
In order to check whether the order has been correctly carried out and the new value of 1sec has been entered
in parameter P114 for parameter set 1 in the inverter, the corresponding response label must be read out
using the command Read Parameter String
Data Byte
in DB13
Value in
hex
Meaning / Note
DBB4 41 Read the command number for the parameter string
DBB5 01 Slave address
The following data is output to the reception buffer:
Data Byte
in DB13
Value in
hex
Meaning / Note
DBB228 0A Number of parameter bytes, 0A
hex
corresponds to 10
dec
DBB229 00 Index:
DBB230 02 Index: PKW data
DBB231 10 Parameter label PKE: transfer response label 1 for parameter value
DBB232 72 Parameter label PKE: parameter number PNU
DBB233 00 Sub-index IND:
DBB234 00 Sub-index IND: taking into account parameter set 1 = IND 0
DBB235 00 Parameter value PWE1:
DBB236 00 Parameter value PWE1:
DBB237 00 parameter value PWE2:
DBB238 64 parameter value PWE2: 1sec corresponds to 64
hex
The corresponding response label is in DBB231 of the reception buffer. According to the order / response code
table (see Section 5.5.1), the response code is read by means of Bit 12 to 15 of the parameter coding (PKE).
In the above example the response code is 1 and therefore the plausibility check is positive. If the response
code is "Order cannot be executed" (AK = 7), an error number (see error table Section 5.5.1) is transferred to
the parameter value PWE2 instead of the value.
6.3 Read peripheral error list
In order to determine whether or which AS interface slave is reporting an error, the peripheral errors indicated
can be read out from the list of connected AS interface slaves by means of command number 3E
hex
.
Only the command number 3E
hex
needs to be entered into DB13.DBB4 of the command interface transmission
buffer. After the command or the order from the AS interface has been completed without error (DONE = 1),
the response date is displayed in the reception buffer.
Bytes DB13.DBB228 to Byte DBB232 in the reception buffer display the peripheral error bits of all 31 standard
slaves. The peripheral error of a slave is indicated by the appropriately set Bit (status High). For the allocation
of the individual peripheral error Bits and further information please refer to the Siemens AS interface master
manual.