HMS A8NDPV1 Instruction Manual page 94

Plug-in option, profibus communication interface
Table of Contents

Advertisement

GX Works2 (FX-CPU) Acyclic communication example
If the read request was completed successfully, the requested data will be available starting from
BFM#4524.
Proceed to process the received response. The format of a positive response is as follows:
Byte no.
0
1
2
3
4
5
6-7
In case of a negative response, the format is as follows:
Byte no.
0
1
2
3
4
5
6-7
First check the received request ID to identify the type of received response (positive or negative).
Set bit parameterReadError in case of a negative response, and write the error code to variable pa-
rameterValue. If a positive response was received, set bit parameterReadSuccess and write the
read parameter value to parameterValue.
84
Description
Request ID
Request reference
No. of parameters
DO-ID
No. of values
Format
Parameter value
Description
Request ID
Request reference
No. of parameters
DO-ID
No. of values
Format
Error value
Get Started
Value
0x01
0x01-0xFF (same as in request)
0x01
0x01
0x01
See data format type table
Byte swapped parameter value
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

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?

Table of Contents