2N SmartCom User Manual

Manual is about: Wireless Device Management over IP

Summary of SmartCom

  • Page 1

    Www.2n.Cz firmware version 2n smartcom ® wireless device management over ip user manual 1.8.0 1.8.X.

  • Page 2: Content

    The 2n telekomunikace joint-stock company is a czech manufacturer and supplier of telecommunications equipment. The product family developed by 2n telekomunikace a.S. Includes gsm gateways, private branch exchanges (pbx), and door and lift communicators. 2n telekomunikace a.S. Has been ranked among ...

  • Page 3: Content

    Content 1. Product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 product description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 4

    9. User defined functions - udf . . . . . . . . . . . . . . . . . . . . . . . . 110 9.1 udf description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 9.2 udf condition setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 5: 1. Product Overview

    5 2n telekomunikace a.S., www.2n.Cz ® 1. Product overview in this section, we introduce the product, outline its application 2n smartcom ® options and highlight the advantages following from its use. The section also includes safety precautions. Here is what you can find in this section: 1.1 product...

  • Page 6: 1.1 Product Description

    6 2n telekomunikace a.S., www.2n.Cz ® 1.1 product description the gprs communication unit is a new product developed and 2n smartcom ® manufactured to provide the maximum utility value, quality and reliability. We hope you will be fully satisfied with the for a long time. Use 2n smartcom ® 2n ® in a...

  • Page 7: Safety Precautions

    7 2n telekomunikace a.S., www.2n.Cz ® safety precautions do not switch on in the vicinity of medical apparatuses to 2n smartcom ® avoid interference. The minimum distance of the antenna and pacemakers should be 0.5m at least. Do not switch aboard a plane. 2n smartcom ® do not switch near petrol stat...

  • Page 8

    8 2n telekomunikace a.S., www.2n.Cz ® warning do not place the unit near heat sources (such as space heaters, hot air heaters, etc.). 2n smartcom ® only works reliably under the conditions specified in this user manual. Any unauthorised interventions and/or changes in use and operation may result in...

  • Page 9: 1.2 Upgrade

    9 2n telekomunikace a.S., www.2n.Cz ® 1.2 upgrade the manufacturer reserves the right to modify in order to improve its 2n smartcom ® qualities. Manual version changes in documentation 1.0.0 the user manual corresponds to fw version 2n smartcom ® . 1.0.X 1.1.0 the user manual corresponds to fw versi...

  • Page 10: 1.3 Terms and Symbols Used

    10 2n telekomunikace a.S., www.2n.Cz ® 1.3 terms and symbols used symbols used in manual the following symbols and pictograms are used in the manual: safety abide by this information to prevent persons from injury. Always warning abide by this information to prevent damage to the device. Always caut...

  • Page 11

    11 2n telekomunikace a.S., www.2n.Cz ® 2. Description and installation in this section we describe the product and its installation. 2n smartcom ® here is what you can find in this section: 2.1 basic version description 2.2 pro version description 2.3 before you start 2.4 mounting.

  • Page 12

    12 2n telekomunikace a.S., www.2n.Cz ® 1. 2. 3. 4. 5. 2.1 basic version description 2n smartcom ® consists of a board carrying a power supply, rs 232 and rs 485/m–bus interfaces and a gsm module. The gsm module is responsible for a continuous internet connection via gprs and two relays for output co...

  • Page 13

    13 2n telekomunikace a.S., www.2n.Cz ® 1. 2. 3. Figure: 2n smartcom ® connectors (bottom view) rs 232 bus connector rs 485 bus connector power supply connector.

  • Page 14: 2.2 Pro Version Description

    14 2n telekomunikace a.S., www.2n.Cz ® 1. 2. 3. 4. 2.2 pro version description 2n smartcom pro ® contains all basic version interfaces plus a terminal for gel–lead–acid accumulator connection, a real time clock function, wireless m–bus and zigbee (both optional) and ethernet interface (optional). Re...

  • Page 15

    15 2n telekomunikace a.S., www.2n.Cz ® 1. 2. 3. 4. 5. 6. Figure: 2n smartcom ® connectors (top view) sma connector for zigbee antenna (optional) sma connector for wireless m–bus antenna (optional) input circuit terminal block: re1, re2 – relay contacts in1, in2 – input circuits (type is determined b...

  • Page 16: 2.3 Before You Start

    16 2n telekomunikace a.S., www.2n.Cz ® 2.3 before you start installation conditions install the gsm antenna with respect to the signal quality in the 2n smartcom ® location. Where the signal is poor, use a higher gain antenna (not included in the delivery). Install off sensitive devices and human bo...

  • Page 17: 2.4 Mounting

    17 2n telekomunikace a.S., www.2n.Cz ® 2.4 mounting external antenna connection screw the enclosed antenna into the sma antenna connector. Figure: antenna connection caution tighten the antenna connector ; never use a gently with your hand tool! Note the antenna should be located in one and the same...

  • Page 18: Power Supply

    18 2n telekomunikace a.S., www.2n.Cz ® 1. 2. Figure: sim card installation insert the sim card in the holder. Push the card in until it clicks into position. Caution make sure that the gsm provider's sim card is intended for the gsm network supported by your version and that 2n smartcom ® gprs–based...

  • Page 19

    19 2n telekomunikace a.S., www.2n.Cz ® warning never connect the power supply until you have connected the antenna to avoid the gsm module damage. Never connect any incompliant power supply to avoid electric accident or system damage.

  • Page 20: 3. Function and Use

    20 2n telekomunikace a.S., www.2n.Cz ® 3. Function and use in this section we provide the basic and extended functions of the pro 2n smartcom ® duct. Here is what you can find in this section: 3.1 putting in operation 3.2 gsm led indicator 3.3 input and output circuits 3.4 input calibration.

  • Page 21: 3.1 Putting In Operation

    21 2n telekomunikace a.S., www.2n.Cz ® 3.1 putting in operation operational state is 's main function. In this state, periodic data 2n smartcom ® readouts from input circuits are made. Responds to queries from the 2n smartcom ® superior data concentrator, which can be the server, monitors the 2n sma...

  • Page 22: 3.2 Gsm Led Indicator

    22 2n telekomunikace a.S., www.2n.Cz ® 1. 2. 3. 4. 5. 3.2 gsm led indicator here the variable statuses of the server connection indicating led are described. This led can have two functions: signals the terminal connection to gprs in the stand-alone mode and to the sc server in the tcp client mode b...

  • Page 23: Input Circuits

    23 2n telekomunikace a.S., www.2n.Cz ® 3.3 input and output circuits this subsection describes the input and output circuits of including 2n smartcom ® main use, control and location. Tip 2n smartcom ® is equipped with reliable terminals for easier and faster connection. Input circuits 2n smartcom ®...

  • Page 24: Output Circuits

    24 2n telekomunikace a.S., www.2n.Cz ® figure: jumper setting–basic version figure: jumper setting–pro version output circuits 2n smartcom ® is equipped with two relay outputs for turning on/off electrical appliances (by an additional power switch, depending on their power input), or signalling, con...

  • Page 25: Ip Access

    25 2n telekomunikace a.S., www.2n.Cz ® caution any manual setting is valid until the next change or – attention! Device power off. Does not keep in mind the relay 2n smartcom ® settings and restores the default status upon power up. Set the parameter determining the relay position upon power up to 2...

  • Page 26: Real Time Clock

    26 2n telekomunikace a.S., www.2n.Cz ® real time clock this function is available in the version only. The real time clock 2n smartcom pro ® is backed up by a super capacitor, which keeps it running for 2 days in the event of switch–off or power failure. The clock is programmed via the configuration...

  • Page 27: 3.4 Input Calibration

    27 2n telekomunikace a.S., www.2n.Cz ® 3.4 input calibration a 10-bit a/d converter is connected to the in1 and in2 input terminals, which converts the measured value to a number ranging between 0 and 1023. Practically, the 0 - 1020 range is used; the remaining three steps are used for overvoltage d...

  • Page 28

    28 2n telekomunikace a.S., www.2n.Cz ® the green lines indicate that no calibration has been made yet. The a/d converter – works in the whole range and deviations may occur from the actual value measured on the input. If you, in this situation, set threshold low to 0v and threshold high to 10v on th...

  • Page 29: 4. Configuration By Terminal

    29 2n telekomunikace a.S., www.2n.Cz ® 4. Configuration by terminal in this section we describe the configuration using at commands 2n smartcom ® entered into the command line. Here is what you can find in this section: 4.1 configuration 4.2 list of supported at commands.

  • Page 30: 4.1 Configuration

    30 2n telekomunikace a.S., www.2n.Cz ® 4.1 configuration the basic configuration and firmware download take place during the 2n smartcom ® manufacturing process. In general, no additional configuration is necessary except for gprs connection to the internet on the gsm module and the port baud rates,...

  • Page 31

    31 2n telekomunikace a.S., www.2n.Cz ® caution make sure that the ip address assigned to the sim card is public. It is because you will not be able to establish remote connection to in the standalone mode if an ip 2n smartcom ® address from the provider's internal range is used. The 2n ® address nee...

  • Page 32: 2N  Smartcom Gsm Commands

    32 2n telekomunikace a.S., www.2n.Cz ® 4.2 list of supported at commands this subsection describes all the at commands that can be used for c 2n smartcom ® onfiguration, including precise format and function specification. 2n smartcom gsm commands ® these commands help configure the connection to th...

  • Page 33

    33 2n telekomunikace a.S., www.2n.Cz ® enter the command to set the server port to which should 2n smartcom ® connect in mode 1. At^sccfg="auth_pass","xj32ppp_v1" enter the command to set the authorisation password for the above specified server. At^sccfg="sim_pin","1156" enter the command to set th...

  • Page 34: Port 1 (Rs 232) Sc Commands

    34 2n telekomunikace a.S., www.2n.Cz ® port 1 (rs 232) sc commands these commands are used for setting the rs 232 parameters. At^scport1="baudrate",9600 enter the command to set the baud rate to 9,600 bps. At^scport1="baudrate",115200 enter the command to set the baud rate to 115,200 bps. At^scport1...

  • Page 35

    35 2n telekomunikace a.S., www.2n.Cz ® enter the command to save the changes and restart the interface. At^scport1? Enter the command to display the currently set port values. At^scport1=? Enter the command to display the port setting options. ^scport1: "baudrate",110-230400 ^scport1: "data_bits",5-...

  • Page 36: Relay Outputs

    36 2n telekomunikace a.S., www.2n.Cz ® enter the command to restart the port. At^scport2="srestart" enter the command to save the changes and restart the interface . At^scport2? Enter the command to display the currently set port values. ^scport2: "baudrate",9600 ^scport2: "data_bits",8 ^scport2: "s...

  • Page 37

    37 2n telekomunikace a.S., www.2n.Cz ® enter the command to close relay 1. The relay will be open after the terminal restart. At^screl1=1,1 enter the command to close relay 1. The relay will be closed after the terminal restart. At^screl1=1,2 enter the command to close relay 1. The relay will be in ...

  • Page 38: Adc – Input Circuits

    38 2n telekomunikace a.S., www.2n.Cz ® adc – input circuits these commands help control the input circuits, set calibration and make measurements. At^scadc1="get_value" enter the command to measure the value of the selected port and send the measured value. At^scadc1="calib_min" enter the command to...

  • Page 39

    39 2n telekomunikace a.S., www.2n.Cz ® enter the command to make automatic port calibration according to the currently measured value. At^scadc2="threshold_low",300 manual calibration setting (minimum values). Setting options: 0 – 960. At^scadc2="threshold_high",350 manual calibration setting (maxim...

  • Page 40: S0 – Pulse Counting

    40 2n telekomunikace a.S., www.2n.Cz ® enter the command to display the port setting options. At^scdin2="get_value" enter the command to detect the logical level on the port and send value 1/0. At^scdin2="calib_min" enter the command to make automatic port calibration according to the currently meas...

  • Page 41

    41 2n telekomunikace a.S., www.2n.Cz ® enter the command to set the count of counter pulses in case you do not want to start from 0. In this case, 100 will be set. The available range is 0 – 4294967295. At^scpulse1="stimer",60 enter the command to define the intervals in seconds for storing the coun...

  • Page 42: General Commands

    42 2n telekomunikace a.S., www.2n.Cz ® enter the command to enable pulse counting on input 2. At^scpulse2="stop" enter the command to disable pulse counting on input 2. At^scpulse2="clear" enter the command to clear the input 2 counter. At^scpulse2="save" enter the command to store the counter value...

  • Page 43

    43 2n telekomunikace a.S., www.2n.Cz ® enter the command to display the model - . 2n smartcom ® at+cgmr enter the command to display the current firmware version - sc_vxx.Xx. At+cgsn enter the command to display the gsm module imei. At+cimi enter the command to display the sim card imsi. At+gmi ente...

  • Page 44

    44 2n telekomunikace a.S., www.2n.Cz ® enter the command to terminate (reject) an incoming tcp connection ringing. Ats0? Enter the command to display the automatic answering of incoming calls. 0 - means that incoming calls will be ignored and should be answered manually using the ata command. Digit ...

  • Page 45: Test Command

    45 2n telekomunikace a.S., www.2n.Cz ® access authorisation according to ip addresses these commands are used for setting 5 ip addresses authorised for access to this terminal. Connections coming from other ip addresses will be ignored. At^sccfg="auth_ip",1 switch on / off access authorisation accor...

  • Page 46

    46 2n telekomunikace a.S., www.2n.Cz ® ok entering the test mode gsm state: gprs running -testing gsm module: running -testing mux running: ok -testing mux command: ok -testing sim presence: ok -checking sim state: sim ready -checking gsm registration: local network -testing signal strength: -65dbm ...

  • Page 47

    47 2n telekomunikace a.S., www.2n.Cz ® enter the command to display the current rs-232 lock setting state. At^sc232lock=? Enter the command to display the rs-232 lock setting options. At+csq enter the command to display the signal intensity. +csq: 99,99 at^scop? Enter the command to display the gsm ...

  • Page 48

    48 2n telekomunikace a.S., www.2n.Cz ® enter the command to set the maximum accumulator voltage in mv. At^scchg="max_current",350 enter the command to set maximum charging current in ma. At^scchg="state" enter the command to know the current charging state. Active- charging activated. Stopped- charg...

  • Page 49

    49 2n telekomunikace a.S., www.2n.Cz ® real time clock (for 2n smartcom pro only) ® these commands are implemented in the real time clock containing 2n smartcom ® version only. Pro at^scclk="rr/mm/dd,hh:mm:ss+zzzz" enter the command to set the real time clock. The zzzz parameter means a time zone, d...

  • Page 50

    50 2n telekomunikace a.S., www.2n.Cz ® enter the command to write out the oldest record from the wireless m-bus meter data space. Example of a reply: ^scwmbus: ,,,,"" meaning of parameters: timestamp – record receiving time (unix timestamp) id – record code in circular buffer rssi – signal strength ...

  • Page 51

    51 2n telekomunikace a.S., www.2n.Cz ® ethernet (for 2n smartcom pro eth only) ® these commands are implemented in the ethernet containing e 2n smartcom pro ® th version only. At^sceth="ip_method","dhcp" enter the command to set the method of ip address setting: dhcp – automatic ip address setting f...

  • Page 52

    52 2n telekomunikace a.S., www.2n.Cz ® enter the command to display the currently set ethernet parameters. ^sceth: "ip_method","fixed" ^sceth: "local_ip","192.168.1.1" ^sceth: "fixed_ip","192.168.1.1" ^sceth: "mask","255.255.255.0" ^sceth: "gateway","192.168.1.254" ^sceth: "dns1","192.168.1.1" ^scet...

  • Page 53: 5. Configuration By Sms

    53 2n telekomunikace a.S., www.2n.Cz ® 5. Configuration by sms the sms described in this section are used for basic settings of the terminal. You have to know the telephone number of the sim card inserted in your to 2n smartcom ® ensure a reliable function. Caution every sms sent to must meet all of...

  • Page 54: Info Sms

    54 2n telekomunikace a.S., www.2n.Cz ® note the maximum sms length is 160 characters. This is a gsm standard, which allows 1120 bits, i.E. 140 bytes, per sms. Since 7–bit encoding is used by default, 20 characters are saved per 140 bytes and so the resultant length is 160 characters. The gsm 03.38 c...

  • Page 55: Basic Settings

    55 2n telekomunikace a.S., www.2n.Cz ® the reply for the standalone mode is as follows: sn= lip= fw= sig= oper= imsi= imei= stat=listening the meanings of the parameters in the reply sms are as follows: – authentication password; the password has to be set up first (auth_pass configuration parameter...

  • Page 56

    56 2n telekomunikace a.S., www.2n.Cz ® now let us describe the contents of a configuration sms and all optional parameters. Sc cnf pwd= [mode=] [232lck=] [apn=] [dusr=] [dpwd=] [ips=] [ports=] [npwd=] the parameters in square brackets are optional and can be omitted. The password is the only mandato...

  • Page 57: Error Buffer

    57 2n telekomunikace a.S., www.2n.Cz ® to 'internet.Open'. Also, set the server ip address to 90.89.126.3 and the listening port to 1658. This is the most frequent way of setting. Thus, send the following configuration sms: sc cnf pwd=apnpassword=internet.Open ips=90.89.126.3 ports=1658 npwd=passwor...

  • Page 58: Relay Control

    58 2n telekomunikace a.S., www.2n.Cz ® relay control every terminal is equipped with two relay outputs, which can be sms controlled. The configuration sms must include the password and one of the four programmable parameters at least. The programmable parameters include: r1 or – define the relay sta...

  • Page 59

    59 2n telekomunikace a.S., www.2n.Cz ® the parameters in square brackets are optional and can be omitted. The password is the only mandatory parameter! The meanings of the ipa command parameters are as follows: pwd= – authentication password. The password has to be set up first (auth_pass configurat...

  • Page 60: Error Replies

    60 2n telekomunikace a.S., www.2n.Cz ® error replies having noticed an error in the configuration sms or command processing, 2n ® will send you an error reply. Smartcom if the terminal generated an error reply, it means that the command was not executed! Tip 2n smartcom ® sends error replies until a...

  • Page 61: 6. Terminal Config

    61 2n telekomunikace a.S., www.2n.Cz ® 6. Terminal config the terminal config application is used for basic configuration of the terminal. This subsection provides details on its environment and basic functions. Launch the application from the directory into which you installed it. Note the installa...

  • Page 62: Application Details

    62 2n telekomunikace a.S., www.2n.Cz ® application details figure: terminal config window the figure above shows the terminal configuration program 2n smartcom ® (hereinafter referred to as terminal config) window. The main toolbar helps you select the for connection to (hereinafter referred to as s...

  • Page 63

    63 2n telekomunikace a.S., www.2n.Cz ® figure: communication settings having selected a port, set the communication parameters to adjust communication rates and signal transmission parameters for the serial port. The fact 2n smartcom ® ory values are set here by default. Refer to the figure communic...

  • Page 64

    64 2n telekomunikace a.S., www.2n.Cz ® sim telephone number, i.E. Msisdn, but a unique sim serial number. There are no two identical iccids at one moment. These 19-digit numbers start with 8942 for the czech republic. Moreover, the section provides information on the gsm module: type, manufacturer a...

  • Page 65: Application Use

    65 2n telekomunikace a.S., www.2n.Cz ® application use tip not all tags are accessible to all device models. General, rs-232, rs-485/m-bus, error buffer, own at and commands, fw upload, user defined functions ip access are accessible to all terminals. And are available to the wm-bus, rtc settings ch...

  • Page 66

    66 2n telekomunikace a.S., www.2n.Cz ® figure: ethernet menu use the rs–232 and rs485/m–bus tags to set communication parameters for each port. Set the password request enable and at mode upon power up for rs-232. Use the wm-bus tag to set the operating and decryption modes for the module..

  • Page 67

    67 2n telekomunikace a.S., www.2n.Cz ® figure: wm-bus menu click on the required item in the to select a device and list of configured devices push the buttons to the right to remove the item or add the decryption key. Caution the keys are added to the wm-bus module directly for security reasons and...

  • Page 68

    68 2n telekomunikace a.S., www.2n.Cz ® display received messages in the section. The messages are read from get message the database starting with the oldest one. The message count parameter displays the count of received messages in the terminal and the amount of free space. When there is no free s...

  • Page 69

    69 2n telekomunikace a.S., www.2n.Cz ® figure: user defined at commands the last tag helps you upgrade firmware via the terminal com port. Select the path to the current firmware file and press to initiate the upgrading process, which is start signalled by the progress bar below. When the process is...

  • Page 70

    70 2n telekomunikace a.S., www.2n.Cz ® the tag helps you set the udf graphically and more easily in user defined functions the application than using an at command in the terminal. Just select the required functions and set their parameters and the application itself will generate the relevant at co...

  • Page 71

    71 2n telekomunikace a.S., www.2n.Cz ® figure: rtc settings menu is another setting option. It displays the back-up battery charging state for charger the terminals. You can enable/disable the function and set the maximum sc pro charging voltage and current. Figure: charger menu is the last accessib...

  • Page 72

    72 2n telekomunikace a.S., www.2n.Cz ® figure: ip access menu.

  • Page 73: 7. Control Panel

    73 2n telekomunikace a.S., www.2n.Cz ® 7. Control panel in this section, administration and use of the product using the 2n smartcom ® 2n ® server and control panel are described. Smartcom 2n smartcom ® here is what you can find in this section: 7.1 sc server 7.2 control panel 7.3 control panel use.

  • Page 74: 7.1 Sc Server

    74 2n telekomunikace a.S., www.2n.Cz ® 7.1 sc server 2n smartcom ® server is an application necessary for the control 2n smartcom ® panel operation, providing communication between the control panel 2n smartcom ® and the terminal. Caution the server must be installed on a pc accessible from 2n smart...

  • Page 75: Licencing

    75 2n telekomunikace a.S., www.2n.Cz ® note the server requires of free disk space at 2n smartcom ® 10 mb least for installation. Use the 2n smartcom control panel application to make ® changes in the 2n smartcom server settings ® . Licencing all the server functions are subject to licence. For your...

  • Page 76

    76 2n telekomunikace a.S., www.2n.Cz ® will change into ok. Now, the last row of the includes all the listing parameters licensed server properties: count of users, count of terminals and at api and terminal upgrade enable..

  • Page 77: 7.2 Control Panel

    77 2n telekomunikace a.S., www.2n.Cz ® 7.2 control panel the control panel provides a comfortable administration of terminals 2n smartcom ® and users/user groups and assigns users relevant communication and administration rights. Also, it can create virtual tcps and serial ports and connect terminal...

  • Page 78

    78 2n telekomunikace a.S., www.2n.Cz ® caution important! A default user with the administrator login was created during the server installation to make it possible to 2n smartcom ® connect to the server and configure all the other users. The default user login data are as follows: username:admin pa...

  • Page 79: Introduction to Application

    79 2n telekomunikace a.S., www.2n.Cz ® introduction to application you will be shown the application layout and main controls in this subsection. The application can be viewed in two ways: the and the . The user mode admin mode user may see the menus necessary for its work with terminals only. The a...

  • Page 80

    80 2n telekomunikace a.S., www.2n.Cz ® basic controls push the button to return to the main menu. Home click on to update the status of objects in refresh the selected menu, e.G. The terminal status in the or terminals menu. Connections push these buttons to / communication start stop with the termi...

  • Page 81

    81 2n telekomunikace a.S., www.2n.Cz ® push the button to create new objects. Create click on the button to clear the currently cancel made changes. Click on to save the currently made changes save and send them to the server 2n smartcom ® configuration. Use this button to install the virtual serial...

  • Page 82: 7.3 Control Panel Use

    82 2n telekomunikace a.S., www.2n.Cz ® 7.3 control panel use the main purpose of the control panel is to virtualised ports and 2n smartcom ® facilitate connection to terminals. The application also provides comfortable administration and user management including assignment of terminal administratio...

  • Page 83

    83 2n telekomunikace a.S., www.2n.Cz ® a green dot before the terminal means that the terminal is on–line (connected to the server) and you can get connected to it. A red dot means that the terminal is off–line. Click on a selected terminal on the right to display the window terminal details includi...

  • Page 84

    84 2n telekomunikace a.S., www.2n.Cz ® figure: terminal time synchronisation the time setting supporting and terminals also display the terminal pro pro eth time. Click on to set the same time value for the terminal as there is in synchronize the server. Connections figure: connections menu the menu...

  • Page 85

    85 2n telekomunikace a.S., www.2n.Cz ® - disconnection from the virtual port is in progress. Disconnecting - the terminal is off-line, i.E. Has been disconnected terminal disconnected from the sc server. - the terminal has been disconnected by another disconnect by other user user. This means that t...

  • Page 86

    86 2n telekomunikace a.S., www.2n.Cz ® virtual ports figure: virtual ports menu administer virtual ports using the menu. Every user can use this menu virtual ports as these settings only relate to the pc with which the user is working. This means that where more pcs are used, the user must create th...

  • Page 87

    87 2n telekomunikace a.S., www.2n.Cz ® on to make the com0com driver install the selected port into the pc. Create figure: create com port having installed a com port into the pc, activate the com port. Although the port has been added to the table, the item shows no. Therefore, click on virtual por...

  • Page 88

    88 2n telekomunikace a.S., www.2n.Cz ® settings figure: settings menu you can change the user password in the menu. Enter the old password and settings then the new one. The minimum password length and correctness is checked by the parameters. Save the setting using the button. Change password the m...

  • Page 89: Admin Mode

    89 2n telekomunikace a.S., www.2n.Cz ® note the installation requires of free disk space at least. 0.5 mb moreover, you can set in this menu. If you enable this function, automatic sign-in the application will automatically log in to the server within a preset time interval. If you interrupt autolog...

  • Page 90

    90 2n telekomunikace a.S., www.2n.Cz ® users figure: users menu the menu is used for user administration. The list of users is on left. A green dot users before the user name means that the user is on–line (connected to the 2n ® server). A red dot means that the user is off–line (logged out). Smartc...

  • Page 91

    91 2n telekomunikace a.S., www.2n.Cz ® groups figure: user groups menu the menu helps you group users and terminals. As it is unnecessary for all groups users to view and manage all terminals, you can create small user groups for terminal data reading and administering. Click on a group to display t...

  • Page 92

    92 2n telekomunikace a.S., www.2n.Cz ® add group click on the button next to the filter setting. You will be asked to complete add group the group name and rights to ensure a proper function. The parameters are limited and you will be checked during entering. No name may be duplicated in the configu...

  • Page 93

    93 2n telekomunikace a.S., www.2n.Cz ® terminals figure: admin mode terminals menu the menu in the admin mode is similar to that in the user mode but is terminals extended by group assignment, terminal adding and terminal editing options. A green dot before the terminal means that the terminal is on...

  • Page 94

    94 2n telekomunikace a.S., www.2n.Cz ® create terminal click on next to the filter to create a new terminal. Add terminal figure: create terminal to add a terminal, enter the terminal name, serial number and password. The parameters are limited and you will be checked during entering. No name or ser...

  • Page 95

    95 2n telekomunikace a.S., www.2n.Cz ® server settings figure: server settings menu the menu contains the server settings. The menu server settings 2n smartcom ® has two parts. The first menu part affects the server function directly and any change may to lead to restart and subsequent disabling of ...

  • Page 96

    96 2n telekomunikace a.S., www.2n.Cz ® the other part does not affect the server function. You can modify the settin log level g, which is a digital value specifying how detailed the log file should be. The setting options are 1 – 5. The default value is 3. The and items are automatically set to the...

  • Page 97

    97 2n telekomunikace a.S., www.2n.Cz ® firmware management figure: firmware management menu the menu is used for updating the terminal firmware management 2n smartcom ® firmware via the server. The user selects a firmware version and 2n smartcom ® ticks off the terminal or group of terminals to be u...

  • Page 98

    98 2n telekomunikace a.S., www.2n.Cz ® caution just one default firmware version identical with the 2n smartcom ® control panel fw version is available after a new server installation. Add more firmware versions to the database if necessary. If you just upgrade the keeping the 2n smartcom server ® c...

  • Page 99

    99 2n telekomunikace a.S., www.2n.Cz ® update firmware figure: scheduled terminal update click on to open a new window for you to schedule the upgrading date and update time for the selected terminals. Push yes to execute update immediately. As the current system time is running on the server, the u...

  • Page 100

    100 2n telekomunikace a.S., www.2n.Cz ® firmware update details figure: push the button in the column to open the , info details firmware update details including the upgrade date. Click on to re-schedule the upgrade, or push change to retain the original setting and close the window. Keep.

  • Page 101: 8. At Api

    101 2n telekomunikace a.S., www.2n.Cz ® 8. At api in this section, the function is described from the user's point 2n smartcom at api ® of view. Here is what you can find in this section: 8.1 at api description 8.2 supported commands.

  • Page 102: 8.1 At Api Description

    102 2n telekomunikace a.S., www.2n.Cz ® 8.1 at api description the at api is launched on the server and requires a licence. You 2n smartcom ® have to enable its use in the control panel. Refer to the figure below 2n smartcom ® for the basic function. Figure: at api at api use having logged in, get c...

  • Page 103: 8.2 Supported Commands

    103 2n telekomunikace a.S., www.2n.Cz ® 8.2 supported commands this subsection provides all the at commands that can be used in the at api command channel including their exact formats and main details. Basic commands basic commands for the at api. 2n smartcom ® at enter the command to check the int...

  • Page 104: Server Settings

    104 2n telekomunikace a.S., www.2n.Cz ® enter the command to display the current server version: x.X.X.X.X at+gmi enter the command to display the device manufacturer – 2n telekomunikace ® a.S. At+gmm enter the command to display the device model – at api. 2n smartcom ® at+gmr enter the command to d...

  • Page 105: Terminal Connection

    105 2n telekomunikace a.S., www.2n.Cz ® enter the command to enable/disable the use of the http interface: 0 – disabled, 1 – enabled. At^sccfg="at_port",1562 enter the command to set the at api port to 1562. At^sccfg="server_restart" enter the command to restart the server. 2n smartcom ® caution all...

  • Page 106: Port Settings

    106 2n telekomunikace a.S., www.2n.Cz ® enter the command to know the terminal state. The reply is as follows: terminal state: imei: 355915030753263 operator name: t–mobile cz (23001) signal: 21 iccid: 8942001105088009270 imsi: 230015001013627 terminal serial number: 50–0369–0075 terminal firmware: ...

  • Page 107: Terminal Data Reading

    107 2n telekomunikace a.S., www.2n.Cz ® enter the command to set the selected port configuration. Enter the parameters in a sequence. The setting options are as follows: bar – "baudrate",110–230400 db – "data_bits",5–8 p – "parity",0–4 sb – "stop_bits",1–2 fc – "flowcontrol",0–1 caution you can ente...

  • Page 108: Firmware Management

    108 2n telekomunikace a.S., www.2n.Cz ® note therefore, to read data from terminal no. 50–0295–0562, enter one of the following commands into api: atd5002950562#100. When you receive the connect reply, the following commands will become available. At^scwmbus="get_oldest" enter the command to write o...

  • Page 109

    109 2n telekomunikace a.S., www.2n.Cz ® note enter time as unix time. Enter 1357055424 for 1.1.2013 15:50:24. At^scupg="cancel" enter the command to cancel the terminal upgrade..

  • Page 110: 9. User Defined Functions -

    110 2n telekomunikace a.S., www.2n.Cz ® 9. User defined functions - udf this section describes the function of the terminal user settings called 2n smartcom ® user defined functions (udf). Here is what you can find in this section: 9.1 udf description 9.2 udf condition setting.

  • Page 111: 9.1 Udf Description

    111 2n telekomunikace a.S., www.2n.Cz ® 9.1 udf description udf provides a user–defined set of conditions for the terminal that are necessary for execution of the set actions. The conditions must be met to make it possible to send sms/ tcp messages or set the relay position on the given terminal. Up...

  • Page 112: 9.2 Udf Condition Setting

    112 2n telekomunikace a.S., www.2n.Cz ® 9.2 udf condition setting this subsection provides all the at commands and parameters that can be used for setting of udf conditions. The basic commands are described first and then their parts are explained. Basic at commands these are the basic commands for ...

  • Page 113

    113 2n telekomunikace a.S., www.2n.Cz ® description ain1 analogue input 1 ain2 analogue input 2 din1 digital input 1 din2 digital input 2 pul1 pulse input 1 pul2 pulse input 2 conx reference condition where x = condition cntx internal counter, where x = counter (1 - 5) constant value to be used for ...

  • Page 114: Action Types

    114 2n telekomunikace a.S., www.2n.Cz ® ain1>50 – the syntax will be marked true in case the value measured on ain1 is higher than 50. – the syntax will be marked true in case the value measured on the pul2==2596 pul2 counter is equal to the constant. The syntax will be marked true in case the din1 ...

  • Page 115: Action Parameters

    115 2n telekomunikace a.S., www.2n.Cz ® caution make sure that the telephone number and message parameters are completed to set this function successfully. Tcp enter tcp to send the defined tcp message to the defined ip address and port. Use telnet for tcp sending. Note a typical tcp sending at comm...

  • Page 116

    116 2n telekomunikace a.S., www.2n.Cz ® telephone number set the telephone number , where is the telephone number in the national or p[xx] xx international format. Hence, enter or p[123456789] p[+420123456789]. Caution the telephone number can be used for the action only. Sms enter telephone numbers...

  • Page 117

    117 2n telekomunikace a.S., www.2n.Cz ® key description $ain1 analogue input 1 value $ain2 analogue input 2 value $din1 digital input 1 value $din2 digital input 2 value $pul1 pulse input 1 value $pul2 pulse input 2 value $cnt1 counter 1 value $cntx counter x value (1-5) $con1 condition 1 result val...

  • Page 118: Timers

    118 2n telekomunikace a.S., www.2n.Cz ® timers there are three ways how to make use of condition timing. See below. Timer not set the action is executed when the condition is evaluated as true. For re–execution, the condition must be false and then true again. Timer set the string, where identifies ...

  • Page 119

    119 2n telekomunikace a.S., www.2n.Cz ® 4 udf_resp_error_syntax_logic_mark logic mark not found or wrong 5 udf_resp_error_syntax_param1 condition parameter 1 not found or wrong 6 udf_resp_error_syntax_param2 condition parameter 2 not found or wrong 7 udf_resp_error_syntax_invalid_condition condition...

  • Page 120

    120 2n telekomunikace a.S., www.2n.Cz ® 19 udf_resp_error_id_not_found reference condition id not found 20 udf_resp_error_param_type_invalid action parameter not supported for selected action type 21 udf_resp_error_action_in_progress condition action in progress 22 udf_resp_error_message_missing mes...

  • Page 121: 10. Sc_Config

    121 2n telekomunikace a.S., www.2n.Cz ® 10. Sc_config sc_config is an administrator program launched in the server control 2n smartcom ® row. This application can help you configure all the server parameters: start/stop the server or export/import the server database. Caution use this program to exp...

  • Page 122: Database Export and Import

    122 2n telekomunikace a.S., www.2n.Cz ® figure: sc_config.Exe database export and import you can export the database under normal operation. When the program is launched, a copy of the current database is generated for export purposes so that the database cannot be changed during export. Launch sc_c...

  • Page 123: Setting Options

    123 2n telekomunikace a.S., www.2n.Cz ® running, the database cannot be imported and the program signals an error. Stop the server using the following command: c:\program files\2n telekomunikace\2n smartcom\sc ® ® server\sc_config.Exe –cstopserver to import the database, enter the –cimportdatabase p...

  • Page 124

    124 2n telekomunikace a.S., www.2n.Cz ® enter this command to list all the parameters. ––help or –h enter this command to print out this help with the list of commands. ––version or ––v enter this command to print out the program version. Parameter get commands –glistenport enter this command to pri...

  • Page 125

    125 2n telekomunikace a.S., www.2n.Cz ® enter this command to set the maximum number of users connected to the server at the same time. The maximum value for the parameter is given by the licence. –smaxterm enter this command to set the maximum number of terminals connected to the server at the same...

  • Page 126: 11. Maintenance

    126 2n telekomunikace a.S., www.2n.Cz ® 11. Maintenance this section describes how to maintain the product. 2n smartcom ® here is what you can find in this section: 11.1 firmware upgrade (update) 11.2 factory default reset 11.3 repairs.

  • Page 127

    127 2n telekomunikace a.S., www.2n.Cz ® 11.1 firmware upgrade (update) the factory default firmware in can be upgraded using the 2n smartcom ® 2n ® control panel or an at command. Contact the smartcom 2n telekomunikace ® . Technical support staff for information on new functions and firmware version...

  • Page 128: 11.2 Factory Default Reset

    128 2n telekomunikace a.S., www.2n.Cz ® 11.2 factory default reset 2n smartcom ® can be factory reset. To do so, loosen the screws and remove the upper part of the case. Figure: factory reset jumper disconnect from the power supply. Connect the jumper as shown in 2n smartcom ® fig. 11.1 (basic versi...

  • Page 129: 11.3 Repairs

    129 2n telekomunikace a.S., www.2n.Cz ® 11.3 repairs should you need some service interventions, please contact the 2n ® technical support staff via e-mail: or tel.: telekomunikace a.S. Techsupport@2n.Cz (+420)900300300. Repairs may be made by an authorised servicing centre or the 2n smartcom ® manu...

  • Page 130: 12. Technical Parameters

    130 2n telekomunikace a.S., www.2n.Cz ® 12. Technical parameters this section provides a list of technical parameters. 2n smartcom ® 12.1 technical parameters for basic version 12.2 technical parameters for pro version.

  • Page 131: Power Supply

    131 2n telekomunikace a.S., www.2n.Cz ® 12.1 technical parameters for basic version power supply dc power supply 12 v dc mains supply 100-240v ac adapter 50-60hz / 12v dc – 0.5a power input up to 3w connector dc jack 2.1mm gsm mobile network type gsm 850, egsm 900, dcs1800, pcs 1900 sim card plug-in...

  • Page 132: Input Circuits to Adc (Two)

    132 2n telekomunikace a.S., www.2n.Cz ® input circuits to adc (two) voltage range 0 - 10v dc current range 4 – 20 ma / 0 – 20 ma dc rs232 interface connector d-sub 9-pin, male transmission rate 110 – 23400 baud rs485 or m-bus interface (optional) connector rj12 6-pin count of m-bus devices up to 5 w...

  • Page 133: Power Supply

    133 2n telekomunikace a.S., www.2n.Cz ® 12.2 technical parameters for pro version power supply dc power supply 5-50 v dc power input up to 7w connector terminal block for 1.5mm / 16 awg wires 2 gsm mobile network type gsm 850, egsm 900, dcs1800, pcs 1900 sim card plug-in 3v/1v8 (small) transmission ...

  • Page 134: Input Interfaces (Two)

    134 2n telekomunikace a.S., www.2n.Cz ® input interfaces (two) voltage range 0-10v dc current range 4 – 20 ma / 0 – 20 ma dc rs232 interfaces connector d-sub 9 pin, male baud rate 110 – 230400 baud rs485 or m-bus interface (optional) connector terminal block for 1.5mm / 16 awg wires 2 count of m-bus...

  • Page 135: Others

    135 2n telekomunikace a.S., www.2n.Cz ® others dimensions (w/o connectors) 105 x 100 x 30 mm ce certificate.

  • Page 136: 13. Supplementary

    136 2n telekomunikace a.S., www.2n.Cz ® 13. Supplementary information this section provides supplementary information on . 2n smartcom ® here is what you can find in this section: 13.1 list of abbreviations 13.1 regulations, laws and directives 13.3 general instructions and cautions.

  • Page 137: 13.1 List of Abbreviations

    137 2n telekomunikace a.S., www.2n.Cz ® 13.1 list of abbreviations apn (access point name) name of gprs access point. Csd (circuit switched data) circuit switched data transmission. Gsm (group switched mobile system) current standard for mobile telephone systems. Gprs (general packet radio service) ...

  • Page 138: Europe

    138 2n telekomunikace a.S., www.2n.Cz ® 13.1 regulations, laws and directives europe 2n smartcom ® conforms to the following directives and regulations: directive 1999/5/ec of the european parliament and of the council, of 9 march 1999 – on radio equipment and telecommunications terminal equipment a...

  • Page 139

    139 2n telekomunikace a.S., www.2n.Cz ® 13.3 general instructions and cautions general instructions and cautions please read this user manual carefully before using the product. Follow all instructions and recommendations included herein. Any use of the product that is in contradiction with the inst...

  • Page 140

    140 2n telekomunikace a.S., www.2n.Cz ® electric waste and used battery pack handling do not place used electric devices and battery packs into municipal waste containers. An undue disposal thereof might impair the environment! Deliver your expired electric appliances and battery packs removed from ...

  • Page 141

    141 2n telekomunikace a.S., www.2n.Cz ® 2n telekomunikace a.S. Modřanská 621, 143 01 prague 4, czech republic tel.: +420 261 301 500, fax: +420 261 301 599 e-mail: sales@2n.Cz web: www.2n.Cz 1665v1.8.0