This file documents the simple utility mbpeekpoke7670 which allows access to holding registers on TS Modbus peripherals when connected to a TS-7670 via serial or USB (when applicable). The TS-7670 executable binary as well as the source code is supplied for use or modification. This utility assumes that the reader is familiar with basic Modbus operations. Usage: mbpeekpoke7670 -switch parameter [OPTIOSN] ... Download and start a ZPU program. Optionally persist the code Default parameter values in [brackets] -? This help screen -b bit_rate Bit rate [9600] 300, 600, 1200, 2400, 4800, 9600, 19200 38400, 57600, 115200, 1000000, 4000000 -h This help screen -n number_of_items number of items to read [1] -r address Read: Register @ specified hex address -s slave_address hexadecimal 00-f8; 00 is broadcast [0xf7] -u Use USB connection -v data value to write -w address Write: Register @ specified address The (-w) write option requires a single (-v) variable The (-r) read option can read a number of items with the (-n) switch