/      日本語

Output from the Extremely Simple! Standard App (Parent and Repeater App)

Output format when receiving data from the Extremely Simple! Standard App

0x81: Status Notification from the Peer Device

Outputs the status of the received input signals.

Data Format

#DataDescriptionNotes
charHeaderOnly :
0uint8Logical Device ID of Sender
1uint8Command NumberOnly 0x81
2uint8Packet IdentifierGenerated from Application ID
3uint8Protocol VersionOnly 0x01
4uint8LQI0-255
5uint32Serial ID of Sender0x8???????
9uint8Logical Device ID of Receiver
10uint16Timestamp64 counts per second
12uint8Number of Relays
13uint16Power Supply VoltageUnit: mV
15int8-(Unused)
16uint8Digital SignalsCorresponds to DIx from LSB upwards, 0 means High
If MSB is 1, periodic transmission
17uint8Digital Signal MaskCorresponds to DIx from LSB upwards, 1 means valid
18uint8Converted Value of AI1See Calculation of Analog Signals, 0xFF means unused
19uint8Converted Value of AI2See Calculation of Analog Signals, 0xFF means unused
20uint8Converted Value of AI3See Calculation of Analog Signals, 0xFF means unused
21uint8Converted Value of AI4See Calculation of Analog Signals, 0xFF means unused
22uint8Correction Value of AIxCorresponds to AIx in 2-bit increments from LSB upwards
uint8ChecksumLRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')

Calculation of Analog Signals

The input voltage \(V\) of AIx can be expressed by the received converted value \(e_{r}\) and the correction value \(e_{fr}\) as follows:

$$\begin{align*} V &= e+e_f \\ \text{where} \\ e &= 16e_r \\ e_f &= 4e_{fr} \\ \end{align*}$$

The unit is mV

Example of Output Data

:78811501C98201015A000391000C2E00810301FFFFFFFFFB
#DataDescriptionValue
:charHeader:
780uint8Logical Device ID of Sender0x78
811uint8Command Number0x81
152uint8Packet Identifier0x15
013uint8Protocol Version0x01
C94uint8LQI201/255
8201015A5uint32Serial ID of Sender0x201015A
009uint8Logical Device ID of Receiver0x00
039110uint16TimestampApprox. 14.27 seconds
0012uint8Number of Relays0
0C2E13uint16Power Supply Voltage3118 mV
0015int8-
8116uint8Digital SignalsDI1 L DI2 H
DI3 H DI4 H
(Periodic transmission)
0317uint8Digital Signal MaskDI1 DI2
0118uint8Converted Value of AI116 mV
FF19uint8Converted Value of AI2Unused
FF20uint8Converted Value of AI3Unused
FF21uint8Converted Value of AI4Unused
FF22uint8Correction Value of AIxAI1 0x03
FBuint8Checksum0xFB
charFooter\r
charFooter\n

Data Identification Conditions

The parent and relay apps can receive data from various types of child devices.

To confirm whether the output data is from the Extremely Simple! Standard App, refer to the following:

#DataItemCondition
1uint8Command NumberMust be 0x81
3uint8Protocol VersionMust be 0x01
5uint32Serial ID of SenderMSB must be 1 (i.e., 0x8???????)
--Payload SizeMust be 23 bytes (between : and checksum)

Parser Implementation Examples

0x01: Reception of Arbitrary Data

Data Format

#DataDescriptionNotes
charHeaderOnly :
0uint8Logical Device ID of SenderParent 0x00, Child 0x01-0x64, Unset Child 0x78
1uint8Command NumberOnly 0x01
2[uint8]Arbitrary DataByte array of length \(N\)
uint8ChecksumLRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')