GX Works2 (Q-CPU) Acyclic communication example
Extract the parameter value from DataRead, and byte swap it to receive the actual value:
In case of a negative response, the format is as follows:
Byte no.
0
1
2
3
4
5
6-7
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 requestParameterNo and setting bit requestParameter. The result should
be a value of 1000 in parameterValue which corresponds to 10Hz. The PROFIdrive parameter
numbers (PNUs) available for use are listed in the Data Exchange subchapters 7.1to 7.4.
36
Description
Request ID
Request reference
No. of parameters
DO-ID
No. of values
Format
Error value
Get Started
Value
0x81
0x01-0xFF (same as in request)
0x01
0x01
0x01
0x44 (error)
Byte swapped error value (see
error table)
Doc.Id. HMSI-216-127
Doc.Rev. 1.01
Need help?
Do you have a question about the A8NDPV1 and is the answer not in the manual?