Specific commands, Spa profile reset „k“ (4bh), Spa restore default „q“ (51h) – Baumer N 152 User Manual
Page 25
N 152
www.baumer.com
25
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
Transmission
01h
83h
51h
7Fh
04h
B3
Response
Not confirmed