Aalccc0 - ICP DAS USA PIR-130-AC User Manual

Hide thumbs Also See for PIR-130-AC:
Table of Contents

Advertisement

2.19 $AALCCC0

Description:
This command is used to read the current Sensitivity value for the PIR Sensor on a specific
channel of a specified module.
Syntax:
$AALCCC0[CHKSUM](CR)
$
Delimiter character
AA
The address of the module to be read in hexadecimal format (00 to FF)
LCC
The command to read the Sensitivity value for the PIR Sensor
C
The command to read the PIR Relay Output channel
0
Specifies the PIR Relay Output channel to be read, zero based. Note that as there is
only one PIR Sensor channel on the PIR-130 module, the only valid value is 0.
Response:
Valid Command:
Invalid Command:
!
Delimiter character to indicate that the command was valid
?
Delimiter character to indicate that the command was invalid
AA
The address of the responding module in hexadecimal format (00 to FF)
NN
The Sensitivity value for the PIR Sensor, which is stored in the EEPROM. The valid
range is 0 to 9, where a lower value denotes a higher sensitivity.
There will be no response if the command syntax is incorrect, there is a communication error, or
there is no module with the specified address.
Examples:
Command: $01LCBC01
Sets the Sensitivity value for the PIR Sensor on channel 0 of module 01 to 1, and the
module returns a response indicating that the command was valid.
Command: $01LCCC0
Reads the Sensitivity value for the PIR Sensor on channel 0 of module 01, and the
PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28
!AAN[CHKSUM](CR)
?AA[CHKSUM](CR)
Response: !01
Response: >0101
56/93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pir-130-dc

Table of Contents