2N SmartCom User Manual

2N SmartCom User Manual

Wireless device management over ip
Hide thumbs Also See for SmartCom:

Advertisement

Quick Links

2N SmartCom
Wireless Device Management over IP
Version
1.8.0
Firmware
1.8.x
®
User Manual
www.2n.cz

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartCom and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for 2N SmartCom

  • Page 1 ® 2N SmartCom Wireless Device Management over IP User Manual Version 1.8.0 Firmware 1.8.x www.2n.cz...
  • Page 2 2N TELEKOMUNIKACE administers the FAQ database to help you quickly find information and to answer your questions about 2N products and services. On www.faq.2n.cz you can find information regarding products adjustment and instructions for optimum use and procedures „What to do if...“.
  • Page 3 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: Product Overview

    The section also includes safety precautions. Here is what you can find in this section: 1.1 Product Description 1.2 Upgrade 1.3 Terms and Symbols Used ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 6: Product Description

    RS 232/485/M–Bus via the IP protocol and GPRS network to a data requesting server or device. Two relay outputs can be controlled and switched and parameters can be measured on two galvanically connected inputs. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 7: Safety Precautions

    SmartCOM comes to the end of its operational life, dispose of it in accordance with applicable regulations. ® SmartCOM is equipped with an external antenna connector. The antenna has to be located indoors for safety reasons. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 8 Do not place the unit near heat sources (such as space heaters, hot air heaters, etc.). ® 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 malfunction or destruction of the product. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 9: Upgrade

    The User Manual corresponds to SmartCOM FW version 1.8.0 1.8.x Caution The manufacturer is committed to upgrading the firmware according to the clients' requirements. Refer to the 2N web sites www.2n.cz ® the current SmartCOM and GSM module firmware versions and User Manual updates.
  • Page 10: Terms And Symbols Used

    Routines or advice for efficient use of the device. AT Command AT command stored in the hyper terminal. Future Functions and Features grey–marked text in this document designates the functions and features that are under preparation or development at present. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 11: Description And Installation

    2. Description and Installation ® In this section we describe the SmartCOM product and its installation. 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 ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 12: Basic Version Description

    Refer to the figures below for description. The whole SmartCOM system is enclosed in a solid aluminium case. ® Figure: 2N SmartCOM Description (Top View) Relay output terminals Input circuit terminals GSM LED indicator SIM holder GSM antenna SMA connector ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 13 ® Figure: 2N SmartCOM Connectors (Bottom View) RS 232 bus connector RS 485 bus connector Power supply connector ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 14: Pro Version Description

    2.2 PRO Version Description ® 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). Refer to the figures below for ®...
  • Page 15 U +, U – – auxiliary contacts with supply voltage, to be used e.g. for connecting supply voltage to relays (directly connected to U +, U – contacts on 4–pin power supply connector) Signalling LEDs (ZigBee, WMbus, GSM LED) SIM holder SMA connector for GSM antenna ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 16: Before You Start

    Caution Make sure that you are equipped with all necessary technical means, particularly a GPRS supporting SIM card with PIN request disable or a ® PIN identical with that set in the SmartCOM configuration. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 17: Mounting

    Tighten the antenna connector gently with your hand ; never use a tool! Note ® The antenna should be located in one and the same building with 2N SmartCOM for safety reasons. SIM Card Installation ® Find the SIM card holder near the SmartCOM top.
  • Page 18: Power Supply

    SmartCOM to an adapter other than that included in the delivery. ® SmartCOM PRO is DC supplied in the range of 5–50V. Make sure that the ® voltage value and polarity comply with the data specified at the SmartCOM powe ®...
  • Page 19 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 ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 20: Function And Use

    In this section we provide the basic and extended functions of the 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 ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 21: Putting In Operation

    SmartCOM public IP address via port 10000, which, together with the serial port, can be used for configuring. Use port 10001 for retransmitting data to RS-232 and port 10002 for retransmitting data to RS-485 / M-Bus. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 22: 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 both for 2N ® SmartCOM SmartCOM ®...
  • Page 23: Input And Output Circuits

    Voltage measurement ® Voltage can be measured in the range between 0 and 10V DC. Make sure that the 2N SmartCOM jumpers are set as shown in Figure 3.3 before using this mode. Use the AT commands listed in Subs.
  • Page 24 You can control the relay outputs with the AT commands from the CMD mode of the RS 232 interface, via a remote GPRS connection to the SIM card IP address, or using an SMS message. Refer to Subs. 4.2 for AT command details and S. 5 for SMS configuration details. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 25 Follow the wiring ® ® instructions on the label. SmartCOM SmartCOM PRO ETH use a 3-pin WAGO terminal for bus connection located on the bottom panel next to the power supply terminals. Follow the wiring instructions on the label. IP Access ®...
  • Page 26 Real Time Clock ® This function is available in the SmartCOM PRO version only. The real time clock 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 AT interface ®...
  • Page 27: Input Calibration

    , or the Terminal Config tool - refer to S. 6 - for setting and application details. The following figure shows the calibration diagram and basic principle. The meaning of the curves are explained below. Figure: Calibration Diagram ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 28 0 and those exceeding the maximum will be 1. No value is guaranteed in an unstable area and a spurious state change may occur any time in the interval. Practically, the decisive level is near the middle of the set interval. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 29: Configuration By Terminal

    4. Configuration by Terminal ® In this section we describe the SmartCOM configuration using AT commands entered into the command line. Here is what you can find in this section: 4.1 Configuration 4.2 List of Supported AT Commands ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 30: Configuration

    The RS-232 port is always in the data mode upon power up, which means that it ® retransmits all captured events to GPRS port 10001. Therefore, to configure 2N SmartCOM via the serial port, switch the port into the command mode first and then get connected to it using your PC serial port.
  • Page 31 SmartCOM in the STANDALONE mode if an IP ® address from the provider's internal range is used. The 2N SmartCOM address need not be public if you use the TCPCLIENT server connection. If you know the public IP address, launch the Putty and get connected via port 10000, which, together with the serial port, can also be used for configuring.
  • Page 32: List Of Supported At Commands

    Enter the command to make SmartCOM return the IP addressed assigned by the provider. at^sccfg="server_ip","90.182.112.54" ® Enter the command to set the IP address of the server to which 2N SmartCOM should connect in mode 1. at^sccfg="server_port","1564" ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 33 Enter the command to save changes. at^sccfg="restart" ® Enter the command to restart SmartCOM at^sccfg="srestart" ® Save the changes and restart 2N SmartCOM. at^sccfg? This command displays the currently set interface values. ^SCCFG: "MODE",1 ^SCCFG: "GPRS_APN","publicip.t-mobile.cz" ^SCCFG: "GPRS_USER","internet" ^SCCFG: "GPRS_PASS","hfsdj515d"...
  • Page 34 Enter the command to set the flow control type. Setting options 0-1. 0 - no flow control 1 - hardware flow control at^scport1="save" Enter the command to save the changes. at^scport1="restart" Enter the command to restart the port. at^scport1="srestart" ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 35 Enter the command to set the stop bits to 2. Setting options: 1-2. at^scport2="parity",2 Enter the command to set the parity check type. Setting options: 0-4. at^scport2="save" Enter the command to save the changes. at^scport2="restart" ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 36 Enter the command to open relay 1. The relay will be closed after the terminal restart. at^screl1=0,2 Enter the command to open relay 1. The relay will be in the position as before restart after the terminal restart. at^screl1=1 Enter the command to close relay 1. at^screl1=1,0 ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 37 Enter the command to change the status of relay 2. The relay will be in this position after restart. at^screl2=1,2 Enter the command to change the status of relay 2. The relay will be in the position as before restart after the terminal restart. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 38 Enter the command to display the port setting options. at^scadc2="get_value" Enter the command to measure the value of the selected port and send the measured value. at^scadc2="calib_min" Enter the command to make automatic port calibration according to the currently measured value. at^scadc2="calib_max" ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 39 Manual calibration setting (minimum values). Setting options: 0 – 960. at^scdin1="threshold_high",450 Manual calibration setting (maximum values). Setting options: 0 – 960. at^scdin1="save" Enter the command to save the changes. at^scdin1? Enter the command to display the currently set port values. at^scdin1=? ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 40 The commands below are used for pulse counter state setting and reading out on S0 inputs. at^scpulse1="state" Enter the command to know the current states of the input 1 counter. COUNTING- counting in progress STOPPED- counting stopped at^scpulse1="get_value" Enter the command to read out the counter state. at^scpulse1="set_value",100 ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 41 0. In this case, 100 will be set. The available range is 0 – 4294967295. at^scpulse2="stimer",60 Enter the command to define the intervals in seconds for storing the counter value in the EEPROM. The available range is 5 – 10000s. at^scpulse2="start" ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 42: General Commands

    Enter the command to disable echo (replies are displayed only instead of commands). ate0 Enter the command to disable echo. ate1 Enter the command to enable echo. at+cgmi ® ® Enter the command to display the SmartCOM manufacturer – Telekomunikace a.s. at+cgmm ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 43 Enter the command to switch the port from the command mode to the transparent mode. Enter the command to switch the port from the command mode to the transparent mode during an incoming TCP connection ringing. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 44 ^SCCFG: "GPRS_APN","internet.t-mobile.cz" ^SCCFG: "GPRS_USER","internet" ^SCCFG: "GPRS_PASS","internet" ^SCCFG: "LOCAL_IP","85.44.9.234" ^SCCFG: "SERVER_IP","90.182.12.134" ^SCCFG: "SERVER_PORT",1620 ^SCCFG: "AUTH_PASS","hjwej549f" ^SCCFG: "SIM_PIN","2494" ^SCCFG: "AUTH_IP",0 ^SCPORT1: "BAUDRATE",115200 ^SCPORT1: "DATA_BITS",8 ^SCPORT1: "STOP_BITS",1 ^SCPORT1: "PARITY",0 ^SCPORT1: "FLOWCONTROL",0 ^SCPORT2: "BAUDRATE",115200 ^SCPORT2: "DATA_BITS",8 ^SCPORT2: "STOP_BITS",1 ^SCPORT2: "PARITY",0 ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 45 Enter the command to test the basic functions of the terminal: GSM module login ® to the provider's network, GPRS data connection operability and 2N SmartCOM Server connection, for example. You will get the following reply, for example: at^sctest ®...
  • Page 46 -checking GSM registration: local network -testing signal strength: -65dBm (STRONG) -reading operator name: "T-Mobile CZ" -reading local address: "10.168.174.3" SmartCOM mode: "TCPCLIENT" SmartCOM state: Client authenticated Leaving the test mode Caution ® When you have sent the command to SmartCOM , the data channel serving the peer on TCP port 10002 will be closed.
  • Page 47 Enter the command to write out the error buffer status. ^SCERR: 72> 8,10 ^SCERR: 73> 8,10 at^scerrclear Enter the command to delete the error buffer contents. ® Charger (for 2N SmartCOM PRO Only) ® These commands are implemented in the charger-containing SmartCOM PRO rsion only. at^scchg="max_voltage",6800 ®...
  • Page 48 Caution Use a 6V or 12V gel-lead-acid accumulator only for charging. Make sure that the charging voltage is at least 1V higher than the maximum voltage of the accumulator connected. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 49 ® Real Time Clock (for 2N SmartCOM PRO Only) ® These commands are implemented in the real time clock containing 2N SmartCOM version only. 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, denoting ZZ hours and zz minutes shift against the GMT.
  • Page 50 Enter the command to display the count of WM-bus messages received. at^scwmbus? Enter the command to write out the meter table. Each record includes the table position number. at^scwmbus=? Enter the command to display the Wireless M-Bus setting options. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 51 ® Ethernet (for 2N SmartCOM PRO ETH Only) ® These commands are implemented in the Ethernet containing 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 from DHCP server.
  • Page 52 Enter the command to set the LED function. GSM – LED shows the state of GPRS connection. ETH – LED shows the state of the Ethernet interface. at^scchled1? Enter the command to display the currently set LED function. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 53: Configuration By Sms

    (refer command parameters) Upper/Lower Case must be respected Parameters must be separated with a space 7–bit SMS format (no diacritic symbols) Maximum length of 160 characters (which is one SMS, concatenated SMS are not supported) ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 54 ASCII standard (characters with diacritics). In that case, the SMS contains only 70 characters. ® Not supporting the UCS–2 character set, 2N SmartCOM cannot process such SMS correctly and marks them as errors.
  • Page 55: Basic Settings

    <num_of_connected_clients> – count of clients currently connected to all ports (in the STANDALONE mode only). Basic Settings The following configuration SMS sets the basic parameters necessary for a proper ® function of the terminal, including connection to the GSM provider and 2N ® SmartCOM Server, SmartCOM mode switching and RS 232 authorisation enable.
  • Page 56 The new authorisation password should contain 5 characters at least to prevent communication problems with other applications. ® If the SMS has been created and processed correctly, 2N SmartCOM will send a confirmation SMS to the number from which the original SMS was sent. The confirmation SMS contains all the recently set parameters and is used for verification of the set values.
  • Page 57 The following reply will come from the terminal after processing: 1:8,10 2:3,10 1:1,0 7:8,10 6:8,7 5:7,40 4:11,848 The following reply will come if there is no error in the error buffer: NO ERROR Note Refer to SC_errors.doc for the meanings of the error codes! ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 58 IP addresses. You can select up to 5 different IP addresses. The configuration SMS is as follows: SC IPA PWD=<Password> [AUTH=<ip_auth>] [ADD=<ip_addr>] [DEL=<ip_id>] _[REP=<ip_addr_1>,<ip_addr_2>,…<ip_addr_5>] Now let us describe the contents of the configuration SMS and all optional parameters. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 59 Now disable the IP access and delete all IP addresses from the list using the following SMS: SC IPA PWD= AUTHpassword=0 DEL=0 The following reply will come from the terminal: AUTH=0 NO IP NO IP means that there is no IP address in the address list. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 60 Error Replies ® Having noticed an error in the configuration SMS or command processing, 2N SmartCOM will send you an error reply. If the terminal generated an error reply, it means that the command was not executed! ® SmartCOM sends error replies until all the configuration SMS parameters are OK and the command is executed.
  • Page 61: 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 ® SmartCOM Terminal Configuration Program installation requires 20 MB of free disk space at least.
  • Page 62 (hereinafter referred to as Terminal Config) window. The main toolbar helps you select ® Serial port for connection to SmartCOM (hereinafter referred to as terminal). This list includes all available serial ports installed in the PC on which the application is running. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 63 The IP address, serial number, firmware version, logged-in provider and signal level are displayed. The SIM ICCID (Integrated Circuit Card ID) is displayed, which is not the ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 64 General tag is always visible. It is the only menu that cannot be disabled. Figure: View Menu Go to Help to know details on the Terminal Config manufacturer and version. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 65 The Ethernet menu is only available to terminals equipped with an Ethernet port. Set the primary data flow channel, LED signalling functions, obtaining IP address from the DHCP server or static obtaining and DNS server use. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 66 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. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 67 The remaining parameters are optional and need not be specified. Warning Contact the device manufacturer for precise identification details. Enter all the identification parameters of the new device to enable encryption in the device. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 68 Subs. 4.2 . Click on Send to send ® the command to the connected SmartCOM unit and get the reply in the field below the command. A list of 20 last-applied commands is displayed to the right. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 69 When the process is completed, the terminal will get restarted. Figure: FW Upload Caution Make sure that the terminal FW supports FW upgrade via the COM port to make the process successful. The minimum terminal FW version must be 1.4.0. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 70 UDF setting options. RTC settings tag displays the current date, time and time zone data. You can also synchronise the device time with your PC time, or set the device time manually. Click Save to confirm the settings. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 71 Attempts from non-listed IP addresses will be ignored. Press to enable the function and to add an IPv4 address to the list. Click on an item for selection and push Remove to delete an address from the list. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 72 Figure: IP Access Menu ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 73: Control Panel

    In this section, administration and use of the SmartCOM product using the ® SmartCOM Server and SmartCOM Control Panel are described. Here is what you can find in this section: 7.1 SC Server 7.2 Control Panel 7.3 Control Panel Use ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 74: Sc Server

    TELEKOMUNIKACE\2N SmartCOM\ SC Server is used. Also select the port for the application to communicate with the terminals and other 2N ® SmartCOM Control Panel applications. Make sure that the port is accessible from the Internet (see above) and properly configured in all terminals and applications. Http accessibility is necessary as the selected port provides a listing of LOG files and can be used for firmware downloading to terminals.
  • Page 75 ® SmartCOM Server requires 10 MB of free disk space at least for installation. ® Use the 2N SmartCOM Control Panel application to make ® changes in the 2N SmartCOM Server settings Licencing ® All the SmartCOM Server functions are subject to licence. For your first installation of the application onto your PC, you will receive the trial licence for 800 h operation and connection of 2 users and 2 terminals.
  • Page 76 OK. Now, the last row of the Listing parameters includes all the licensed server properties: count of users, count of terminals and AT API and terminal upgrade enable. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 77: Control Panel

    Control Panel uses the English language version only. Installation and Sign–In ® Once launched, the installation program will scan your PC. If it finds another 2N SmartCOM Control Panel, it will ask you whether to uninstall or modify it. If you ®...
  • Page 78 Or, use the DNS names if you use DNS. Enter the listening port into the Port ® tem as selected during your SmartCOM Server installation. Contact you network administrator for correct settings. Figure: Sign–In Window ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 79 From the left: application version, currently signed–in user, count of configured terminals, count of on–line terminals, current server address, server listening port and application status. Find the Sign–out button in the bottom part. Figure: Application Window ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 80 Click on Edit to modify the parameters already configured. Click on Remove to remove an object from configuration. Change password button changes the user password and may be used by the Administrator only. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 81 Switch on Switch off to control the relay contacts. Use the button to display details on the terminal. Click on Update to upgrade firmware of selected terminals. Click on Default to reset the factory default values for all parameters. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 82: Control Panel Use

    Administrator and so you are allowed to view the terminals assigned to this group only. See below for details on the menus. Terminals Figure: User Mode Terminals Menu Terminals menu displays the terminals assigned to the group you have the right to view. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 83 Terminal Details include the following data: GSM module IMEI (International ® Mobile Equipment Identity), name and number of the GSM provider at which your 2N SmartCOM is registered, signal intensity in dBm, ICCID (Integrated Circuit Card ID) and IMSI (International Mobile Subscriber Identity). The In roaming parameter ®...
  • Page 84 - the terminal is on-line connected to the server and ready for virtual port connection. Connecting - the terminal - virtual port connection is in progress. Connected - the terminal has been successfully interconnected with the virtual port. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 85 Use the cross to remove the selected row from the table, thus cancelling interconnection between the virtual port of the application and the physical port of the terminal easily. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 86 PC only. Finally, click on Create Figure: Create TCP Port Create COM Port A virtual COM port is created similarly as instructed above. Just select a port and click ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 87 NO. Therefore, click on this table row to view the port details and the Refresh button. Push the button to change the port status from Ready – NO to Ready – YES. Figure: Refresh Button ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 88 If the installation process is successful, the 'com0com is installed' will be displayed. Caution You need the Admin rights for the PC used for com0com installation. If you do not have such rights currently, the installation will offer you an Admin login option. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 89 The Admin user has access to all User mode menus plus the user and terminal administering and server setting menus. The Admin mode menu includes the Users Groups Links Terminals, Server Settings Firmware Management menus. See the subsections below for details. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 90 The list of users is on left. A green dot ® before the user name means that the user is on–line (connected to the 2N SmartCOM Server). A red dot means that the user is off–line (logged out).
  • Page 91 Users menu includes a list of users assigned to this group. Click on and select an item from the list to add a user. Click on Remove to remove a user from the list. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 92 IP address and active port. Find the Stop button in the Action field. Stop button is used for unconditional disconnection of a terminal from the virtual ports regardless of the data transmission state. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 93 You can also set communication for the RS–232 and RS–485/M–BUS ports even if the terminal is connected and used for data transmission. Select the parameters using the combo boxes and the changes will be effective when saved. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 94 No name or serial number may be duplicated in the configuration. You will be notified of any duplication in the configuration. Click on Create to create a new terminal. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 95 If you forget it, you will have to reinstall the whole server! The web interface connection is only possible from the IP addresses from which the terminal or Control Panel were connected. Any other connecting attempts will be rejected to avoid server violation. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 96 The non-editable column to the right includes information on the server to which you are connected such as serial number, licensed hours, maximum counts of users and terminals, upgrade enable/disable and AT API functions. It also shows the remaining server operation hours and the current server time. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 97 SmartCOM Server. There is a list of available FW versions in the left section of the window. Push the Add button to add a new firmware version to the list. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 98 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 SmartCOM Server...
  • Page 99 10 terminals will start updating at the specified time, the next 10 terminals will start updating in one minute and so on until all the selected terminals have been updated. The purpose of this limitation is to protect the server stability and keep the required rate. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 100 Push the Info button in the Details column to open the Firmware update details including the upgrade date. Click on Change to re-schedule the upgrade, or push Keep to retain the original setting and close the window. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 101 8. AT API ® In this section, the SmartCOM AT API function is described from the user's point of view. Here is what you can find in this section: 8.1 AT API Description 8.2 Supported Commands ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 102: At Api Description

    ® SmartCOM AT API Login: Admin Password: Now you are in the AT API environment in the standby mode and can enter the supported commands. Enter the command or close the terminal application to log out. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 103: Supported Commands

    ® Enter the command to display the serial number of the SmartCOM Server. at+cgmi ® Enter the command to display the device manufacturer – 2N Telekomunikace a.s. at+cgmm ® Enter the command to display the device model – SmartCOM AT API.
  • Page 104 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 – SmartCOM AT API. at+gmr Enter the command to display the current server version: x.x.x.x.x at+gsn Enter the command to display the GSM module IMEI.
  • Page 105 Enter the command to switch back to the data mode. Enter the command to terminate connection with the currently connected terminal without leaving the API environment. You can go on entering commands and establish new connections. Terminal Communication at^scstate<ser_no> ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 106: Port Settings

    Enter the command to read the value from the analogue input. Port Settings at^scport<ser_no>#<port>? Enter the command to know the current port configuration. The reply is as follows: ^SCPORT1, "BAUDRATE",115200 ^SCPORT1, "DATA BITS",8 ^SCPORT1, "PARITY",0 ^SCPORT1, "STOP BITS",1 ^SCPORT1, "FLOWCONTROL",0 at^scport<ser_no>#[port]=<BAR>,<DB>,<P>,<SB>,<FC> ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 107 An additional virtual port No. 100 has been created for reading data, Wireless M–Bus meter readings, e.g., from a terminal. Getting connected to this port, you can access the terminal data reading commands. atd<ser_no>#100 Enter the command to establish connection with the terminal for data access. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 108 Enter the command to delete all records from the Wireless M–Bus meter data space. Firmware Management Enter the command to control and set terminal upgrades. at^scupg<ser_no>? The current upgrade state reply is received. at^scupg<ser_no>="<version>"[,<timestamp>] The FW version and timestamp are set for the terminal upgrade. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 109 Note Enter time as UNIX TIME. Enter 1357055424 for 1.1.2013 15:50:24. at^scupg<ser_no>="CANCEL" Enter the command to cancel the terminal upgrade. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 110: User Defined Functions - Udf

    9. User Defined Functions - ® This section describes the function of the SmartCOM terminal user settings called User Defined Functions (UDF). Here is what you can find in this section: 9.1 UDF Description 9.2 UDF Condition Setting ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 111: Udf Description

    The maximum length of an AT command is 80 characters. Note Any error occurring during condition saving is signalled by the ERROR message and identified by a code if necessary. Refer to the Error Codes subsection below for the list of available messages. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 112: Udf Condition Setting

    The condition parameters can be entered in variable ways. For universality, each of the parameters can be a digit, i.e. an analogue input value or a binary input (0–1). Set a specified syntax to select one of the available setting options. The UDF can work with the following parameters: ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 113 If you omit the operator and enter one parameter only, the parameter is automatically considered as logic even with . When this parameter becomes effective, the set action will be executed. Let us show you some syntax examples now. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 114 A typical relay switching AT command looks as follows: At^scudf="add","AIN1>50:REL1 r[1]" Enter SMS to send the defined SMS to the defined telephone number. Note A typical SMS sending AT command looks as follows: At^scudf="add","AIN1>50:SMS p[+420123456789] m[text 1]" ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 115 IP address of the remote server and is the port to be used for TCP sending. Caution Enter the IP address for the action only as it is meaningless and signalled as error for the other actions. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 116 The message can be used for the actions only. You can also insert the following keys into the message parameter to show the value currently measured on the input circuits or the current logic value of the conditions in the SMS. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 117 Should you enter an invalid or incomplete key, the key will not be included in the SMS sent. Enter a special key $$ to display the $ character in the SMS as the single $ character introduces other keys. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 118: Error Codes

    This table includes the error codes you can use for UDF setting. An incorrect command is signalled by ERROR <err_code>. The table helps you identify the type of error. <err_code> Name Description UDF_RESP_ERROR General error No space for new UDF_RESP_ERROR_NO_FREE_SLOT record Separator ':' not UDF_RESP_ERROR_SYNTAX_ACTION_SEPARATOR found ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 119 UDF_RESP_ERROR_IP_PORT IP port wrong Relay state not UDF_RESP_ERROR_RELAY_STATE found or not supported Action parameter UDF_RESP_ERROR_PARAM_PARSE translation error Unknown action UDF_RESP_ERROR_PARAM_MARK parameter type Timing period UDF_RESP_ERROR_PARAM_MARK_TIMING_PERIOD wrong or beyond limits Message length UDF_RESP_ERROR_PARAM_MESSAGE_LENGTH error ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 120 Reference UDF_RESP_ERROR_ID_NOT_FOUND condition ID not found Action parameter not supported for UDF_RESP_ERROR_PARAM_TYPE_INVALID selected action type Condition action UDF_RESP_ERROR_ACTION_IN_PROGRESS in progress Message to be UDF_RESP_ERROR_MESSAGE_MISSING sent not found Value format or UDF_RESP_ERROR_PARAM_VALUE range is invalid ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 121: Sc_Config

    WINDOWS XP, Vista and 7 versions: ® ® c:\Program Files\2N TELEKOMUNIKACE\2N SmartCOM\SC Server\sc_config.exe If sc_config.exe is launched without any parameter, the program will list all available information on the server. A typical listing looks as follows: ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 122 ® ® Users\Application Data\2N TELEKOMUNIKACE\2N SmartCOM \SC Server\db–20120221095921–export.xml. ® A typical storage for WINDOWS Vista and 7 is C:\ProgramData\2N ® TELEKOMUNIKACE\2N SmartCOM Server\db–20120221095921–export.xml. You may import the database with the server switched off only. If the server is ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 123 ® ® C:\Program Files\2N TELEKOMUNIKACE\2N SmartCOM\SC ® Server\sc_config.exe –cImportDatabase "C:\ProgramData\2N ® TELEKOMUNIKACE\2N SmartCOM\SC Server\db–20120221095921–export.xml" When you enter this command, all the database tables will be imported one after another. A successful import of each table is always confirmed after completion.
  • Page 124 ––version or ––V Enter this command to print out the program version. Parameter get commands –gListenPort ® Enter this command to print out the listen port (port for the 2N SmartCOM protocol). –gHttpPort Enter this command to print out the HTTP port.
  • Page 125 –sKeepAlivePeriod Enter this command to set the interval between the KeepAlive packets. This number should be higher than the KEEP_ALIVE_TIMEOUT. –sResetAdmin Enter this command to reset the Admin user password to '2n'. Server commands –cStartServer ® Enter the command to start the SmartCOM Server service.
  • Page 126: Maintenance

    11. Maintenance ® This section describes how to maintain the SmartCOM product. Here is what you can find in this section: 11.1 Firmware Upgrade (Update) 11.2 Factory Default Reset 11.3 Repairs ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 127: Firmware Upgrade (Update)

    The command has to include the address of the server for downloading and the exact name of the firmware file. Caution ® Make sure that SmartCOM connected to the Internet during the whole process of firmware upgrading to avoid firmware installation failure. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 128: Factory Default Reset

    Fig. 11.1 (basic version on the left, PRO version on the right) and reconnect the power supply. Now the Flash memory is deleted and the factory default values are reset for all ports. Remember to remove the jumper to avoid deletion of the factory values upon every start. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 129: Repairs

    11.3 Repairs ® Should need some service interventions, please contact TELEKOMUNIKACE a.s. Technical Support staff via e-mail: techsupport@2n.cz or tel.: (+420)900300300. ® SmartCOM repairs may be made by an authorised servicing centre or the manufacturer only. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 130: Technical Parameters

    12. Technical Parameters ® This section provides a list of SmartCOM technical parameters. 12.1 Technical Parameters for Basic Version 12.2 Technical Parameters for PRO Version ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 131: Technical Parameters For Basic Version

    2W (1W) Data transmission GPRS class 10 Receiver sensitivity -108 dBm Antenna Frequency 850/900/1800/1900 MHz Impedance 50 Ω Maximum power Antenna connector type Relays (Two) Maximum voltage 250V AC, 30V DC Maximum current Maximum power 30W/62.5VA ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 132: Rs232 Interface

    RS485 or M-Bus Interface (Optional) Connector RJ12 6-pin Count of M-Bus devices Up to 5 Working Conditions Temperature -40°C ÷ 85°C Relative humidity 0 ÷ 80% Others Dimensions (without connectors) 69 x 100 x 24 mm CE certificate ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 133: Technical Parameters For Pro Version

    2W (1W) Data transmission GPRS class 10 Receiver sensitivity -108 dBm Antenna Frequency 850/900/1800/1900 MHz Impedance 50 Ω Maximum power Antenna connector type Relays (Two) Maximum voltage 250V AC, 30V DC Maximum current Maximum power 30W/62.5VA ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 134 Gel-lead-acid 6V or 12V (set the parameters before connection) Charging current Up to 350 mA Real Time Clock Power failure back-up 0.33F super capacitor, 2-day back-up capacity Working Conditions Temperature -40°C ÷ 85°C Relative humidity 0 ÷ 80% ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 135 Others Dimensions (w/o connectors) 105 x 100 x 30 mm CE certificate ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 136: Supplementary Information

    13. Supplementary Information ® This section provides supplementary information on 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 ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 137: List Of Abbreviations

    PIN (Personal Identification Number) SIM card protecting code against unauthorised use. PUK (Personal Unblocking Key) SIM card unblocking code after repeated wrong PIN entering attempts. SIM (Subscriber Identity Module) Chip module for GSM identification. FW (Firmware) Software responsible for system function. SW (Software) ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 138: Regulations, Laws And Directives

    Regulation (EC) No. 1488/94 as well as Council Directive 76/769/EEC and Commission Directives 91/155/EEC, 93/67/EEC, 93/105/EC and 2000/21/EC Directive 2002/96/EC of the European Parliament and of the Council of 27 January 2003 on waste electrical and electronic equipment. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 139: General Instructions And Cautions

    The manufacturer also assumes no responsibility for additional costs incurred by the consumer as a result of making calls using a line with an increased tariff. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 140 Make sure that the devices to be disposed of are complete. Do not throw battery packs into fire. Battery packs may not be taken into parts or shirt-circuited either. ® TELEKOMUNIKACE a.s., www.2n.cz...
  • Page 141 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 ® TELEKOMUNIKACE a.s., www.2n.cz...

This manual is also suitable for:

Smartcom pro

Table of Contents