Series devices iMod / TRM iMod / TRM User's Manual. Instrukcja u¥¼ytkownika urz¤dze¥â€‍ iMod / TRM 2/118

  • View
    5

  • Download
    0

Embed Size (px)

Text of Series devices iMod / TRM iMod / TRM User's Manual. Instrukcja u¥¼ytkownika...

  • Series devices

    iMod / TRM User's Manual

  • Instrukcja użytkownika urządzeń iMod / TRM 2/118

    Document version Creation Date Changes

    1.0.0 27.04.2010 Base version

    1.01.2000 1.06.2011 r. Version 2 (1wire, Mbus, WWW, chapter, Basic commands, XML Tutorial, Added chapter 8., Appendix A, Appendix B, Appendix C,)

    For further information on work with the device, consult the following documents: NPE Instructions NXDynamics Instructions

  • User's Manual iMod\TRM devices 3/118

    Table of contents

    Chapter 1 Introduction 6 1.1. About document________________________________________________________________________6

    Device version_________________________________________________________6 Document Organization ________________________________________________7

    1.2. About device___________________________________________________________________________8 1.3. Introduction to the iMod platform_____________________________________________8

    Channel based _________________________________________________________8 Internal structure____________________________________________________9

    1.4. About system NPE____________________________________________________________________10

    Chapter 2 Starting device 11 2.1. Description of the connectors and how to connect______________________11

    Pin Description ______________________________________________________11 Interface description _______________________________________________12 Power Connection______________________________________________________13

    2.2. Signaling LEDs _____________________________________________________________________14 Status of operation _________________________________________________15 GPRS connection status ______________________________________________16

    2.3. Connecting to a PC _______________________________________________________________18 Connecting via the Ethernet _________________________________________18

    Connection cable ___________________________________________________________________18 Default network configuration_________________________________________________18 IP Configuration ___________________________________________________________________18 Test the accuracy of the network connection ____________________________20 A connection terminal ___________________________________________________________20 FTP connection _____________________________________________________________________21

    Connecting via the serial port _____________________________________21 Connection cable for serial communication RS-232 _____________________21 Starting terminal application_________________________________________________22

    2.4. Checking the operation of the device. ____________________________________24 1. Verification of LEDs _____________________________________________24 2. Checking configuration files_____________________________________25 3. Verification of iMod platform. __________________________________25

    Chapter 3 Configuration 26 3.1. How to configure the device __________________________________________________26 3.2. Startup Configuration____________________________________________________________26

    File Format___________________________________________________________26 File Location_________________________________________________________26 Sample file___________________________________________________________27 Description of parameters ___________________________________________27

    Parameters defining the start of_____________________________________________27 Configuring the Ethernet interface__________________________________________27 GSM Modem Configuration*_________________________________________________________28

    3.3. Application Configuration_______________________________________________________29 File Location_________________________________________________________29

    © 2011 TechBase S.A. - Contact: info@a2s.pl | www.a2s.pl | www.gprs-controllers.com 3/118

    mailto:info@a2s.pl

  • User's Manual iMod\TRM devices 4/118

    The block structure of the configuration file______________________29

    Chapter 4 iMod Tutorial 30 4.1. Example 1: Access to hardware resources___________________________________30

    Definition of source channel (hardware resources)__________________31 Channel Definition MODBUS Slave_____________________________________31 LED Control___________________________________________________________31 Read digital input___________________________________________________32 Verification of example______________________________________________33

    Check the current configuration of iMod___________________________________33 Setup a connection via Modbus Pool__________________________________________33

    4.2. Example 2: Communication with modbus device_____________________________37 4.3. Example 3: Defining the channel and event notification_____________38

    E-mail Notification__________________________________________________38 SMS Notification______________________________________________________39

    Chapter 5 Functionality 41 5.1. Definitions of communication channels______________________________________41

    Channels of data source (source channel)____________________________41 Channels of access (access channel)_________________________________42 Message channel_______________________________________________________42 Definitions of parameters____________________________________________43 Assignment of channels to the parameters____________________________43 Channel assignment data source_______________________________________43 Channel assignment of access_________________________________________44 Event Assignment______________________________________________________44

    5.2. Data logger___________________________________________________________________________45 Enabling write data on SD card_______________________________________45 The choice of parameters to be recorded_____________________________45 Place of saved data (data.csv)_______________________________________45 Write to the file format data.csv___________________________________45 How to configure write attribute.___________________________________46

    Chapter 6 TRM Tutorial 48 6.1. Description of the structure of the application configuration __48 6.2. Additional information related to configuration_______________________49

    Change of Address of heat meters____________________________________49

    Chapter 7 Extras 50 7.1. The structure of the application configuration file__________________50

    The main element______________________________________________________52 group structure_______________________________________________________53 access-channel structure_____________________________________________54 source-channel structure_____________________________________________55 message-channel structure____________________________________________56 parameter structure__________________________________________________57 event structure_______________________________________________________59 protocol structure___________________________________________________60 version type__________________________________________________________60 acquisition_period type______________________________________________60 message type__________________________________________________________61

    © 2011 TechBase S.A. - Contact: info@a2s.pl | www.a2s.pl | www.gprs-controllers.com 4/118

    mailto:info@a2s.pl

  • User's Manual iMod\TRM devices 5/118

    port type_____________________________________________________________61 device-id type________________________________________________________63 gap type______________________________________________________________63 cycle type____________________________________________________________63 recipient type________________________________________________________63 id type_______________________________________________________________64 scale type____________________________________________________________64 offset type___________________________________________________________64 description type______________________________________________________64 comment type__________________________________________________________65 label type____________________________________________________________65 unit type_____________________________________________________________65 minval type___________________________________________________________65 maxval type___________________________________________________________65 source-channel-type__________________________________________________66 access-channel-type__________________________________________________67 event type____________________________________________________________67 message-channel type_________________________________________________68 message-id type_______________________________________________________68 hysteresis type_______________________________________________________68 property type_________________________________________________________68 protocol-name type___________________________________________________69 data logging_type____________________________________________________69

    7.2. Installing the iMod platform system NPE___________________________________70 Preparing the installation environment______________________________70 1. Copying the script iMod_install__________________________________70

    Start an FTP client________________________________________________________________70 Create a new FTP connection_______________