| ioPAC RTU Controllers C/C++ Sample Code Programming Guide

- Main Page
- Modules
- Data Structures
- Files

Macros
ModbusSlaveFunctionCode
Library » ModbusSlave

## Macros
#define | MODBUS_READ_COILS 0x01
#define | MODBUS_READ_DISCRETE 0x02
#define | MODBUS_READ_HOLDINGREGISTERS 0x03
#define | MODBUS_READ_INPUTREGISTERS 0x04
#define | MODBUS_WRITE_COIL 0x05
#define | MODBUS_WRITE_REGISTER 0x06
#define | MODBUS_WRITE_COILS 0x0F
#define | MODBUS_WRITE_REGISTERS 0x10

## Detailed Description

## Macro Definition Documentation

#define MODBUS_READ_COILS 0x01

#define MODBUS_READ_DISCRETE 0x02

#define MODBUS_READ_HOLDINGREGISTERS 0x03

#define MODBUS_READ_INPUTREGISTERS 0x04

#define MODBUS_WRITE_COIL 0x05

#define MODBUS_WRITE_REGISTER 0x06

#define MODBUS_WRITE_COILS 0x0F

#define MODBUS_WRITE_REGISTERS 0x10