N 153
www.baumer.com
23
4.5. Specific commands
Command
code
Data amount
in bytes
read
write
Broad-
cast
Saved in
EEPROM
significance
K (4Bh)
-
-
X
X
X
Specific command: profile reset (clear)
Q (51h)
1
-
X
X
X
Specific command: SPA reset
X (58h)
2 / 4 / 8
X
-
-
-
Specific commands
4.5.1. SPA profile reset „K“ (4Bh)
This command is clearing all previously programmed profiles.
Example 1: profile reset of a specific SPA
SOH
Adr
Cmd
Data
EOT
CRC
Transmission
01h
20h
4Bh
7Fh
04h
C6h
SOH
Adr
Data
EOT
CRC
Response
01h
20h
6Fh
04h
52h SPA replies by standard response ‚o’ (6Fh) = OK
Example 2: profile reset in all SPAs by broadcast command (identifier=99)
SOH
Adr
Cmd
Data
EOT
CRC
Transmission
01h
83h
4Bh
7Fh
04h
DBh
Response
Not confirmed
Important:
After profile reset all profile data are set to FFFFFFhex, the current profile number to FFhex.
The SPA display now is indicating 5 hyphens instead of target.
4.5.2. SPA restore default „Q“ (51h)
This command restores default either of individual or collective parameters.
Data = q (71h) = Restore default parameters
Data = t (74h) = Device identifier = 98
Data = x (78h) = Multiturn counter reset to 0. No singleturn reset possible.
Data =
∆
(7Fh) = All above functions are accomplished.
Note: No profile reset. Profile reset by command „R“.
Example 1: Restore default in specific SPA
SOH
Adr
Cmd
Data
EOT
CRC
Transmission
01h
20h
51h
7Fh
04h
AEh
SOH
Adr
Data
EOT
CRC
Response
01h
20h
6Fh
04h
52h SPA replies by standard response ‚o’ (6Fh) = OK
Example 2: Restore default in all SPAs by broadcast command (identifier=99)
SOH
Adr
Cmd
Data
EOT
CRC
Transmisison
01h
83h
51h
7Fh
04h
B3
Response
Not confirmed
4.5.3. Read version, type or serial number „X“ (58h)
This command is utilized to read version number, device type or serial number. The following sub-commands
are available:
Data = V (56h) = read version
Data = T (54h) = read device type
Data = S (53h) = read serial number