Warsaw 29.04.2009



OPC_SCHRACK_N3 VER. 2.0

MANUAL










TIGER-SOFT

Wiazana 28B

04-680 Warszawa

tel./fax (+48 22) 615-89-84

e-mail: tiger-soft@tiger-soft.com.pl

www: www.tiger-soft.com.pl






Table of contents

1) Introduction
2) Installing the I/O driver
3) Software registration
4) Configuring the OPC_SCHRACK_N3
5) Configuring an OPC client
6) Starting and stopping the OPC_SCHRACK_N3






1) Introduction

    The OPC_SCHRACK_N3 ver. 2.0 is a communication driver which allows to connect BMS system with a fire protection system based on N3 network of devices from Schrack Seconet. The Integral Standard Protocol (ISP) is used by the driver. The computer with BMS system uses a serial port (RS232). Schrack central can use one of the following modules: B3-USI4, B3-LPI, B4-USI. The driver can be connected to BMZ Integral C or BMZ Integral system.

It includes the following features:

  1. Very effective method of communication in N3 network, which uses ISP protocol.
  2. Works as a service. It works even after logging out from the system.
  3. Supports all main commands and events which exist in Schrack.
  4. Ability of sending commands to the central from the computer system.
  5. Multithreading which allows to do tasks in a very efficient way, without a heavy load of the processor.
  6. Very effective connection to BMS system using OPC.
  7. Easy to use configuration.
  8. Monitoring of the communication process.
  9. Automatically re-running the communication after failure.


2) Installing the I/O driver

Run OPC_SCHRACK_N3_INSTALL.EXE.Installation software will put OPC_SCHRACK_N3 files into the C:\Program Files\TIGER_SOFT\OPC_SCHRACK_N3_2_0 directory or another directory chosen by the user. Shortcuts to the manual and registration software exist in the group OPC_SCHRACK_N3 ver. 2.0 (access from the Start menu). The driver is installed as a service.



3)Software registration

OPC_SCHRACK_N3 should be registered after installation using TIGER-SOFT internet service. SOFTWARE REGISTRATION from OPC_SCHRACK_N3 group should be started first. This program generates file gen_lic.lic and saves it in the main driver directory. Then you have to connect to http://www.tiger-soft.com.pl/Registration/registration.html, fill the form and receive the registration code. This code should be put to the editable field in the SOFTWARE REGISTRATION. Press OK to finish registration process.



4)Configuring the OPC_SCHRACK_N3

The file - Configuration.oes is used for the driver configuration. It exists in the same directory like the OPC_SCHRACK_N3.exe. An example of the file is presented below.

# OPC_SCHRACK_N3 - configuration program

# COM parameters
# NR_COM from the range 1-99
# BAUD_RATE [bits/s]. Possible values: 9600,14400,19200,38400,57600,115200
# PARITY N-None,E-Even,O-Odd
# TIMEOUT [s]. Possible values from the range 1-9999 [s]

NR_COM=1
BAUD_RATE=57600
PARITY=E
TIMEOUT=10

# ISP parameters
# TOKENTIME [ms]. Possible values from the range 30-250 [ms]
# CLIENT - Address of the client has the following structure Subnet.Node.Client, where Subnet=0-62; Node=0-61; Client=0-5;
# SS=1 - Additional status will be sent in the older byte of the word.0 - will be always 0
# AS=1 - Driver allows to send commands to the fire alarm central unit (XccCTttAaa[sa]). 0 - Sending control commands is not allowed.

TOKENTIME=250
CLIENT=0.0.1
SS=1
AS=1

# OPC points
# CENTRAL - Address of the central unit has the following structure Central_number.Subnet.Node.Client,
# where Central_number=1-max number of centrals according to the license; Subnet=0-62; Node=0-61; Client=0-5;
# The list of points, configured in the OPC client in the following format:
# XccTtt[st]Aaa[sa], where cc-central number, tt-type(0-16,255,4095), aa-address of the element(1-65535), sa-sub address of the element(0-255)
# or XccCTttAaa[sa] for control points, sent by the OPC client

# ********************
CENTRAL=1.1.1.0

X01T0A101[255]
X01T0A101[1]
X01T1A101[255]
X01T2A1[255]
X01T2A2[255]
X01T2A3[255]
X01CT5A65535[255]
X01CT2A65535[255]
X01CT4095A65535[255]

# ********************
CENTRAL=2.1.2.0

X02T2A1[255]
X02T2A2[255]
X02T2A3[255]
X02CT5A65535[255]
X02CT2A65535[255]
X02CT4095A65535[255]

# ********************
CENTRAL=3.1.3.0

X03T2A1[255]
X03T2A2[255]
X03T2A3[255]
X03CT5A65535[255]
X03CT2A65535[255]
X03CT4095A65535[255]

 

5)Configuring an OPC client.

OPC_SCHRACK_N3 is an OPC server. Every software that can be an OPC client should work fine with OPC_SCHRACK_N3. ProgID is TS.OPC_SCHRACK_N3.
ItemID can be set like this:

ItemID

Description

Types

Addresses

Returned values

Communication

Presents the status of the communication between OPC_SCHRACK_N3 and SCHRACK central unit.

Value 1 means that communication is OK, 0 there is no communication.
XccTttAaa[sa]

Shows the status of a zone or an element, where cc - central number; tt - type; aa - address; sa - sub address.

Example: X01T2A1[105], reads information from central number 1, about the status of the sub element 105 from group 1, type 2.

tt

0 - zone

1 - input

2 - output

3 - external

4 - printer

5 - CI

6 - battery

7 - net

8 - module active

9 - module passive

10 - delay layer

11 - FBP fire brigade panel

12 -SCU

13 - intervention

14 - connection

15 - master system

16 - loop

255 - general


sa
0-254 - sub address of an element
255 - for a zone

status

0 - idle
ss=0-general

1 - alarm
ss=0; 1-simulation; 2-smoke; 3-temperature

2 - revision alarm
ss=0; 2-smoke; 3-temperature

3 - fault
ss=0; 1-short circuit; 2-open circuit; 3-simulation; 4-external; 5-overload; 6-not present; 7-earth fault; 8-switch 2; 9-configuration; 10-startup; 11-connection; 12-mapping

4 - revision fault
ss=0; 1-short circuit; 2-open circuit;5-overload; 6-not present; 7-eartch fault; 8-switch 2;9-configuration; 10-startup; 12-mapping

5 - disablement
ss= 0;1-key switch; 2-automatic; 3-FBP

6 - internal disablement
ss=0

7 - revision
ss=0

8 - activation
ss= 0;1-automatic; 2-external; 3-FBP

9 - deactivation
ss= 0;1-FBP

10 - hard alarm
ss=0

11 - enabled
ss=0; 1-level 1; 2-level 2; 3-level 3; 4-level 4; 5-level 5; 6-level 6; 7-level 7;

12 - active (pollution active in the case of a zone)
ss=0; 1-simulation; 2-automatic

13 - revision active
ss=0

14 - warning
ss=0

15 - explore
ss=0

16 - terminated
ss=0

17 - revision activation
ss=0; 1-automatic; 2-external; 3-FBP

18 - paper feed
ss=0

19 - silent alarm
ss=0; 1-simulation; 2-smoke; 3-temperature

20 - preactivation
ss=0

21 - release
ss=0; 1-external

22 - preactive
ss=0; 1-simulation

23 - revision preactive
ss=0

24 - low battery
ss=0

XccCTttAaa[sa]

Allows to sent an control command to a group or an element, where cc - central number; tt - type; aa - address; sa - sub address.

Example: X01CT2A1[105], control commands for central number 1, sub element 105 from group 1, type 2.

tt

0 - zone

1 - input

2 - output

3 - external

4 - printer

5 - CI

6 - battery

7 - net

8 - module active

9 - module passive

10 - delay layer

11 - FBP fire brigade panel

12 - SCU

13 - intervention

14 - connection

15 - master system

16 - loop

255 - general


sa
0-254 - sub address of an element
255 for a zone

commands

0 - switch off

256 - acoustic off

512 - fire actuation switch off

1 - switch on

257 -acoustic on

513 - fire actuation switch on

2 - set

3 - reset

259 - alarm reset

515 - acoustic reset

771 - page number reset

1027 - message number reset

4 - revision mode

5 - test

6 - simulate alarm

7 - simulate fault

8 - simulate active

9 - internal switch off

10 - reactivate

266 - reactivate acoustic

11 - initialize

12 - adjust top of page

13 - switch to level 0

269 - switch to level 1

529 - switch to level 2

781 - switch to level 3

14 - mapping

15 - startup stop

16 - simulate pre active

XccCT5A65535[255]

Allows to sent the internal accoustic off command.

commands

3 - reset

XccCT2A65535[255]

Allows to sent the external accoustic off command.

commands

515 - acoustic reset

XccCT4095A65535[255]

Allows to sent the summary alarm reset command.

commands

259 - alarm reset


 

6) Starting and stopping the OPC_SCHRACK_N3

The driver can be run from the service manager on Windows NT/2000/XP/Vista. Second way is to use command line with commands: OPC_SCHRACK_N3 -s for starting and OPC_SCHRACK_N3 -z, for stopping it. The service OPC_SCHRACK_N3 can be also configured to start automatically after operating system is started.

WARNING!!! If the driver is installed on Windows XP/Vista or Windows 2003/2008 Server additional parameters have to be set. These parameters concern security of the service and DCOM component. In order to do it dcomcnfg.exe should be run. User of the service should be chosen from computer users (for example system administrator). The same user should be set for DCOM TIGER-SOFT OPC_SCHRACK_N3 (Identity).