49
5.1.2 Preset Mode 2
In this mode, the preset data is configured by the serial command. Data
comparison is completed by both complete and partial matching. It is possible to
save the preset data to internal flash memory.
Send the following command to set this mode:
PREM=2[CR]
SET=PREDabcd[CR]
: Set the preset data (data is “abcd”)
SET=PRENa[CR]
: Set the number of digits (a: 0 to 100)
WSETS[CR]
: Save the settings to internal flash memory
e.g.1) Example 1: Only ”12345” is valid
12345
: match
1234
: mismatch
12345
6
: mismatch
01234
5
: mismatch
PREM=2[CR]
SET=PRED12345[CR]
: Set the preset data (data is “12345”)
SET=PREN5[CR]
: Set the number of digits (5 digits)
WSETS[CR]
: Save the settings to internal flash memory
e.g.2) Example 2: Valid when first 4 digits are “ABCD”.
ABCD
: match
ABCD
333
: match
ABCD
777777
: match
ABC
: mismatch
DABC
333
: mismatch
77
ABCD
77777 : mismatch
PREM=2[CR]
SET=PREDABCD[CR]
: Set the preset data (data is “ABCD”)
SET=PREN0[CR]
: Set the number of digits (no count)
WSETS[CR]
: Save the settings to internal flash memory