Specific commands, Spa profile reset, command „k“ (4bh) – Baumer N 142 User Manual
Page 27
N 142
www.baumer.com
27
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 (delete)
Q (51h)
1
-
X
X
X
Specific command: N 142 reset
X (58h)
2 / 4 / 8
X
-
-
-
Specific command: Read device data
4.5.1. SPA profile reset, command „K“ (4Bh)
This command is clearing all previously programmed profiles.
Example 1: Profile reset of a specific N 142
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 142 replies by standard response ‚o’ (6Fh) = OK
Example 2: General 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 auf FFFFFFhex , the current profile number to FFhex.
The display now shows 6 dashes instead of the target.
4.5.2. N 142 restore default, command „Q“ (51h)
This command restores default either of individual or collective parameters.
Data = p (70h) = offset reset
Data = q (71h) = restore default
Data = t (74h) = Assign device identifier 98.
Data = x (78h) = current value reset to 0.
Data = ∆ (7Fh) = All above functions are enabled.
Note: No profile reset. Profile reset by command “R”.
Example 1: Restore default at a specific N 142
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 142 replies by standard response ‚o’ (6Fh) = OK
Example 2: Restore default at all SPAs by broadcast command (identifier = 99)
SOH Adr Cmd Data EOT CRC
Transmission
01h 83h 51h 7Fh 04h B3
Response
Not confirmed