/      日本語

Remote Control App UART Function

Data format used for UART function.
Explanation of data format used in the UART function of Remote Control App (App_IO).

Digital Input and Output

0x81: Status Notification from the Remote Device

Outputs the state of the received input signal.

Data Format

#DataDescriptionRemarks
charHeader: only
0uint8Source Logical Device ID
1uint8Command Number0x81 only
2uint8Packet Identifier0x0F only
3uint8Protocol Version0x01 only
4uint8LQI0-255
5uint32Source Serial ID0x8???????
9uint8Destination Logical Device ID
10uint16Timestamp64 counts per second, MSB is internal flag
12uint8Relay Count
13uint16Digital SignalCorresponds to Ix from LSB, 0 is High
15uint16Digital Signal MaskCorresponds to Ix from LSB, 1 means valid
17uint16Digital Signal FlagCorresponds to Ix from LSB, 1 means interrupt
19uint8UnusedFor internal management
uint8ChecksumLRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')

Example Output Data

:01810F01DB8630000200645F000040004F00400049

0x80: Remote Device Output Change

Controls the output signals of the remote device.

Data Format

#DataDescriptionRemarks
charHeader: only
0uint8Destination Logical Device IDParent 0x00, Child 0x01-0x64, All Children 0x78
1uint8Command Number0x80 only
2uint8Format Version0x01 only
3uint16Digital SignalCorresponds to Ox from LSB, 0 is High
5uint16Digital Signal MaskCorresponds to Ox from LSB, 1 is valid
7uint16Unused0
9uint16Unused0
11uint16Unused0
13uint16Unused0
uint8ChecksumLRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')

UART Input and Output