background image

 

 

PIR-130-AC/DC User Manual

 

Ver. 1.4.0, 2020/07/28

 

1/93 

 
 
 
 
 
 

PIR-130-AC/DC

   

 
 
 

User Manual 

Содержание PIR-130-AC

Страница 1: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 1 93 PIR 130 AC DC User Manual ...

Страница 2: ...s product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2015 ICP DAS Co Ltd All rights are reserved Trademarks Names are...

Страница 3: ...onnections 11 1 5 DIP Switch Configuration 12 1 6 Package Contents 14 1 7 Hardware Overview 15 1 8 Hardware Installation 16 1 9 Software Configuration Tables 19 2 DCON Protocol 20 2 1 AANNTTCCFF 23 2 2 AA2 25 2 3 AA5 27 2 4 AA6 29 2 5 AAF 30 2 6 AAM 31 2 7 AAP 32 2 8 AAPN 34 2 9 AA 36 2 10 AALC3C0NNNN 38 2 11 AALC4C0 40 2 12 AALC5C0N 42 2 13 AALC6C0 44 2 14 AALC7C0NN 46 ...

Страница 4: ...nction Code 75 Section 75 3 1 Modbus Address Mapping 76 3 2 01 0x01 Read Coils 79 3 3 02 0x02 Read Discrete Input 80 3 4 03 0x03 Read Multiple Registers 81 3 5 04 0x04 Read Multiple Input Registers 82 3 6 05 0x05 Write Single Coil 83 3 7 06 0x06 Write Single Register 84 3 8 15 0x0F Write Multiple Coils 85 3 9 16 0x10 Write Multiple Registers 86 3 10 70 0x46 Read Write Module Settings 87 3 10 1 Sub...

Страница 5: ...DC User Manual Ver 1 4 0 2020 07 28 5 93 3 10 3 Sub function 05 0x05 Read Communication Settings 90 3 10 4 Sub function 06 0x06 Write Communication Settings 91 3 10 5 Sub function 32 0x20 Read Firmware Version 93 ...

Страница 6: ...ed waves generated by human within a range of approximately 8 meters in diameter with a 360 coverage area The PIR 130 is used for indoor motion detection and can be configured to automatically switch on a light if motion is detected 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 ...

Страница 7: ...able Resolution 0 0625 C Accuracy 2 C Relay Output Channels 1 Type Power Relay Form C Max Load Current NO 10A 250VAC NC 6A 250VAC Load Wattage Incandescent Bulb 1500 W Max Fluorescent Lamp 300 W Max RS 485 Interface COM Port RS 485 Transmission Distance m Dependent on Baud Rate For example 1200 m Max at 9600 bps Baud Rate bps Softeare 1200 2400 4800 9600 19200 38400 57600 115200 Protocol DCON Modb...

Страница 8: ...able 6 16 33 66 131 262 524 and 1049 Software 16 step 2 4 6 8 16 33 49 66 131 262 393 524 1049 2097 3146 and 4194 LUX Control Level Adjustable from daylight to darkness Hardware 2 modes Dawn and dusk Software 5 step Detection Range Radius 4 meters Max Detection Field of View 360 Max Diameter of 8 meters Temperature Sensor Measuring Range 25 to 100 C Fire Alarm 65 C Programmable Resolution 0 0625 C...

Страница 9: ...cator 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 Power Supply 100 240 VAC 10 30 VDC Protection Power reverse polarity protection Over voltage brown out protection Power Consumption 2 W 1 3 W Mechanical Installation Ceiling mounting Protection Class IP20 Dimensions D x H 121 ...

Страница 10: ...Natural Wire D RS 485 Serial Communication Interface D N C Relay s Normally Closed Contact N O Relay s Normally Open Contact COM Relay s Common Contact PIR 130 DC Pin Descriptions VS Power Input 10 24 VDC GND Ground D RS 485 Serial Communication Interface D N C Relay s Normally Closed Contact N O Relay s Normally Open Contact COM Relay s Common Contact ...

Страница 11: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 11 93 1 4 Wiring Connections PIR 130 AC PIR 130 DC ...

Страница 12: ...ddress Used to specify the module address when DIP 2 is set to OFF ON Use Rotary Switch positions 0 to F for node addresses 176 to 191 OFF Use Rotary Switch positions 0 to F for node addresses 160 to 175 default DIP 4 Mode Used to specify the Operating Mode ON Operating in INIT mode OFF Operating in Normal mode default DIP 5 PIR Operation Used to specify the Lux level at which the sensor will acti...

Страница 13: ...ivity OFF OFF Maximum default OFF ON High ON OFF Low ON ON Minimum DIP 8 10 ON Time Control Used to specify the ON time for the relay after the PIR Sensor has been triggered DIP 8 DIP 9 DIP 10 ON Time OFF OFF OFF 6 seconds default OFF OFF ON 16 seconds OFF ON OFF 33 seconds OFF ON ON 66 seconds ON OFF OFF 131 seconds ON OFF ON 262 seconds ON ON OFF 524 seconds ON ON ON 1049 seconds ...

Страница 14: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 14 93 1 6 Package Contents PIR 130 Quick Start Guide Mounting Plate M4x12 Drywall Screws ...

Страница 15: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 15 93 1 7 Hardware Overview Front Rear ...

Страница 16: ...R 130 in areas where the environmental temperature may change rapidly Ensure that the PIR 130 is located at least one meter away from the nearest fluorescent light so as to avoid interference 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 indicat...

Страница 17: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 17 93 2 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 ...

Страница 18: ...l Ver 1 4 0 2020 07 28 18 93 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 ...

Страница 19: ...e Code Parity Bits 6 and 7 Code 00 01 10 11 Parity n 8 1 n 8 2 e 8 1 o 8 1 Baud Rate Code Bits 0 to 5 Code 03 04 05 06 07 08 09 0A Baud Rate 1200 2400 4800 9600 19200 38400 57600 115200 Data Format Settings FF 7 6 5 4 3 2 1 0 Reserved CS Reserved Key Description CS Checksum Settings 0 Disabled 1 Enabled Note All Reserved bits should be zero ...

Страница 20: ...ed by the Host and responses transmitted by the PIR 130 module Each module has a unique ID number that is used for addressing purposes and is stored in non volatile memory The module ID number is set to 01 by default and can be changed by sending a user command All commands to the modules contain the ID number as the address meaning that only the addressed module will respond Delimiter Character M...

Страница 21: ...be used by the module 2 8 AARD AA Data Reads the current Response Delay Time 2 22 AARDVV AA Sets the Response Delay Time for the Module 2 23 PIR Relay Output Status Command Sets Command Response Description Section AADI Data Reads the current status of the PIR Relay Output 2 9 AAD AAVV Reads the current Active State of the PIR Relay Output 2 20 AADVV AA Sets the Active State of the PIR Relay Outpu...

Страница 22: ...peration Mode for the Buzzer 2 17 AALCBC0NN AA Sets the Sensitivity Value for the PIR Sensor 2 18 AALCC0V AANN Reads the current Sensitivity Value for the PIR Sensor 2 19 High Alarm Command Sets Command Response Description Section AAEAT AA Enables the High Alarm Function 2 24 AAHI Data AA Sets the High Alarm Condition Value 2 25 AADA AA Disables the High Alarm Function 2 26 AACHC0 AA Clears the S...

Страница 23: ...for details The INIT DIP Switch DIP 4 must be set to the ON position see Section 1 5 for details Note that the INIT DIP Switch DIP 4 must be set to the ON position before using this command See Section 1 5 for more details Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character to indicate that the command was valid Delimiter character to indicate that the command was ...

Страница 24: ...sponse 01 Changes the Baud Rate of module 01 to 115200 bps and the he INIT DIP Switch DIP 4 has been set to the ON position The module returns a response indicating that the command was valid Command 012 Response 01400600 Reads the configuration of module 01 and returns a response indicating that the command was valid and showing that the Type Code is set to 40 the Baud Rate is 9600 bps the Checks...

Страница 25: ...te that the command was invalid AA The address of the responding module in hexadecimal format 00 to FF TT The Type Code for the module which should be 40 for DIO modules CC The Baud Rate for the module See Section 1 10 for details FF The Checksum and counter update direction settings for the module See Section 1 10 for details There will be no response if the command syntax is incorrect there is a...

Страница 26: ...iguration of module 01 and returns a response indicating that the command was valid and showing that the Type Code is set to 40 the Baud Rate is 9600 bps the Checksum is Disabled and the counter update direction is Falling Edge Section 2 1 AANNTTCCFF Section 1 5 DIP Switch Configuration Section 1 10 Software Configuration Tables ...

Страница 27: ...s of the responding module in hexadecimal format 00 to FF S The reset status of the module 0 This is NOT the first time the command has been sent since the module was powered on which denotes that there has been no module reset since the last AA5 command was sent 1 This is the first time the AA5 command has been sent since the module was powered on There will be no response if the command syntax i...

Страница 28: ...2020 07 28 28 93 Related Commands Command 015 Response 010 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 None ...

Страница 29: ...indicate that the command was invalid AA The address of the responding module in hexadecimal format 00 to FF Data The current status of the PIR Relay Output channel represented by a four digit hexadecimal value followed by 00 The first two digits represent the status of the PIR Relay Output channel and the second two are reserved There will be no response if the command syntax is incorrect there i...

Страница 30: ...SUM CR 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 Data A string indicating the current firmware version of the module There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified a...

Страница 31: ...A CHKSUM CR 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 Data A string indicating the name of the module 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...

Страница 32: ... of the responding module in hexadecimal format 00 to FF S The communication protocol s supported by the module 0 Only the DCON protocol is supported 1 Both the DCON and Modbus RTU protocols are supported C The communication protocol currently saved in the EEPROM that will be used at the next power on reset 0 The communication protocol currently saved in the EEPROM is DCON 1 The communication prot...

Страница 33: ...unication protocol information configured for module 01 and returns a response indicating that the command was valid with a value of 10 which denotes that the module supports both the DCON and Modbus RTU protocols and that the DCON protocol will be used at the next power on reset Section 2 8 AAPN Section 1 5 DIP Switch Configuration ...

Страница 34: ...saved in the EEPROM and will become effective after the next power on reset Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR 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 There will be no response if the command syntax is incorrect there i...

Страница 35: ...1 returns a response indicating that the command was valid with a value of 10 which denotes that the module supports both the DCON and Modbus RTU protocols and that the DCON protocol will be used at the next power on reset Command 01P1 Response 01 Attempts to set the current communication protocol into Modbus RTU for module 01 but the module returns a response indicating that the command was inval...

Страница 36: ...ing module in hexadecimal format 00 to FF S High temperature alarm enable status 0 alarm disable 1 momentary alarm enabled 2 latch alarm enabled OO The status of the PIR Relay Output channel represented by a two digit hexadecimal value 00 PIR Relay Output is inactive 01 PIR Relay Output is active II The PIR active status represented by a two digit hexadecimal value 00 The status of the PIR is acti...

Страница 37: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 37 93 Related Commands Section 2 4 AA6 ...

Страница 38: ...t hexadecimal value representing the Active Delay Time in milliseconds The maximum delay time is 0x0BB8 3000 milliseconds Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character to indicate the command was valid Delimiter character to indicate the command was invalid AA The address of the responding module in hexadecimal format 00 to FF There will be no response if the...

Страница 39: ...ning that the Active Delay Time is 3000 milliseconds The PIR Relay Output channel will be active for 3000 milliseconds after the module is powered on Command 01LC3C00BB9 Response 01 Attempts to set the Active Delay Time for the PIR Relay Output channel of module 01 to 0x0BB9 3001 milliseconds but the module returns a response indicating that the command was invalid because the value for the Active...

Страница 40: ...0 Response Valid Command AANNNN CHKSUM CR Invalid Command AA CHKSUM CR 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 NNNN A four digit hexadecimal value representing the Active Delay Time in milliseconds There will be no response if the command syntax is ...

Страница 41: ...ive Delay Time for Relay Output channel 0 of module 01 and returns a response indicating that the command was valid with a value of 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 Section 2 10 AALC3C0NNNN ...

Страница 42: ...ote that as there is only one PIR Sensor channel on the PIR 130 module the only valid value is 0 NN The command to set the Luminance Value for the PIR Sensor where 00 Disabled 01 100 Lux 02 200 Lux 03 500 Lux 04 1000 Lux The valid range is 0 to 4 This value will be stored in the EEPROM Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character to indicate that the command...

Страница 43: ... was valid Command 01LC5C05 Response 01 Attempts to set the Luminance Value for the PIR Sensor on channel 0 of module 01 to a value of 5 but the module returns a response indicating that the command was invalid because the value is not within the valid range Command 01LC6C0 Response 011 Reads the Luminance Value for the PIR Sensor on channel 0 of module 01 and returns a response indicating that th...

Страница 44: ...s there is only one PIR Sensor channel on the PIR 130 module the only valid value is 0 Response Valid Command AAN CHKSUM CR Invalid Command AA CHKSUM CR Ignored Command AA CHKSUM CR 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 Luminance Value for ...

Страница 45: ...d was valid Command 01LC6C0 Response 0101 Reads the Luminance Value for the PIR Sensor on channel 0 of module 01 and the module returns a response indicating that the command was valid with a value of 1 meaning that the Luminance Value is 100 Lux Command 01LC6C1 Response 01 Attempts to read the Luminance Value for the PIR Sensor on channel 1 of module 01 but the module returns a response indicatin...

Страница 46: ...e PIR 130 module the only valid value is 0 NN The command to set the PIR Relay Output ON Time for when the PIR Sensor is triggered in hexadecimal format This value will be stored in the EEPROM and the valid range is 00 to 0F NN Seconds NN Seconds NN Seconds NN Seconds 00 2 01 4 02 6 03 8 04 16 05 33 06 49 07 66 08 131 09 262 0A 393 0B 524 0C 1049 0D 2097 0E 3146 0F 4194 Response Valid Command AA C...

Страница 47: ...d Command 01LC8C0 Response 0100 Reads the PIR Relay Output ON Time value for channel 0 of module 01 and the module returns a response indicating that the command was valid with a value of 00 meaning that the ON Time will be 2 seconds Command 01LC7C100 Response 01 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 th...

Страница 48: ...nel on the PIR 130 module the only valid value is 0 Response Valid Command AANN CHKSUM CR Invalid Command AA CHKSUM CR 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 PIR Relay Output ON Time value for when the PIR Sensor is triggered in hexadecimal ...

Страница 49: ...lid Command 01LC8C0 Response 0101 Reads the PIR Relay Output ON Time value for channel 0 of module 01 and the module returns a response indicating that the command was valid with a value of 00 meaning that the ON Time will be 2 seconds Command 01LC8C1 Response 01 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 com...

Страница 50: ...he Buzzer will NOT be activated when the PIR Sensor is triggered 1 The Buzzer WILL be activated when the PIR Sensor is triggered This value will be stored in the EEPROM Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR 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 hex...

Страница 51: ...ponse indicating that the command was valid with a value of 1 meaning that the Buzzer will be activated when the PIR Sensor is triggered Command 01LC9C11 Response 01 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 Section 2 17 AALCAC0 ...

Страница 52: ...dule the only valid value is 0 Response Valid Command AAN CHKSUM CR Invalid Command AA CHKSUM CR 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 Buzzer Operation Mode which is stored in the EEPROM There will be no response if the command syntax is in...

Страница 53: ...esponse indicating that the command was valid with a value of 1 meaning that the Buzzer will be activated when the PIR Sensor is triggered Command 01LCAC1 Response 01 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 Section 2 16 AALC9C0N ...

Страница 54: ...alue is 0 NN The command to set the Sensitivity value for the PIR Sensor The valid range is 0 to 9 where a lower value denotes a higher sensitivity and this value will be stored in the EEPROM Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character to indicate that the command was valid Delimiter character to indicate that the command was invalid AA The address of the r...

Страница 55: ...odule 01 and the module returns a response indicating that the command was valid with a value of 1 Command 01LCBC11 Response 01 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 Section 2 17 AALCCC0 ...

Страница 56: ...N CHKSUM CR Invalid Command AA CHKSUM CR 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 re...

Страница 57: ... that the command was valid with a value of 1 Command 01LCCC1 Response 01 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 Section 2 18 AALCAC0N ...

Страница 58: ...haracter to indicate that the command was invalid AA The address of the responding module in hexadecimal format 00 to FF VV A two digit hexadecimal value representing the status of the PIR Relay Output signal See below for details 7 6 5 4 3 2 1 0 Reserved OAS Reserved Key Description OAS Specifies the status of the PIR Relay Output signal 0 An output value of 0 indicates that the relay is inactive...

Страница 59: ...tes that the PIR Relay Output channel is in inactive mode and returns a response indicating that the command was valid Command 02D Response 0202 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 Section 2 21 AADVV ...

Страница 60: ... Key Description OAS Specifies the status of the PIR Relay Output signal 0 An output value of 0 indicates that the relay is inactive An output value of 1 indicates that the relay is active 1 An output value of 0 indicates that the relay is active 0 An output value of 1 indicates that the relay is inactive Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character to indic...

Страница 61: ...mmand was valid Command 02D Response 0202 Reads the status of the PIR 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 Command 02D07 Response 02 Attempts to set the Relay Output signal for module 02 to 07 but returns a response indicating that the command was invalid...

Страница 62: ...e that the command was invalid AA The address of the responding module in hexadecimal format 00 to FF Data A two digit hexadecimal value representing the Response Delay Time The valid range is 00 to 1E in 1 ms intervals 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 03RD1E Response 03 Set...

Страница 63: ...UM CR Invalid Command AA CHKSUM CR 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 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 03RD1E Response ...

Страница 64: ...Command 03RD1F Response 03 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 Section 2 22 AARD ...

Страница 65: ...UM CR 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 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 01EAM Response 01 Enables the High Alarm func...

Страница 66: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 66 93 Related Commands Section 2 25 AAHI Data Section 2 26 AADA Section 2 27 AACHC0 Section 2 28 AARH Section 2 29 AARAO ...

Страница 67: ...CR 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 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 01HI 086 00 Response 01 Sets the High Alarm limi...

Страница 68: ...e 01 Attempts to set the High Alarm limits for module 01 to 1000 00 degrees Celsius but returns a response indicating that the command was invalid because the specified value was not within the valid range Section 2 24 AAEAT Section 2 26 AADA Section 2 27 AACHC0 Section 2 28 AARH Section 2 29 AARAO ...

Страница 69: ...aracter to indicate that the command was invalid AA 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 Examples Command 01EAM Response 01 Enables the High Alarm function for module 01 and sets the alarm type to momentary and returns a respons...

Страница 70: ...d Command AA CHKSUM CR 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 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 03CHC0 Response 03 Clears th...

Страница 71: ...dress of the responding module in hexadecimal format 00 to FF Data A signed value representing the High Alarm limits in degrees Celsius in the format xxx xx The valid range is 000 00 to 999 99 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 03HI 090 50 Response 03 Sets the High Alarm limit...

Страница 72: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 72 93 Related Commands Section 2 24 AAEAT Section 2 25 AAHI Data Section 2 26 AADA Section 2 27 AACHC0 Section 2 29 AARAO Section 2 29 AARAO ...

Страница 73: ... invalid AA The address of the responding module in hexadecimal format 00 to FF HH A two digit hexadecimal value to represent the currently activated high alarms 00 High alarm is not active 00 Reserved 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 03RAO Response 030000 Reads the currentl...

Страница 74: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 74 93 Related Commands Section 2 24 AAEAT Section 2 25 AAHI Data Section 2 26 AADA Section 2 27 AACHC0 ...

Страница 75: ...d as no parity 8 data bits and 1 stop bit The following Modbus functions are supported Function Code Description Section 0x01 Reads the Coils 3 1 0x02 Reads the Discrete Inputs 3 2 0x03 Reads Multiple Registers 3 3 0x04 Reads Multiple Input Registers 3 4 0x05 Writes a Single Coil 3 5 0x06 Writes a Single Register 3 6 0x0F Writes Multiple Coils 3 7 0x10 Writes Multiple Registers 3 8 0x46 Reads writ...

Страница 76: ...he Firmware Version R 40483 40484 Reads the Name of the Module R 30485 Reads sets the Module address The valid range is 1 to 247 R W 30486 Reads sets the Baud Rate and the Data Format Bits 5 0 Baud Rate Baud Rate valid range 0x03 to 0x0A Bits 7 6 Data Format 00 no parity 1 stop bit 01 no parity 2 stop bits 10 even parity 1 stop bit 11 odd parity 1 stop bit R W 30488 Reads sets the Response Delay T...

Страница 77: ...s the PIR Relay Output On Time for when the PIR Sensor is triggered in hexadecimal format The valid range is 00 to 0F Hex Secs Hex Secs Hex Secs Hex Secs 00 2 01 4 02 6 03 8 04 16 05 33 06 49 07 66 08 131 09 262 0A 393 0B 524 0C 1049 0D 2097 0E 3146 0F 4194 R W 30514 Reads sets the Luminance Value for the PIR Sensor The valid range is 0 to 4 where 0 Disabled 1 100 Lux 2 200 Lux 3 500 Lux 4 1000 Lu...

Страница 78: ...PIR 130 AC DC User Manual Ver 1 4 0 2020 07 28 78 93 Modbus RTU Function Description 0xxxx 0x05 0x0F Function Code 1xxxx 0x01 Function Code 3xxxx 0x06 0x10 Function Code 4xxxx 0x03 Function Code ...

Страница 79: ...e Modbus Address Mapping Table for details 04 05 Number of Addresses Requested 2 0x0001 to 0x0001 N N Number of addresses requested Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x01 02 Byte Count 1 N 03 Value from the Requested Address N N Number of addresses requested 8 Error Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Funct...

Страница 80: ...ess 2 0x0020 to 0x003F 04 05 Number of Addresses Requested 2 0x0001 to 0x0001 N N Number of addresses requested Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x02 02 Byte Count 1 N 03 Value from the Requested Address N N Number of addresses requested 8 Error Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x82 02 E...

Страница 81: ...o the Modbus Address Mapping Table for details 04 05 Number of Addresses Requested 2 0x0001 to 0x0001 N N Number of addresses requested Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x03 02 Byte Count 1 N x 2 03 Value from the Requested Address N x 2 N Number of addresses requested Error Response Byte Description Length in Bytes Value 00 Address 1 1 to 24...

Страница 82: ...he Modbus Address Mapping Table for details 04 05 Number of Addresses Requested 2 0x0001 to 0x0001 N N Number of addresses requested Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x04 02 Byte Count 1 N x 2 03 Value from the Requested Address N x 2 N Number of addressee requested Error Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 0...

Страница 83: ...0 will set the output to ON A value of 0x0000 will set it to OFF All other values are invalid and will not affect the coil Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x05 02 03 Requested Address 2 The value is the same as bytes 02 and 03 of the Request 04 05 Value from the Requested Address 2 The value is the same as bytes 04 and 05 of the Request Erro...

Страница 84: ...Mapping Table for details 04 05 The value to be written 2 Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x06 02 03 Requested Address 2 The value is the same as bytes 02 and 03 of the Request 04 05 Value from the Requested Address 2 The value is the same as bytes 04 and 05 of the Request Error Response Byte Description Length in Bytes Value 00 Address 1 1 ...

Страница 85: ...t corresponds to a channel If the bit is 1 it denotes that the channel that was set is ON If the bit is 0 it denotes that the channel that was set is OFF N Number of addresses requested Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x0F 02 03 Starting Address 2 The value is the same as bytes 02 and 03 of the Request 04 05 Value from the Requested Address ...

Страница 86: ...ted 2 0x0001 to 0x0001 N 06 Byte Count 1 N x 2 07 The values to be written N x 2 N Number of addresses requested Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x10 02 03 Starting Address 2 The value is the same as bytes 02 and 03 of the Request 04 05 Number of Addresses Requested 2 The value is the same as bytes 04 and 05 of the Request Error Response Byt...

Страница 87: ... 00 0x00 Reads the Name of the Module 3 9 1 04 0x04 Sets the Address of the Module 3 9 2 05 0x05 Reads the Communication Settings 3 9 3 06 0x06 Sets the Communication Settings 3 9 4 32 0x20 Reads the Firmware Version 3 9 5 Error Response If the module does not support the sub function code specified in the message then it will respond as follows Byte Description Length in Bytes Value 00 Address 1 ...

Страница 88: ...lue 00 Address 1 1 to 247 01 Function Code 1 0x46 02 Sub function Code 1 0x00 Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x46 02 Sub function Code 1 0x00 03 06 Module Name 4 0x4C 0x43 0x01 0x01 PIR 130 Error Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0xC6 02 Exception Code 1 Refer to the Modbus standard for...

Страница 89: ...on Code 1 0x46 02 Sub function Code 1 0x04 03 New Address 1 1 to 247 04 06 Reserved 3 0x00 0x00 0x00 Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x46 02 Sub function Code 1 0x04 03 New Address 1 0 OK Others Error 04 06 Reserved 3 0x00 0x00 0x00 Error Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0xC6 02 Excepti...

Страница 90: ... 0x46 02 Sub function Code 1 0x05 03 Reserved 1 0x00 04 Baud Rate 1 Refer to the Baud Rate Settings table below for details 05 07 Reserved 3 0x00 0x00 0x00 08 Mode 1 0 DCON Protocol 1 Modbus RTU Protocol 09 10 Reserved 2 0x00 0x00 Note This information is the data saved in the EEPROM and will be used for the next power on reset It is NOT the currently used settings Baud Rate Settings Value 03 04 0...

Страница 91: ...ble below for details 05 07 Reserved 3 0x00 0x00 0x00 08 Mode 1 0 DCON Protocol 1 Modbus RTU Protocol 09 10 Reserved 2 0x00 0x00 Baud Rate Settings Value 03 04 05 06 07 08 09 0A Baud Rate 1200 2400 4800 9600 19200 38400 57600 115200 Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x46 02 Sub function Code 1 0x06 03 Reserved 1 0x00 04 Baud Rate 1 0 OK Others...

Страница 92: ...AC DC User Manual Ver 1 4 0 2020 07 28 92 93 Error Response Byte Description Length in Bytes Value 00 Address 1 1to 247 01 Function Code 1 0xC6 02 Exception Code 1 Refer to the Modbus standard for more details ...

Страница 93: ...0 Address 1 1 to 247 01 Function Code 1 0x46 02 Sub function Code 1 0x20 Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0x46 02 Sub function Code 1 0x20 03 Major Version 1 0x00 0xFF 04 Minor Version 1 0x00 0xFF 05 Build Version 1 0x00 0xFF Error Response Byte Description Length in Bytes Value 00 Address 1 1 to 247 01 Function Code 1 0xC6 02 Exception Code ...

Отзывы: