
34
ATIM_ACW-MR4_UG_EN_V1.5
Input 3 => parameter code = 0x18
Input 4 => parameter code = 0x19
For the value of the parameter (byte 2), the byte is divided into three parts:
Bits 7,6 (AA) => choice of trigger edge: Rising edge - AA = 1; falling edge - AA = 2; Rising and falling edges
–
AA = 3
Bits 5,4 (BB) => choice of draw resistance: pull up - BB = 1; pull down
–
BB = 2.
Bits 2-0 (CCC) => choice of input mode: Front detection - CCC = 1; counter 1 - CCC = 2;
counter 2 - CCC = 3; counter 3 - CCC = 4; counter 4 - CCC = 5
Threshold counters setup
Parameter
code (Byte 1)
Frame size
(Byte 2)
Index
(Byte 3)
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
0xD5
0x06
0xAA
0xWW
0xXX
0xYY
0xZZ
0 = disabled threshold
1+ = enabled threshold
This parameter is used to configure the threshold value for the 4 counters.
The configuration for a counter extends over 5 bytes: the first 4 for the threshold value (0xZZYYXXWW) and the last
byte to activate or deactivate the threshold.
This downlink frame allows to configure the threshold for 1 counter at a time. The
Index
byte value
allows to choose
between the 4 below counters as follows:
-
For the counter 1; the Index byte value is 0xAA = 0x00
-
For the counter 2; the Index byte value is 0xAA = 0x05
-
For the counter 3; the Index byte value is 0xAA = 0x0a
-
For the counter 4; the Index byte value is 0xAA = 0x0f
Input bounce time configuration
Parameter code (Byte 1)
Parameter value (Byte 2)
0x1A
0xXX
This parameter is used to configure the debounce value of the inputs in milliseconds
The value of the parameter 0xXX can therefore be between 0x0A and 0xFF