Instrument Control Toolbox™ supports the MODBUS interface over TCP/IP or Serial RTU. You can use it to communicate with MODBUS servers, such as controlling a PLC (Programmable Logic Controller), communicating with a temperature controller, controlling a stepper motor, sending data to a DSP, reading bulk memory from a PAC controller, or monitoring temperature and humidly on a MODBUS probe.
Using the MODBUS interface, you can do the following tasks, which correspond to the MODBUS function codes listed in the table.
Functionality | MODBUS Function Code |
---|---|
Read and write coils | 1, 5, 15 |
Read discrete inputs | 2 |
Read and write holding registers | 3, 6, 16 |
Read input registers | 4 |
Perform mask writes on holding registers | 22 |
Perform write/read (in one operation) on holding registers | 23 |
Instrument Control Toolbox supports the MODBUS interface over TCP/IP or Serial RTU. It is supported on the following platforms.
Linux® 64-bit
macOS 64-bit
Microsoft® Windows® 64-bit
Note
The Instrument Control Toolbox MODBUS support works on the MATLAB® command line only. It is not available in the Test & Measurement Tool.