3. Commands

3.1. Defining commands
3.1.1. Standard commands
3.1.2. Custom commands
3.1.3. Sending raw data
3.2. Command table
3.2.1. Sending commands
3.2.2. Deleting commands
3.2.3. Re-ordering commands
3.3. Viewing and editing command definitions

ModTest enables you to define Modbus commands together with their expected results, and send them to a Modbus slave. ModTest will automatically compare the actual results from the slave with the expected results, and flag any differences as test failures. The commands can be saved and then used as "test suite" for regression testing or for testing other slaves.

The commands that you define may be standard Modbus commands, custom commands, or arbitrary data. This makes it easy to test the error handling of the Modbus slave.

Copyright © 2019 Wingpath Limited