Specific commands, Spa profile reset „k“ (4bh) – Baumer N 150 User Manual
Page 17

N 150
www.baumer.com
17
4.5. Specific commands
Command
code
Data amount
in bytes
read
write
Broad-
cast
Save 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 command: Read device data
4.5.1. SPA profile reset „K“ (4Bh)
This command is clearing all previously programmed profiles.
Example 1: profile reset of a specific N 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 N 150 replies by standard response ‚o’ (6Fh) = OK
Example 2: profile reset in all SPA 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. N 150 restore default „Q“ (51h)
This command restores default either of individual or collective parameters.
Data = q (71h) = Parameters restore default
Data = t (74h) = Device identifier = 98
Data = x (78h) = Multiturn counter reset to 0. No singleturn reset possible.
Data = ∆ (7Fh) = Enable all above functions.
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 N 150 replies by standard response ‚o’ (6Fh) = OK
Example 2: Restore default in all SPA by broadcast command (identifier=99)
SOH
Adr
Cmd
Data
EOT
CRC
Transmission
01h
83h
51h
7Fh
04h
B3
Response
Not confirmed