CSM-320E Gateway User Guide

CSM-320E Gateway User Guide
CSM-320E
Gateway User Guide
CSM-320E Gateway User
Guide
Compiled: Cui Saiye Checked: Wu Fangying Standardized: Li Lianchang Inspected: Yu Bin Version : V1. 0 Doc.Code: F0SF.452.027(E) Issued Date: 2013‐08‐19 Copyright: Beijing Sifang Automation Co., Ltd Note: The Company reserves the right of modifying the specifications. If there are differences between products and the specifications, please contact us timely. And we will provide you with relevant serves. Technical support: Tel: 010‐62986668 Fax: 010‐62981900 Version:V1.00
Doc. Code: F0SF.452.027(E)
Issued Date:2013.8
Copyright owner: Beijing Sifang Automation Co., Ltd
Note: The company keeps the right to perfect the instruction. If equipments do not agree with
the instruction at anywhere, please contact our company in time. We will provide you with
corresponding service.
®
is registered trademark of Beijing Sifang Automation Co., Ltd.
We reserve all rights to this document, even in the event that a patent is issued and a different
commercial proprietary right is registered. Improper use, in particular reproduction and
dissemination to third parties, is not permitted.
This document has been carefully checked. If the user nevertheless detects any errors, he is
asked to notify us as soon as possible.
The data contained in this manual is intended solely for the Gateway description and is not to
be deemed to be a statement of guaranteed properties. In the interests of our customers, we
constantly seek to ensure that our products are developed to the latest technological standards
as a result it is possible that there may be some differences between the hardware/software
product and this information product.
Manufacturer:
Beijing Sifang Automation Co., Ltd.
Tel: +86 10 62962554, +86 10 62961515 ext. 8998
Fax: +86 10 82783625
Email: sf_sales@sf-auto.com
Website: http://www.sf-auto.com
Add: No.9, Shangdi 4th Street, Haidian District, Beijing, P.R.C.100085
Preface
Safety information
Strictly follow the company and international safety regulations.
Working in a high voltage environment requires serious approch to
aviod human injuries and damage to equipment
Do not touch any circuitry during operation. Potentially lethal
voltages and currents are present
Avoid to touching the circuitry when covers are removed. The
Gateway contains electirc circuits which can be damaged if exposed
to static electricity. Lethal high voltage circuits are also exposed
when covers are removed
Using the isolated test pins when measuring signals in open circuitry.
Potentially lethal voltages and currents are present
Never connect or disconnect wire and/or connector to or from
Gateway during normal operation. Dangerous voltages and currents
are present. Operation may be interrupted and Gateway and
measuring circuitry may be damaged
Always connect the Gateway to protective earth regardless of the
operating conditions. Operating the Gateway without proper earthing
may damage both Gateway and measuring circuitry and may cause
injuries in case of an accident.
Do not remove the screw from a powered Gateway or from an
Gateway connected to power circuitry. Potentially lethal voltages and
currents are present
Using the certified conductive bags to transport PCBs (modules).
Handling modules with a conductive wrist strap connected to
protective earth and on an antistatic surface. Electrostatic discharge
may cause damage to the module due to electronic circuits are
sensitive to this phenomenon
Do not connect live wires to the Gateway, internal circuitry may be
damaged
When replacing modules using a conductive wrist strap connected to
protective earth. Electrostatic discharge may damage the modules
and Gateway circuitry
When installing and commissioning, take care to avoid electrical
shock if accessing wiring and connection Gateways
Contents
Chapter 1 Introduction of device hardware .................................................................................... 1 1 Appearance and Model ................................................................................................................... 2 1.1 External Dimensions ....................................................................................................... 2 1.2 Appearance ...................................................................................................................... 3 1.3 Model Configuration ........................................................................................................ 3 2 External Port and Connection ........................................................................................................ 5 2.1 Front Panel ....................................................................................................................... 5 2.2 Back Panell ....................................................................................................................... 5 2.3 Definition of Serial Ports ................................................................................................. 6 2.4 Power Unit ........................................................................................................................ 6 Chapter 2 Introdution of device software ........................................................................................ 8 1 Overview ........................................................................................................................................... 9 2 Installation of Basic Software ....................................................................................................... 10 3 Use of CSM300ECOMN Kernel Software ................................................................................. 11 4 Use of CSM-300EA gateway Software ...................................................................................... 12 5 Use of CSM-300EB Access Software ........................................................................................ 13 6 Use of CSM-300EF Access Software ......................................................................................... 14 Chapter 1 Introduction of device hardware
Chapter 1 Introduction of device
hardware
About this chapter
This chapter describes Gateway’s appearance and type and external ports
and wire connection.
1 Chapter 1 Introduction of device hardware
1
Appearance and Model
1.1
External Dimensions
Embedded-installation is adopted for the whole device with back wiring.
Figure 1-1 and Figure 1-2 show the external dimensions of the device .
External dimensions
A
B
C
D
2U,1/1x19’’
88.1
482
321.75
432
Unit: mm
Figure 1-1 External View of Chassia
A
B
C
D
E
451
464.4
76.2
90.2
4-φ7
Unit: mm
2 C
Chapter
1 Introd
duction of deviice hard
dware
1.2
Appearan
nce
Fig
gure 1-3 sho
ows the app
pearance off CSM-320E
E series devvices.
Figure 1-3
1 External View of CSM-320E Serries Devices
s
1.3
Model Co
onfigura
ation
CS
SM-320E is embed insttalled and back
b
wiring. The size of case is 2U
U. Order
cod
de of CSM--320E series is defined
d as follows:
CS
SM-320EW_
_Fn / X [/E] (E)
Fn is the function of devicce :
efinition of Fn
F field is sh
hown in Tab
ble 1-1:
De
Table 1-1 Definition of Fn Fie
eld
Function Description
n
Fn
F1
g
gateway
F2
a
access
F6
g
gateway
+ acccess
De
efinition of X field is sho
own in Table 1-2: X
Table 1-2
1 Definitio
on of X Field
d
X
6
Des
scription
Stan
ndard configu
uration 1 (8
Ethe
ernet-T, 2 RS
S232, 8
RS2
232/RS485)
3 Chapter 1 Introduction of device hardware
Definition of E field is shown in Table 1-3:E
Table 1-3 Definition of E Field
E
Description
N/A
/N
Device with LCD
Device without LCD
Table 1-4 Model List of CSM-320E
Model
Description
CSM-320EW_F1/6(E)
Standard configuration 1,using for gateway
CSM-320EW_F2/6/N(E)
Standard configuration 1 without LCD, using for access
CSM-320EW_F6/6(E)
Standard configuration 1, using for access + gateway
Note: It only lists typical setting in usual in this table, for special requirement
4 Chapter 1 Introduction of device hardware
2
External Port and Connection
2.1
Front Panel
There are LCD, Sifang keyboard, four function keys and several groups of
indicator lights on the front panel. Indicator lights indicate the status of power, 8
Ethernet-T ports, 2 Ethernet-FX ports, 10 serial ports as shown in Figure 2-1.
Fig 2-1 Lights of Front Panel
There are two Ethernet indicator lights in one row as a group, respectively
indicators of connection, data sending and receiving. There are two Serial
port lights in one row as a group, respectively indicators of data receiving,
data sending.
LCD of CSM-320EW has 160 × 80 pixel, displaying 10 × 5 Chinese
characters. Driver of LCD is packed with CSM-320E series software package.
LCD, Sifang keyboard and four function keys can help the users to display
and modify some important system information. Please refer to CSM-320E
series software manual for detail usage
2.2
Back Panell
There are 2 DB9 serial ports, terminal X1, X2 for serial ports 3~10, 8 Ethernet
Ports, power terminal(designed for redundancy) and extension board(reserved
for expanding Ethernet-FX) on the back panel.CSM-320E can provide tow
Ethernet-FX at most, which are ST ports, wavelengh 1310.
Fig 2-2 Lights of Back Panel
5 Chapter 1 Introduction of device hardware
2.3
Definition of Serial Ports
1) Serial ports 1~2 are in RS232 mode (using standard DB9) .The definition
of every pin is shown as Table 2-1.
Table 2-1 Definition of Serial Ports 1 and 2
1
DCD
2
RXD
3
TXD
4
DTR
5
GND
6
DSR
7
RTS
8
CTS
9
DELL
2) Serial ports 3~6 are in RS232 / 485 mode. (Every serial port shares 5pin
Phoenix terminal). The definition is shown as Table 2-2.
Table 2-2 Definition of Serial Ports 3-6
X1 (up)
X1 (down)
PIN
RS232
1
COM3-GND
RS485
PIN
RS232
11
COM4-GND
RS485
2
COM3-D+
12
COM4-D+
3
COM3-D-
13
COM4-D-
4
COM3-RXD
14
COM4-RXD
5
COM3-TXD
15
COM4-TXD
6
COM5-GND
16
COM6-GND
7
COM5-D+
17
COM6-D+
8
COM5-D-
18
COM6-D-
9
COM5-RXD
19
COM6-RXD
10
COM5-TXD
20
COM6-TXD
Serial ports 3~10 (terminal X1, X2) have two modes, you can configure it by
software. If serial port is used as RS232 mode, it can not be used as RS485
mode. Every serial port has to be chosen one mode.
2.4
6 Power Unit
Chapter 1 Introduction of device hardware
Power terminal definition is shown in Figure 2-3.
4: DC positive input; 2: DC negative input; 1: ground
5, 6: Alarm of power off (relay output terminal close normally)
6
5
terminal
4
3
2
1
+
null
-
G
Fig 2-3 Power Terminal Definition
Power input: DC: 110 V or 220 V; AC: 100~265 V.
Power consume: 26.4 (standard configuration).
7 Chapter 2 Introduction of device software
Chapter 2 Introdution of device
software
About this chapter
8 This chapter describes installation and operation of Gateway.
Chapter 2 Introduction of device software
1
Overview
CSM-300EA software realizes communication with dispatching center by a
variety of gateway protocols. CSM-300EB and CSM-300EF software connect
protection IEDs from other manufactures to SIFANG monitoring system.
CSM300E series software identifies whether the corresponding functions can
be available according to function code information of the device. The
following Table shows the corresponding relationship between function code
of device and software functions. The functions excluded in the function code
will be prohibited.
Fx
Function description
F1
CSM-300EA gateway
F2
CSM-300EB, EF access
F6
gateway + access
9 Chapter 2 Introduction of device software
2
Installation of Basic Software
CSM-300E series devices have been installed with basic system and
Ethernet card before leaving the factory. Programs and related documents
can be downloaded through FTP.
CSM-300E programs and files are stored as per directory tree. / csm300e /
csm300ecomn holds common parts of 300E software. / csm300e / csm300ea
holds 300EA gateway software. / csm300e / csm300eb holds 300EB access
software. / csm300e / csm300ef holds 300EF access software.
The bin directory of csm300ecomn, csm300ea, csm300eb and csm300ef
holds all of executable files; config directory holds all of configuration files;
both directories are compulsory for running. Other directories are used during
development and debugging, wherein include holds all of common header
files, lib holds all of application library files, and src holds source files of all
kinds of protocol applications as per the subdirectory distribution.
Modification of start-up files: After downloading the program, firstly run mkrun
process in csm300e directory, which will delete unnecessary application
directories according to the hardware configuration and in the meantime
generate script file r300e. The batch file that must be included in r300e script
file is runcomn (kernel process); and other protocol applications will be
automatically added to r300e file according to hardware configuration (the
application may include runrtu (gateway protocol process), runmasterb and
runmasterf (access protocol process)).
In order to automatically run 300E application after rebooting device, it is
necessary to put the application command in the batch file run in the root
directory sysrun. If the software is running on a new device, running mkrun
will automatically modify run, and the contents are shown below. Otherwise,
please modify run file manualiy.
cd / csm300e
. / r300e
Notes: 1. Please do not modify sysinit.1 files.
2. runkey (key management process) and Icdtest (liquid cystal test
process) are started in default in case of batching processing run.
During field operation, please modify the contents of run file
according to the actual situation.
Acquisition of key: The running of CSM-300E software needs to check the key.
When running on CSM320E series devices, the program will automatically
check the key under the path / 300etmp;there is no need for users to generate
the key.
10 Chapter 2 Introduction of device software
3
Use of CSM300ECOMN Kernel Software
Configuration: The configuration files of CSM300ECOMN are saved in the
directory csm300e/csm300ecomn/config; all the files can be edited, viewed
and summarized as follows:
dbms.cfg:
Real-time database settings files
netmans.sys:
gateway and roll-out of Ethernet configuration file.
netmanm.sys:
Access Ethernet configuration files
jctrl.cfg:
csm300ef access protocol process configuration files.
selectgps.sys: Time synchronization priority setting of gateway channel.
ser.cfg:
Channel configuration file.
lcdman320.sys: LCD configuration file.
lcdmenu.cfg:
LCD menu configuration file.
nport.sys:
Multi-serial port server configuration file (configuration when
using multi-serial port server).
sernportudp.cfg, serudp.cfg: Configuration depending on UPD connection
needs.
Refer to software manual for kernel process running methods, boot
parameters and detailed description of every configuration file.
.
11 Chapter 2 Introduction of device software
4
Use of CSM-300EA gateway Software
Configuration: CSM-300EA gateway protocol process reads CSC2000
protocol messages uploaded by the device from real-time database and Ion
process, and sends remote control, remote adjustmnt, setting operation and
other commands through Ionctrl process.
The configuration files of CSM-300EA are saved in the directory csm300e /
csm300ea / config, summarized as follows.
comnx.sys:
Channel configuration file, x refers to channel number.
channelx.sys:
Protocol configuration file
lockx.sys:
Debugging, remote signal blocking configuration files.
yxlockykx.sys: Remote signal blocking, remote control configuration files.
soemanager.sys: SOE synchronization management configuration file. zfycx.
dat, zfyxx. dat, zfykx. dat, zfsoex. dat, zfhbx.dat, zfymx. dat, zfytx. dat:
Measurement and control point setting configuration files (optional according
to dispatching requirements).
Important note: Configuration files are correlated with each other through channel number
(x) and correspond to the channels in ser.cfg.
CSM-300EA software provides multiple channels communicate with multiple dispatching via
different protocols. Each channel corresponds to one dispatching. By configuration, we can set the
type of protocol to be used, the type of medium for communication, the operation mode of
communication medium, the type of data to be uploaded, etc.
Refer to software manual for gateway process running method, boot
parameters and detailed description of every configuration file.
12 Chapter 2 Introduction of device software
5
Use of CSM-300EB Access Software
Configuration: The configuration files of CSM-300EB are saved in the
directory csm300e / csm300eb / config, summarized as follows:
jcomnx.sys: Channel configuration file, x refers to channel number.
jchannelx.sys: Specific configuration file for access protocol.
jrycx.dat, jryxx.dat, jrykx.dat, jrsoex.dat, jrhbx.dat, jrymx.dat: Access setting
configuration files. Every channel shall have these configuration files, or else
the process will deem that configuration files are incomplete and exit (No
configuration is generally required for the protection accessed by Ethernet).
Generally, the access of small protocol requires jrycx.dat, jryxx.dat and other
access setting configuration files. The access of protection devices requires
***.cfg (template configuration file) rather than setting configuration files.
Currently, the access needing template configuration files mainly includes
IEC60870-5-103 Protocol access, NARI RCS9793 managing computer
Ethernet access, NARI protection Ethernet access, XUJI protection Ethernet
access, Shenzhen NARI Ethernet access, Nanjing Automation Ethernet
access, etc.
Important notes: Configuration files are correlated with each other through channel number
(x) and correspond to the channels in ser.cfg.
CSM-300EB software provides multiple channels to communicate with multiple devices via different
protocols. Each channel corresponds to one or more devices. By configuration, we can set the type
of protocol to be used, the type of medium for communication, the operation mode of
communication medium, the type of data to be uploaded, etc
Refer to software manual for access process running method, boot parameters
and detailed description of every configuration file
.
13 Chapter 2 Introduction of device software
6
Use of CSM-300EF Access Software
CSM-300EF access software includes IEC60870-5-103 Protocol (software
No. M401) access and Modbus protocol (software No. M402) access, etc.
File list: csm300e / csm300ef directory includes: bin, config, lib, src.
1) Bin holds executable files and log directory, containing:
(a) mkmasterf: Compiling script file.
(b) runmasterf: Running script file.
(c) jm401: Application layer 103 Protocol conversion process.
(d) jm402: Application layer Modbus Protocol conversion process.
(e) log directory: Message recording directory.
(f) err.txt: Error information.
Message recording function has been newly added to CSM-300EF access
program, saved in different folders as per channels, located in the directory \
csm300e \ csm300ef \ bin \ log \ Channelx, where x refers to channel number.
2) config holds configuration files, including:
(a) jcomx.sys: Channel configuration file, x refers to channel number.
(b) jaddrx.cfg: Specific configuration file for access protocol.
(c) ***.cfg: Device template configuration file.
14 
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising