The PIR-130 module also includes a 1-channel temperature sensor that can be used for measuring room temperature or can be configured to activate a fire alarm. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 6/93...
Yes,1 as Power/Communication Indicator. 1 as Alarm Indicator EMS Protection ESD (IEC 61000-4-2) ±4 kV Contact for Each Terminal, ±8 kV Air for Random Point EFT (IEC 61000-4-4) ±4 kV for Power Line Power Requirements PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 7/93...
Page 8
NO: 10 A @ 250 VAC Max. Load Current NC: 6A @ 250 VAC Incandescent Bulb: 1500 W Max. Load Wattage Fluorescent Lamp: 300 W Max. RS-485 Interface COM Port RS-485 Transmission Distance (m) Dependent on Baud Rate. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 8/93...
Page 9
Mechanical Installation Ceiling mounting Protection Class IP20 Dimensions (D x H) 121 mm x 52 mm Environment Operating Temp. -25 to 75℃ Storage Temp. -30 to 80℃ Humidity 10 to 90% RH, Non-condensing PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 9/93...
Used to specify the Lux level at which the sensor will activate the light when movement is detected. DIP [5] The PIR Sensor will only detect motion when the Lux level is between 0 and 200 OFF: The PIR Sensor will detect motion continuously (default) PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 12/93...
Page 13
Used to specify the ON time for the relay after the PIR Sensor has been triggered. DIP 8 DIP 9 DIP 10 ON Time 6 seconds (default) 16 seconds DIP [8:10] 33 seconds 66 seconds 131 seconds 262 seconds 524 seconds 1049 seconds PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 13/93...
Ensure that there are no obstructions in the field of view. Installation Instructions 1. Position the Mounting Plate in the desired location. Mark the positions of the two screw holes and a 10 mm hole, as indicated below. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 16/93...
Page 17
Secure the Mounting Plate to the ceiling using the M4x12 drywall screws and the optional octagonal box. 3. Feed the wires through the wiring hole. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 17/93...
Page 18
4. Connect all the wires to the appropriate locations on the connector. 5. Align the marks on the PIR-130 with the marks on the Mounting Plate. 6. Rotate the PIR-130 clockwise until it locks into place. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 18/93...
Module Address Command Checksum Response Format: Delimiter Character Module Address Data Checksum CR = End of command character, carriage return (0x0D), used to end a frame. Note: All characters should be in upper case. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 20/93...
Page 21
Reads the current Active Delay Time for the Relay 2.11 $AALC4C0 !AANNNN Output Sets the value of the Luminance Level for the PIR 2.12 $AALC5C0NN Sensor Reads the current value of the Luminance Level 2.13 $AALC6C0 !AANN PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 21/93...
Page 22
Disables the High Alarm Function 2.26 @AADA Clears the Status of the High Alarm 2.27 @AACHC0 Reads the current value of the High Alarm 2.28 @AARH !AA(Data) Read the currently activated alarm 2.29 @AARAO !AAHH00 PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 22/93...
The address of the responding module in hexadecimal format (00 to FF) 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. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 23/93...
Page 24
Changes to the address and counter update direction settings take effect immediately after a valid command is received. Changes to the Baud Rate and Checksum settings take effect on the next power-on reset. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 24/93...
Page 25
Changes the Baud Rate of module 01 to 9600 bps and the INIT DIP Switch (DIP 4) is in the ON position. The module returns a response indicating that the command was valid. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 25/93...
Page 26
Type Code is set to 40, the Baud Rate is 9600 bps, the Checksum is Disabled and the counter update direction is Falling Edge. Related Commands: Section 2.1 %AANNTTCCFF Related Topics: Section 1.5 DIP Switch Configuration Section 1.10 Software Configuration Tables PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 26/93...
Page 27
Reads the reset status for module 01 and returns a response indicating that the command was valid, and that it is the first time the $AA5 command has been sent since the module was powered on. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 27/93...
Page 28
Reads the reset status for module 01 and returns a response indicating that the command was valid, and that there has been no module reset since the last $AA5 command was sent. Related Commands: None PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 28/93...
Page 29
Reads the current status of the PIR Relay Output channel for module 02 and returns a response indicating that the command was valid and that the current status of the PIR Relay Output channel is active. Related Commands: Section 2.9 @AADI PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 29/93...
Examples: Command: $01F Response: !0101.00 Reads the current firmware version of module 01, and returns a response indicating that the command was valid, and that the firmware is version 01.00. Related Commands: None PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 30/93...
Examples: Command: $02M Response: !02PIR130 Reads the name of module 02 and returns a response indicating that the command was valid, and that the name of the module is “PIR-130”. Related Commands: None PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 31/93...
Examples: Command: $01P1 Response: !01 Sets the communication protocol to be used for module 01 to Modbus RTU and the module returns a response indicating that the command was valid. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 32/93...
Page 33
DCON and Modbus RTU protocols and that the DCON protocol will be used at the next power-on reset. Related Commands: Section 2.8 $AAPN Related Topics: Section 1.5 DIP Switch Configuration PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 33/93...
RTU, but the module returns a response indicating that the command was invalid because the INIT DIP Switch (DIP 4) has not been set to the ON position. See Section 1.5 for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 34/93...
Page 35
INIT DIP Switch (DIP 4) hasn’t been set to the ON position. See Section 1.5 for more details. Related Commands: Section 2.7 $AAP Related Topics: Section 1.5 DIP Switch Configuration PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 35/93...
Page 36
Reads the status of the PIR Relay Output channel for module 02 and returns a response indicating that the command was valid, and that both the PIR Relay Output channel and the status of the PIR are active. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 36/93...
Page 37
Related Commands: Section 2.4 $AA6 PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 37/93...
Sets the Active Delay Time for the PIR Relay Output channel of module 01 to 0x03E8 (1000 milliseconds) and the module returns a response indicating that the command was valid. The PIR Relay Output channel will be active for 1000 milliseconds after the module is powered on. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 38/93...
Page 39
0x0BB9 (3001 milliseconds), but the module returns a response indicating that the command was invalid because the value for the Active Delay Time was not within the valid range. Related Commands: Section 2.11 $AALC4C0 PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 39/93...
Sets the Active Delay Time for PIR Relay Output channel 0 of module 01 to 0x0BB8 (3000 milliseconds) and the module returns a response indicating that the command was valid. The PIR Relay Output channel will be active for 3000 milliseconds after the module is powered on. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 40/93...
Page 41
0BB8, meaning that the Active Delay Time is 3000 milliseconds, so the PIR Relay Output channel will be active for 3000 milliseconds after the module is powered on. Related Commands: Section 2.10 $AALC3C0NNNN PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 41/93...
The address of the responding module in hexadecimal format (00 to FF) 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. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 42/93...
Page 43
Reads the Luminance Value for the PIR Sensor on channel 0 of module 01 and returns a response indicating that the command was valid, with a value of 1, meaning that the Luminance Value is 100 Lux Related Commands: Section 2.13 $AALC6C0 PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 43/93...
2: 200 Lux 3: 500 Lux 4: 1000 Lux 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. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 44/93...
Page 45
Attempts to read the Luminance Value for the PIR Sensor on channel 1 of module 01, but the module returns a response indicating that the command was invalid because channel 1 does not exist on the PIR-130. Related Commands: Section 2.12 $AALC5C0N PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 45/93...
The address of the responding module in hexadecimal format (00 to FF) 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. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 46/93...
Page 47
Attempts to set the PIR Relay Output ON Time value for channel 1 of module 01 to 00, but the module returns a response indicating that the command was invalid because channel 1 does not exist on the PIR-130 module. Related Commands: Section 2.15 $AALC8C0 PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 47/93...
Seconds Seconds Seconds Seconds 1049 2097 3146 4194 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. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 48/93...
Page 49
Attempts to read the PIR Relay Output ON Time value for channel 1 of module 01, but the module returns a response indicating that the command was invalid because channel 1 does not exist on the PIR-130 module. Related Commands: Section 2.14 $AALC7C0NN PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 49/93...
Sets the Buzzer Operation Mode for channel 0 of module 01 to 1 meaning that the Buzzer will be activated when the PIR Sensor is triggered, and the module returns a response indicating that the command was valid. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 50/93...
Page 51
Attempts to set the Buzzer Operation Mode for channel 1 of module 01 to 1, but the module returns a response indicating that the command was invalid because channel 1 does not exist on the PIR-130 module. Related Commands: Section 2.17 $AALCAC0 PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 51/93...
Sets the Buzzer Operation Mode for channel 0 of module 01 to 1, meaning that the Buzzer will be activated when the PIR Sensor is triggered, and the module returns a response indicating that the command was valid. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 52/93...
Page 53
Attempts to read the Buzzer Operation Mode for channel 1 of module 01, but the module returns a response indicating that the command was invalid because channel 1 does not exist on the PIR-130 module. Related Commands: Section 2.16 $AALC9C0N PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 53/93...
Examples: Command: $01LCBC01 Response: !01 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. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 54/93...
Page 55
Attempts to set the Sensitivity value for the PIR Sensor on channel 1 of module 01 to 1, but the module returns a response indicating that the command was invalid because channel 1 does not exist on the PIR-130 module. Related Commands: Section 2.17 $AALCCC0 PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 55/93...
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 Response: >0101 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 56/93...
Page 57
Attempts to read the Sensitivity value for the PIR Sensor on channel 1 of module 01, but the module returns a response indicating that the command was invalid because channel 1 does not exist on the PIR-130 module. Related Commands: Section 2.18 $AALCAC0N PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 57/93...
An output value of 1 indicates that the relay is inactive 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. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 58/93...
Page 59
Reads the status of the Relay Output signal for module 02 and returns a response indicating that the command was valid, with a value of 02, which denotes that the PIR Relay Output channel is in inactive mode. Related Commands: Section 2.21 ~AADVV PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 59/93...
The address of the responding module in hexadecimal format (00 to FF) 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. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 60/93...
Page 61
Attempts to set the Relay Output signal for module 02 to 07, but returns a response indicating that the command was invalid because the output value was not within the valid range. Related Commands: Section 2.20 ~AAD PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 61/93...
Command: ~03RD Response: !031E Reads the Response Delay Time for module 03 and returns a response indicating that the command was valid, with a value of 1E (30 ms). Related Commands: Section 2.23 ~AARDVV PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 62/93...
Command: ~03RD Response: !031E Reads the Response Delay Time for module 03 and returns a response indicating that the command was valid, with a value of 1E (30 ms). PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 63/93...
Page 64
Attempts to set the Response Delay Time for module 03 to 1F (31 ms), but the module returns a response indicating that the command was invalid because the value specified for the Response Delay Time was not within the valid range. Related Commands: Section 2.22 ~AARD PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 64/93...
Enables the High Alarm function for module 01 and sets the alarm type to momentary, and returns a response indicating that the command was valid. Command:@03DA Response:!03 Disables the High Alarm function for module 03, and returns a response indicating that the command was valid. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 65/93...
Reads the high alarm limits for module 01, and returns a response indicating that the command was valid, with a value of +086.00, which denotes that the High Alarm limits is +86.0 degrees Celsius. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 67/93...
Disables the High Alarm function for module 03, and returns a response indicating that the command was valid. Related Commands: Section 2.24 @AAEAT, Section 2.25 @AAHI(Data), Section 2.27 @AACHC0, Section 2.28 @AARH, Section 2.29 @AARAO PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 69/93...
Clears the status of the Latched High Alarm for module 03, and returns a response indicating that the command was valid. Related Commands: Section 2.24 @AAEAT, Section 2.25 @AAHI(Data), Section 2.26 @AADA, Section 2.28 @AARH, Section 2.29 @AARAO PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 70/93...
Reads the High Alarm limits for module 03, and returns a response indicating that the command was valid, with a value of +090.50, which denotes that the High Alarm limits is +90.5 degrees Celsius. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 71/93...
Page 73
Reads the High Alarm limits for module 03, and returns a response indicating that the command was valid, with a value of +090.50, which denotes that the High Alarm limits is +90.5 degrees Celsius. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 73/93...
Note that the address mapping for the Modbus protocol is Base 0. Length Byte Description Value (in Bytes) Address 1 to 247 Function Code Function Code + 0x80 Exception Code Note: If a CRC mismatch occurs, the module will not respond. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 75/93...
Reads/sets the Response Delay Time in milliseconds. The valid 30488 range is 0 to 30 ms (00 to 1E in 1 ms intervals). PIR-related Commands Address Description Attribute Reads the current status of the PIR Relay Output. 10001 1: Active PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 76/93...
Page 77
The valid range is 0 to 0xBB8 (0 to 3000 milliseconds). Reads/sets Sensitivity value for the PIR Sensor. The valid range 30517 is 0 to 9, where a lower value denotes a higher sensitivity. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 77/93...
Page 78
Modbus RTU Function Description: (0xxxx): 0x05, 0x0F Function Code (1xxxx): 0x01 Function Code (3xxxx): 0x06, 0x10 Function Code (4xxxx): 0x03 Function Code PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 78/93...
*N = (Number of addresses requested / 8) Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0x81 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 79/93...
*N = (Number of addresses requested / 8) Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0x82 Refer to the Modbus standard for more Exception Code details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 80/93...
Requested Address *N = Number of addresses requested Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0x83 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 81/93...
Requested Address *N = Number of addressee requested Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0x84 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 82/93...
The value is the same as bytes 04 and 05 Requested Address of the Request Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0x85 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 83/93...
The value is the same as bytes 04 and 05 Requested Address of the Request Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0x86 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 84/93...
The value is the same as bytes 04 and 05 Requested Address of the Request Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0x8F Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 85/93...
The value is the same as bytes 04 and 05 Addresses of the Request Requested Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0x90 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 86/93...
If the module does not support the sub-function code specified in the message, then it will respond as follows: Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0xC6 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 87/93...
03 - 06 Module Name 0x4C 0x43 0x01 0x01 (PIR-130) Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0xC6 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 88/93...
Others: Error 04 - 06 Reserved 0x00 0x00 0x00 Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0xC6 Refer to the Modbus standard for more Exception Code details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 89/93...
Page 90
1200 2400 4800 9600 19200 38400 57600 115200 Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0xC6 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 90/93...
Page 91
05 - 07 Reserved 0x00 0x00 0x00 Mode Others: Error 09 - 10 Reserved 0x00 0x00 Note: The new Baud Rate and Protocol settings will only become effective after the next power-on reset. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 91/93...
Page 92
Error Response Length Byte Description Value (in Bytes) Address 1to 247 Function Code 0xC6 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 92/93...
Page 93
0x00 - 0xFF Build Version 0x00 - 0xFF Error Response Length Byte Description Value (in Bytes) Address 1 to 247 Function Code 0xC6 Exception Code Refer to the Modbus standard for more details. PIR-130-AC/DC User Manual Ver. 1.4.0, 2020/07/28 93/93...