Write Coils Service (4F Hex) - Comtrol DeviceMaster EtherNet/IP-Modbus EIP-MOD User Manual

Table of Contents

Advertisement

| Write Coils Service (4F Hex)

10.5. Write Coils Service (4F Hex)
This service writes one or more coils to the Modbus Coils table. This service results in the DeviceMaster EIP-
MOD issuing a Write Multiple Coils function (function code 0x0F) to either the Shared Memory or the
Modbus Message Routing subsystem. Refer to CIP Standard Vol1_3.22 Section 5B-3 and/or MODBUS
Application Protocol Specification V1.1b3.pdf at
Parameter
Service Code
Instance
Class
Attribute
Source Element
Source Length
Destination
DeviceMaster EIP-MOD User Guide: 2000664 Rev. A
Value
Directly corresponds to Modbus function code:
4f hex
Write Coils (function code 15)
Modbus Device ID of 252
252
(Valid Range = 1 to 255)
44 hex
Modbus Object
0
Not used
WrCoilsReqData
Tag of structure type WrCoilsRequest
Maximum Length in bytes of WrCoilsReqData
250
(Length must be greater or equal to length of request
message.)
WrCoilsRespData
Tag of structure type WrCoilsResponse
www.modbus.org
for more details.
Description
Chapter 10. PLC Programming for Modbus Object (44 Hex) - 135

Advertisement

Table of Contents
loading

Table of Contents