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
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
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:
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 |
MSSCHRACK1 | Administrator | $tsschrack01 | TS | 10.10.1.101 |
MSSCHRACK2 | Administrator | $tsschrack02 | TS | 10.10.1.102 |
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.
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.cms | Modbus Address | Holding Register Number |
R2.T0A110[255] | 40002 | 2 |
R3.T0A110[1] | 40003 | 3 |
R4.T0A110[2] | 40004 | 4 |
R5.T1A101[255] | 40005 | 5 |
R6.T1A102[255] | 40006 | 6 |
R7.T1A103[255] | 40007 | 7 |
R8.T2A1[255] | 40008 | 8 |
R9.T2A2[255] | 40009 | 9 |
R10.T2A3[255] | 40010 | 10 |
R11.T3A1[255] | 40011 | 11 |
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 |
sa 0-254 - sub address of an element 255 - for a zone |
status |
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.