Click to Shopping Cart    |    Sitemap    |    Contact Us    
     
 

Modbus RTU Function 15 - Force Multiple Coils

The Modbus RTU Function 15 is used to force multiple coils or digital outputs to their ON/OFF state. See a typical command and response below with usage description.

Command: 01 0F 00 13 00 0A 02 AA 03 CRC1 CRC2
Response: 01 0F 00 13 00 0A CRC1 CRC2      

Command Usage:

Address01 - One Byte Slave Address
Function0F - One Byte Function Number
Addr00 - HI Starting Coil Address HI Byte
Addr13 - LO Starting Coil Address LO Byte
Quantity00 - Coil Quantity HI Byte
Quantity0A - Coil Quantity LO Byte
Quantity of Bytes02 - Byte Count 
DataAA - LO Data Bits  (Bits  27..20)
Data03 - HI Data Bits  (Bits  29..28)
ChecksumTwo Byte CRC

Response Message:

Address01 - One Byte Slave Address
Function0F - One Byte Function Number
Addr00 - HI Starting Coil Address HI Byte
Addr13 - LO Starting Coil Address LO Byte
Bit Qty HI00 - Quantity of Bits Written HI Byte
Bit Qty LO0A - Quantity of Bits Written LO Byte
ChecksumTwo Byte CRC


Finally, when specifying Modbus hardware or software, take a moment to review the documentation for each device and ensure that both the hardware and software will support the necessary functions to operate properly. It is a rare event that there will be problems but this review process will eliminate the possibility of surprises later.


Return to Modbus Overview
Modbus Exception/Error Codes

Modbus Data Acquisition Products:
Modbus RTU Products
Click Here
 
 
 
Modbus Products
ASCII Products
Accessories
Support
Purchase
Company  
  D1000M Series
  D1700M Series
  D3000M Series
  D5000M Series
  DIN-100 Series
  D6000 Series
  D8000 Series
  D1000 Series
  D1700 Series
  D2000 Series
  D3000 Series
  D4000 Series
  D5000 Series
  Mounting Backplanes
  Module Accessories
  Serial Converters
  USB Converter
  Power Supplies
  Software
  Cables
  FAQ's
  Data Sheets
  Diagrams
  User Manuals
  Product Finder
  Modbus Support
  Contact Support
  Product Warranty
  How to Buy
  Shop Online
  International
  View Shopping Cart
  About Us
  Contact Us
  Policies
  Sitemap
  Blog
  Join our Email List

        
 
 
Copyright Dutile, Glines & Higgins Corporation,
All Rights Reserved.