Warsaw 03.06.2015



MODBUSTCP-SCHRACK VER. 2.3

MANUAL












Wiazana 28b

04-680 Warszawa

tel.: (+48 22) 213-92-69

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) Pre-configured hardware solution
3) Installing the I/O driver
4) Software registration
5) Configuring the MODBUSTCP-SCHRACK
6) Configuring a MODBUS TCP client
7) Starting and stopping the MODBUSTCP-SCHRACK






1) Introduction

    The MODBUSTCP-SCHRACK ver. 2.3 is a communication driver which allows to connect BMS system with several fire protection systems from Schrack Seconet using ETHERNET channels. The Integral Standard Protocol/IP (ISP/IP) is used by the driver. The computer with BMS system uses an ETHERNET network card. Schrack central can use built-in ethernet card (Integral IP) or network cards from B5-NET series. The driver can be connected to BMZ Integral IP, Integral C or Integral system.

It includes the following features:

  1. Very effective method of communication which uses ISP/IP protocol.
  2. Works as a service. It works even after logging out from the system.
  3. Supports all main events which exist in Schrack.
  4. Multi-threading which allows to do tasks in a very efficient way, without a heavy load of the processor.
  5. Easy connection to BMS system using standard MODBUS TCP protocol.
  6. Easy to use configuration.
  7. Monitoring of the communication process.
  8. Automatically re-running the communication after failure.


2) Pre-configured hardware solution

    The MODBUSTCP-SCHRACK ver. 2.3 can be delivered with dedicated hardware. It is usually small PC computer with Microsoft Windows Embedded operating system. This computer has already MODBUSTCP-SCHRACK installed and registered. So, there is no need to do procedures from point 3 and 4 of this manual. However there is usually a need to change a Configuration.cms file as it was described in point 5. The MODBUSTCP-SCHRACK service is configured to start automatically after an operating system starts. You can connect to a computer by using Remote Desktop. A computer has following default parameters:

Computer name

User

Password

Workgroup

IP address

MSSCHRACK1Administrator$tsschrack01TS 10.10.1.101
MSSCHRACK2Administrator$tsschrack02TS 10.10.1.102


There is also one directory, called Exchange which is a shared folder on each computer.



3) Installing the I/O driver

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



4)Software registration

MODBUSTCP-SCHRACK should be registered after installation using TIGER-SOFT internet service. SOFTWARE REGISTRATION from MODBUSTCP-SCHRACK 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.



5)Configuring the MODBUSTCP-SCHRACK

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

# MODBUSTCP-SCHRACK - configuration program

# MODBUS TCP parameters
# MODBUS_LIP Local ip address for Modbus TCP
# MODBUS_PORT Local port address for Modbus TCP
# MODBUS_TIMEOUT [s]. Possible values from the range 1-9999 [s]
# MODBUS_SLAVE_ID - ID of the driver. Possible values from the range 1-247

MODBUS_LIP=10.10.1.141
MODBUS_PORT=502
MODBUS_TIMEOUT=10
MODBUS_SLAVE_ID=1


# ETH parameters
# CL_IP is a local driver ip address
# SCHRACK_IP is a Schrack-Seconet central ip address
# USER is an user name defined in a central
# PASSWORD is an user password defined in a central

#ETH
CL_IP=10.10.1.142
SCHRACK_IP=10.10.1.71
USER=Tiger-Soft
PASSWORD=Tiger-Soft

# TIMEOUT [s]. Possible values from the range 1-9999 [s]
TIMEOUT=10


# ISP parameters
# TOKENTIME [ms]. Possible values from the range 30-250 [ms]
# CENTRAL - Address of the central unit has the following structure Subnet.Node.Client, where Subnet=0-63; Node=0-63; Client=0-7;
# CLIENT - Address of the client has the following structure Subnet.Node.Client, where Subnet=0-63; Node=0-63; Client=0-7;
# SS=1 - Additional status will be sent in the older byte of the word.0 - will be always 0
# AG=1 - Driver will set group status to alarm when an element from this group has alarm status.

TOKENTIME=250
CLIENT=0.0.2
SS=1
AG=0

# Schrack Points
# The list of points, in the following format:
# Rrr.TttAaa[sa], where rr-modbus registry number(1-65535), tt-type(0-16,100,255,4095),
# aa-address of the element(1-65535), sa-sub address of the element(0-255)
# Special Communication point: R1.T100A0[0]

[0.0.0]
# COMMUNICATION
R1.T100A0[0]

R2.T0A110[255]
R3.T0A110[1]
R4.T0A110[2]
R5.T1A101[255]
R6.T1A102[255]
R7.T1A103[255]
R8.T2A1[255]
R9.T2A2[255]
R10.T2A3[255]
R11.T3A1[255]


 

6)Configuring a MODBUS TCP client

MODBUSTCP-SCHRACK is an MODBUS slave device with ID configured in SLAVE_ID (Configuration.cms). Every device that can cooperate with MODBUS slave device using Modbus TCP protocol should work fine with MODBUSTCP-SCHRACK. The driver uses holding registers from address 40001.There is a Communication status value, usually in the first register (R1.T100A0[0]). Next registers contain values of points configured in the Configuration.cms file. The order of modbus addresses is the same like order of points in the Configuration.cms file.

Example:
Schrack point from Configuration.cmsModbus AddressHolding Register Number
R2.T0A110[255]400022
R3.T0A110[1]400033
R4.T0A110[2]400044
R5.T1A101[255]400055
R6.T1A102[255]400066
R7.T1A103[255]400077
R8.T2A1[255]400088
R9.T2A2[255]400099
R10.T2A3[255]4001010
R11.T3A1[255]4001111

 

Following Schrack Points can be configured in the Configuration.cms file.

ItemID

Description

Types

Addresses

Returned values

TttAaa[sa]

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

Example: T2A1[105], reads information 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
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


 

7) Starting and stopping the MODBUSTCP-SCHRACK

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