DSC Misterhouse PC5401 User Manual

User manual
Misterhouse
DSC Alarm PC5401 Serial Module
Version 1.4
2005-03-03
DSC Alarm PC5401 Serial Module
AUTHOR
DSC Alarm PC5401 Serial Module
http://misterhouse.net/
Gaétan Lord
Jocelyn Brouillard
email@gaetanlord.ca jfog@videotron.ca
TABLE OF CONTENTS
Page
INTRODUCTION...............................................................................................................................1
1
1.2 COMPATIBILITY.............................................................................................................................1
2 HARDWARE INSTALLATION.......................................................................................................2
2.1 PC5401 SERIAL MODULE..............................................................................................................2
2.1.1 Baud Rate Selection..............................................................................................................2
2.1.2 Module connection................................................................................................................3
2.1.3 LEDs Indicator......................................................................................................................3
2.2 SERIAL CABLE...............................................................................................................................3
3 MISTERHOUSE INTEGRATION...................................................................................................4
3.1 MH.PRIVATE.INI CONFIGURATION............................................................................................4
3.1.1 MH.PRIVATE.INI Configuration File Example ...................................................................5
3.2 DSC SERIAL MODULE PERL LIBRARY..........................................................................................6
3.2.1 Functions Values Access.......................................................................................................6
3.2.2 Variables Values Access .......................................................................................................8
3.2.3 Command List and Data Format..........................................................................................9
3.3 PERL PROGRAMMING ..................................................................................................................10
3.3.1 Basic Example.....................................................................................................................10
3.3.2 Putting All Together............................................................................................................11
3.4 WEB INTERFACE.........................................................................................................................14
3.4.1 Configuration......................................................................................................................14
3.4.2 DSC WEB Interface ............................................................................................................15
3.4.3 Modifying MH status line....................................................................................................16
3.5 LOGS............................................................................................................................................17
4 DSC MESSAGES..............................................................................................................................18
4.1 ERROR MESSAGES.......................................................................................................................20
5 RESTRICTIONS ..............................................................................................................................21
/3
TABLES
Table 1 - Baud Rate Selection.......................................................................................................................2
Table 2 - LEDs Indicator ..............................................................................................................................3
Table 3 - MH DSC functions........................................................................................................................7
Table 4 - MH DSC Variables........................................................................................................................9
Table 5 - Command List and Format..........................................................................................................10
Table 6 - DSC Messages Description and Format......................................................................................19
Table 7 - Errors Messages Description.......................................................................................................20
FIGURES
Figure 1 - PC5401 Board Component...........................................................................................................3
Figure 2 - Serial Cable..................................................................................................................................3
Figure 3 - DSC Web Page...........................................................................................................................15
Figure 4 - DSC Web log viewer..................................................................................................................16
Figure 5 - DSC Web Status line..................................................................................................................17
/4
CHANGE HISTORY
Change Description Date Version By
Manual creation 2005-01-15 1.0 Jocelyn B. First general review and adding comments 2005-01-24 1.1 Gaetan L. Formatting Gaetan comments and complete first release 2005-01-24 1.2 Jocelyn B. Adding Compatibility information 2005-02-19 1.3 Jocelyn B. Adding more commands information and making some corrections 2005-03-03 1.4 Jocelyn B. Review and approval 2005-03-04 1.5 Gaetan L. Text correction TBD 1.6 TBD Document release with sample code TBD 2.0 TBD
/5
1 INTRODUCTION
That document present the integration between Misterhouse (MH) and DSC Alarm System via its PC5401 serial module. This information and Perl code replace old code (code/public/dsc_pc5401.pl) included in the MH release 2.97 posted on 01/23/2005.
Notes: Misterhouse can be reach at www.misterhouse.net and DSC Group can be reach at www.dsc.com
Warnings: This document is our second release and some mistake can exist.
1.2 Compatibility
The PC5401 is compatible with the following PowerSeries control panels:
¾ Power432™ PC580 ¾ Power632™ PC1555MX ¾ Power832® PC5010/5015 ¾ Power864™ PC5020
® ™ - Certain product names mentioned herein may be trade names and/or registered trademarks of DSC and other companies.
DSC Alarm PC5401 Serial Module /1
2 HARDWARE INSTALLATION
Warnings: Before installation of PC5401 Serial Module
¾ Remove existing PC5400 Printer Module (With panel powered down) ¾ Enable DSC Alarm Supervision (function 902) ¾ Now install PC5401 Serial Module (With panel powered down) ¾ Enable DSC Alarm Supervision (function 902)
2.1 PC5401 Serial Module
For all official specification read carefully DSC documentation. Remember by adding new composite in your Alarm Panel require to calculate the Current Draw to calibrate de power requirement with panel power supply. This board require: 35mA
Notes: Its recommended, that all DSC Alarm equipments installation must be done by an authorize representative (Service Persons Only)
Warnings: Disconnect the AC power supply module and panel batteries before to install the new card
2.1.1 Baud Rate Selection
¾ BAUD selection can only be changed by cycling power to the module (Default: 9600 BAUD)
BAUD JP3 JP2 JP1
4800 ON ON Off
9600
19200 ON Off ON 57600 ON Off Off
Table 1 - Baud Rate Selection
Off Off Off
DSC Alarm PC5401 Serial Module /2
2.1.2 Module connection
DSC PC5401
¾ Connect module to the KEYBUS
With panel powered down
¾ Select desired BAUD using JP1-3
Default is 9600 Baud
¾ Connect an RS-232 cable to the application ¾ Power up th e system
RED BLK YEL GRN
DSC Key Bu s
JP1 JP2 JP3
KEYRXTXPWR
Serial
DB9
Figure 1 - PC5401 Board Component
2.1.3 LEDs Indicator
LED Description Normal Operation Notes
KEY KEYBUS Link Active GREEN Solid PWR Module Status RED Flashing (2 seconds) Solid RED: The module is NOT operating properly
RX
TX
Serial Communication Activity
Flashing when Receive and transmit data
Table 2 - LEDs Indicator
2.2 Serial Cable
¾ DSC PC5401 Side
2 Red (TX)
3 Black (RX)
5 Yellow (SG)
1-4-6-7-8-9 NC
¾ PC (x86) Side
1-6-4 Jump (DCD, DSR et DTR)
7-8 Jump ensemble (CTS et RTS)
9 NC (RI)
2 Red (RX)
3 Black (TX)
5 Yellow (SG)
(NC = No Connect)
PC5401
DB9 - M a le
SG - PI N
DCD - 1
RX - 2
TX - 3
DTR - 4
SG - 5 DSR - 6 RTS - 7 CTS - 8
RI - 9
PC (x86 )
DB9 - Male
PIN - SG
1 - DCD 2 - RX 3 - TX 4 - DTR 5 - SG 6 - DSR 7 - RTS 8 - CTS 9 - RI
Figure 2 - Serial Cable
DSC Alarm PC5401 Serial Module /3
Loading...
+ 18 hidden pages