![Acrel ARTU Скачать руководство пользователя страница 12](http://html.mh-extra.com/html/acrel/artu/artu_installation-and-operation-instructions_3046842012.webp)
9
xx = Day
,
01 to 31
xx = Month
,
01 to 12
xxxx = Year
xx = Local time difference 00 to +/- 13 hours
xx = Local time difference (simultaneous difference)
Examples
:
GPS send
:
$GPZDA,020102.012,05,11,2007
,
To ASC Ⅱ for
:
24 47 50 5A 44 41 2C 30 32 30 31 30 32 2E 30 31 32 2C 30 35 2C 31 31 2C 32 30 30 37 2C
That is, the unit time is set as: November 5, 2007 2:01:02
5.1.5
Communication examples
Example 1: Read the current switching state of the remote signaling unit with meter address 2
Send
:
0x02,0x03,0x00,0x10,0x00,0x02,0xC5,0xFD
Return
:
0x02,0x03,0x04,0x00,0x00,0x00,0x03,0x89,0x32
Description: the first and second channel switches of the remote signaling unit with instrument address 2 are closed,
and the remaining 30 channel switches are disconnected.
Example 2: Read 1 to 5 switch states
Send
:
0x01,0x02,0x00,0x00,0x00,0x05,0xB8,0x09
Return
:
0x01,0x02,0x01,0x10,0xA0,0x44
Description: 0x 10 is converted into a binary number of 00010000, that is, the fifth switch is in a closed state, the
others are in an open state.
Example 3: Read the state of 1 to 32 switches
Send
:
0x01,0x02,0x00,0x00,0x00,0x20,0x79,0xD2
Return
:
0x01,0x02,0x04,0x00,0x00,0x8E,0x04,0x9F,0x81
Description: 0x00,0x00,0x8E,0x04 are converted into binary Numbers of 0000,0000,0000, 1000, 11, 0000,0100, that
is, the 18th 19 20 24 27 switch state is closed, the others are open state.
Example 4: Read the state of 17 to 32 switches
Send
:
0x01,0x02,0x00,0x10,0x00,0x10,0x78,0x03
Return
:
0x01,0x02,0x02,0x8E,0x04,0xDD,0xDB
Description: 0x8E,0x04 are converted into binary number of 1000,1110,0000,0100, that is, the 18th 19, 20, 24, 27
switch state is closed, the others are open state.
Example 5: Set the current time
Send
:
0x01,0x10,0x00,0x05,0x00,0x04,0x08,0x12,0x14,0x10,0x21,
0x09,0x07,0x00,0x01,0xA3,0xA8
Return
:
0x01,0x10,0x00,0x05,0x00,0x04,0xD1,0xCB
Description:The time is set to 10:14:00 12sec on September 21, 2007 (note the BCD code format).
Example 6: Set the shaking elimination time of remote signaling unit with meter address 1
Send
:
0x01,0x10,0x00,0x12,0x00,0x01,0x02,0x00,0x04,0xA4,0xE1
Return
:
0x01,0x10,0x00,0x12,0x00,0x01,0xA1,0xCC
Description: shake time set 4 ms (shake elimination time: in the vibration environment, travel switch or button is
often because the jitter and signal error, a shaking of the general time is shorter, according to the characteristics of the
jitter time is short, can be set up by ARTU remote communication unit to eliminate jitter of the shaking time
elimination of reliable signal effectively, so as to achieve the purpose of the anti-interference).