67
15G0851Q1 ES851 DATA LOGGER BASIC USER MANUAL -Programming Instructions- Upd. 03/07/06 R. 00 Elettronica Santerno S.p.A. Via G. Di Vittorio, 3 - 40020 Casalfiumanese (BO) Italy Tel. +39 0542 668611 - Fax +39 0542 668622 www.elettronicasanterno.it [email protected] This manual is integrant and essential to the product. Carefully read the instructions contained herein as they provide important hints for use and maintenance safety. This device is to be used only for the purposes it has been designed to. Other uses should be considered improper and dangerous. The manufacturer is not responsible for possible damages caused by improper, erroneous and irrational uses. Elettronica Santerno is responsible for the device in its original setting. Any changes to the structure or operating cycle of the device must be performed or authorized by the Engineering Department of Elettronica Santerno. Elettronica Santerno assumes no responsibility for the consequences resulting by the use of non-original spare-parts. Elettronica Santerno reserves the right to make any technical changes to this manual and to the device without prior notice. If printing errors or similar are detected, the corrections will be included in the new releases of the manual. Elettronica Santerno is responsible for the information contained in the original version of the Italian manual. The information contained herein is the property of Elettronica Santerno and cannot be reproduced. Elettronica Santerno enforces its rights on the drawings and catalogues according to the law. English

Table 1

  • Upload
    garry54

  • View
    221

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Table 1

15G0851Q1

ES851DATA LOGGER

BASIC USER MANUAL

-Programming Instructions-

Upd. 03/07/06R. 00

Elettronica Santerno S.p.A.Via G. Di Vittorio, 3 - 40020 Casalfiumanese (BO) Italy

Tel. +39 0542 668611 - Fax +39 0542 668622www.elettronicasanterno.it [email protected]

This manual is integrant and essential to the product. Carefully read the instructions contained herein as they provide important hints for use and maintenance safety. This device is to be used only for the purposes it has been designed to. Other uses should be considered improper and dangerous. The manufacturer is not responsible for possible damages caused by improper, erroneous and irrational uses. Elettronica Santerno is responsible for the device in its original setting. Any changes to the structure or operating cycle of the device must be performed or authorized by the Engineering Department of Elettronica Santerno. Elettronica Santerno assumes no responsibility for the consequences resulting by the use of non-original spare-parts. Elettronica Santerno reserves the right to make any technical changes to this manual and to the device without prior notice. If printing errors or similar are detected, the corrections will be included in the new releases of the manual. Elettronica Santerno is responsible for the information contained in the original version of the Italian manual. The information contained herein is the property of Elettronica Santerno and cannot be reproduced. Elettronica Santerno enforces its rights on the drawings and catalogues according to the law.

E n g l i s h

Page 2: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

0. TABLE OF CONTENTS

0.1. Chapters

0. TABLE OF CONTENTS.....................................................................................2

0.1. Chapters...........................................................................................................................2

0.2. Figures.............................................................................................................................4

0.3. Tables..............................................................................................................................41. OVERVIEW.....................................................................................................5

1.1. Menus and Submenus.....................................................................................................62. MAIN FUNCTIONS...........................................................................................8

2.1. Menu List..........................................................................................................................83. DATA LOGGER MENU......................................................................................9

3.1. Description.......................................................................................................................9

3.2. Parameter List..................................................................................................................94. DATA LOGGING CONSOLE.............................................................................12

4.1. Description.....................................................................................................................12

4.2. Parameter List...............................................................................................................125. UPLOAD CONSOLE........................................................................................19

5.1. Description.....................................................................................................................196. LOG AND EVENT MONITOR............................................................................20

6.1. Description.....................................................................................................................20

6.2. Parameter List...............................................................................................................207. MODBUS CONFIGURATION............................................................................24

7.1. Description.....................................................................................................................24

7.2. Parameter List...............................................................................................................248. TCP/IP CONFIGURATION................................................................................26

8.1. Description.....................................................................................................................26

8.2. Parameter List...............................................................................................................269. MODEM CONFIGURATION..............................................................................28

9.1. Description.....................................................................................................................28

9.2. Parameter List...............................................................................................................2810. MODEM CONNECTION...................................................................................29

10.1. Description.....................................................................................................................29

10.2. Parameter List...............................................................................................................2911. SMS............................................................................................................32

11.1. Description.....................................................................................................................32

11.2. Parameter List...............................................................................................................3212. CLOCK/CALENDAR........................................................................................33

12.1. Description.....................................................................................................................33

12.2. Parameter List...............................................................................................................3313. ROUTING TABLE...........................................................................................37

13.1. Description.....................................................................................................................37

13.2. Parameter List...............................................................................................................3714. FIRST STARTUP............................................................................................41

14.1. ES851 Status Display....................................................................................................41

14.2. Setting the Routing Table.............................................................................................41

2/48

Page 3: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

14.3. Programming LOGGING Parameters.............................................................................41

14.4. Connections...................................................................................................................42

14.4.1. Ethernet Connection..............................................................................................42

14.4.2. Connection through a Modem...............................................................................4215. APPENDIX....................................................................................................43

15.1. Sunway TG.....................................................................................................................43

15.2. Sunway M XR.................................................................................................................44

3/48

Page 4: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

0.2. Figures

FIGURE 1: REMOTESUNWAY UPLOAD CONSOLE DISPLAY.........................................................................19

0.3. Tables

TABLE 1: MENU LIST............................................................................................................................8Table 2: Data Logger parameters...................................................................................................9Table 3: Data LOGGING Console parameters..............................................................................12Table 4: Bit-map of the devices detected when SCANNING (Boxed devices).............................17Table 5: Bit-map of the devices detected when SCANNING (Recognized devices)....................17Table 6: Log and Event Monitor parameters................................................................................20Table 7: Bit-map of the Log Status...............................................................................................21Table 8: Modbus Configuration parameters.................................................................................24Table 9: TCP/IP Configuration parameters...................................................................................26Table 10: Modem Configuration parameters...............................................................................28Table 11: Modem Connection parameters...................................................................................29Table 12: SMS parameters...........................................................................................................32Table 13: Clock/Calendar parameters..........................................................................................33Table 14: Routing Table parameters............................................................................................37

4/48

Page 5: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

1. OVERVIEWThis manual covers functionality and first startup of ES851 Data Logger board.The RemoteSunway software provided by Elettronica Santerno allows to fully exploit ES851 Data Logger functionality. RemoteSunway allows the following functions: image acquisition, oscilloscope functions and multifunction tester, table compiler and displayer including operation data log, parameter setup and data reception-transmission-storage from and to a PC, scan function for the automatic detection of the connected inverters (up to 247 inverters may be connected).You can also create your own dedicated software. This manual provides any information concerning addressing (Address field) and scaling (Range field) for the inverter interfacing.

Some of the operations above can be performed via serial link, through standard RS485 port of the inverter where ES851 is installed, or using the display/keypad unit.This manual covers the parameter settings as displayed by RemoteSunway; functions implemented in the display/keypad as well are highlighted accordingly.Data exchange with ES851 Data Logger or the connected devices can be obtained through RS232 and RS485 serial ports supplied by Elettronica Santerno, through a modem connection, or through the Ethernet socket.

5/48

Page 6: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

1.1. Menus and Submenus

This manual includes several menus. Their sequence is the same as their display sequence in the RemoteSunway software and in the display/keypad of the inverter where ES851 Data Logger is installed.Programming parameters and measures are divided into:

1. Mxxx Measures (always Read Only):

Mxxx RangeES851 board representation(integer)

Display on the display/keypad and the RemoteSunway(may be a decimal figure)plus unit of measure

AddressModbus address which the measure can be read from(integer)

Function Measure description

2. Pxxx Parameters (always R/W):

Pxxx RangeES851 Board representation(integer)

Display on the display/keypad and the RemoteSunway(may be a decimal figure)plus unit of measure

Parameter Name

DefaultParameter factory-setting(as represented for ES851 board)

Parameter factory-setting (as displayed)plus unit of measure

Level Access level (BASIC / ADVANCED / ENGINEERING)

AddressModBus address which the parameter can be read from/written to(integer)

Function Parameter description

3. Cxxx Parameters (Read Only with LOGGING activated ; R/W with LOGGING deactivated):

Cxxx RangeES851 Board representation(integer)

Display on the display/keypad and the RemoteSunway(may be a decimal figure)plus unit of measure

Parameter Name

DefaultParameter factory-setting(as represented for ES851 board)

Parameter factory-setting (as displayed)plus unit of measure

Level Access level (BASIC / ADVANCED / ENGINEERING)

AddressModbus address which the parameter can be read from/written to(integer)

Function Parameter description

6/48

Page 7: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

4. Rxxx Parameters (always R/W). Unlike Pxxx parameters, Rxxx parameters activate only after resetting ES851 Data Logger board.

Rxxx RangeES851 Board representation(integer)

Display on the display/keypad and the RemoteSunway(may be a decimal figure)plus unit of measure

Parameter Name

DefaultParameter factory-setting(as represented for ES851 board)

Parameter factory-setting (as displayed)plus unit of measure

Level Access level (BASIC / ADVANCED / ENGINEERING)

AddressModbus address which the parameter can be read from/written to(integer)

Function Parameter description

5. Ixxx Inputs. These are not parameters, but inputs (the values assigned to these inputs are not stored to non-volatile memory. They’re always set to 0 when the inverter is powered on).

Ixxx RangeES851 Board representation(integer)

Display on the display/keypad and the RemoteSunway(may be a decimal figure)plus unit of measure

Input Name

Level Access level (BASIC / ADVANCED / ENGINEERING)

AddressModBus address which the input can be read from/written to(integer)

Function Input description

NOTE

When a parameter is modified from the display/keypad, you may activate its new value immediately (flashing cursor) or when you quit the programming mode (fixed cursor).Typically, numeric parameters immediately come to effect, while alphanumeric parameters have a delayed effect.

NOTEWhen you modify a parameter using RemoteSunway, the inverter will immediately use the new parameter value.

7/48

Page 8: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

2. MAIN FUNCTIONSES851 Data Logger board allows to log weather variables and operating variables of a photovoltaic plant and allows to interface the PV plant to a supervisor computer, even a remote computer, through different connecting modes for data logging and monitoring of the devices connected to the PV plant.Data is logged to 6 files (Log 1, Log 2, Log 3, Log 4, Log 5, Event Log) and can be used to create a database that can be displayed and graphically represented through RemoteSunway on a remote computer.ES851 Data Logger board can be handled through dedicated parameters that are divided into menus and submenus. Each menu includes programmable parameters, measures, and commands.

2.1. Menu List

The menu list and the main features of each menu are contained in Table 1. Each menu is then detailed in the following pages.

Table 1: Menu List

MENU FUNCTIONALITYData Logger Main measures and functions of ES851Data Logging Console Control panel for the main functionsUpload Console Console for the acquisition of stored data from

ES851Log 1 Monitor Log 1 statusLog 2 Monitor Log 2 statusLog 3 Monitor Log 3 statusLog 4 Monitor Log 4 statusLog 5 Monitor Log 5 statusEvent Monitor Event statusModbus Configuration Serial port configuration parameters TCP/IP Configuration Configuration parameters for communications

with TCP/IP protocolModem Configuration Modem configuration parametersModem Connection Panel for the activation of calls by modemSMS SMS activation panelClock/Calendar Panel for clock/calendar settings and displayRouting Table Table for a virtual mapping of the devices

connected to ES851

8/48

Page 9: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

3. DATA LOGGER MENU

3.1. Description

The Data Logger menu contains all data relating to ES851 and its basic settings.In particular, the Data Logger menu allows to change the access level (P298) and to display the software version (M475) implemented in ES851.It also allows to restore default values, and to store and delete data acquired by ES851 through the EEPROM (I012) command. ES851 Data Logger board is provided with two Flash memories for data storage. Parameters are contained in the DATA FLASH; the Restore Default or Save All commands affect this portion of memory. The Data Logger parameters of the inverter where ES851 is installed are also restored to their default values. On the other hand, data stored from LOGGING are stored to 8-Mb FLASH CARD of ES851. As a result, any log operation (e.g. Erase Log) affects ES851 Flash Card.

3.2. Parameter ListTable 2: Data Logger parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

P298 Access Level BASIC 298I012 EEPROM Command BASIC 2003M475 Software Version BASIC 475

M5000 Alarm Condition BASIC 5000M5003 Active Access Level BASIC 5003M5004 Flash Card Error BASIC 5004M5006 MAC Address BASIC 5006,

5007, 5008

P298 Access Level

P298 Range 0 20: Basic1: Advanced2: Engineering

Access Level

Default 0 BasicLevel BASIC

Address 298

Function

The ES851 programming parameters are grouped by access levels based on their functions (more or less complex functions).Some menus, or some parts of menus, are not displayed when a given access level is selected.When the BASIC access level is selected if the ES851 parameterization is correct, navigation is easier, as only frequently accessed parameters are displayed.In this manual, the User Level is stated for each parameter.

9/48

Page 10: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

I012 EEPROM Command

I012 Range 0, 5, 11, 3036, 777

0: No Command5: Save All11: Restore Default30: Erase Log 131: Erase Log 232: Erase Log 333: Erase Log 434: Erase Log 535: Erase Event Log 36: Erase All Logs777: Erase Fault List

EEPROM Command

DefaultThis is not a parameter: I012 is set to zero at power on and whenever the EEPROM command is executed.

Level BASICAddress 2003

Function

This parameter saves and restores the entire set of parameters that can be accessed by the user:

5 : Save All , The current value of the RAM parameters is stored to non-volatile memory in the Work zone. All parameters are saved at a time. RAM Work

11 : Restore Default , Factory-set values are restored for all parameters; each factory-set value is stored to non-volatile memory in the Work zone. Default RAM Work

30 to 35 : Erase Log1,2,3,4,5, Event Log , Erases any data in the specified log (data is stored to FLASH CARD).

36: Erase All Logs, Erases data acquired in all logs (data is stored to FLASH CARD).

777: Erase Fault List, Erases the fault list stored to DATA FLASH memory.

M475 Software Version

M475 Range 10009999 1000 9999

Address 475

FunctionThis measure indicates the software version implemented in ES851.

10/48

Page 11: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

M5000 Alarm Condition

M5000 Range 0 6, 99 103

0: No Alarm1: Parameter Save Error2: Log Write Error3: FBS Configuration Error4: Modbus RS232 Configuration Error5: Modbus RS485 Configuration Error6: TCP/IP Stack Configuration Error99: Flash Card Missing or Inaccessible100: Invalid Access to Stream101: TCP/IP Socket Error102: Dial Out Connection Failed103: Clock 821 Error104: Modem Initialization Error

Address 5000

FunctionThis measure indicates the current alarm tripped in ES851. Please contact Elettronica Santerno and state the alarm number and name.

M5003 Active Access Level

M5003 Range 0 20: Basic1: Advanced2: Engineering

Address 5003

FunctionThis measure indicates the access level that is currently selected.

M5004 Flash Card Error

M5004 Range 0 7

0: No Error1: Stream Full2: Checksum Error3: Invalid Descriptor4: Invalid Stream5: Chain Error6: Invalid Partitioning7: Stream Busy

Address 5003

FunctionThe errors above concern the flash card and its relevant operations. If an alarm trips, please contact Elettronica Santerno and state the alarm number and name.

M5006 MAC Address

M5006 Range 0 248 0 248

Address 5006, 5007, 5008

11/48

Page 12: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

Function A unique MAC Address is assigned to each ES851 board.

12/48

Page 13: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

4. DATA LOGGING CONSOLE

4.1. Description

This is the main operating menu. The parameters contained in the Data Logging Console menu allow to SCAN the devices controlled by ES851, to automatically program the parameters relating to the variables monitored by the device LOGGING (this function is called BOXING) and to activate/deactivate/delete files containing LOGGING-monitored data. You can use both RemoteSunway and the display/keypad unit of the inverter where ES851 is installed.Parameters specific to the variables monitored by LOGGING (BOXING) are automatically programmed after SCANNING and after programming certain parameters that can be modified by the user. Parameters specific to the monitored variables can be accessed only if the Engineering user level is selected. These variables are automatically divided into 5 groups: Log1, Log 2, Log3, Log4, Log5.Factory setting allows each ES851 board to perform LOGGING in plants including maximum 15 devices. An extended LOGGING (P361) can be done if maximum 6 connected devices are installed; extended logging allows to acquire more variables for each device.In both cases, the acquired variables are detected within a parameter set contained in a table, one for each device, which is stored to ES851 during factory setting (see APPENDIX ).Two log groups are available: Fast Log (P362, P363, P355) and Slow Log (P352, P353, P354), which are characterized by a different factory-set sampling time of the logged variables. The parameters above allow the user to change the sample number and the minimum variation percent of a data item for its logging.ES851 Data Logger is also capable of logging data relating to each connected inverter when one of its variables changes. This data is stored to the Event Log file. The parameters specific to the Event Log are inaccessible at a Basic level and are automatically BOXED along with the parameters of the other logs. Their values are stated in the tables stored during the factory setting stage (see APPENDIX ).After SCANNING, you can manually exclude some of the detected devices.After each operation on the parameters above, ES851 performs automatic BOXING based on the new stored values.The Data Logging Console menu also includes a set of measures indicating the command status and the programming status of ES851.

NOTE

The factory-settings of the parameters included in the Data Logging Console menu do not require any customization. You can just use the SCAN command and the Log Enable command through parameter I360.

4.2. Parameter ListTable 3: Data LOGGING Console parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

P351 Max. SCANNING Address BASIC 351I360 Logging Command BASIC 360C361 Type of Data Logging BASIC 361C362 Fast Log Sampling Time BASIC 362C363 Fast Log Sample N. BASIC 363C355 Fast Log Min. Variation Percent BASIC 355C352 Slow Log Sampling Time BASIC 352C353 Slow Log Sample N. BASIC 353C354 Slow Log Min. Variation Percent BASIC 354

C365b-a Type and Address of External Device 1

BASIC 365

13/48

Page 14: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

Parameter

FUNCTIONAccess Level

MODBUS Address

C366b-a Type and Address of External Device 2

BASIC 366

C367b-a Type and Address of External Device 3

BASIC 367

C368b-a Type and Address of External Device 4

BASIC 368

C369b-a Type and Address of External Device 5

BASIC 369

C370b-a Type and Address of External Device 6

BASIC 370

C371b-a Type and Address of External Device 7

BASIC 371

C372b-a Type and Address of External Device 8

BASIC 372

C373b-a Type and Address of External Device 9

BASIC 373

C374b-a Type and Address of External Device 10

BASIC 374

C375b-a Type and Address of External Device 11

BASIC 375

C376b-a Type and Address of External Device 12

BASIC 376

C377b-a Type and Address of External Device 13

BASIC 377

C378b-a Type and Address of External Device 14

BASIC 378

C379b-a Type and Address of External Device 15

BASIC 379

C380b-a Type and Address of External Device 16

BASIC 380

M364 Min. Sampling Time BASIC 364M414 Boxed Devices BASIC 414M415 Recognized Devices BASIC 415

M5016 Number of Devices Detected when SCANNING

BASIC 5016

M5017 Address of the Device being SCANNED

BASIC 5017

M5049 LOGGING Command Status BASIC 5049

P351 Max. SCANNING Address

P351 Range 0 247 0 247

Max. SCANNING Address

Default 30 30Level BASIC

Address 351Functio

nThis parameter sets the max. allowable address for ES851 SCANNING.

14/48

Page 15: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

I360 Logging Command

I360 Range 0 6

0: No command1: Device SCAN2: Stop SCANNING3: Enable All Logs 4: Stop All Logs5: Disable All Logs6: Erase All Logs

Logging Command

DefaultThis is not a parameter: I360 is set to zero at power on and whenever its command is executed.

Level BASICAddress 360

Function

Input I360 allows to enable any LOGGING operation.1: Device SCAN, Scanning of the devices connected to ES851 based on the Routing Table (see the relevant section in this manual) and BOXING.2: Stop SCANNING, SCANNING is stopped and no BOXING is performed.3: Enable All Logs, LOGGING is enabled.4: Stop All Logs, LOGGING is suspended. It will be automatically resumed 2 minutes later.5: Disable All Logs , LOGGING is disabled.6: Erase All Logs, The whole FLASH CARD used for LOGGING is cleared.

C361 Type of Data Logging

P361 Range 0-10: Standard Data Logging1: Extended Data Logging

Type of Data Logging

Default 0 0: Standard Data LoggingLevel BASIC

Address 361

Function

This parameter sets the amount of data items to be stored for each device detected in the logging network. If the Extended Data Logging is selected, a greater number of variables is acquired for the selected device; as a result, the number of devices to LOG is reduced (max. 6 devices).

C362 Fast Log Sampling Time

C362 Range 1 65535 1 65535 s

Fast Log Sampling Time

Default 60 60 s (1 min)Level BASIC

Address 362

Function

This parameter sets the sampling time of data stored to fast logs.Note: The sampling time cannot be set to lower values than the value set in M364. This value is automatically computed each time scanning takes place and depends on the number of detected devices and the number of data items to store.

15/48

Page 16: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

C363 Fast Log Sample N.

C363 Range 1 50 1 50

Fast Log Sample N.

Default 1 1Level BASIC

Address 363

Function

Number of samples to acquire for the statistic computation of the data to store. If this parameter is set to 1, no statistic operation takes place and the sample is just stored as data.

C355 Fast Log Min. Variation Percent

C355 Range 0 65535 0.0 6553.5 %

Fast Log Min. Variation Percent

Default 0 0.0 %Level BASIC

Address 355

Function

Variance for the data storage to the FLASH CARD. When TVAR is other than 0, logging occurs if at least one of the variables to be acquired varies from the last logging of a value percent (considered as raw data) which is higher than TVAR.

C352 Slow Log Sampling Time

C352 Range 1 65535 1 65535 s

Slow Log Sampling Time

Default 3600 3600 s (1 h)Level BASIC

Address 352

Function

This parameter sets the sampling time of data stored to slow logs.Note: The sampling time cannot be set to lower values than the value set in M364. This value is automatically computed each time scanning takes place and depends on the number of detected devices and the number of data items to store.

C353 Slow Log Sample N.

C353 Range 1 50 1 50

Slow Log Sample N.

Default 1 1Level BASIC

Address 353

Function

Number of samples to acquire for the statistic computation of the data to store. If this parameter is set to 1, no statistic operation takes place and the sample is just stored as data.

16/48

Page 17: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

C354 Slow Log Min. Variation Percent

C354 Range 0 65535 0,0 6553,5 %

Slow Log Min. Variation Percent

Default 0 0,0 %Level BASIC

Address 354

Function

Variance for the data storage to the FLASH CARD. When TVAR is other than 0, logging occurs if at least one of the variables to be acquired varies from the last logging of a value percent (considered as raw data) which is higher than TVAR.

C365b to C380b Type of External Device 1-16

C365b C380b Range 0 100

0: No Device Detected1: ST 2: SM3: SG 4: D4 5: D7 6: AM 7: PV8: PD 9: PM 10: PR 11: PT 12: NG 13: IP 14: DL15: IK16: VK

17: LK18: AC19: AS20: DB21: DC22: IF23: IP24: IZ25: LT26: OD27: PB28: SF29: VD30: VM31: VN32: VT….100: Unknown Device

Type of External Device 1-16

Default 0 0: No Device DetectedLevel BASIC

Address 365 380

Function

The low byte of these parameters indicates the type of device which is detected when SCANNING. After scanning, if one or more of these parameters are manually set to 0, the relevant devices will be ignored when LOGGING.

C365a to C380a Address of External Device 1-16

C365a to C380a Range 0 247 0 247

Address of External Device

1-16

Default 0 0Level BASIC

Address 365 380Functio

nThe high byte of these parameters indicates the address of the devices connected to ES851 and mapped in its routing table.

17/48

Page 18: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

M364 Min. Sampling Time

M364 Range 1 65535 1 65535 s

Address 364

Function

Min. sampling time which is automatically detected by the LOGGING system. It is refreshed whenever a new scanning occurs. The sampling time (C362 and C352) cannot be set to a value lower than this parameter’s setting.

M414 Boxed Devices

M414 Range Bit-controlled measure See Table 4

Address 414

Function

If the j-th bit is worth 1, this means that the corresponding device (see Table 4) is boxed (i.e. the device will be monitored by the data logger as its acquired variables have been added the log’s parameters). If the j-th bit is worth 0, the corresponding device is ignored when LOGGING.

Table 4: Bit-map of the devices detected when SCANNING (Boxed devices)

Bit n°. Device Bit n°. Device0 Device 1 8 Device 91 Device 2 9 Device 102 Device 3 10 Device 113 Device 4 11 Device 124 Device 5 12 Device 135 Device 6 13 Device 146 Device 7 14 Device 147 Device 8 15 Device 15

M415 Recognized Devices

M415 Range Bit-controlled measure See Table 5

Address 415

Function

If the j-th bit is worth 1, this means that the corresponding device (see Table 5) has been recognized by ES851 (i.e. it has the routing table for that device, which contains the log parameters values to be used when programming the data logger while BOXING). If the j-th bit is worth 0, the corresponding device cannot be automatically boxed.

Table 5: Bit-map of the devices detected when SCANNING (Recognized devices)

Bit n°. Device Bit n°. Device0 Device 1 8 Device 91 Device 2 9 Device 102 Device 3 10 Device 113 Device 4 11 Device 124 Device 5 12 Device 135 Device 6 13 Device 146 Device 7 14 Device 147 Device 8 15 Device 15

18/48

Page 19: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

M5016 Number of Devices Detected when SCANNING

M5016 Range 0 247 0 247

Address 5016

Function

Number of the devices connected to ES851 and detected when SCANNING. It is automatically refreshed whenever a new device is detected. This measure is not stored to non-volatile memory and is cleared when ES851 is reset.

M5017 Address of the Device being SCANNED

M5017 Range 0 247 0 247

5017Current address that ES851 board is querying while SCANNING. This measure is not stored to non-volatile memory and is cleared when ES851 is reset.

M5049 LOGGING Command Status

M5049 Range 0 11,25 30

0: OK (Command Executed)1: Scan Impossible, Active Logs2: Scanning3: Log Activation Impossible, Uploading4: Log Activation Impossible, Logs Already Active5: Stop Log Impossible, Inactive Logs6: Erase Log Impossible, Uploading7: Erase Log Impossible, Active Logs8: Disable Log Impossible, Uploading9: Disable Log Impossible, Inactive Logs10: Boxing11: Scan Ended12: Call Impossible, Connection Already Activated13: Logs Cannot Be Activated, Log Clearing Active25: Erasing Log 126: Erasing Log 227: Erasing Log 328: Erasing Log 429: Erasing Log 530: Erasing Event Log

Address 5049

Function Success/failure of the LOGGING commands.

19/48

Page 20: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

5. UPLOAD CONSOLE

5.1. Description

UPLOAD allows to display data stored while LOGGING. Upload is possible only if you are using RemoteSunway. The Upload function allows to create a database on a remote computer. It allows to create a CSV file for every log that can be displayed and graphically represented by RemoteSunway; each file can be stored through a name and path that are user-defined. Each time a log is uploaded, data is erased from the FLASH CARD fitted in ES851. When a remote computer is used, you can upload only one log at a time.

Figure 1: RemoteSunway UPLOAD Console display

Figure 1 shows the UPLOAD console as displayed by RemoteSunway. After performing the ScanLogs function (click the ScanLogs button), select the log to UPLOAD, then click START. You are asked to enter the filename and the path for the log storage, then UPLOAD begins. Al Filenames have the same root (that is given by the user) and are automatically distinguished by RemoteSunway, that adds an acronym (1,2,3,4,5,evt) at the end of the filename.

20/48

Page 21: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

6. LOG AND EVENT MONITOR

6.1. Description

The Log and Event Monitor menu is a measure menu checking the status of each log.Six logs are available: logs 1 to 5 contain graphically represented data concerning the variables acquired by the devices controlled by ES851; the remaining log is an Event Log that stores a particular event for each device. The Event Log cannot be graphically represented, but is displayed as a table by RemoteSunway.

6.2. Parameter ListTable 6: Log and Event Monitor parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

M5050 Log 1 Length BASIC 5050M5051 Log 2 Length BASIC 5051M5052 Log 3 Length BASIC 5052M5053 Log 4 Length BASIC 5053M5054 Log 5 Length BASIC 5054M5055 Evt Log Length BASIC 5055M5056 Log 1 Status BASIC 5056M5057 Log 2 Status BASIC 5057M5058 Log 3 Status BASIC 5058M5059 Log 4 Status BASIC 5059M5060 Log 5 Status BASIC 5060M5061 Evt Log Status BASIC 5061

M5070a-b

Year and Month of Activation of Log 1

BASIC 5070

M5071a-b

Day and Time of Activation of Log 1 BASIC 5071

M5072a-b

Minutes and Seconds of Activation of Log 1

BASIC 5072

M5073a-b

Year and Month of Activation of Log 2

BASIC 5073

M5074a-b

Day and Time of Activation of Log 2 BASIC 5074

M5075a-b

Minutes and Seconds of Activation of Log 2

BASIC 5075

M5076a-b

Year and Month of Activation of Log 3

BASIC 5076

M5077a-b

Day and Time of Activation of Log 3 BASIC 5077

M5078a-b

Minutes and Seconds of Activation of Log 3

BASIC 5078

M5079a-b

Year and Month of Activation of Log 4

BASIC 5079

M5080a-b

Day and Time of Activation of Log 4 BASIC 5080

M5081a-b

Minutes and Seconds of Activation of Log 4

BASIC 5081

M5082a-b

Year and Month of Activation of Log 5

BASIC 5082

M5083a-b

Day and Time of Activation of Log 5 BASIC 5083

M5084a- Minutes and Seconds of Activation of BASIC 5084

21/48

Page 22: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

b Log 5M5085a-

bYear and Month of Activation of Evt Log

BASIC 5085

M5086a-b

Day and Time of Activation Evt Log BASIC 5086

M5087a-b

Minutes and Seconds of Activation of Evt Log

BASIC 5087

22/48

Page 23: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

M5050 (M051, M5052, M5053, M5054, M5055) Log Length

M5050 (Log 1)M5051 (Log 2)M5052 (Log 3)M5053 (Log 4)M5054 (Log 5)

M5055 (Evt Log)

Range 0 65535 0 65535 Kbytes

Address 5050, 5051, 5052, 5053, 5054, 5055

FunctionLength of the data stored to the FLASH CARD for each log (Kbytes).

M5056 (M057, M5058, M5059, M5060, M5061) Log Status

M5056 (Log 1)M5057 (Log 2)M5058 (Log 3)M5059 (Log 4)M5060 (Log 5)

M5061 (Evt Log)

Range Bit-controlled measure See Table 7

Address 5050, 5051, 5052, 5053, 5054, 5055

Function Current status of the logs.

Table 7: Bit-map of the Log Status

Bit n° Status0 Empty Log 4 Locked Log1 Active Log 9 Wrapped Log 2 Stopped Log 10 Log Data Fatally Corrupted3 Checked Log

M5070a (M073a, M5076a, M5079a, M5082a, M5085a) Year of Activation of the Log

M5070a (Log 1)M5073a (Log 2)M5076a (Log 3)M5079a (Log 4)M5082a (Log 5)

M5085a (Evt Log)

Range 0 99 2000 2099 Year

Address 5070, 5073, 5076, 5079, 5082, 5085

Function Year of activation of the log.

23/48

Page 24: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

M5070b (M073b, M5076b, M5079b, M5082b, M5085b) Month of Activation of the Log

M5070b (Log 1)M5073b (Log 2)M5076b (Log 3)M5079b (Log 4)M5082b (Log 5)

M5085b (Evt Log)

Range 1 12

1: January2. February3: March4: April5: May6: June7: July8: August9: September10: October11: November12: December

Address 5070, 5073, 5076, 5079, 5082, 5085

Function Month of activation of the log.

M5071a (M074a, M5077a, M5080a, M5083a, M5086a) Day of Activation of the Log

M5071a (Log 1)M5074a (Log 2)M5077a (Log 3)M5080a (Log 4)M5083a (Log 5)

M5086a (Evt Log)

Range 1 31 1 31 Days

Address 5071, 5074, 5077, 5080, 5083, 5086

Function Day of activation of the log.

M5071b (M074b, M5077b, M5080b, M5083b, M5086b) Time (Hours) of Activation of the Log

M5071b (Log 1)M5074b (Log 2)M5077b (Log 3)M5080b (Log 4)M5083b (Log 5)

M5086b (Evt Log)

Range 0 23 0 23 Hours

Address 5071, 5074, 5077, 5080, 5083, 5086

Function Time of activation of the log (expressed in hours).

24/48

Page 25: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

M5072a (M075a, M5078a, M5081a, M5084a, M5087a) Time (Minutes) of Activation of the Log

M5072a (Log 1)M5075a (Log 2)M5078a (Log 3)M5081a (Log 4)M5084a (Log 5)

M5087a (Log Evt)

Range 0 59 0 59 Minutes

Address 5072, 5075, 5078, 5081, 5084, 5087

Function Time of activation of the log (expressed in minutes).

M5072b (M075b, M5078b, M5081b, M5084b, M5087b) Time (Seconds) of Activation of the Log

M5072b (log 1)M5075b (log 2)M5078b (log 3)M5081b (log 4)M5084b (log 5)

M5087b (log Evt)

Range 0 59 0 59 Seconds

Address 5072, 5075, 5078, 5081, 5084, 5087

Function Time of activation of the log (expressed in seconds).

25/48

Page 26: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

7. MODBUS CONFIGURATION

7.1. Description

Two serial ports are implemented in ES851 board. COM1 port is a standard RS232, while port COM2 is a standard RS485.If ES851 is provided with a modem, modbus functionality of COM1 port must be disabled, because COM1 port becomes the modem connection port. Note that the following parameters are R parameters, which activate only after resetting ES851.

7.2. Parameter ListTable 8: Modbus Configuration parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

R260 COM 1 Modbus Enable BASIC 260R261 COM 1 Baud Rate BASIC 261R262 COM 1 Parity Bit BASIC 262R263 Waiting Time between COM 1

PacketsBASIC 263

R264 COM 1 Timeout BASIC 264R265 COM 2 Modbus Enable BASIC 265R266 COM 2 Baud Rate BASIC 266R267 COM 2 Parity Bit BASIC 267R268 Waiting Time between COM 2

PacketsBASIC 268

R269 COM 2 Timeout BASIC 269R297 ES851 Device ID BASIC 297

R260 COM 1 Modbus Enable

R260 Range 0 20: Modbus Port Disabled1: Slave Modbus Mode2: Master Modbus Mode

COM 1 Modbus Enable

Default 0 0: Modbus Port DisabledLevel BASIC

Address 260

Function

This parameter sets the modbus mode for COM 1 port.

NOTEIn ES851 factory setting, parameter R260 is set to 1, Slave Modbus Mode.

R261 (R266) COM Modbus Baud Rate

R261 (COM 1)R266 (COM 2) Range 1 8

1: 1200bps2: 2400bps3: 4800bps 4: 9600bps5: 19200bps6: 38400bps7: 57600bps8: 115200bps

COM Modbus Baud Rate

Default 6 6: 38400bpsLevel BASIC

Address 261, 266

26/48

Page 27: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

Function

This parameter sets the baud rate of the COM ports.

27/48

Page 28: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

R262 (R267) COM Parity Bit

R262 (COM 1)R267 (COM 2) Range 0 4

0: No Parity 1 Stop Bit1: Even Parity 1 Stop Bit2: Odd Parity 1 Stop Bit3: Mark Parity (No Parity) 2 Stop Bits4: Space Parity (No parity) 2 Stop Bits

COM Parity Bit

Default 3 3: Mark Parity (No Parity) 2 Stop BitsLevel BASIC

Address 262,267Functio

nThis parameter sets parity and stop bit of the COM ports.

R263 (R268) Waiting Time between COM Packets

R263 (COM 1)R268 (COM 2) Range 1 50 1 50 ms

Waiting Time between COM

Packets

Default 20 20ms Level BASIC

Address 263,268Functio

nThis parameter sets the waiting time between messages sent for COM ports.

R264 (R269) COM Modbus Timeout

R264 (COM 1)R269 (COM 2) Range 0 1000 0 1000 ms

COM Modbus Timeout

Default 500 500 ms Level BASIC

Address 264,269Functio

nThis parameter sets the waiting time before a timeout for RS232 port occurs.

R265 COM 2 Modbus Enable

R265 Range 0 20: Modbus Port Disabled1: Slave Modbus Mode2: Master Modbus Mode

COM 2 Modbus Enable

Default 1 1: Slave Modbus ModeLevel BASIC

Address 265

Function

This parameter sets the modbus mode for COM 2.

NOTEIn ES851 factory setting, parameter R265 is set to 2, Master Modbus Mode.

R297 ES851 Device ID

R297 Range 0 247 0 247

ES851 Device ID

Default 1 1Level BASIC

Address 297

Function

This parameter allows to change ES851 ID if multiple boards ES851 are connected to the same modbus network. A unique ID is assigned to each board to avoid conflicts.

28/48

Page 29: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

8. TCP/IP CONFIGURATION

8.1. Description

ES851 Data Logger board supports only one TCP/IP stack, so you have to set up the type of TCP/IP connection to be used among Ethernet, analog modem, GSM modem and GPRS modem, or direct null modem.Note that the following parameters are R parameters, which activate only after resetting ES851.

8.2. Parameter ListTable 9: TCP/IP Configuration parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

R272 Type of TCP/IP Connection BASIC 272R276 IP Address High BASIC 276R277 IP Address Low BASIC 277R278 IP Mask High BASIC 278R279 IP Mask Low BASIC 279

R272 Type of TCP/IP Connection

R272 Range 0 6

0: Disabled1: Ethernet2: Serial PPP (Null Modem)3: Analog PPP Modem4: PPP GSM Modem5: PPP GPRS Modem

Type of TCP/IP Connection

Default 1 1: EthernetLevel BASIC

Address 272Functio

nThis parameter sets the type of TCP/IP connection.

R276 IP Address High

R276 Range 0 0xFFFF 0.0 255.255

IP Address High

Default 0xC0A8 192.168Level BASIC

Address 276Functio

nThis parameter sets the two high bytes of the static IP address of

ES851.

R277 IP Address Low

R277 Range 0 0xFFFF 0.0 255.255

IP Address Low

Default 0x2 0.2Level BASIC

Address 277Functio

nThis parameter sets the two low bytes of the static IP address of

ES851.

29/48

Page 30: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

R278 IP Mask High

R278 Range 0 0xFFFF 0.0 255.255

IP Mask High

Default 0xFFFF 255.255Level BASIC

Address 278Functio

nThis parameter sets the two high bytes of ES851 IP mask.

R279 IP Mask Low

R279 Range 0 0xFFFF 0.0 255.255

IP Mask Low

Default 0xFF00 255.0Level BASIC

Address 279Functio

nThis parameter sets the two low bytes of ES851 IP mask.

30/48

Page 31: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

9. MODEM CONFIGURATION

9.1. Description

Configuration parameters are required for modem connections, particularly if digital modems are used. Note that the parameters contained in this menu are R parameters, which activate only after resetting ES851.

9.2. Parameter ListTable 10: Modem Configuration parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

R273 PPP OUT Username BASIC 273R274 PPP OUT Password BASIC 274R287 SIM Card PIN BASIC 287R288 PPP IN Username BASIC 288R289 PPP IN Password BASIC 289

R273 (R288) PPP Username

R273 (PPP OUT)R288 (PPP IN) Range 0 0xFFFF “0000” “FFFF”

PPP Username

Default 0x1111 “1111”Level BASIC

Address 273, 288

Function

This parameter sets the username for the connection to ES851 from a remote computer (PPP IN) and from ES851 to a remote computer (PPP OUT).

P274 (R289) PPP Password

R274 (PPP OUT)R289 (PPP IN) Range 0 0xFFFF “0000” “FFFF”

PPP Password

Default 0x1234 “1234”Level BASIC

Address 274, 289

Function

This parameter sets the password for the connection from a remote computer to ES851 (PPP IN) and from ES851 to a remote computer (PPP OUT).

P287 SIM Card PIN

P287 Range 0x0 0xFFFF “0000” “FFFF”

SIM Card PIN

Default 0x0 “0000”Level BASIC

Address 287

Function

This parameter sets the four digits of the SIM card PIN fitted in the GSM/GPRS modem. PIN is obtained from the hexadecimal representation of the number aligned left. Any digit higher than 9 is intended as the number terminator.

31/48

Page 32: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

10. MODEM CONNECTION

10.1.Description

This menu contains the parameters for the activation of the modem connection from ES851. This menu also allows ES851 to answer an external call.Most part of the parameters contained in the Modem Connection menu are R parameters, which activate only after resetting ES851.

10.2.Parameter ListTable 11: Modem Connection parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

R280 Type of Call BASIC 280R284+

R285+R286

Phone Number BASIC 284, 285, 286

R486a Telephone Switch BASIC 486R486b Telephone Switch Number BASIC 486I381 Connect Now Command BASIC 381

M5067 GSM Signal Intensity BASIC 289M5068a Connection Status BASIC 289M5068b Connection Failure BASIC 289

R280 Type of Call

R280 Range 0 20: None1: DIAL IN (ES851 is PPP Server)2: DIAL OUT

Type of Call

Default 0 0: NoneLevel BASIC

Address 280

Function

This parameter sets the type of call :0: None, No call is allowed from ES851 or a remote computer.1: DIAL IN, ES851 is a PPP server and allows a modem connection by calling ES851 from a remote computer.2: DIAL OUT, ES851 can call the phone number stored in parameters R284, R285, R286. ES851 can receive calls when it is not calling any phone number (PPP server mode).This parameter is ignored if R272 is other than 2, 3, 4, 5.

R284 Phone Number

R284+R285+R286 Range 0x0 0xFFFFFFFFFFFF “000000000000” “FFFFFFFFFFFF”

Phone Number

Default 0x390000000000 “390000000000”Level BASIC

Address 284, 285, 286

Function

This parameter includes three words and contains the phone number called by ES851. This number is a set of hexadecimal digits and is to be aligned left. Any digit higher than 9 is intended as the number terminator. The first two digits are dedicated to the international code. Italy’s international code is set as the default code.

32/48

Page 33: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

R486a Telephone Switch

R486a Range 0 10: No Telephone Switch1: Telephone Switch Provided

Telephone Switch

Default 0 0Level BASIC

Address 486

FunctionThe high byte of this parameter indicates whether the analog telephone line connected to ES851’s modem is controlled by a telephone switch or not.

R486a Telephone Switch Number

R486a Range 0 9 0 9

Telephone Switch Number

Default 0 0Level BASIC

Address 486Function The low byte contains the number of the telephone switch.

I381 Connect Now Command

I381 Range 0 20: Executed1: Connect Now2: Disconnect Now

Connect Now Command

Default 0 0Level BASIC

Address 381

Function

This command forces ES851 to immediately call the number stored in parameters R284, R285, R286. When the command is executed, I381 is set to zero. If I381 assumes the value 2, you can force ES851 to end the current connection.

M5067 GSM Signal Intensity

M5067 Range 0 101 0 101

Address 5067

Function

Intensity of the GSM signal is set by semantics of the ETSI CSQ command. This measure indicates the GSM signal level (RSSI). Value 101 indicates that no GSM modem is connected to ES851.

33/48

Page 34: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

M5068a Connection Status

M5068a Range 0 2,4,5

0: No conn.1: Dialing2: Connecting4: Connected5: Attempt Finished

Address 5068

Function

This measure indicates the connection stages. If one stage fails, the reason for failure is displayed in the Connection Failure (M5068b) measure. 0: No conn., No connection is occurring.1: Dialing, Dial in progress and AT commands for connection and disconnection.2: Connecting, PPP protocol negotiation stage. 4: Connected, Successful connection. 5: Attempt finished, Attempts for new connections are finished.

M5068b Connection Failure

M5068b Range 0 8,16,32,64

0: None1: Dial KO2: Connect KO3: Authentication KO4: IPCP KO5: Modem Not Yet Initialized6: Modem Init KO7: Modem Not Configured8: Modem Not Dial Out16: Connect End (Echo Timeout)32: Connect End (Idle Timeout)64: Connect End (Term Expired)

Address 5068

Function

Connection failed, for instance due to telephone line malfunctioning.0: None, No failure occurred.1: Dial KO, Dialing failure.2: Connect KO, General failure of PPP negotiation.3: Authentication KO, PPP authentication failed.4: IPCP KO, IPCP failed during PPP negotiation.5: Modem Not Yet Initialized, Waiting for modem initialization.6: Modem Init KO, Modem initialization failed.7: Modem Not Configured, ES851 is not configured for a modem connection.8: Modem Not Dial Out, ES851 not in dial out.16 Connect End (Echo Timeout), End of connection with echo timeout.32 Connect End (Idle Timeout), End of connection with idle timeout.64 Connect End (Term Expired), End of connection with term expired.

34/48

Page 35: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

11. SMS

11.1.Description

ES851 Data Logger board sends an SMS each time an event is stored to the EVENT Log, provided that communication via digital modem is allowed. To activate this function, in parameters R420, R421, R422 enter the mobile phone number receiving SMS. The SMS sent contains information about the event fired. SMS can be sent only if the LOGGING function is active, otherwise, events can’t be either monitored or logged.Note that the parameters contained in this menu are R parameters, which activate only after resetting ES851.

11.2.Parameter ListTable 12: SMS parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

R420+ R421+R4

22

Mobile Phone Number BASIC 420, 421, 422

M5066 SMS Status BASIC M5066

R284 Mobile Phone Number

R420+R421+R422

Range 0x0 0xFFFFFFFFFFFF “000000000000” “FFFFFFFFFFFF”

Mobile Phone Number

Default 0x390000000000 “390000000000”Level BASIC

Address 420, 421, 422

Function

This parameter is composed of three words and contains the mobile phone number receiving SMS sent by ES851. The mobile phone number is represented as hexadecimal digits; it is to be aligned left and any digit higher than 9 is intended as the number terminator. The first two digits are dedicated to the international code. Italy’s international code is set as the default code.

M5068a SMS Status

M5068a Range 0 2,4,5

0: No SMS1: SMS Sent2: No Digital Modem3: Modem Not initialized4: Modem Init KO5: SMS KO6: Connection Busy

Address 5068Function This measure indicates the status of the SMS function.

0: No SMS , No SMS sent.1: SMS Sent, Successful SMS.2: No Digital Modem, No digital modem is connected, so the SMS function cannot be executed.3: Modem Not Initialized, The connected modem is not initialized; no SMS can be sent.4: Modem Init KO, Modem initialization failed; no SMS can be sent.5: SMS KO, SMS failed.

35/48

Page 36: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

6: Connection Busy, SMS will be sent later because the modem connection is busy.

36/48

Page 37: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

12. CLOCK/CALENDAR

12.1.Description

This menu allows to update the clock/calendar of ES851 Data Logger. ES851 is not currently considering daylight saving time.It displays its clock/calendar in measure parameters M5010 to M5013. To change the clock/calendar settings, execute a special command (I2013) after storing the new settings of the clock/calendar in parameters P210 to P2012.

12.2.Parameter List Table 13: Clock/Calendar parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

P2010a Year To Be Changed BASIC 2010P2010b Month To Be Changed BASIC 2010P2011a Day Of The Week To Be Changed BASIC 2011P2011b Day Of The Month To Be Changed BASIC 2011P2012a Time (Hour) To Be Changed BASIC 2012P2012b Time (Minutes) To Be Changed BASIC 2012I2013b Clock/Calendar Editing Command BASIC 2013M5010a Year BASIC 5010M5010b Month BASIC 5010M5011a Day of the Week BASIC 5011M5011b Day of the Month BASIC 5011M5012a Hours BASIC 5012M5012b Minutes BASIC 5012M5013 Seconds BASIC 5013

P2010a Year To Be Changed

P2010a Range 0 99 2000 2099 Year

Year To Be Changed

Default 0 2000Level BASIC

Address 2010Functio

nThe high byte of this parameter contains the value of the year to be changed.

37/48

Page 38: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

P2010b Month To Be Changed

P2010b Range 1 12

1: January2. February3: March4: April5: May6: June7: July8: August9: September10: October11: November12: December

Month To Be Changed

Default 1 1: JanuaryLevel BASIC

Address 2010Functio

nThe low byte of this parameter contains the value of the month to be changed.

P2011a Day of the Week To Be Changed

P2011a Range 1 7

1: Mon2: Tue3: Wed4: Thu5: Fri6: Sat7: Sun

Day of the Week To Be Changed

Default 1 1: MonLevel BASIC

Address 2011Functio

nThe high byte of this parameter contains the value of the day of the week to be changed.

P2011b Day of the Month To Be Changed

P2011b Range 1 31 1 31 Days

Day of the Month To Be Changed

Default 1 1Level BASIC

Address 2011Functio

nThe low byte of this parameter contains the value of the day of the month to be changed.

P2012a Time (Hour) To Be Changed

P2012a Range 0 23 0 23 hours

Time (Hour) To Be Changed

Default 0 0Level BASIC

Address 2012Functio

nThe high byte of this parameter contains the time (hours) to be changed.

P2012b Time (Minutes) To Be Changed

38/48

Page 39: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

P2012b Range 0 59 0 59 minutes

Time (Minutes) To Be Changed

Default 0 0Level BASIC

Address 2012Functio

nThe low byte of this parameter contains the value of the time (minutes) to be changed.

I2013 Clock/Calendar Editing Command

P2013 Range 0 1 0 1

Clock/Calendar Editing

Command

Default 0 0Level BASIC

Address 2013

Function

If this parameter is set to 1, all values set in parameters P2010 to P2012 are written and stored to the clock/calendar of ES851 and measures M5010 to M5012 are instantly changed.

M5010a Year

M5010a Range 0 99 2000 2099 Year

Address 5010

Function Year.

M5010b Month

M5010b Range 1 12

1: January2. February3: March4: April5: May6: June7: July8: August9: September10: October11: November12: December

Address 5010

Function Month.

39/48

CAUTION

Unchanged parameters are also written to the clock/calendar. Make sure that unchanged parameters are correct.

Page 40: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

M5011a Day of the Week

M5011a Range 1 7

1: Mon2: Tue3: Wed4: Thu5: Fri6: Sat7: Sun

Address 5011

Function Day of the week.

M5011b Day of the Month

M5011b Range 1 31 1 31 Days

Address 5011

Function Day of the month.

M5012a Hour

M5012a Range 0 23 0 23 Hours

Address 5012

Function Hour.

M5012b Minutes

M5012b Range 0 59 0 59 Minutes

Address 5012

Function Minutes.

M5013 Seconds

M5013 Range 0 59 0 59 Seconds

Address 5013

Function Seconds.

40/48

Page 41: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

13. ROUTING TABLE

13.1.Description

The Routing Table defines the map containing matches between the ID of the devices connected to ES851 through a given medium and the virtual ID for the device response through ES851 board. A device network is then created; devices can be connected to different media and can be detected and controlled through ES851in the same way.The first two locations (Virtual Address 1 and Virtual Address 2) in the table are dedicated to ES851 board (factory presetting for Virtual Address 1) and to the inverter where ES851 is installed (Virtual Address 2), which has a privileged connection through a dedicated medium, called Dual Port Ram. The remaining locations are free for the other devices connected to the plant.The BASIC user level allows to access locations 1-10 only in the routing table. The Advanced and/or Engineering user level is required to access the remaining locations.

13.2.Parameter ListTable 14: Routing Table parameters

Parameter

FUNCTIONAccess Level

MODBUS Address

P00a Medium for Virtual Address 1 BASIC 0P00b Device ID for Virtual Address 1 BASIC 0P00c Virtual Address 1 Enable BASIC 0P01a Medium for Virtual Address 2 BASIC 1P01b Device ID for Virtual Address 2 BASIC 1P01c Virtual Address 2 Enable BASIC 1P02a Medium for Virtual Address 3 BASIC 2P02b Device ID for Virtual Address 3 BASIC 2P02c Virtual Address 3 Enable BASIC 2P03a Medium for Virtual Address 4 BASIC 3P03b Device ID for Virtual Address 4 BASIC 3P03c Virtual Address 4 Enable BASIC 3P04a Medium for Virtual Address 5 BASIC 4P04b Device ID for Virtual Address 5 BASIC 4P04c Virtual Address 5 Enable BASIC 4P05a Medium for Virtual Address 6 BASIC 5P05b Device ID for Virtual Address 6 BASIC 5P05c Virtual Address 6 Enable BASIC 5P06a Medium for Virtual Address 7 BASIC 6P06b Device ID for Virtual Address 7 BASIC 6P06c Virtual Address 7 Enable BASIC 6P07a Medium for Virtual Address 8 BASIC 7P07b Device ID for Virtual Address 8 BASIC 7P07c Virtual Address 8 Enable BASIC 7P08a Medium for Virtual Address 9 BASIC 8P08b Device ID for Virtual Address 9 BASIC 8P08c Virtual Address 9 Enable BASIC 8P09a Medium for Virtual Address 10 BASIC 9P09b Device ID for Virtual Address 10 BASIC 9P09c Virtual Address 10 Enable BASIC 9

41/48

Page 42: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

P00a Medium for Virtual Address 1

P00a Range 0 3

0: ES851 Local1: ES821 DPR2: RS232 Modbus3: RS485 Modbus

Medium for Virtual Address 1

Default 0 0: ES851 LocalLevel BASIC

Address 0Functio

nYou can select the medium for the virtual address assigned to this parameter.

P00b Device ID for Virtual Address 1

P00b Range 1 247 1 247

Device ID for Virtual Address 1

Default 1 1Level BASIC

Address 0Functio

nYou can set up the real address of the device mapped to the virtual address assigned to this parameter.

P00c Virtual Address 1 Enable

P00c Range 0 10: Virtual Address Disabled1: Virtual Address Enabled

Virtual Address 1 Enable

Default 1 1: Virtual Address EnabledLevel BASIC

Address 0Functio

nYou can enable or disable the map for the virtual address assigned to this parameter.

P01a Medium for Virtual Address 2

P00a Range 0 3

0: ES851 Local1: ES821 DPR2: RS232 Modbus3: RS485 Modbus

Medium for Virtual Address 2

Default 1 1: ES821 DPRLevel BASIC

Address 1Functio

nYou can select the medium for the virtual address assigned to this parameter.

P01b Device ID for Virtual Address 2

P00b Range 1 247 1 247

Device ID for Virtual Address 2

Default 1 1Level BASIC

Address 1Functio

nYou can set up the real address of the device mapped to the virtual address assigned to this parameter.

42/48

Page 43: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

P01c Virtual Address 2 Enable

P00c Range 0 10: Virtual Address Disabled1: Virtual Address Enabled

Virtual Address 2 Enable

Default 1 1: Virtual Address EnabledLevel BASIC

Address 1Functio

nYou can enable or disable the map for the virtual address assigned to this parameter.

P02a (P03a P09a) Medium for Virtual Address 3 (4 10)

P02aP03aP04aP05aP06aP07aP08aP09a

Range 0 3

0: ES851 Local1: ES821 DPR2: RS232 Modbus3: RS485 Modbus

Medium for Virtual Address

Default 3 3: RS485 ModbusLevel BASIC

Address 2, 3, 4, 5, 6, 7, 8, 9Functio

nYou can select the medium for the virtual address assigned to this parameter.

P02b (P03b P09b) Device ID for Virtual Address 3 (4 10)

P02aP03aP04aP05aP06aP07aP08aP09a

Range 1 247 1 247

Device ID for Virtual Address

Default 3,4,5,6,7,8,9,10 3,4,5,6,7,8,9,10Level BASIC

Address 2, 3, 4, 5, 6, 7, 8, 9Functio

nYou can set up the real address of the device mapped to the virtual address assigned to this parameter.

43/48

Page 44: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

P02c (P03b P09b) Virtual Address 3 (4 10) Enable

P02aP03aP04aP05aP06aP07aP08aP09a

Range 0 10: Virtual Address Disabled1: Virtual Address Enabled

Virtual Address Enable

Default 1 1: Virtual Address EnabledLevel BASIC

Address 2, 3, 4, 5, 6, 7, 8, 9Functio

nYou can enable or disable the map for the virtual address assigned to this parameter.

44/48

Page 45: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

14. FIRST STARTUPThis section outlines the basic setup of ES851 Data Logger board with reference to the parameterization detailed in the sections above. You can use RemoteSunway from a computer connected in local mode to ES852 via RS232 (factory setting: Slave Modbus); setup can also be performed in remote mode through a modem connection if it is available as factory setting. Also, you can start up the equipment through the display/keypad unit.

14.1.ES851 Status Display

From the DATA LOGGER menu you can display the status of ES851, which is programmed with factory settings.Make sure that no alarm trips. If so, try to reset the alarm; if the alarm persist, please contact Elettronica Santerno.

14.2.Setting the Routing Table

The is preset for the automatic detection of the devices connected over RS485 serial link, if their IDs have been previously set to values higher than or equal to 3. Unique ID shall be assigned to avoid conflicts. In factory settings, RS485 port is already set as Master Modbus Mode (P265), thus allowing to handle all connected devices. You should indicate if a different medium is used (e.g. RS232). Each address mapped in the table is enabled by default.

14.3.Programming LOGGING Parameters

The default LOGGING parameters have been studied by Elettronica Santerno’s technicians with respect to the variables to be monitored (see APPENDIX ); as a result, no modification is required for the DATA LOGGING CONSOLE menu. If the devices connected to ES851 are fewer than 6, an extended (C361) LOGGING can be performed, allowing to monitor more variables thhe factry -set variabngs.Once the type of LOGGING is selected, activate the SCANNING of the connected devices through I360, which allows to detect the acronym and the routing address for all the devices connected to ES851. Because ES851 is capable of LOGGING max. 15 devices, parameters C365-C380 display the first 16 devices that are detected. Measure M5049 displays the status of the LOGGING commands allowing to check if they are correct.After sending the SCAN command, ES851 performs automatic settings of the parameters for the monitoring of the device variables (BOXING); results are displayed in measures M414 and M415.If no LOGGING is required for some of the detected devices, they can be excluded by setting the ‘Type’ field of parameters C365-C380 to zero. BOXING will be automatically performed by ES851 based on the new information.You can now start LOGGING through I360. The LOG AND EVENT MONITOR menu allows to check if LOGGING works correctly.

NOTELOGGING is to be activated as the last installation step. Any procedure for the connection configuration (see sections below) must be performed before LOGGING is activated.

45/48

Page 46: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

14.4.Connections

ES851 can also be connected to a remote computer in TCP/IP mode, as described above. The following sections explain how ES851 is started through Ethernet connection and a modem connection.Note that all parameters relating to ES851 connections are R parameters, which are read and acquired only after resetting ES851.

14.4.1. ETHERNET CONNECTION

If a static IP can be assigned to ES851 for its connection to a LAN, just change parameters P276 and P277 (containing the IP address and IP mask, if any) accordingly (see the TCP/IPCONFIGURATION menu), as factory setting is the Ethernet connection as the default connection for TCP/IP protocol.ES851 is not capable of handling a dynamic IP; a LAN or a VPN is always required for its interface with another computer via the Internet.

14.4.2. CONNECTION THROUGH A MODEM

First make sure that port COM1 is not enabled in Modbus mode: parameter C260 (see the MODBUS CONFIGURATION menu) must be set to 0. Then select the type of modem connected to ES851 in parameter R272 (see the MODEM CONFIGURATION menu) and set up the configuration parameters. Enter and save the username and the incoming and outgoing passwords (R288, R289, R273, R274); if a GSM or GPRS modem is used, enter the PIN of the SIM card (R287) (see the MODEM CONFIGURATION menu).Select the type of call (R280): DIAL OUT is recommended, which allows ES851 to receive and make calls. If dial out is selected, enter the phone number to call in parameters R284, R285, R286 (see the menu).If a GSM or GPRS modem is used, set a mobile phone number receiving SMS if events fire (see the SMS menu).

46/48

Page 47: Table 1

ES851 15G0851P1DATA LOGGER BASIC PROGRAMMING

INSTRUCTIONS

15. APPENDIX

The sections below include the tables containing the references of the variables monitored by LOGGING. They can vary depending on the type of device and its software version; please constantly refer to Elettronica Santerno’s website for any updates. Updates or tables relating to new devices can be downloaded through ES851 (Download Console function) that can be used with RemoteSunway (Engineering access level is required).LOGGING is currently available for Sunway T and Sunway M XR.

15.1.Sunway TG

Standard Log Mode

Parameter Modbus Address Description Type of Log

M013 1504,1505 Energy Delivered to the Grid

SLOW Log

A1-FL01 7712 Last Alarm Tripped SLOW Log M10 1509 PV Field Voltage FAST Log M003 1498 Active Power Delivered FAST Log M007 1502 Grid Voltage FAST Log M024 1674 Module Radiation FAST LogM089 1494 Inverter Status FAST Log

Extended Log Mode – Additional Parameters

Parameter Modbus Address Description Type of Log

M000 1508 PV-Voltage Reference SLOW Log M19 1669 Grid KO Events SLOW Log M20 1670 Radiation KO Events SLOW Log M21 1671,1672 Delivery Time FAST Log M001 1497 Grid Frequency FAST Log M009 1503 Grid Current FAST Log M012 1511 PV Field Power FAST Log M025 1675 Ambient Measure 2 FAST Log M026 1676 Ambient Measure 3 FAST Log M027 1677 Ambient Measure 4 FAST Log

Event Parameters:

Trigger Par. Modbus Address Description

M0XX 3400 Current Alarm

Detected Parameter

Modbus Address Description

FL01c 7717 Inverter StatusFL01s 7731 Active Power Delivered

47/48

Page 48: Table 1

15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGERINSTRUCTIONS

15.2.Sunway M XR

Standard Log Mode

Parameter Modbus Address Description Type of Log

M010 1661,1662 Energy Delivered to the Grid

SLOW Log

A1-FL01 7712 Last Alarm Tripped SLOW Log M000 1650 PV Field Voltage FAST Log M004 1654 Grid Voltage FAST Log M008 1658 Active Power Delivered FAST Log M050 1739 Inverter Status FAST LogM110 1564 Module Radiation FAST Log

Extended Log Mode – Additional Parameters

Parameter Modbus Address Description Type of Log

M015 1669 Grid KO Events SLOW Log M016 1670 Radiation KO Events SLOW Log M009 1659,1660 Delivery Time SLOW Log M002 1652 PV-Field Current FAST Log M005 1655 Grid Frequency FAST Log M006 1656 Grid Current FAST Log M111 1565 Horizontal Radiation FAST Log M112 1566 Ambient Temperature FAST Log M113 1567 Module Temperature FAST Log M114 1568 Ambient Measure FAST Log

Event Parameters:

Trigger Par. Modbus Address Description

M0XX 3400 Current Alarm

Detected Parameter

Modbus Address Description

FL01c 7717 Inverter StatusFL01c 7735 Active Power Delivered

48/48