Output User Data
When Code Pat is set to “User”, the protocol will output the user-defined data, and
users can set the value of “Offset” to select the start data location.
The communication protocols have specified transmission sequence of data. For
example, RS232 uses “LSB”; SPI and IIC use “MSB”, but for PO, both “LSB” and
“MSB” can be used. Therefore, the output sequence of user data depends on the
choosen protocol.
LSB:
Least Significant Bit, for binary sequence 00001111, LSB is the most right bit “1”.
MSB:
Most Significant Bit, for binary sequence 00001111, MSB is the most left bit “0”.
In the following Example 1 and Example 2 we will introduce how to output
user-defined data.
Figure 2-26 Output user data
Example 1:
Use RS232 protocol, output data length=1 Byte, data line=D1, Offset=1, the other
parameters use default value, output user data as shown in Figure 2-26.
Explanation:
Offset=1 indicates the first data “1840” would not be output. As data transmitting
through line D1, it will output 8 bits (1 Byte) in the 8 data start from “044A”. The
data storage is shown in the following table.