
ET-7X00/PET-7X00 User Manual, version 1.1.2 Page: 100
Copyright © 2013 ICP DAS CO., LTD. All Rights Reserved. E-mail: [email protected]
4.5.6.
06 (0x06) Write Single Register
This function code is used to write a single analog output in an ET-7X00/PET-7X00 module.
The Request PDU specifies the address of the register to be written. Registers are
addressed starting at zero.
The normal response is an echo of the request, returned after register contents have been
written.
Here is an example of a request to write AO1 of ET-7026/PET-7026 to 55 FF hex:
Request
Response
Field Name
(Hex)
Field Name
(Hex)
MBAP Header
01
MBAP Header
01
02
02
00
00
00
00
00
00
06
06
Unit Identifier
01
Unit Identifier
01
Function Code
06
Function Code
06
Register Address Hi
00
Register Address Hi
00
Register Address Lo
01
Register Address Lo
01
Register Value Hi
55
Register Value Hi
55
Register Value Lo
FF
Register Value Lo
FF