HMS A8NDPV1 Instruction Manual page 116

Plug-in option, profibus communication interface
Table of Contents

Advertisement

TIA Portal Acyclic communication example
Finally process the received response. Check the ResponseID field of the ResponseRecord. A value
of 1 indicates that the request was performed successfully. In this case move the Value field of this
structure to the readValue tag. Enter state 7 to indicate a successful parameter read. If the respon-
seID is equal to 0x81, then a negative response was received. Save the error value (also the Value
field of the structure) to the errorValue tag. Enter state 12 to signal a negative response.
Executing example requests
After compiling the program, and writing it to the PLC, it is possible to execute parameter read
requests. First, get the inverter running by setting bits M0 and M1. Now read the actual frequency
by writing PNU 9193 to requestPNU and setting bit ParameterRequest. The result should be a value
of 1000 in readValue, which corresponds to 10Hz. The PROFIdrive parameter numbers (PNUs)
available for use are listed in the Data Exchange subchapters 7.1to 7.4.
Try reading an inverter parameter, for example the FDL address of the inverter (parameter 1305
+ 5096 offset = PNU 6401). The expected result is 1. It is possible to read any inverter parameter
in this way.
106
Get Started
Doc.Id. HMSI-216-127
Doc.Rev. 1.01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the A8NDPV1 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents