Download A8NDPV1, Instruction Manual

Transcript
TIA Portal Acyclic communication example
Get Started
Executing example requests
To perform a parameter write, set the PNU of the parameter to change in requestedPNU. As an example, to change parameter 15 (Jog frequency), add the offset 5096 and write the result (5111)
to variable requestedPNU. The value that will be set, will be the output of multiplication of the set
value, and the minimum setting increments, as according to the parameter list in the inverter
manual. For parameter 15, the minimum setting increment is 0.01Hz. If a jog frequency of 5Hz is
requested, set writeValue to 500. Finally execute the request by setting bit ParameterRequest to
ON. A successful write will result in entering state 7.
Test receiving a negative response, by trying to write an out of range value. After trying to write
0xFFFF as the value of parameter 15, state 12 will be entered indicating a negative response with
error code 0x02 (LOW_OR_HIGH_LIMIT_EXCEEDED) stored in readError tag, which is the expected behavior.
110
Doc.Id. HMSI-216-127
Doc.Rev. 1.00