Skip to main content

Software Test

SSCOM Serial Debug Assistant

Basic Query Commands

  • Download the SSCOM Serial Debug Assistant and open it on your computer. Open the corresponding port number, set the baud rate to 9600, select SendHex and Receive, and choose ModbusCRC16 check for the checksum.

    Send the following command; under normal conditions, it will return the 8-channel pulse input data.

    01 04 00 00 00 18
     Modbus RTU PWM Input 8CH SSCOM Serial Debug Assistant Software Test Channel 1 Frequency and Duty Cycle

Other Commands

  • If you need to send other commands, select SendHEX, choose ModbusCRC16 check for the checksum, enter the first six bytes of the command, and click SEND, it will automatically add the CRC check code. For example, send the following command to query channel 2 pulse input data.
    01 04 00 03 00 03
     Modbus RTU PWM Input 8CH SSCOM Serial Debug Assistant Software Test Channel 1 Duty Cycle

For more detailed control commands, please refer to the development protocol.

Modbus Poll Software

  • The serial software is not convenient for data observation. You can use the Modbus Poll Software to read data. Download and install the Modbus Poll software.

  • Open the software, select Setup -> Read/Write Definition. Select the actual device address for Slave ID, 04 Read Input Registers (3x) for Function, and 24 for Quantity. Click OK to confirm.

     Modbus RTU PWM Input 8CH Modbus Poll Software Test Step 1

  • Select Connection -> Connect..., choose the corresponding serial port, set baud rate to 9600, 8 data bits, no parity, 1 stop bit. Click OK to connect.

     Modbus RTU PWM Input 8CH Modbus Poll Software Test Step 2

  • After a successful connection, the register data will be displayed. For ease of observation, you need to set the frequency format. Select registers 1, 3, 6, 9, 12, 15, 18, 21, right-click and choose Format -> 32 Bit Unsigned -> Big-endian to set the format to unsigned 32-bit big-endian. You can also add register notes in the Alias column.

     Modbus RTU PWM Input 8CH Modbus Poll Software Test Step 3

  • After setting the correct format, the 8-channel pulse frequency and duty cycle are displayed normally as shown below.

     Modbus RTU PWM Input 8CH Modbus Poll Software Test Step 4