Table 1

416 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
416
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Table 1

  1. 1. • 15G 0851Q 1 • ES851 DATA LOGGER BASIC USER MANUAL -Programming Instructions - Upd.03/07/06 R. 00 English • This manual is integrant and essential to the product. Carefully read the instructionscontainedherein as they provideimportanthintsfor useandmaintenancesafety. • 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, erroneousandirrationaluses. • ElettronicaSanternois responsiblefor the devicein its originalsetting. • Any changes to the structure or operating cycle of the device must be performed or authorized by the EngineeringDepartmentof ElettronicaSanterno. • ElettronicaSanternoassumesno responsibility for the consequencesresultingby the use of non- original spare- parts. • ElettronicaSanternoreservesthe right to makeany technical changesto this manual and to the devicewithout prior notice. If printing errors or similar are detected, the correctionswill be includedin the new releasesof the manual. • ElettronicaSanternois responsiblefor the informationcontainedin the originalversionof the Italian manual. • The informationcontainedherein is the propertyof ElettronicaSanternoand cannotbe reproduced.Elettronica Santernoenforcesits rightson the drawingsandcataloguesaccordingto the law. ElettronicaSanternoS.p.A. Via G. Di Vittorio,3 - 40020Casalfiumanese(BO) Italy Tel. +39 0542668611 - Fax +39 0542668622 www.elettronicasanterno.it sales@elettronicasanterno.it
  2. 2. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 0. TABLE OF CONTENTS 0.1.Chapt er s 0. TABLE OF CONTENTS ..................................................................................................................2 0.1. Chapters ..................................................................................................................2 0.2. Figures ....................................................................................................................4 0.3. Tables.....................................................................................................................4 1. OVERVIEW....................................................................................................................................5 1.1. MenusandSubmenus .................................................................................................6 2. MAIN FUNCTIONS .........................................................................................................................8 2.1. MenuList .................................................................................................................8 3. DATA LOGGER MENU...................................................................................................................9 3.1. Description ...............................................................................................................9 3.2. ParameterList ...........................................................................................................9 4. DATA LOGGING CONSOLE.........................................................................................................12 4.1. Description ..............................................................................................................12 4.2. ParameterList .........................................................................................................12 5. UPLOAD CONSOLE.....................................................................................................................19 5.1. Description ..............................................................................................................19 6. LOG AND EVENT MONITOR........................................................................................................20 6.1. Description ..............................................................................................................20 6.2. ParameterList .........................................................................................................20 7. MODBUS CONFIGURATION.........................................................................................................24 7.1. Description ..............................................................................................................24 7.2. ParameterList .........................................................................................................24 8. TCP/IP CONFIGURATION.............................................................................................................26 8.1. Description ..............................................................................................................26 8.2. ParameterList .........................................................................................................26 9. MODEM CONFIGURATION...........................................................................................................28 9.1. Description ..............................................................................................................28 9.2. ParameterList .........................................................................................................28 10. MODEM CONNECTION...............................................................................................................29 10.1. Description ............................................................................................................29 10.2. ParameterList ........................................................................................................29 11. SMS ...........................................................................................................................................32 11.1. Description ............................................................................................................32 11.2. ParameterList ........................................................................................................32 12. CLOCK/CALENDAR...................................................................................................................33 12.1. Description ............................................................................................................33 12.2. ParameterList .......................................................................................................33 13. ROUTING TABLE.......................................................................................................................37 13.1. Description ............................................................................................................37 13.2. ParameterList........................................................................................................37 14. FIRST STARTUP ........................................................................................................................41 14.1. ES851 StatusDisplay ...............................................................................................41 14.2. SettingtheRoutingTable..........................................................................................41 14.3. ProgrammingLOGGINGParameters ...........................................................................41 2/44
  3. 3. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS 14.4. Connections ...........................................................................................................42 14.4.1. EthernetConnection ..........................................................................................42 14.4.2. Connectionthrougha Modem ..............................................................................42 15. APPENDIX.................................................................................................................................43 15.1. SunwayTG...........................................................................................................43 15.2. SunwayM XR........................................................................................................44 3/44
  4. 4. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 0.2.Figur e s Figure 1: RemoteSunway UPLOAD Console display .......................................................................19 0.3.Tabl e s Table 1: Menu List.............................................................................................................................8 Table 2: Data Logger parameters .......................................................................................................9 Table 3: Data LOGGING Console parameters ...................................................................................12 Table 4: Bit-map of the devices detected when SCANNING (Boxed devices ) ....................................17 Table 5: Bit-map of the devices detected when SCANNING (Recognized devices ) ...........................17 Table 6: Log and Event Monitor parameters ....................................................................................20 Table 7: Bit-map of the Log Status ..................................................................................................21 Table 8: Modbus Configuration parameters .....................................................................................24 Table 9: TCP/IP Configuration parameters .......................................................................................26 Table 10: Modem Configuration parameters ....................................................................................28 Table 11: Modem Connection parameters ........................................................................................29 Table 12: SMS parameters ...............................................................................................................32 Table 13: Clock/Calendar parameters ..............................................................................................33 Table 14: Routing Table parameters ................................................................................................37 4/44
  5. 5. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS 1. OVERVIEW This manualcoversfunctionalityandfirst startupof ES851 DataLoggerboard. The RemoteSunwaysoftwareprovidedby Elettronica Santernoallows to fully exploit ES851 Data Logger functionality. RemoteSunwayallows the following functions: image acquisition, oscilloscopefunctions and multifunction tester, table compiler and displayer including operation data log, parameter setup and data reception-ransmission- toragefromandto a PC, scanfunctionfor theautomaticdetectionof theconnected t s inverters(upto 247invertersmaybeconnected). You can also create your own dedicated software. This manual provides any information concerning addressing(Addressfield) andscaling(Rangefield)for theinverterinterfacing. Someof the operationsabovecan be performedvia serial link, throughstandardRS485port of the inverter whereES851 is installed,or usingthedisplay/keypadunit. This manual coversthe parametersettingsas displayedby RemoteSunway;functions implementedin the display/keypadas well arehighlightedaccordingly. Data exchangewith ES851 Data Logger or the connecteddevices can be obtained through RS232 and RS485serial portssuppliedby ElettronicaSanterno,througha modemconnection,or throughthe Ethernet socket. 5/44
  6. 6. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 1.1. Menu s an d S u b m e n u s This manual includes several menus. Their sequence is the same as their display sequence in the RemoteSunwaysoftwareandin thedisplay/keypadof theinverterwhereES851 DataLoggeris installed. Programmingparametersandmeasuresaredividedinto: 1. Mxxx Measures (alwaysReadOnly): Displayon thedisplay/keypadand ES851 boardrepresentation theRemoteSunway Mxxx Range (integer) (maybe a decimalfigure) plusunit of measure Modbusaddresswhichthemeasurecanbereadfrom Addres s (integer) Function Measuredescription 2. Pxxx Parameters (alwaysR/W): Displayon thedisplay/keypadand ES851 Boardrepresentation theRemoteSunway Pxxx Range (integer) (maybe a decimalfigure) plusunit of measure Parameter factory- setting (as Parameterfactory-setting Default displayed) (as representedfor ES851 board) plusunit of measure Level Accesslevel (BASIC / ADVANCED/ ENGINEERING) Parameter Name ModBusaddresswhichtheparametercanbe readfrom/writtento Addres s (integer) Function Parameterdescription 3. Cxxx Parameters (ReadOnly withLOGGINGactivated; R/WwithLOGGINGdeactivated): Displayon thedisplay/keypadand ES851 Boardrepresentation theRemoteSunway Cxxx Range (integer) (maybe a decimalfigure) plusunit of measure Parameter factory- setting (as Parameterfactory-setting Default displayed) (as representedfor ES851 board) plusunit of measure Level Accesslevel (BASIC / ADVANCED/ ENGINEERING) Parameter Name Modbusaddresswhichtheparametercanbe readfrom/writtento Addres s (integer) Function Parameterdescription 6/44
  7. 7. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS 4. Rxxx Parameters (always R/W). Unlike Pxxx parameters, Rxxx parameters activate only after resettingES851 DataLoggerboard. Displayon thedisplay/keypadand ES851 Boardrepresentation theRemoteSunway Rxxx Range (integer) (maybea decimalfigure) plusunit of measure Parameter factory- setting (as Parameterfactory-setting Default displayed) (as representedfor ES851 board) plusunit of measure Level Accesslevel (BASIC / ADVANCED/ ENGINEERING) Parameter Name Modbusaddresswhichtheparametercanbe readfrom/writtento Address (integer) Function Parameterdescription 5. Ixxx Inputs . These are not parameters,but inputs (the values assignedto theseinputs are not storedto non- volatilememory.They r alwaysset to 0 whentheinverteris poweredon). ’e Displayon thedisplay/keypadand ES851 Boardrepresentation theRemoteSunway Ixxx Range (integer) (maybe a decimalfigure) plusunit of measure Level Accesslevel (BASIC / ADVANCED/ ENGINEERING) ModBusaddresswhichtheinputcanbe readfrom/writtento Addres s Input Name (integer) Function Inputdescription Whena parameteris modifiedfromthedisplay/keypad,you mayactivateits new value immediately (flashing cursor) or when you quit the programming mode NOTE (fixedcursor). Typically, numeric parametersimmediately cometo effect, while alphanumeric parametershavea delayedeffect. When you modify a parameter using RemoteSunway, the inverter will NOTE immediatelyusethenewparametervalue. 7/44
  8. 8. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 2. MAIN FUNCTIONS ES851 DataLoggerboardallowsto logweathervariablesandoperatingvariablesof a photovoltaicplantand allows to interface the PV plant to a supervisor computer, even a remote computer, through different connectingmodesfor dataloggingandmonitoringof thedevicesconnectedto thePV 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 thatcanbe displayedandgraphicallyrepresentedthroughRemoteSunwayon a remotecomputer. ES851 Data Loggerboardcan be handledthroughdedicatedparametersthat are dividedinto menus and submenus.Eachmenuincludesprogrammableparameters,measures,andcommands. 2.1. Menu List The menulist and the main featuresof eachmenuare containedin Table 1. Each menuis thendetailedon thefollowingpages. Table 1: Menu List MENU FUNCTIONALITY DataLogger Mainmeasuresandfunctionsof ES851 DataLoggingConsole Controlpanelfor themainfunctions UploadConsole Consolefor theacquisitionof storeddatafromES851 Log1 Monitor Log1 status Log2 Monitor Log2 status Log3 Monitor Log3 status Log4 Monitor Log4 status Log5 Monitor Log5 status EventMonitor Eventstatus ModbusConfiguration Serial portconfigurationparameters TCP/IP Configuration Configuration parameters for communications with TCP/IP protocol ModemConfiguration Modemconfigurationparameters ModemConnection Panel for theactivationof calls by modem SMS SMS activationpanel Clock/Calendar Panel for clock/calendarsettingsanddisplay RoutingTable Table for a virtual mappingof the devicesconnectedto ES851 8/44
  9. 9. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS 3. DATA LOGGER MENU 3.1.De s c r i pti o n The DataLoggermenucontainsall datarelatingto ES851 andits basicsettings. In particular, the Data Loggermenu allowsto changethe accesslevel (P298) and to display the software version(M475)implementedin ES851. It also allows to restore default values, and to store and delete data acquired by ES851 through the EEPROM(I012) command. ES851 Data Loggerboardis providedwith twoFlash memoriesfor datastorage.Parametersare contained in the DATA FLASH; the RestoreDefault or Save All commandsaffect this portion of memory. The Data Loggerparametersof the inverterwhereES851 is installedare also restoredto their default values. On the other hand, data storedfrom LOGGING are storedto 8- Mb FLASH CARD of ES851. As a result, any log operation(e.g.EraseLog)affectsES851 FlashCard. 3.2. Param e t e r Li st Table 2: Data Logger parameters Acces s MODBUS Parameter FUNCTION Level Address P298 AccessLevel BASIC 298 I012 EEPROMCommand BASIC 2003 M475 SoftwareVersion BASIC 475 M5000 AlarmCondition BASIC 5000 M5003 ActiveAccessLevel BASIC 5003 M5004 FlashCardError BASIC 5004 M5006 MACAddress BASIC 5006, 5007, 5008 P 298 Acce s s Level 0: Basic P298 Range 0÷ 2 1: Advanced 2: Engineering Default 0 Basic Level BASIC Addres s 298 The ES851 programmingparametersare groupedby accesslevels based on theirfunctions(moreor lesscomplexfunctions). Acce s s Level Some menus, or some parts of menus, are not displayed when a given accesslevel is selected. Function Whenthe BASIC accesslevel is selectedif the ES851 parameterizationis correct, navigation is easier, as only frequently accessedparametersare displayed. In this manual,theUserLevelis statedfor eachparameter. 9/44
  10. 10. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS I012 EEPROM Command 0: No Command 5: SaveAll 11: RestoreDefault 30: EraseLog1 31: EraseLog2 I012 Range 0, 5, 11, 30÷36, 777 32: EraseLog3 33: EraseLog4 34: EraseLog5 35: EraseEventLog 36: EraseAll Logs 777: EraseFault List This is not a parameter:I012 is set to zeroat poweron andwheneverthe Default EEPROMcommandis executed . Level BASIC Address 2003 This parametersavesand restoresthe entireset of parametersthat can be accessedby theuser: 5 : Save All, The currentvalue of the RAM parametersis storedto non- volatile memoryin the Work zone. All parametersare saved at a time. RAM → Work EEPROM Command 11 : Restore Default , Factory- valuesare restoredfor all parameters; set eachfactory- valueis storedto non- set volatilememoryin theWorkzone. Function Default → RAM → Work 30 to 35 : Erase Log 1,2,3,4,5, Event Log , Erases any data in the specifiedlog(datais storedto FLASH CARD). 36: Erase All Logs , Erases data acquiredin all logs (data is storedto FLASH CARD). 777: Erase Fault List, Erases the fault list stored to DATA FLASH memory. M475 Software Version M475 Range 1000÷9999 1000÷9999 Addres s 475 Function This measureindicatesthesoftwareversionimplementedin ES851. 10/44
  11. 11. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS M5000 Alarm Condition 0: NoAlarm 1: ParameterSaveError 2: LogWriteError 3: FBS ConfigurationError 4: ModbusRS232ConfigurationError 5: ModbusRS485ConfigurationError M5000 Range 0 ÷ 6, 99÷ 103 6: TCP/IP StackConfigurationError 99:FlashCardMissingor Inaccessible 100: InvalidAccessto Stream 101: TCP/IP SocketError 102: Dial Out ConnectionFailed 103: Clock821 Error 104: ModemInitializationError Addres s 5000 This measure indicates the current alarm tripped in ES851. Please Function contactElettronicaSanternoandstatethealarmnumberandname. M5003 Active Acces s Level 0: Basic M5003 Range 0÷ 2 1: Advanced 2: Engineering Addres s 5003 Function This measureindicatestheaccesslevel thatis currentlyselected. M5004 Flash Card Error 0: No Error 1: StreamFull 2: ChecksumError 3: InvalidDescriptor M5004 Range 0÷ 7 4: InvalidStream 5: ChainError 6: InvalidPartitioning 7: StreamBusy Addres s 5003 The errorsaboveconcernthe flash card and its relevantoperations. If Function an alarmtrips, pleasecontactElettronicaSanternoand statethe alarm numberandname. M5006 MAC Address M5006 Range 0 ÷ 248 0 ÷ 248 Addres s 5006,5007,5008 Function A uniqueMACAddressis assignedto eachES851 board. 11 /44
  12. 12. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 4. DATA LOGGING CONSOLE 4.1.De s c r i pti o n This is the main operating menu. The parameterscontained in the Data Logging Console menu allow to SCAN the devices controlledby ES851, to automatically programthe parametersrelating to the variables monitoredby the deviceLOGGING (this function is called BOXING) and to activate/deactivate/deletefiles containingLOGGING- monitoreddata. You can use both RemoteSunwayand the display/keypadunit of the inverterwhereES851 is installed. Parametersspecificto the variablesmonitoredby LOGGING(BOXING) areautomaticallyprogrammed after SCANNING and after programming certain parameters that can be modified by the user. Parameters specific to the monitoredvariables can be accessedonly if the Engineeringuser level is selected. These variablesareautomaticallydividedinto5 groups:Log1, Log2, Log3,Log4,Log5. FactorysettingallowseachES851 boardto performLOGGINGin plantsincludingmaximum15 devices.An extendedLOGGING (P361) can be done if maximum6 connecteddevicesare installed; extendedlogging allowsto acquiremorevariablesfor eachdevice. In bothcases,the acquiredvariablesare detectedwithin a parameterset containedin a table, onefor each device,whichis storedto ES851 duringfactorysetting(seeAPPENDIX ). Two log groupsare available: Fast Log (P362, P363, P355) and Slow Log (P352, P353, P354), which are characterizedby a differentfactory- samplingtime of the loggedvariables. The parametersaboveallow set theuserto changethesamplenumberandtheminimumvariationpercentof a dataitemfor its logging. ES851 Data Logger is also capable of logging data relating to each connectedinverter when one of its variableschanges.This data is storedto the Event Log file. The parametersspecific to the Event Log are inaccessible at a Basic level and are automatically BOXED along with the parameters of the other logs. Their valuesarestatedin thetablesstoredduringthefactorysettingstage(seeAPPENDIX ). AfterSCANNING,you canmanuallyexcludesomeof thedetecteddevices. After each operation on the parameters above, ES851 performs automatic BOXING based on the new storedvalues. The Data LoggingConsole menu also includesa set of measuresindicatingthe commandstatus and the programmingstatusof ES851. The factory- settings of the parameters included in the Data Logging Console NOTE menu do not requireany customization. You can just use the SCAN command andtheLogEnablecommandthroughparameterI360. 4.2. Param e t e r Li st Table 3: Data LOGGING Console parameters Acces s MODBUS Parameter FUNCTION Level Address P351 Max.SCANNINGAddress BASIC 351 I360 LoggingCommand BASIC 360 C361 Typeof DataLogging BASIC 361 C362 FastLogSamplingTime BASIC 362 C363 FastLogSampleN. BASIC 363 C355 FastLogMin. VariationPercent BASIC 355 C352 SlowLogSamplingTime BASIC 352 C353 SlowLogSampleN. BASIC 353 C354 SlowLogMin. VariationPercent BASIC 354 C365b- a Type and Addressof External Device BASIC 365 1 12/44
  13. 13. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS Acces s MODBUS Parameter FUNCTION Level Address C366b- a Type and Addressof External Device BASIC 366 2 C367b- a Type and Addressof External Device BASIC 367 3 C368b- a Type and Addressof External Device BASIC 368 4 C369b- a Type and Addressof External Device BASIC 369 5 C370b- a Type and Addressof External Device BASIC 370 6 C371b- a Type and Addressof External Device BASIC 371 7 C372b- a Type and Addressof External Device BASIC 372 8 C373b- a Type and Addressof External Device BASIC 373 9 C374b- a Type and Addressof External Device BASIC 374 10 C375b- a Type and Addressof External Device BASIC 375 11 C376b- a Type and Addressof External Device BASIC 376 12 C377b- a Type and Addressof External Device BASIC 377 13 C378b- a Type and Addressof External Device BASIC 378 14 C379b- a Type and Addressof External Device BASIC 379 15 C380b- a Type and Addressof External Device BASIC 380 16 M364 Min. SamplingTime BASIC 364 M414 BoxedDevices BASIC 414 M415 RecognizedDevices BASIC 415 M5016 Number of Devices Detected when BASIC 5016 SCANNING M5017 Address of the Device being BASIC 5017 SCANNED M5049 LOGGINGCommandStatus BASIC 5049 P 351 Max. S CANNING Address P351 Range 0 ÷ 247 0 ÷ 247 Default 30 30 Max. S CANNING Level BASIC Address Addres s 351 Function This parametersetsthemax.allowableaddressfor ES851 SCANNING. 13/44
  14. 14. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS I360 Logging Command 0: No command 1: DeviceSCAN 2: StopSCANNING I360 Range 0÷ 6 3: EnableAll Logs 4: StopAll Logs 5: DisableAll Logs 6: EraseAll Logs This is not a parameter:I360 is set to zero at poweron and wheneverits Default commandis executed. Level BASIC Addres s 360 InputI360allowsto enableany LOGGINGoperation. 1: Device SCAN, Scanningof the devicesconnectedto ES851 basedon theRoutingTable(seetherelevantsectionin this manual)andBOXING. Logging Command 2: Stop SCANNING, SCANNING is stopped and no BOXING is performed. Function 3: Enable All Logs , LOGGINGis enabled. 4: Stop All Logs , LOGGING is suspended. It will be automatically resumed2 minuteslater. 5: Disable All Logs , LOGGINGis disabled. 6: Erase All Logs , The whole FLASH CARD used for LOGGING is cleared. C361 Type of Data Logging 0: StandardDataLogging P361 Range 0- 1 1: ExtendedDataLogging Default 0 0: StandardDataLogging Level BASIC Type of Data Addres s 361 Logging This parametersetsthe amountof dataitemsto be storedfor eachdevice detectedin the loggingnetwork.If the ExtendedDataLoggingis selected, Function a greater number of variables is acquired for the selected device; as a result,thenumberof devicesto LOG is reduced(max.6 devices). C362 Fast Log Sampling Time C362 Range 1 ÷ 65535 1 ÷ 65535s Default 60 60s (1 min) Level BASIC Addres s 362 Fast Log Sampling This parametersetsthesamplingtimeof datastoredto fastlogs. Time Note: The samplingtime cannotbe set to lowervaluesthan the value set Function in M364. This value is automatically computedeach time scanning takes placeand dependson the numberof detecteddevicesand the numberof dataitemsto store. 14/44
  15. 15. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS C363 Fast Log Sample N. C363 Range 1 ÷ 50 1 ÷ 50 Default 1 1 Level BASIC Fast Log Sample N. Addres s 363 Numberof samplesto acquirefor the statistic computationof the data to Function store. If this parameteris set to 1, no statistic operation takes place and thesampleis just storedas data. C355 Fast Log Min. Variation Percent C355 Range 0 ÷ 65535 0.0÷ 6553.5% Default 0 0.0% Level BASIC Fast Log Min. Addres s 355 Variation Percen t Variancefor the data storageto the FLASH CARD. When TVAR is other than 0, loggingoccursif at least oneof the variablesto be acquiredvaries Function fromthe last loggingof a value percent(consideredas rawdata) whichis higherthanTVAR. C352 Slow Log Sampling Time C352 Range 1 ÷ 65535 1 ÷ 65535s Default 3600 3600s (1 h) Level BASIC Addres s 352 Slow Log Sampling This parametersetsthesamplingtimeof datastoredto slowlogs. Time Note: The samplingtime cannotbe set to lowervaluesthan the value set Function in M364. This value is automatically computedeach time scanning takes placeand dependson the numberof detecteddevicesand the numberof dataitemsto store. C353 Slow Log Sample N. C353 Range 1 ÷ 50 1 ÷ 50 Default 1 1 Level BASIC Slow Log Sample N. Addres s 353 Numberof samplesto acquirefor the statistic computationof the data to Function store. If this parameteris set to 1, no statistic operation takes place and thesampleis just storedas data. 15/44
  16. 16. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS C354 Slow Log Min. Variation Percent C354 Range 0 ÷ 65535 0,0÷ 6553,5% Default 0 0,0% Level BASIC Slow Log Min. Addres s 354 Variation Percent Variancefor the data storageto the FLASH CARD. When TVAR is other than 0, loggingoccursif at least oneof the variablesto be acquiredvaries Function fromthe last loggingof a value percent(consideredas rawdata) whichis higherthanTVAR. C365 b to C380 b Type of External Device 1-16 17: LK 0: NoDeviceDetected 18: AC 1: ST 19: AS 2: SM 20:DB 3: SG 21: DC 4: D4 22:IF 5: D7 23:IP 6: AM 24:IZ 7: PV 25:LT C365 b ÷ C380 b Range 0 ÷ 100 8: PD 26:OD 9: PM 27: PB 10: PR 28:SF 11: PT 29:VD 12: NG 30:VM 13: IP 31: VN 14: DL 32:VT 15: IK …. 16: VK 100: UnknownDevice Default 0 0: NoDeviceDetected Level BASIC Address 365÷ 380 Type of External Device 1-16 The low byte of these parameters indicates the type of device which is detected when SCANNING. After scanning, if one or more of these Function parameters are manually set to 0, the relevant devices will be ignored whenLOGGING. C365a to C380a Address of External Device 1-16 C365 a to C380 a Range 0 ÷ 247 0÷ 247 Default 0 0 Level BASIC Address of External Device 1-16 Addres s 365÷ 380 The high byte of these parametersindicates the address of the devices Function connectedto ES851 andmappedin its routingtable. 16/44
  17. 17. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS M364 Min. Sampling Time M364 Range 1 ÷ 65535 1 ÷ 65535s Addres s 364 Min. sampling time which is automatically detectedby the LOGGING system.It is refreshedwhenevera newscanningoccurs.The sampling Function time (C362 and C352) cannot be set to a value lower than this parameter s ’setting. M414 Boxed Devices M414 Range Bit- controlledmeasure SeeTable4 Addres s 414 If the j-th bit is worth1, this meansthat the correspondingdevice(see Table 4) is boxed(i.e. the devicewill be monitoredby the data logger Function as its acquiredvariableshavebeenaddedthe log s ’ parameters).If the j-th bit is worth0, thecorrespondingdeviceis ignoredwhenLOGGING. Table 4: Bit-map of the devices detected when SCANNING (Boxed devices ) Bit n°. Device Bit n°. Device 0 Device1 8 Device9 1 Device2 9 Device10 2 Device3 10 Device11 3 Device4 11 Device12 4 Device5 12 Device13 5 Device6 13 Device14 6 Device7 14 Device14 7 Device8 15 Device15 M415 Recognized Devices M415 Range Bit- controlledmeasure SeeTable5 Addres s 415 If the j-th bit is worth1, this meansthat the correspondingdevice(see Table5) has beenrecognizedby ES851 (i.e. it has the routingtablefor Function that device,whichcontainsthe log parametersvaluesto be usedwhen programmingthe data loggerwhile BOXING). If the j-th bit is worth 0, thecorrespondingdevicecannotbe automaticallyboxed. Table 5: Bit-map of the devices detected when SCANNING (Recognized devices ) Bit n°. Device Bit n°. Device 0 Device1 8 Device9 1 Device2 9 Device10 2 Device3 10 Device11 3 Device4 11 Device12 4 Device5 12 Device13 5 Device6 13 Device14 6 Device7 14 Device14 7 Device8 15 Device15 17/44
  18. 18. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS M5016 Number of Devices Detected when SCANNING M5016 Range 0 ÷ 247 0 ÷ 247 Addres s 5016 Number of the devices connected to ES851 and detected when SCANNING. It is automatically refreshed whenever a new device is Function detected. This measure is not stored to non- volatile memory and is clearedwhenES851 is reset. M5017 Address of the Device being SCANNED M5017 Range 0 ÷ 247 0 ÷ 247 5017 Current addressthat ES851 boardis queryingwhile SCANNING. This measure is not stored to non- volatile memory and is cleared when ES851 is reset. M5049 LOGGING Command Status 0: OK (CommandExecuted) 1: ScanImpossible,ActiveLogs 2: Scanning 3: LogActivationImpossible,Uploading 4: LogActivationImpossible,LogsAlreadyActive 5: StopLogImpossible,InactiveLogs 6: EraseLogImpossible,Uploading 7: EraseLogImpossible,ActiveLogs 8: DisableLogImpossible,Uploading 9: DisableLogImpossible,InactiveLogs M5049 Range 0 ÷ 11,25 ÷ 30 10: Boxing 11: ScanEnded 12: Call Impossible,ConnectionAlreadyActivated 13: LogsCannotBe Activated,LogClearingActive 25:ErasingLog1 26:ErasingLog2 27: ErasingLog3 28:ErasingLog4 29:ErasingLog5 30:ErasingEventLog Addres s 5049 Function Success/failureof theLOGGINGcommands. 18/44
  19. 19. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS 5. UPLOAD CONSOLE 5.1.De s c r i pti o n UPLOAD allows to display data stored while LOGGING. Upload is possible only if you are using RemoteSunway.The Uploadfunctionallowsto createa databaseon a remotecomputer.It allowsto create a CSV file for everylog that can be displayedand graphically representedby RemoteSunway;eachfile can be storedthrougha nameand path that are user- defined.Each timea log is uploaded,datais erasedfrom theFLASHCARDfittedin ES851. Whena remotecomputeris used,you canuploadonly onelogat 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 ScanLogsbutton), selectthe log to UPLOAD, then click START. You are askedto enter the filenameand the path for the log storage,then UPLOAD begins. All filenameshavethe sameroot (that is given by the user) and are automatically distinguished by RemoteSunway, that adds an acronym (1,2,3,4,5,evt)at theendof thefilename. 19/44
  20. 20. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 6. LOG AND EVENT MONITOR 6.1.De s c r i pti o n The LogandEventMonitormenuis a measuremenucheckingthestatusof eachlog. Six logsare available:logs 1 to 5 containgraphically representeddataconcerningthe variablesacquiredby the devicescontrolledby ES851; the remaininglog is an Event Log that storesa particular event for each device.The EventLogcannotbegraphicallyrepresented,but is displayedas a tableby RemoteSunway. 6.2. Param e t e r Li st Table 6: Log and Event Monitor parameters Acces s MODBUS Parameter FUNCTION Level Addres s M5050 Log1 Length BASIC 5050 M5051 Log2 Length BASIC 5051 M5052 Log3 Length BASIC 5052 M5053 Log4 Length BASIC 5053 M5054 Log5 Length BASIC 5054 M5055 Evt LogLength BASIC 5055 M5056 Log1 Status BASIC 5056 M5057 Log2 Status BASIC 5057 M5058 Log3 Status BASIC 5058 M5059 Log4 Status BASIC 5059 M5060 Log5 Status BASIC 5060 M5061 Evt Lo Status g BASIC 5061 M5070a-b YearandMonthof Activationof Log1 BASIC 5070 M5071a-b Day andTimeof Activationof Log1 BASIC 5071 M5072a-b MinutesandSecondsof Activationof Log1 BASIC 5072 M5073a-b YearandMonthof Activationof Log2 BASIC 5073 M5074a-b Day andTimeof Activationof Log2 BASIC 5074 M5075a-b MinutesandSecondsof Activationof Log2 BASIC 5075 M5076a-b YearandMonthof Activationof Log3 BASIC 5076 M5077a-b Day andTimeof Activationof Log3 BASIC 5077 M5078a-b MinutesandSecondsof Activationof Log3 BASIC 5078 M5079a-b YearandMonthof Activationof Log4 BASIC 5079 M5080a-b Day andTimeof Activationof Log4 BASIC 5080 M5081a-b MinutesandSecondsof Activationof Log4 BASIC 5081 M5082a-b YearandMonthof Activationof Log5 BASIC 5082 M5083a-b Day andTimeof Activationof Log5 BASIC 5083 M5084a-b MinutesandSecondsof Activationof Log5 BASIC 5084 M5085a-b YearandMonthof Activationof Evt Log BASIC 5085 M5086a-b Day andTimeof ActivationEvt Log BASIC 5086 M5087a-b Minutes and Seconds of Activation of Evt BASIC 5087 Log 20/44
  21. 21. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS M5050 (M051, M5052, M5053, M5054, M5055) Log Length M5050 (Log 1) M5051 (Log 2) M5052 (Log 3) M5053 (Log 4) Range 0 ÷ 65535 0 ÷ 65535Kbytes M5054 (Log 5) M5055 (Evt Log) Addres s 5050,5051, 5052,5053,5054,5055 Function Lengthof thedatastoredto theFLASHCARDfor eachlog(Kbytes). M5056 (M057, M5058, M5059, M5060, M5061) Log Status M5056 (Log 1) M5057 (Log 2) M5058 (Log 3) M5059 (Log 4) Range Bit- controlledmeasure SeeTable7 M5060 (Log 5) M5061 (Evt Log) Addres s 5050,5051, 5052,5053,5054,5055 Function Currentstatusof thelogs. Table 7: Bit-map of the Log Status Bit n° Status 0 EmptyLog 4 LockedLog 1 ActiveLog 9 WrappedLog 2 StoppedLog 10 LogDataFatally Corrupted 3 CheckedLog M5070a (M073a, M5076a, M5079a, M5082a, M5085a) Year of Activation of the Log M5070 a (Log 1) M5073 a (Log 2) M5076 a (Log 3) M5079 a (Log 4) Range 0 ÷ 99 2000÷ 2099Year M5082 a (Log 5) M5085 a (Evt Log) Addres s 5070,5073,5076,5079,5082,5085 Function Yearof activationof thelog. 21/44
  22. 22. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS M5070b (M073b, M5076b, M5079b, M5082b, M5085b) Month of Activation of the Log 1: January 2. February 3: March M5070 b (Log 1) 4: April M5073 b (Log 2) 5: May M5076 b (Log 3) 6: June Range 1 ÷ 12 M5079 b (Log 4) 7: July M5082 b (Log 5) 8: August M5085 b (Evt Log) 9: September 10: October 11: November 12: December Addres s 5070,5073,5076,5079,5082,5085 Function Monthof activationof thelog. M5071a (M074a, M5077a, M5080a, M5083a, M5086a) Day of Activation of the Log M5071 a (Log 1) M5074 a (Log 2) M5077 a (Log 3) M5080 a (Log 4) Range 1 ÷ 31 1 ÷ 31 Days M5083 a (Log 5) M5086 a (Evt Log) Addres s 5071, 5074,5077,5080,5083,5086 Function Day of activationof thelog. M5071b (M074b, M5077b, M5080b, M5083b, M5086b) Time (Hours) of Activation of the Log M5071 b (Log 1) M5074 b (Log 2) M5077 b (Log 3) M5080 b (Log 4) Range 0 ÷ 23 0 ÷ 23Hours M5083 b (Log 5) M5086 b (Evt Log) Addres s 5071, 5074,5077,5080,5083,5086 Function Timeof activationof thelog(expressedin hours). 22/44
  23. 23. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS M5072a (M075a, M5078a, M5081a, M5084a, M5087a) Time (Minutes) of Activation of the Log M5072 a (Log 1) M5075 a (Log 2) M5078 a (Log 3) M5081 a (Log 4) Range 0 ÷ 59 0 ÷ 59Minutes M5084 a (Log 5) M5087 a (Log Evt) Addres s 5072,5075,5078,5081, 5084,5087 Function Timeof activationof thelog(expressedin minutes). M5072b (M075b, M5078b, M5081b, M5084b, M5087b) Time (Seconds ) of Activation of the Log M5072 b (log 1) M5075 b (log 2) M5078 b (log 3) M5081 b (log 4) Range 0 ÷ 59 0 ÷ 59Seconds M5084 b (log 5) M5087 b (log Evt) Addres s 5072,5075,5078,5081, 5084,5087 Function Timeof activationof thelog(expressedin seconds). 23/44
  24. 24. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 7. MODBUS CONFIGURATION 7.1.De s c r i pti o n Two serial ports are implementedin ES851 board. COM1 port is a standardRS232, while port COM2is a standardRS485. If ES851 is providedwith a modem,modbusfunctionality of COM1 port must be disabled, becauseCOM1 portbecomesthemodemconnectionport. NotethatthefollowingparametersareR parameters,whichactivateonly afterresettingES851. 7.2. Param e t e r Li st Table 8: Modbus Configuration parameters Acces s MODBUS Parameter FUNCTION Level Address R260 COM1 ModbusEnable BASIC 260 R261 COM1 BaudRate BASIC 261 R262 COM1 ParityBit BASIC 262 R263 Waiting Time between COM 1 BASIC 263 Packets R264 COM1 Timeout BASIC 264 R265 COM2 ModbusEnable BASIC 265 R266 COM2 BaudRate BASIC 266 R267 COM2 ParityBit BASIC 267 R268 Waiting Time between COM 2 BASIC 268 Packets R269 COM2 Timeout BASIC 269 R297 ES851 DeviceID BASIC 297 R260 COM 1 Modbus Enable 0: ModbusPortDisabled R260 Range 0÷ 2 1: SlaveModbusMode 2: MasterModbusMode Default 0 0: ModbusPortDisabled Level BASIC COM 1 Modbus Addres s 260 Enable This parametersetsthemodbusmodefor COM1 port. Function In ES851 factory setting, parameter R260 is set to 1, NOTE SlaveModbusMode. R261 (R266) COM Modbus Baud Rate 1: 1200bps 2: 2400bps 3: 4800bps R261 (COM 1) 4: 9600bps Range 1÷8 R266 (COM 2) 5: 19200bps 6: 38400bps 7: 57600bps 8: 115200bps Default 6 6: 38400bps COM Modbus Baud Level BASIC Rate Addres s 261, 266 Function This parametersetsthebaudrateof theCOMports. 24/44
  25. 25. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS R262 (R267) COM Parity Bit 0: NoParity1 StopBit 1: EvenParity1 StopBit R262 (COM 1) R267 (COM 2) Range 0÷ 4 2: OddParity 1 StopBit 3: MarkParity(NoParity)2 StopBits 4: SpaceParity(Noparity)2 StopBits Default 3 3: MarkParity(NoParity)2 StopBits Level BASIC COM Parity Bit Addres s 262,267 Function This parametersetsparityandstopbit of theCOMports. R263 (R268) Waiting Time between COM Packets R263 (COM 1) R268 (COM 2) Range 1 ÷ 50 1 ÷ 50ms Default 20 20ms Waiting Time Level BASIC between COM Addres s 263,268 Packets This parameter sets the waiting time between messages sent for COM Function ports. R264 (R269) COM Modbus Timeout R264 (COM 1) R269 (COM 2) Range 0 ÷ 1000 0 ÷ 1000ms Default 500 500ms COM Modbus Level BASIC Timeout Addres s 264,269 This parameter sets the waiting time before a timeout for RS232 port Function occurs. R265 COM 2 Modbus Enable 0: ModbusPortDisabled R265 Range 0÷ 2 1: SlaveModbusMode 2: MasterModbusMode Default 1 1: SlaveModbusMode Level BASIC COM 2 Modbus Addres s 265 Enable This parametersetsthemodbusmodefor COM2. Function In ES851 factory setting, parameterR265is set to 2, NOTE MasterModbusMode. R297 ES 851 Device ID R297 Range 0 ÷ 247 0 ÷ 247 Default 1 1 Level BASIC ES 851 Device ID Addres s 297 This parameterallows to changeES851 ID if multiple boards ES851 are Function connectedto the samemodbusnetwork.A uniqueID is assignedto each boardto avoidconflicts. 25/44
  26. 26. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 8. TCP/IP CONFIGURATION 8.1.De s c r i pti o n 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 modemand GPRS modem, or direct null modem. NotethatthefollowingparametersareR parameters,whichactivateonly afterresettingES851. 8.2. Param e t e r Li st Table 9: TCP/IP Configuration parameters Acces s MODBUS Parameter FUNCTION Level Address R272 Typeof TCP/IP Connection BASIC 272 R276 IP AddressHigh BASIC 276 R277 IP AddressLow BASIC 277 R278 IP MaskHigh BASIC 278 R279 IP MaskLow BASIC 279 R272 Type of TCP/IP Connection 0: Disabled 1: Ethernet 2: Serial PPP (Null Modem) R272 Range 0÷ 6 3: AnalogPPP Modem 4: PPP GSMModem 5: PPP GPRS Modem Default 1 1: Ethernet Type of TCP/IP Level BASIC Connection Addres s 272 Function This parametersetsthetypeof TCP/IP connection. R276 IP Address High R276 Range 0 ÷ 0xFFFF 0.0÷ 255.255 Default 0xC0A8 192.168 Level BASIC IP Addres s High Addres s 276 Function This parametersetsthetwohighbytesof thestaticIP addressof ES851. R277 IP Address Low R277 Range 0 ÷ 0xFFFF 0.0÷ 255.255 Default 0x2 0.2 Level BASIC IP Address Low Addres s 277 Function This parametersetsthetwolowbytesof thestaticIP addressof ES851. 26/44
  27. 27. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS R278 IP Mask High R278 Range 0 ÷ 0xFFFF 0.0÷ 255.255 Default 0xFFFF 255.255 Level BASIC IP Mask High Addres s 278 Function This parametersetsthetwohighbytesof ES851 IP mask. R279 IP Mask Low R279 Range 0 ÷ 0xFFFF 0.0÷ 255.255 Default 0xFF00 255.0 Level BASIC IP Mask Low Addres s 279 Function This parametersetsthetwolowbytesof ES851 IP mask. 27/44
  28. 28. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 9. MODEMCONFIGURATION 9.1.De s c r i pti o n Configurationparametersarerequiredfor modemconnections,particularlyif digital modemsareused. Note that the parameters contained in this menu are R parameters, which activate only after resetting ES851. 9.2. Param e t e r Li st Table 10: Modem Configuration parameters Acces s MODBUS Parameter FUNCTION Level Address R273 PPP OUT Username BASIC 273 R274 PPP OUT Password BASIC 274 R287 SIM CardPIN BASIC 287 R288 PPP IN Username BASIC 288 R289 PPP IN Password BASIC 289 R273 (R288) PPP Username R273 (PPP OUT) R288 (PPP IN) Range 0 ÷ 0xFFFF “0000 ÷ “FFFF ” ” Default 0x1111 “1111” Level BASIC PPP Username Addres s 273,288 This parameter sets the usernamefor the connection to ES851 from a Function remotecomputer(PPP IN) and from ES851 to a remotecomputer(PPP OUT). P 274 (R289) PPP Password R274 (PPP OUT) R289 (PPP IN) Range 0 ÷ 0xFFFF “0000 ÷ “FFFF ” ” Default 0x1234 “1234 ” Level BASIC PPP Password Addres s 274,289 This parameter sets the password for the connection from a remote Function computerto ES851 (PPP IN) and fromES851 to a remotecomputer(PPP OUT). P 287 SIM Card PIN P287 Range 0x0÷ 0xFFFF “0000 ÷ “FFFF ” ” Default 0x0 “0000 ” Level BASIC Addres s 287 SIM Card PIN This parameter sets the four digits of the SIM card PIN fitted in the GSM/GPRS modem.PIN is obtainedfromthe hexadecimalrepresentation Function of the number aligned left. Any digit higher than 9 is intended as the numberterminator. 28/44
  29. 29. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS 10.MODEMCONNECTION 10.1.De s c r i pti o n This menucontainstheparametersfor theactivationof themodemconnectionfromES851. This menualso allowsES851 to answeran externalcall. Most part of the parameterscontainedin the ModemConnection menu are R parameters, which activate only afterresettingES851. 10.2. P ara m e t er List Table 11: Modem Connection parameters Acces s MODBUS Parameter FUNCTION Level Address R280 Typeof Call BASIC 280 R284+ PhoneNumber BASIC 284, 285, R285+ R 286 286 R486 a TelephoneSwitch BASIC 486 R486 b TelephoneSwitchNumber BASIC 486 I381 ConnectNowCommand BASIC 381 M5067 GSMSignal Intensity BASIC 289 M5068a ConnectionStatus BASIC 289 M5068b ConnectionFailure BASIC 289 R280 Type of Call 0: None R280 Range 0÷ 2 1: DIAL IN (ES851 is PPP Server) 2: DIAL OUT Default 0 0: None Level BASIC Addres s 280 This parametersetsthetypeof call : 0: None , No call is allowedfromES851 or a remotecomputer. Type of Call 1: DIAL IN, ES851 is a PPP server and allows a modemconnection by callingES851 froma remotecomputer. Function 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 phonenumber(PPP servermode). This parameteris ignoredif R272is otherthan2, 3, 4, 5. R284 Phone Number R284+R 285+ R 286 Range 0x0÷ 0xFFFFFFFFFFFF “000000000000 ÷ “FFFFFFFFFFFF” ” Default 0x390000000000 “390000000000 ” Level BASIC Addres s 284,285,286 Phone Number This parameter includes three words and contains the phone number called by ES851. This numberis a set of hexadecimaldigits and is to be Function alignedleft. Any digit higherthan 9 is intendedas the numberterminator. The first two digits are dedicated to the international code. Italy ’s internationalcodeis setas thedefaultcode. 29/44
  30. 30. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS R486a Telephone Switch 0: NoTelephoneSwitch R486 a Range 0÷ 1 1: TelephoneSwitchProvided Default 0 0 Level BASIC Telephone Switch Address 486 The high byte of this parameterindicateswhetherthe analogtelephone Function line connectedto ES851 modemis controlledby a telephoneswitchor ’s not. R486a Telephone Switch Number R486 a Range 0÷ 9 0÷ 9 Default 0 0 Telephone Switch Level BASIC Number Address 486 Function The lowbytecontainsthenumberof thetelephoneswitch. I381 Connect Now Command 0: Executed I381 Range 0÷ 2 1: ConnectNow 2: DisconnectNow Default 0 0 Level BASIC Connect Now Address 381 Command This commandforces ES851 to immediately call the number stored in parametersR284,R285,R286.Whenthe commandis executed,I381 is Function set to zero. If I381 assumesthe value2, you can forceES851 to endthe currentconnection. M5067 GSM Signal Intensity M5067 Range 0 ÷ 101 0 ÷ 101 Addres s 5067 Intensity of the GSM signal is set by semantics of the ETSI CSQ Function command.This measureindicatesthe GSM signal level (RSSI). Value 101 indicatesthatno GSMmodemis connectedto ES851. 30/44
  31. 31. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS M5068a Connection Status 0: No conn. 1: Dialing M5068a Range 0 ÷ 2,4,5 2: Connecting 4: Connected 5: AttemptFinished Addres s 5068 This measure indicates the connection stages. If one stage fails, the reason for failure is displayed in the Connection Failure (M5068b) mea sure. 0: No conn . , Noconnectionis occurring. Function 1: Dialing , Dial in progress and AT commands for connection and disconnection. 2: Connecting , PPP protocolnegotiationstage. 4: Connected , Successfulconnection. 5: Attempt finished , Attemptsfor newconnectionsarefinished. M5068b Connection Failure 0: None 1: Dial KO 2: ConnectKO 3: AuthenticationKO 4: IPCP KO 5: ModemNotYet Initialized M5068b Range 0 ÷ 8,16,32,64 6: ModemInit KO 7: ModemNotConfigured 8: ModemNotDial Out 16: ConnectEnd (EchoTimeout) 32: ConnectEnd (Idle Timeout) 64: ConnectEnd (TermExpired) Addres s 5068 Connectionfailed,for instancedueto telephoneline malfunctioning. 0: None , No failureoccurred. 1: Dial KO, Dialingfailure. 2: Connect KO, Generalfailureof PPP negotiation. 3: Authentication KO, PPP authenticationfailed. 4: IPCP KO, IPCP failedduringPPP negotiation. 5: Modem Not Yet Initialized , Waitingfor modeminitialization. Function 6: Modem Init KO, Modeminitializationfailed. 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 connectionwithidle timeout. 64 Connect End (Term Expired), End of connectionwithtermexpired. 31/44
  32. 32. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS 11.SMS 11.1.De s c r i pti o n ES851 Data Loggerboard sends an SMS each time an event is storedto the EVENT Log, providedthat communication via digital modemis allowed. To activate this function, in parameters R420, R421, R422 enter the mobile phonenumberreceivingSMS. The SMS sent contains informationabout the event fired. SMS can be sent only if the LOGGING function is active, otherwise, events can t either monitoredor ’be logged. Note that the parameters contained in this menu are R parameters, which activate only after resetting ES851. 11.2. P ara m e t er List Table 12: SMS parameters Acces s MODBUS Parameter FUNCTION Level Address R420+ MobilePhoneNumber BASIC 420, 421, R421+ R 422 422 M5066 SMS Status BASIC M5066 R284 Mobile Phone Number R420+R 421+R 422 Range 0x0÷ 0xFFFFFFFFFFFF “000000000000 ÷ “FFFFFFFFFFFF” ” Default 0x390000000000 “390000000000 ” Level BASIC Addres s 420,421, 422 Mobile Phone This parameteris composedof threewordsandcontainsthemobilephone Number number receiving SMS sent by ES851. The mobile phone number is represented as hexadecimal digits; it is to be aligned left and any digit Function higherthan 9 is intendedas the numberterminator.The first twodigitsare dedicatedto the international code. Italy international codeis set as the ’s defaultcode. M5068a SMS Status 0: No SMS 1: SMS Sent 2: No Digital Modem M5068a Range 0 ÷ 2,4,5 3: ModemNotinitialized 4: ModemInit KO 5: SMS KO 6: ConnectionBusy Addres s 5068 This measureindicatesthestatusof theSMS function. 0: No SMS , No SMS sent. 1: SMS Sent , SuccessfulSMS. 2: No Digital Modem , No digital modemis connected, so the SMS functioncannotbe executed. Function 3: Modem Not Initialized , The connectedmodemis not initialized; no SMS canbe sent. 4: Modem Init KO, Modeminitializationfailed;no SMS canbe sent. 5: SMS KO, SMS failed. 6: Connection Busy , SMS will be sent later because the modem connectionis busy. 32/44
  33. 33. ES851 15G0851P1 DATA LOGGER BASIC PROGRAMMING INSTRUCTIONS 12.CLOCK/CALENDAR 12.1.De s c r i pti o n This menuallowsto updatetheclock/calendarof ES851 DataLogger. ES851 is not currentlyconsideringdaylightsavingtime. 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 parametersP210 to P2012. 12.2. P ara m e t er List Table 13: Clock/Calendar parameters Acces s MODBUS Parameter FUNCTION Level Address P 2010 a YearTo Be Changed BASIC 2010 P 2010 b MonthTo Be Changed BASIC 2010 P 2011 a Day Of The WeekTo Be Changed BASIC 2011 P 2011 b Day Of The MonthTo Be Changed BASIC 2011 P 2012 a Time(Hour)To Be Changed BASIC 2012 P 2012 b Time(Minutes)To Be Changed BASIC 2012 I2013b Clock/CalendarEditingCommand BASIC 2013 M5010a Year BASIC 5010 M5010b Month BASIC 5010 M5011a Day of theWeek BASIC 5011 M5011b Day of theMonth BASIC 5011 M5012a Hours BASIC 5012 M5012b Minutes BASIC 5012 M5013 Seconds BASIC 5013 P 2010 a Year To Be Changed P2010 a Range 0 ÷ 99 2000÷ 2099Year Default 0 2000 Level BASIC Year To Be Changed Addres s 2010 The high byte of this parameter contains the value of the year to be Function changed. 33/44
  34. 34. 15G0851P1 ES851 BASIC PROGRAMMING DATA LOGGER INSTRUCTIONS P 2010 b Month To Be Changed 1: January 2. February 3: March 4: April 5: May 6: June P2010 b Range 1 ÷ 12 7: July 8: August 9: September 10: October 11: November 12: December Default 1 1: January Level BASIC Month To Be Changed Addres s 2010 The low byte of this parameter contains the value of the month to be Function changed. P 2011 a Day of the Week To Be Changed 1: Mon 2: Tue 3: Wed P2011 a Range 1÷7 4: Thu 5: Fri 6: Sat 7: Sun Default 1 1: Mon Level BASIC Day of the Week To Be Changed Addres s 2011 The high byte of this parametercontainsthe value of the day of the week Function to be changed. P 2011 b Day of the Month To Be Changed P2011 b Range 1 ÷ 31 1 ÷ 31 Days Default 1 1 Level BASIC Day of the Month To Be Changed Addres s 2011 The low byte of this parametercontainsthe value of the day of the month Function to be changed. P 2012 a Time (Hour) To Be Changed P2012 a Range 0 ÷ 23 0 ÷ 23hours Default 0 0 Time (Hour) To Be Level BASIC Changed Addres s 2012 Function The highbyteof this parametercontainsthetime(hours)to be changed. P 2012 b Time (Minutes) To Be Changed P2012 b Range 0 ÷ 59 0 ÷ 59minutes 34/44

×