Seneca Z-GPRS2 User Manual

Seneca Z-GPRS2 User Manual

Multi-protocol datalogger/rtu with gsm/gprs modem and embedded i/o; multi-protocol datalogger/rtu with embedded i/o;
Table of Contents

Advertisement

Available languages

Available languages

Quick Links

MANUALE UTENTE
Z-GPRS2 / Z-LOGGER
Datalogger / RTU multiprotocollo avanzato con modem GSM/GPRS e I/O integrato
Datalogger / RTU multiprotocollo avanzato con I/O integrato
This document is property of SENECA srl. Duplication and reproduction of its are forbidden (though partial), if not
authorized. Contents of present documentation refers to products and technologies described in it. Though we strive for
reach perfection continually, all technical data contained in this document may be modified or added due to technical and
commercial needs; it's impossible eliminate mismatches and discordances completely. Contents of present
documentation is anyhow subjected to periodical revision. If you have any questions don't hesitate to contact our
structure or to write us to e-mail addresses as above mentioned.
SENECA s.r.l.
PADOVA – ITALY
Tel. +39.049.8705355 – 8705359 Fax. +39.049.8706287
Web site:
www.seneca.it
Assistenza tecnica:
supporto@seneca.it
Informazioni Commerciali:
Z-GPRS2
Z-LOGGER
(IT),
support@seneca.it
commerciale@seneca.it
MI003134
Page 1
(Other)
(IT),
sales@seneca.it
(Other)

Advertisement

Chapters

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z-GPRS2 and is the answer not in the manual?

Questions and answers

Summary of Contents for Seneca Z-GPRS2

  • Page 1 (Other) This document is property of SENECA srl. Duplication and reproduction of its are forbidden (though partial), if not authorized. Contents of present documentation refers to products and technologies described in it. Though we strive for reach perfection continually, all technical data contained in this document may be modified or added due to technical and commercial needs;...
  • Page 2 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Data Versione Modifiche 14/05/2013 Modifiche per firmware 2670_200 Aggiunti comandi lettura tag modbus via SMS Aggiunto capitolo soluzione problemi Aggiunti registri Modbus I/O interni Aggiunto log dei contaore Modificato Webserver: aggiunto segnale GSM, Tipo alimentazione.
  • Page 3: Table Of Contents

    8. SEGNALE GSM (SOLO Z-GPRS2) ................23 9. LA CONNESSIONE GPRS (SOLO Z-GPRS2) ............25 COORDINATE GPS ....................25 10.1. COORDINATE GPS VIA RETE GPRS (SOLO Z-GPRS2) ........26 BATTERIE DI BACKUP ..................26 IL DATALOGGER ....................27 12.1. ACQUISIZIONE DEI DATI ................... 27 12.2.
  • Page 4 SALVATAGGIO DEI LOG SU MICROSD CARD ..........37 12.12. SALVATAGGIO DEI CONTATORI/TOTALIZZATORI ........37 12.13. TEMPI DI INVIO VIA GPRS DEI FILE DI LOG (SOLO Z-GPRS2) ....37 12.14. GESTIONE DEGLI ERRORI DI CONNESSIONE ED INVIO DATI AI SERVER FTP E SMTP ........................38 12.15.
  • Page 5 15.2. ELENCO DEI COMANDI SMS SUPPORTATI ............. 42 15.3. COMANDI SMS “FAST” (SOLO Z-GPRS2) ............46 15.4. COMANDI SU SQUILLO “A COSTO ZERO” (SOLO Z-GPRS2) ....... 48 15.5. PASSWORD COMANDI (SOLO Z-GPRS2) ............49 TIMER ........................50 16.1. TIMER PERIODICI ....................50 16.2.
  • Page 6 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 17.4. CONNESSIONE PROTETTA AL SERVER SMTP (SOLO Z-GPRS2) ....53 17.5. PARAMETRI DEI PRINCIPALI SERVER SMTP SENZA CONNESSIONE PROTETTA ........................54 17.6. PARAMETRI DEI PRINCIPALI SERVER SMTP CON CONNESSIONE PROTETTA VIA GPRS (SOLO Z-GPRS2) ............... 55 ALLARMI SU INGRESSI ANALOGICI ..............
  • Page 7 28.4. MODBUS TCP-IP SERVER ................. 80 28.4.1. STRUTTURA DEI REGISTRI MODBUS REAL TIME LOG ......82 ACCESSO A Z-GPRS2 / Z-LOGGER DA INTERNET (SOLO TRAMITE PORTA ETHERNET) ........................83 AGGIORNAMENTO DEL FIRMWARE..............85 30.1. AGGIORNAMENTO VIA USB (TRAMITE SOFTWARE EASY Z-GPRS2/Z- LOGGER / EASY SETUP) ....................
  • Page 8 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER...
  • Page 9: Seneca Z-Gprs2 / Z-Logger

    ATTENZIONE! -Contattare il proprio gestore telefonico per quanto riguarda i costi dei servizi GSM e GPRS specie se si sta utilizzando Z-GPRS2 con sim di uno stato differente da dove ci si trova (roaming internazionale). -E’ opportuno stimare i costi telefonici prima di procedere alla configurazione di Z-GPRS2.
  • Page 10 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER -Il costo dell’invio/ricezione GPRS può essere legato al Kbyte inviato/ricevuto, ad un massimo mensile compreso in un pacchetto, o al tempo di connessione GPRS, contattare l’operatore telefonico per ulteriori informazioni. -Nel caso di connessione GPRS il cui costo è dato dal tempo di connessione si consideri che la comunicazione è...
  • Page 11: Caratteristiche

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 2. Caratteristiche Z-GPRS2 Z-GPRS2 è un datalogger/RTU programmabile multiprotocollo con modem GSM/GPRS e IO integrati. • Tensione nominale di ingresso 11..40 Vdc; 19..28 Vac max 6.5 W • 2 Batterie di backup AAA 1.2 V ricaricabili, NiMh •...
  • Page 12 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Z-LOGGER Z-LOGGER è un datalogger/RTU programmabile multiprotocollo con IO integrati. • Tensione nominale di ingresso 11..40 Vdc; 19..28 Vac max 6.5 W • 2 Batterie di backup AAA 1.2 V ricaricabili, NiMh • Isolamento 500 Vac tra alimentazione restanti circuiti •...
  • Page 13: Specifiche

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 3. Specifiche INGRESSI DIGITALI Numero di canali Tipo di ingresso PNP, NPN configurabili. Tensione di alimentazione 12 Vdc Corrente di alimentazione 20 mA Massima frequenza 30 Hz Corrente assorbita 3 mA USCITE DIGITALI Numero di canali Tipo di uscita Relè...
  • Page 14 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Ingresso tensione 0..30V precisione 0,1% del FS Ingresso corrente 0..20 mA precisione 0,1% del FS Protezione ingressi Sì, 12Vdc o 25mA Risoluzione 16 bit PORTE DI COMUNICAZIONE RS 485 #1 Port #1, posteriore su IDC10...
  • Page 15 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Grado di protezione IP20 NORMATIVE EN61000-6-4/2002-10 Electromagnetic emission, industrial environment. EN61000-6-2/2006-10 Electromagnetic immunity, industrial environment. EN 301 511 (solo Z-GPRS2) Harmonized standard for mobile stations in the 900 and 1800 bands. EN 301 489-1 (solo Z-GPRS2) ElectroMagnetic Compatibility standard for radio equipment and services.
  • Page 16: Connessioni

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 4. Connessioni DESCRIZIONE Ingressi Analog. Tensione Alimentazione Morsetti ausiliaria V/I [2] V/I [1] Configurabili 0..10 Vdc 0..20 mA 12..15 Vdc @40 mA dal modulo Configurare gli ingressi analogici in tensione o in corrente tramite il software di configurazione Easy Z-GPRS2/Z- Logger.
  • Page 17 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Micro SD, SDHC massimo 32GB. Connettore push push per inserimento ed estrazione Ethernet, RJ45 10/100 Mbit USB mini B Non usato SW COMUNICAZIONE ■ = ON IDC10 connettore posteriore, CANopen (non supportato) IDC10 connettore posteriore, RS485...
  • Page 18: Led Di Segnalazione

    Uscita digitale, relè eccitato Uscita digitale, relè non eccitato Uscita digitale, relè eccitato Uscita digitale, relè non eccitato PWR/ STS Z-GPRS2 attivo ma il log è fermo In attesa di Boot LAMPEGGIO Log attivato, funzionamento LENTO (3 sec ON normale e 0.5 OFF)
  • Page 19: Led Z-Logger

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER LAMPEGGIO Registrato in rete GSM/GPRS LENTO (3 sec ca.) LAMPEGGIO Ricerca rete GSM/GPRS VELOCE (0.5 sec ca.) Ingresso digitale PRESENTE Ingresso digitale ASSENTE Ingresso digitale PRESENTE Ingresso digitale ASSENTE Ingresso digitale PRESENTE Ingresso digitale ASSENTE...
  • Page 20 Accesso a microSD card 485 ACT LAMPEGGIO Attività su RS485 ETH LNK LAMPEGGIO Connessione su RJ45 attivata ETH TRF LAMPEGGIO Transito pacchetti su porta Ethernet Per ulteriori informazioni, consultare il manuale installazione di Z-GPRS2 scaricabile gratuitamente dal sito www.seneca.it nella sezione Z-GPRS2.
  • Page 21: Nozioni Di Base

    30 Hz, 4 ingressi digitali, 2 ingressi analogici e due uscite digitali a relè. E’ possibile effettuare anche un log degli I/O di cui è dotato Z-GPRS2 e di registri Modbus RTU o Modbus TCP-IP esterni al sistema; questi log possono essere inviati sotto forma di file nello standard csv (comma separated values) tramite ftp o email e possono anche essere salvati su microSD, Z-GPRS2 può...
  • Page 22: Sim Card Supportate (Solo Z-Gprs2)

    Nel caso di SIM CARD di tipo voce è possibile far eseguire operazioni “a costo zero” tramite l’invio di squilli in risposta alle quali Z-GPRS2 effettuerà le operazioni configurate Nel caso di SIM CARD di tipo “ricaricabile” Z-GPRS2 può gestire il credito residuo richiedendo all’operatore telefonico l’importo.
  • Page 23: Segnale Gsm (Solo Z-Gprs2)

    Dove 0 è segnale minimo, mentre 7 è il massimo. Per il corretto funzionamento di Z-GPRS2 utilizzato per log ftp o email il livello del campo minimo richiesto è di 2/7 (si tenga comunque presente che il segnale spesso è fluttuante).
  • Page 24 ATTENZIONE! -Contattare il proprio gestore telefonico per quanto riguarda i costi dei servizi GSM e GPRS specie se si sta utilizzando Z-GPRS2 con sim di uno stato differente da dove ci si trova (roaming internazionale). -E’ opportuno stimare i costi telefonici prima di procedere alla configurazione di Z-GPRS2.
  • Page 25: La Connessione Gprs (Solo Z-Gprs2)

    Nel calcolo del costo del traffico GPRS vanno considerati anche questi eventuali tentavi di connessione. 10. Coordinate GPS E’ possibile inserire manualmente o recuperare da rete GPRS (solo Z-GPRS2) le coordinate GPS in formato compatibile con Google Maps ™.
  • Page 26: Coordinate Gps Via Rete Gprs (Solo Z-Gprs2)

    3) Esegue le eventuali azioni legate alla mancanza di tensione di rete 4) Chiude gli eventuali file aperti su microSD 5) La scheda si spegne Se non ci sono invii dati in corso Z-GPRS2/Z-logger impiega dai 5 ai 10 secondi per spegnersi a fronte di un blackout. ATTENZIONE! Z-GPRS2/Z-LOGGER VIENE FORNITO CON BATTERIE NON CARICHE, E’...
  • Page 27: Il Datalogger

    Per l’invio dei dati del datalogger Z-GPRS2/Z-Logger utilizzano l’orologio interno. 12.3. Orologio interno Z-GPRS2 e Z-Logger sono dotati di un orologio/calendario interno, questo orologio può essere sincronizzato tramite il software Easy setup/ Easy Z-GPRS2/Z-Logger (nella sezione “Test Configurazione” o all’invio di una nuova configurazione) oppure tramite una connessione ad...
  • Page 28: Log Dell'i/O Embedded

    12.4. Log dell’I/O Embedded Z-GPRS2 e Z-Logger sono equipaggiati con un’ampia serie di ingressi analogici e digitali e con 2 uscite a relè. Il tempo di acquisizione delle variabili nel datalogger è indipendente dal tempo di campionamento degli ingressi analogici, dei contatori e dei totalizzatori.
  • Page 29 Tramite la porta Ethernet il logger supporta protocollo Modbus TCP-IP Client, è possibile loggare fino ad un massimo di 100 tag Modbus TCP-IP provenienti da dispositivi che supportano il protocollo Modbus TCP-IP Server ( ad esempio la serie di moduli Modbus TCP-IP Seneca ZE, per maggiori informazioni fare riferimento al sito www.seneca.it).
  • Page 30: Gestione Degli Errori Del Log Modbus

    In base al tipo di errore che avviene nel Bus Modbus il file di log viene scritto in modo differente: -Se nel tempo di log, Z-GPRS2/Z-Logger non è mai riuscito ad acquisire 1 valore del TAG valido nel file di log viene loggato “Undef” al posto del valore numerico.
  • Page 31: Configurazione Del Logger

    Questa gestione del nome dei file permette di non sovrascrivere file precedenti nella procedura di resume. 12.7. Configurazione del Logger Nella sezione “Configurazione logger” del software Easy Setup / Easy Z-GPRS2/Z-Logger è possibile configurare : Il tempo di acquisizione/campionamento delle variabili; espresso in minuti.
  • Page 32: Configurazione Dell'invio Dei Log

    Se nel menu (8) è stata selezionata l'opzione “MINUTI”, verrà abilitata la finestra “Invio a • minuti” in cui si potrà decidere ogni quanti minuti (9) Z-GPRS2 dovrà inviare i log. Se nel menu (8) è stata selezionata l'opzione “GIORNALIERO”, verrà abilitata la finestra •...
  • Page 33: Configurazione Del Log Seriale Su Protocollo Modbus Rtu Emodbus Tcp-Ip

    NON è possibile selezionare un tempo di campionamento (1) pari a 15 minuti e un invio a “Minuti” (8) con una cadenza di 25 minuti (9). Il software Easy Setup/ Easy Z-GPRS2 / Easy Z-LOGGER provvederà ad arrotondare automaticamente il tempo di invio (9) in modo che sia multiplo del tempo di campionamento.
  • Page 34: Campi Configurabili Dei File Di Log

    E' sempre il numero progressivo del numero di campionamenti eseguiti dall'ultimo spegnimento di Z-GPRS2. TYPE E' sempre il tipo di log per usi futuri, attualmente compare il testo “LOG” TIMESTAMP E' sempre la data-ora di Z-GPRS2 nel formato gg/mese/anno ora:minuti:secondi DIN1 DIN2 DIN3 DIN4...
  • Page 35 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER DINx è il valore dell'ingresso digitale x-esimo, se OFF = ingresso aperto, se ON = ingresso chiuso DOUTx è il valore dell'uscita x-esima, se OFF = uscita aperta, se ON = uscita chiusa VBAT indica lo stato di funzionamento con batterie di backup, se OFF = funzionamento con...
  • Page 36: Sms Di Log

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER vi è lo stato del tag Modbus: VAL_MODBUS1 valore istantaneo del 1° tag Modbus configurato VAL_MODBUS2 valore istantaneo del 2° tag Modbus configurato VAL_MODBUS3 valore istantaneo del 3° tag Modbus configurato VAL_MODBUS4 valore istantaneo del 4° tag Modbus configurato …...
  • Page 37: Salvataggio Dei Log Su Microsd Card

    I file di log vengono salvati sulla cartella /log della microSD in formato testo csv. Z-GPRS2/ Z-LOGGER creerà un nuovo file in base al periodo di invio dei log configurato. Il tempo minimo di salvataggio del file è di 2 minuti.
  • Page 38: Gestione Degli Errori Di Connessione Ed Invio Dati Ai Server Ftp E Smtp

    FTP e SMTP via SMS agli amministratori (solo Z-GPRS2). Solo via GPRS (quindi solo per Z-GPRS2) e solo per l’invio dei log su FTP è disponibile la funzione di resume del file: Mentre Z-GPRS2 sta inviando un file di log è possibile che venga persa la comunicazione con il server FTP.
  • Page 39: Test Della Configurazione Per L'invio Delle E-Mail

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER tentare sempre l’invio dei dati tramite la porta ethernet, nel caso vi fosse un qualsiasi problema di connessione (dopo vari tentativi intervallati) il sistema passa all’invio dei dati tramite rete GPRS, il passaggio dalla connessione Ethernet a quella Ethernet può richiedere fino a 2 ore di tentativi.
  • Page 40: Invio Del File "Syslog.csv

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Ogni evento è dotato di un timestamp contenete data e ora dell’evento stesso. 13.2. INVIO DEL FILE “SYSLOG.CSV” Il file Syslog.csv può essere inviato via FTP o via E-MAIL (al primo degli amministratori) tramite i seguenti...
  • Page 41: Gruppi Di Invio

    Per ogni allarme è possibile scegliere un gruppo di contatti a cui l’SMS o la MAIL di allarme può essere inviata. Z-GPRS2 e Z-Logger possono gestire fino a 30 diversi gruppi di invio differenti, ogni gruppo può contenere fino a 20 contatti (SMS o EMAIL).
  • Page 42: Comandi Supportati (Solo Z-Gprs2)

    Alcuni smartphone inviano gli SMS con i caratteri UNICODE invece che utilizzare l’alfabeto GSM. Z-GPRS2 esegue comandi SMS solo con alfabeto GSM. Nella maggior parte dei casi i caratteri SMS sono di default impostati su alfabeto GSM, nel caso Z-GPRS2 non riconoscesse alcun comando sms verificare l’alfabeto utilizzato dal telefono.
  • Page 43 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER GET DIN Stato di tutti i contatori GET DINn Stato di tutti i contatori dell’ingresso n-esimo GET DINn.TOT Stato dei totalizzatori dell’ingresso n-esimo GET DINn.CNT Stato dei contatori dell’ingresso n-esimo RESET DIN Resetta tutti i contatori...
  • Page 44 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER COMANDI SMS PER LE RUBRICHE SET PHONE +nnnnnnn Inserisce in rubrica come amministratore il numero +nnnnnnn RESET PHONE +nnnnnnn Elimina dalla rubrica il numero +nnnnnnn SET EMAIL nnn@nnn.nnn Inserisce in rubrica come amministratore la e- mail nnn@nnn.nnn...
  • Page 45 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER user è il nome utente per l'accesso al server ftp password è la password per l'accesso al server ftp ad esempio: SET /prova/ 192.168.180.33 21 pippo pluto SET GSM.SMTP name_ip porta user password Imposta la configurazione della connessione al server SMTP per l'invio delle e-mail.
  • Page 46: Comandi Sms "Fast" (Solo Z-Gprs2)

    FTP SYSLOG Invia il file di log comandi presente in microSD via FTP In caso di comando non riconosciuto Z-GPRS2 invierà un SMS di errore: “COMMAND NOT RECOGNIZED” E’ possibile configurare l’avvenuta esecuzione del comando in modo che MyALARM2 invii un SMS di conferma o uno squillo.
  • Page 47 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER AZIONE COMMENTO CHIUDE USCITA1/2 Chiude l’uscita1/2 APRE USCITA1/2 Apre l’uscita 1/2 CHIUDE USCITA TEMPORIZZATA1/2 Chiude l’uscita 1/2 per il tempo indicato, poi la apre APRE USCITA TEMPORIZZATA 1/2 Apre l’uscita 1/2 per il tempo indicato, poi la chiude TOGGLE USCITA 1/2 Cambia lo stato dell’uscita 1/2...
  • Page 48 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER MINIMO/BASSO/ALTO/MASSIMO /basso/alto/massimo RIARMA ALLARME ANALOGICO SU Riarma l’allarme analogico 1 o 2 su minimo MINIMO/BASSO/ALTO/MASSIMO /basso/alto/massimo se configurato in riarmo manuale ABILITA ALLARME SU TOTALIZZATORE Abilita l’allarme su valore (eventualmente scalato) del totalizzatore 1 o 2 o 3 o 4 DISABILITA ALLARME SU TOTALIZZATORE Disabilita l’allarme su valore (eventualmente...
  • Page 49: Password Comandi (Solo Z-Gprs2)

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Z-GPRS2 permette di eseguire fino a 3 azioni associate all’arrivo di uno squillo proveniente da un numero abilitato all’operazione (quindi deve provenire da un operatore o da un amministratore). Questa modalità permette di ottenere l’esecuzione di comandi “a costo zero”.
  • Page 50: Timer

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER TIMER Sono disponibili fino a 10 timer per l’esecuzione di azioni: Sono disponibili 2 tipologie di timer: i Timer periodici e i Timer calendario. 16.1. TIMER PERIODICI Ogni timer periodico può eseguire fino a 3 azioni, è possibile scegliere la data di attivazione e spegnimento del timer e la cadenza di intervento del timer.
  • Page 51 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER LUNEDI’ – CHIUSURA USCITA 1 ALLE ORE 8:00, APERTURA ALLE ORE 12:30 LUNEDI’ – CHIUSURA USCITA 1 ALLE ORE 14:00, APERTURA ALLE ORE 18:00 MARTEDI’ – CHIUSURA USCITA 1 ALLE ORE 8:00, APERTURA ALLE ORE 12:30 MARTEDI’...
  • Page 52: Utilizzo Delle E-Mail

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 17. UTILIZZO DELLE E-MAIL 17.1. Informazioni di base sull’invio delle e-mail L’invio di una e-mail avviene tramite la connessione ad un server di tipo SMTP (Simple Mail Transfer Protocol), successivamente questo server si incarica di recapitare la e-mail agli indirizzi richiesti.
  • Page 53: Autenticazione Smtp: User Name E Password

    (ad esempio: info@seneca.it). 17.4. Connessione protetta al server SMTP (solo Z-GPRS2) La connessione al server SMTP protetta è disponibile solo su Z-GPRS2 e solo tramite porta di comunicazione GPRS. Non è possibile attivare la connessione protetta per l’invio di E-MAIL tramite porta Ethernet ma SOLO ATTRAVERSO LA CONNESSIONE GPRS .
  • Page 54: Parametri Dei Principali Server Smtp Senza Connessione Protetta

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 17.5. Parametri dei principali server SMTP senza connessione protetta In laboratorio sono stati effettuati vari test per l’invio di e-mail senza utilizzo della connessione protetta (quindi utilizzabile anche per la porta ethernet), di seguito l’elenco dei parametri che hanno permesso il corretto invio delle e-mail: La porta è...
  • Page 55: Parametri Dei Principali Server Smtp Con Connessione Protetta Via Gprs (Solo Z-Gprs2)

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 17.6. Parametri dei principali server SMTP con connessione protetta via GPRS (solo Z-GPRS2) SERVER SMTP ESEMPIO AUTENTICAZIONE CONNESSIONE PORTA Nome utente password INDIRIZZO NECESSARIA PROTETTA EMAIL smtp.gmail.com nome@gmail.com sì sì nome@gmail.com password La configurazione tipica per l’invio solo via GPRS delle e-mail con GMAIL è la seguente: NOTA Se possibile attivare sempre la funzionalità...
  • Page 56: Allarmi Su Ingressi Analogici

    è fissato a 50ms. Seneca consiglia di abilitare SEMPRE il filtraggio sugli ingressi analogici (voce “filtro misura attivato”) per ottenere una misura più stabile non affetta da disturbi esterni.
  • Page 57: Allarme Su Basso E Minimo

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER ALLARME SU MASSIMO ALLARME SU MASSIMO RIENTRO ALLARME SU MASSIMO RIENTRO ALLARME SU MASSIMO Analogo funzionamento è quello relativo all’allarme su alto. 18.3. Allarme su Basso e Minimo Gli allarmi su “Basso” e “Minimo” permettono di abilitare due diversi allarmi di massima. E’...
  • Page 58: Tempo Di Inibizione Dell'allarme

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER ALLARME SU MASSIMO T filtro T filtro allarme allarme RIARMO ALLARME SU MASSIMO 18.5. Tempo di inibizione dell’allarme E possibile impostare anche un tempo di inibizione al prossimo allarme. Diversamente dal Filtraggio precedente l’allarme è subito attivo ma durante il tempo di inibizione l’allarme è...
  • Page 59: Allarmi Su Ingressi Digitali

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 19. ALLARMI SU INGRESSI DIGITALI Nella sezione “Configurazione ingressi Digitali” è possibile configurare ciascuno dei 4 ingressi digitali. Sono disponibili 5 differenti tipologie di allarme: Allarme su cambio di stato da aperto a chiuso L’allarme è...
  • Page 60: Tempo Di Inibizione Dell'allarme

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Ingresso non filtrato Ingresso filtrato T filtro 19.2. Tempo di inibizione dell’allarme E possibile impostare anche un tempo di inibizione al prossimo allarme. Durante il tempo di inibizione l’allarme è ignorato. Questo tempo è ricaricato dopo ogni allarme.
  • Page 61: Allarmi Su Totalizzatori/Contatori

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 20. ALLARMI SU TOTALIZZATORI/CONTATORI Nella sezione “Configurazione totalizzatori/contatori” è possibile impostare un valore di allarme dei contatori / totalizzatori. Sono presenti sia i contatori che i totalizzatori perché è possibile utilizzare i contatori come valori parziali.
  • Page 62: Allarme Blackout Tensione Di Rete

    • In condizione di mancanza di tensione di rete gli ingressi digitali smettono di funzionare se non alimentati esternamente da un circuito di backup. Gli ingressi analogici e le uscite digitali, invece, continuano a funzionare fino allo spegnimento di Z-GPRS2/Z-Logger. 21.1.
  • Page 63: Allarme Su Incremento Dei Totalizzatori

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 22. ALLARME SU INCREMENTO DEI TOTALIZZATORI Nella sezione “Allarme su incremento degli ingressi” è possibile impostare fino a 4 allarmi (1 per ogni ingresso) in caso di alto o basso incremento del totalizzatore. Questi allarmi permettono di controllare delle portate (gas, liquido etc…) oppure avvisare in caso di mal funzionamento dei...
  • Page 64: Allarme Su Perdite Di Un Impianto

    Il concetto di base è che nel, funzionamento normale, in un tempo di osservazione T, il flusso in un impianto deve essere stato minore di Q per almeno un tempo di conteggio t. Z-GPRS2 e Z-Logger suddividono il tempo di osservazione T in sottomultipli t e analizzano i conteggi dei consumi su ciascuno di questi sottomultipli t.
  • Page 65 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER - Al fine di ottenere valori coerenti e sincronizzati, l’allarme su perdite idriche è gestito dal datalogger, non è quindi possibile attivare contemporaneamente l’allarme su incremento dei totalizzatori.
  • Page 66: Allarme Su Contaore

    25. ALLARME SU ANOMALIA FUNZIONAMENTO PANNELLI SOLARI Z-GPRS2 / Z-Logger permette il controllo di NR 2 stringhe di pannelli fotovoltaici, tramite la lettura dei due valori analogici provenienti da 2 TA connessi. Quando la differenza tra le due correnti di stringa supera il valore K viene generato l’evento di anomalia.
  • Page 67 E’ possibile collegare fino 30 allarmi sia che siano digitali o analogici, ad esempio è possibile collegare 3 moduli Seneca Z-10-D-IN ottenendo 30 ingressi digitali supplementari oppure 2 moduli Seneca Z-10-D-IN e 1 modulo Z-8AI ottenendo 20 ingressi digitali e 8 ingressi analogici supplementari.
  • Page 68: Azione Su Evento

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 27. AZIONE SU EVENTO Z-GPRS2 / Z-Logger in caso di evento allarme oltre ad inviare l’allarme via SMS/E-MAIL può anche eseguire fino a 3 azioni, l’elenco delle azioni che possono eseguire sono: AZIONE COMMENTO CHIUDE USCITA1/2 Chiude l’uscita1/2...
  • Page 69 ABILITA ALLARME SU CONTROLLO CORRENTI DI Abilita allarme su controllo correnti di stringa STRINGA DISABILITA ALLARME SU CONTROLLO CORRENTI Disbilita allarme su controllo correnti di stringa DI STRINGA Per un elenco esaustivo fare riferimento al software Easy Setup / Easy Z-GPRS2 / Easy Z-LOGGER...
  • Page 70: Funzionalita' Server Via Porta Ethernet

    Modbus TCP-IP server 28.1. CONNESSIONE LOCALE ALLA PORTA ETHERNET Per connettere una periferica via ethernet a Z-GPRS2 o Z-Logger bisogna che entrambe abbiano un indirizzo IP compatibile. Se la connessione è fatta sul webserver e il browser utilizza un proxy server è meglio disabilitarne l’utilizzo: Per esempio se l’indirizzo IP di Z-GPRS2 / Z-Logger è...
  • Page 71 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER -Il valore degli ingressi digitali -Il valore degli ingressi analogici -Il valore delle uscite digitali -il valore dei contatori / totalizzatori -il valore delle variabili di log in tempo reale -Il segnale GSM -Il funzionamento a batterie o a tensione di rete Il web server è...
  • Page 72 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER...
  • Page 73: Misure Real Time Sul Webserver

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER ATTENZIONE! PER RAGIONI DI SCUREZZA ATTIVARE SEMPRE L’AUTENTICAZIONE CON NOME UTENTE E PASSWORD PER L’ACCESSO AL WEBSERVER 28.2.1. Misure Real Time sul WEBSERVER Il Webserver può essere adoperato per visualizzare le misure in real-time sia gli ingressi/uscite integrate sia i valori loggati dal datalogger.
  • Page 74 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER La pagina “Analog IN” riporta il valore degli ingressi analogici eventualmente scalati: La pagina “Counters” riporta il valore degli ingressi contatore/totalizzatore eventualmente scalati:...
  • Page 75 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER La pagina “MMBUS REGISTERS” riporta i valori loggati in tempo reale dei TAG Modbus (sia Modbus TCP-IP e Modbus RTU):...
  • Page 76 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER La pagina “Set Real Time Clock” riporta il valore della data ora che può anche essere impostato:...
  • Page 77: Ftp Server

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 28.3. FTP server Il servizio FTP server permette di poter accedere ai log contenuti nella microSD di Z-Logger/ Z- alarm tramite la porta ethernet senza fermare il normale funzionamento del logger. E’ possibile proteggere l’accesso ai log della microSD via FTP tramite un nome utente ed una password 28.3.1.
  • Page 78 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER I file di log si trovano nella cartella /LOG È possibile accedere alla cartella /LOG con il comando “cd”: Con il comando “ls” si ottiene la lista dei log contenuti nella cartella:...
  • Page 79 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Per copiare il file nella directory di partenza (c:\Users\Prove) basta digitare il comando: get <nomefile> ad esempio: Per la lista completa dei comandi ftp disponibili digitare: “help”...
  • Page 80: Modbus Tcp-Ip Server

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER Per ricevere più file di una directory utilizzare il comando mget (multiple get). 28.4. Modbus TCP-IP server Il servizio Modbus TCP-IP server permette di poter accedere ai registri Modbus delle variabili di Z- GPRS2 / Z-Logger.
  • Page 81 MANUALE UTENTE – Z-GPRS2 / Z-LOGGER BIT 3 = INPUT 4 49001 0x0020 REGISTRI SCRITTI IN UN’UNICA 49002 0x0010 SCRITTURA: 49003 0x0200 APRE USCITA 1 49001 0x0020 REGISTRI SCRITTI IN UN’UNICA 49002 0x0020 SCRITTURA: 49003 0x0200 CHIUDE USCITA 1 49001 0x0020 REGISTRI SCRITTI IN UN’UNICA...
  • Page 82: Struttura Dei Registri Modbus Real Time Log

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER MSW 49410 LSW 49413 TOTALIZER 3 MSW 49414 LSW 49417 TOTALIZER 4 MSW 49418 40156 GSM LEVEL (0-7) 40126 VBAT (min 2200, max 2800) 40006 BIT 7 = 1 POWER SOURCE OK BIT 7 = 0 POWER SOURCE DOWN...
  • Page 83: Accesso A Z-Gprs2 / Z-Logger Da Internet (Solo Tramite Porta Ethernet)

    IP pubblico non è statico, è possibile ottenere uno utilizzando un DNS dinamico come Dyndns (http://dyn.com/). Ad esempio: L'indirizzo IP del router è 192.168.90.1 e l'indirizzo del modulo Z-GPRS2 è 192.168.90.101 con il web server configurato sulla porta 80. L'indirizzo pubblico del router è 73.13.150.123.
  • Page 84 192.168.90.101 8080 UDP/TCP Con questa configurazione, tutto il traffico Internet sulla porta 8080 con indirizzo IP 73.13.150.123 verrà reindirizzato al webserver di Z-GPRS2/Z-Logger sulla porta 80 all'indirizzo IP 192.168.90.101. Quindi, per l'accesso al webserver utilizzando un browser dobbiamo digitare: http://73.13.150.123:8080 Una configurazione simile può...
  • Page 85: Aggiornamento Del Firmware

    Sono disponibili 2 diverse modalità per aggiornare il firmware: Via USB: E’ il metodo più semplice, un aggiornamento completo impiega circa 5 minuti. E’ necessario collegare Z-GPRS2 / Z-Logger ad un PC con installato il software Easy Z-GPRS2/Z- Logger/Easy Setup.
  • Page 86: Aggiornamento Via Microsd Card (Senza Uso Di Pc)

    8. Al termine del procedimento modulo si spegne e si riavvia automaticamente E’ possibile verificare l’aggiornamento del firmware: -Collegando il modulo al software Easy Z-GPRS2/Z-Logger la revisione firmware (in basso a sinistra: “Connesso a … FW XXXX”) è cambiata. ATTENZIONE! -PRIMA DI EFFETTUARE L'AGGIORNAMENTO firmware prendere nota dell'attuale configurazione -Una volta aggiornato il firmware la precedente configurazione può...
  • Page 87: Attivare La Porta Di Debug

    MANUALE UTENTE – Z-GPRS2 / Z-LOGGER 31. ATTIVARE LA PORTA DI DEBUG E’ possibile attivare la porta di debug posta lateralmente a Z-GPRS2. Tramite la porta di debug è possibile visualizzare e salvare su file il log delle operazioni eseguite da Z- GPRS2/Z-Logger.
  • Page 88: Comandi Disponibili Tramite Software Di Configurazione

    COMANDI DISPONIBILI TRAMITE SOFTWARE DI CONFIGURAZIONE Nella sezione “Test configurazione” del software di configurazione sono disponibili una serie di pulsanti che permettono di impartire dei comandi a Z-GPRS2/Z-Logger utili per il debug e alcuni importanti funzioni: COMANDO COMMENTO TEST E-MAIL Invia una mail di test al primo degli amministratori e- mail.
  • Page 89 Il software di configurazione include anche il driver per l’utilizzo della connessione su USB. ATTENZIONE! Solo per la prima installazione, prima di connettere Z-GPRS2 o Z-Logger alla porta USB è necessario aver installato il software Easy Z-GPRS2/Z-Logger o Easy Setup. Quindi: 1) Installare il software Easy Z-GPRS2/Z-Logger o Easy Setup su un PC dotato di sistema operativo Micorsoft ™...
  • Page 90: Il Kit-Usb

    Windows Update” (altrimenti l’operazione può richiedere oltre 5 minuti). 5) E’ ora possibile utilizzare la connessione miniUSB 34. IL KIT-USB The KIT-USB può essere acquistato da Seneca (anche tramite il sito di E-commorce www.seneca.it) Il kit contiene: • NR1 CD con I driver per Windows e i software di configurazione Easy •...
  • Page 91: Soluzione Ai Problemi

    -E’ stato impostato un server SMTP di una compagnia telefonica concorrente rispetto la SIM utilizzata Tramite il software di configurazione Nel caso di invio tramite porta Ethernet Seneca nella sezione “Test configurazione” alla consiglia di utilizzare un server SMTP proprietario.
  • Page 92 Sostituire la SIM card o contattare l’operatore telefonico mobile. L’aggiornamento firmware di Z-GPRS2/Z- -L’aggiornamento via USB richiede che Z-GPRS2 / Z- Logger dal software Easy via USB fallisce Logger siano alimentati da una fonte esterna all’USB.
  • Page 93 (Other) This document is property of SENECA srl. Duplication and reproduction of its are forbidden (though partial), if not authorized. Contents of present documentation refers to products and technologies described in it. Though we strive for reach perfection continually, all technical data contained in this document may be modified or added due to technical and commercial needs;...
  • Page 94 USER MANUAL – Z-GPRS2 / Z-LOGGER Date Version Changes 14/05/2013 Changes for firmware 2670_200 Added modbus tag reading commands via SMS Added troubleshooting chapter Added internal Modbus I/O registers Added hour meter log Changed Webserver: added GSM signal, Power type.
  • Page 95 SUPPORTED SIM CARDS (Z-GPRS2 ONLY) ............22 GSM SIGNAL (Z-GPRS2 ONLY) ................23 GPRS CONNECTION (ZGPRS2 ONLY) ..............25 GPS COORDINATES ....................26 GPS COORDINATES VIA GPRS NETWORK (Z-GPRS2 ONLY) ......26 10.1. BACKUP BATTERIES .................... 27 DATALOGGER ....................... 28 12.1.
  • Page 96 LOG SMS ......................37 12.10. LOG SAVE ON MICROSD CARD ................ 38 12.11. SAVING COUNTERS/TOTALIZERS ..............38 12.12. LOG FILE SEND TIME VIA GPRS (Z-GPRS2 ONLY) ........39 12.13. 12.14. FTP AND SMTP SERVER DATA CONNECTION AND SEND ERROR MANAGEMENT ........................ 39 12.15.
  • Page 97 SET THE TELEPHONE SMS CHARACTER ALPHABET ........44 LIST OF SUPPORTED SMS COMMANDS ............44 15.2. "FAST" SMS COMMANDS (Z-GPRS2 ONLY) ............ 48 15.3. "ZERO COST" RING COMMANDS (Z-GPRS2 ONLY) ........51 15.4. COMMAND PASSWORD (Z-GPRS2 ONLY) ............51 15.5. TIMERS ........................52 PERIODIC TIMERS .....................
  • Page 98 USER MANUAL – Z-GPRS2 / Z-LOGGER 17.6. MAIN SMTP SERVER PARAMETERS WITH GPRS PROTECTED CONNECTION (Z-GPRS2 ONLY) ..................57 ALARMS ON ANALOG INPUTS................58 ANALOG INPUT FILTER ..................58 18.1. ALARM ON HIGH AND MAXIMUM ..............58 18.2. ALARM ON LOW AND MINIMUM ..............59 18.3.
  • Page 99 28.4. MODBUS TCP-IP SERVER .................. 81 MODBUS REAL-TIME LOG REGISTER FORMAT ........83 28.4.1. Z-GPRS2 / Z-LOGGER ACCESS VIA INTERNET (ONLY VIA ETHERNET PORT) FIRMWARE UPDATE ..................... 87 30.1. UPDATE VIA USB (USING EASY Z-GPRS2/Z-LOGGER / EASY SETUP SOFTWARE) ........................87 UPDATE VIA MICROSD CARD (WITHOUT USING A PC) ........
  • Page 100: Seneca Z-Gprs2 / Z-Logger

    CAUTION! -Contact your telephone service provider for GSM and GPRS service costs especially when using Z-GPRS2 with a sim issued by a country other than the one in which it is used (international roaming). -It is best to estimate telephone costs before setting up Z-GPRS2.
  • Page 101 (from 5 to 30 seconds) and the time due to any server login attempts. -Check the data quantity sent via GPRS and SMS before using Z-GPRS2. Please remember that mobile phone service providers also consider the entire communication that permits file transmission (and thus data transmission overhead, the number of connection attempts, etc.) and not just the dimensions as data traffic in each GPRS transaction.
  • Page 102: Characteristics

    USER MANUAL – Z-GPRS2 / Z-LOGGER 2. Characteristics Z-GPRS2 Z-GPRS2 is a multi-protocol programmable datalogger/RTU with GSM/GPRS modem and embedded IO. • Supply voltage 11..40 Vdc; 19..28 Vac max 6.5 W 2 AAA 1.2 V, NiMh rechargeable backup batteries •...
  • Page 103 USER MANUAL – Z-GPRS2 / Z-LOGGER Z-LOGGER Z-LOGGER is a multi-protocol programmable datalogger/RTU with embedded IO. • Supply voltage 11..40 Vdc; 19..28 Vac max 6.5 W NR 2 AAA 1.2 V, NiMh rechargeable backup batteries • • 500 Vac insulation between remaining circuit power •...
  • Page 104: Specifications

    USER MANUAL – Z-GPRS2 / Z-LOGGER 3. Specifications DIGITAL INPUTS Number of channels Input type Settable PNP, NPN. Power voltage 12 Vdc Power current 20 mA Maximum frequency 30 Hz Absorbed current 3 mA DIGITAL OUTPUTS Number of channels Output type...
  • Page 105 USER MANUAL – Z-GPRS2 / Z-LOGGER Current input 0.0.20 mA precision 0,1% FS Input protections Yes, 12Vdc or 25mA Resolution 16 bits COMMUNICATION PORTS RS 485 #1 Port #1, on IDC10 back RS 485 #2 Port #2, M10/M11/M12 terminal Ethernet...
  • Page 106 USER MANUAL – Z-GPRS2 / Z-LOGGER REGULATIONS EN61000-6-4/2002-10 Electromagnetic emission, industrial environment. EN61000-6-2/2006-10 Electromagnetic immunity, indust rial environment. EN 301 511 (Z-GPRS2 only) Harmonized standard for mobile stations in the 900 and 1800 bands. EN 301 489-1 (Z-GPRS2 only) ElectroMagnetic Compatibility standard for radio equipment and services.
  • Page 107: Connections

    USER MANUAL – Z-GPRS2 / Z-LOGGER 4. Connections DESCRIPTION Analog inputs Auxiliary Power supply Terminals voltage V/I [2] V/I [1] Settable 0..10 Vdc 0..20 mA 12..15 Vdc @40 mA from Set power or current analog inputs using Easy Z-GPRS2/Z-Logger installation module software.
  • Page 108 USER MANUAL – Z-GPRS2 / Z-LOGGER Micro SD, SDHC maximum 32GB. Push push connector for insertion and removal Ethernet, RJ45 10/100 Mbit USB mini B Not used...
  • Page 109 USER MANUAL – Z-GPRS2 / Z-LOGGER SW COMMUNICATION ■ = ON IDC10 back connector: CANopen (not supported) IDC10 back connector: RS485 ■...
  • Page 110: Signal Leds

    USER MANUAL – Z-GPRS2 / Z-LOGGER 5. SIGNAL LEDS 5.1. Z-GPRS2 leds STATUS MEANING Digital output, relay energised Digital output, relay not energised Digital output, relay energised Digital output, relay not energised PWR/ STS Z-GPRS2 on but log stopped Awaiting Boot...
  • Page 111: Z-Logger Leds

    USER MANUAL – Z-GPRS2 / Z-LOGGER SLOW FLASH Registered on GSM/GPRS network (about 3 sec) FAST FLASHING Searching GSM/GPRS network (about 0.5 sec) Digital Input FOUND NO digital input Digital Input FOUND NO digital input Digital Input FOUND NO digital input...
  • Page 112 485 ACT FLASHING Activity on RS485 ETH LNK FLASHING Connection on RJ45 on ETH TRF FLASHING Packet transit on Ethernet port For further information, see the Z-GPRS2 installation manual available for free download at www.seneca.it in the Z-GPRS2 / Z-Logger section.
  • Page 113: Basic Notions

    4 digital inputs, 2 analog inputs and 2 relay digital outputs. Z-GPRS2 I/O and remote Modbus RTU or Modbus TCP-IP registers can be logged and sent as a file in csv format (comma separated values) via ftp or email and saved on microSD. Z-GPRS2 can also send the last row of the log file via SMS.
  • Page 114: Supported Sim Cards (Z-Gprs2 Only)

    Subscription voice SIM CARD Data transmission only SIM CARD "Zero cost" operations can be run only on voice type SIM CARDS, if Z-GPRS2 receive a ring an action can be made. For "top-up" SIM CARDS Z-GPRS2 can manage residual credit requesting the amount from the telephone service provider.
  • Page 115: Gsm Signal (Z-Gprs2 Only)

    USER MANUAL – Z-GPRS2 / Z-LOGGER 8. GSM signal (Z-GPRS2 only) The Z-GPRS2 GSM signal level can be found via Easy Setup / Easy Z-GPRS2/Z-Logger software (in the “test“ section). To view the GSM signal level, the SIM CARD supplied by the telephone service provider to be used must be inserted (signal may change radically based on the selected provider).
  • Page 116 CAUTION! -Contact your telephone service provider for GSM and GPRS service costs especially when using Z-GPRS2 with a sim issued by a country other than the one in which it is used (international roaming). -It is best to estimate telephone costs before setting up Z-GPRS2.
  • Page 117: Gprs Connection (Zgprs2 Only)

    USER MANUAL – Z-GPRS2 / Z-LOGGER 9. GPRS connection (ZGPRS2 only) GPRS (General Packet Radio Service ) connection is required to: -Send log files via FTP -Send logs/alarms via email Without using an Ethernet internet connection. If only SMS are used, you don’t need to use the GPRS service.
  • Page 118: Gps Coordinates

    USER MANUAL – Z-GPRS2 / Z-LOGGER 10. GPS coordinates GPS coordinates can be manually entered or acquired from the GPRS network (Z-GPRS2 only) in Google Maps ™ compatible format. Sunrise and sunset can be calculated by Z-Logger/Z-GPRS2 based on the internal calendar when the GPS coordinates are known.
  • Page 119: Backup Batteries

    3) Runs any actions tied to the blackout 4) Closes all files opened on microSD 5) The card turns off If data is not being sent, Z-GPRS2/Z-logger take between 5 and 10 seconds to turn off in the event of blackout. CAUTION! Z-GPRS2/Z-LOGGER IS SUPPLIED WITHOUT CHARGED BATTERIES.
  • Page 120: Datalogger

    Z-GPRS2 and Z-Logger come with an internal clock/calendar. This clock can be synchronised using Easy setup/ Easy Z-GPRS2/Z-Logger software (in the "Test setup" section or when a new setup is sent) or via internet connection. Daylight savings time management can be either manual or...
  • Page 121: Embedded I/O Log

    12.4. Embedded I/O log Z-GPRS2 and Z-Logger are equipped with a wide range of analog and digital inputs and 2 relay outputs. Variable acquisition time in the datalogger is independent of the analog input, counter and totalizer sampling time.
  • Page 122 USER MANUAL – Z-GPRS2 / Z-LOGGER (for example, the series of Modbus TCP-IP Seneca ZE modules. For further information, visit www.seneca.it). CAUTION! The number of modbus RTU TAG added to the number of modbus TCP-IP TAG cannot exceed 100. Setup software will automatically limit the number of TAGS.
  • Page 123: Modbus Log Error Management

    Modbus Log Error Management Based on the type of Modbus bus error, the log file is written differently: -If in log time, Z-GPRS2/Z-Logger did not successfully acquire 1 valid TAG value, “Undef” is logged in the log file instead of a numeric value.
  • Page 124 An example of a file name: GPRS_Padova_log2012071217401000.csv “GPRS_Padova_” is the name of the device set with Easy Setup / Easy Z-GPRS2/Z-Logger software The first sample date is thus 12/07/2012 at 17:40 and 10 seconds. 00 is the number of attempts.
  • Page 125: Logger Setup

    The variables to be logged (totalizers, analog inputs). • Log send via ftp, email and save on microSD. • Enable SMS send with the last row of the log file to a group of contacts (for Z-GPRS2 only). • 12.8. Setting up Log delivery The next "Log send setup"...
  • Page 126: Serial Log Setup On Modbus Rtu And Modbus Tcp-Ip Protocol

    (1) and send in "Minutes" (8) every 25 minutes (9) are NOT possible. Easy Setup/ Easy Z-GPRS2 / Easy Z-LOGGER software will automatically round send time (9) to a multiple of sampling time. In this case, the new value will be 30. If send time is "Daily", the sampling time (1) will be automatically rounded to be within an exact day (corresponding to 1440 minutes).
  • Page 127: Setting Modbus Registers To Be Logged

    Log file settable fields Log file fields are: INDEX It is always the sequential number of sampling run from the last time Z-GPRS2 was turned off. TYPE It is always the type of log for future use, currently the message "LOG" appears.
  • Page 128 USER MANUAL – Z-GPRS2 / Z-LOGGER It is always the Z-GPRS2 date-time in dd/month/year hour:minutes:seconds format DIN1 DIN2 DIN3 DIN4 DOUT1 DOUT2 VBAT POWER Where the meanings are the following DINx is the xth digital input value. If OFF = input open, if ON = input closed DOUTx is the xth output value.
  • Page 129: Log Sms

    USER MANUAL – Z-GPRS2 / Z-LOGGER DELTAn n totalizer increase from previous sample CONTAOREn current n-th hour meter value Current GSM signal value from 0 (minimum) to 7 (maximum) MODBUS TAGs Modbus tag status: VAL_MODBUS1 real-time value of the 1st set Modbus tag...
  • Page 130: Log Save On Microsd Card

    Log files are saved in the microSD folder/log in .csv text format. Z-GPRS2/ Z-LOGGER will create a new file based on the set log send period. Minimum file save time is 2 minutes.
  • Page 131: Log File Send Time Via Gprs (Z-Gprs2 Only)

    Counter/totalizer values are lost when Z-GPRS2 / Z-LOGGER is turned off with the batteries dead (the next time it is turned on, the value saved at 4:00 will be used or, if Z-GPRS2 / Z-LOGGER was not on at that date, 0).
  • Page 132: Ethernet/Gprs Communication Channel Redundant Function (Z-Gprs2 Only)

    12.15. Ethernet/GPRS communication channel redundant function (Z-GPRS2 only) Z-GPRS2 can be set to use the Ethernet communication channel as the primary and GPRS as backup. This function allows Z-GPRS2 to always attempt to send data via the Ethernet port, if there are any connection problems (after various attempts), the system switches to send data via the GPRS network.
  • Page 133: Syslog.csv" File Content

    USER MANUAL – Z-GPRS2 / Z-LOGGER 13.1. “SYSLOG.CSV” FILE CONTENT The file "syslog.csv" contains a list of events (alarms, commands received etc ...). Every event has a timestamp containing time and date of the event itself. 13.2. “SYSLOG.CSV” FILE SEND...
  • Page 134: Contact Address Book And Delivery Groups

    14.4. Delivery groups A group of contacts can be selected to receive alarm SMS or EMAILS for each alarm. Z-GPRS2 and Z-Logger can manage up to 30 different delivery groups. Each group can contain up to 20 contacts (SMS or EMAIL).
  • Page 135 USER MANUAL – Z-GPRS2 / Z-LOGGER A group can be selected for an alarm or log. This allows you to divide events between the various contacts (for example, maintenance, users, technicians, etc.). The following illustration provides an example of how groups are divided for an alarm:...
  • Page 136: Supported Commands (Z-Gprs2 Only)

    Some Smartphones send SMS with UNICODE characters instead of using the GSM alphabet. Z-GPRS2 only runs SMS commands with GSM alphabet. In most cases, SMS characters are set to GSM alphabet by default. If Z-GPRS2 does not recognise any SMS command, check the alphabet used by the phone.
  • Page 137 USER MANUAL – Z-GPRS2 / Z-LOGGER SMS COMMANDS FOR DIGITAL INPUTS/COUNTERS/TOTALIZERS GET DIN Status from all counters GET DINn All nth input counter status GET DINn.TOT All nth input totalizers status GET DINn.CNT All nth input counters status RESET DIN...
  • Page 138 USER MANUAL – Z-GPRS2 / Z-LOGGER SET PULSEn.OPEN Opens the nth timed output SMS COMMANDS FOR ADDRESS BOOKS SET PHONE +nnnnnnn Add number +nnnnnn to address book as administrator RESET PHONE +nnnnnnn Remove number +nnnnnn from the address book SET EMAIL nnn@nnn.nnn Add email nnn@nnn.nnn to address book as...
  • Page 139 USER MANUAL – Z-GPRS2 / Z-LOGGER path the FTP server folder where files are sent name_ip IP address or FTP server name port FTP server gateway user FTP server login user name password FTP server login password for example: SET /prova/ 192.168.180.33 21 pippo pluto SET GSM.SMTP name_ip port user password...
  • Page 140: Fast" Sms Commands (Z-Gprs2 Only)

    FTP SYSLOG Sends the command log file in the microSD via FTP If the command is not recognised by Z-GPRS2, an error SMS will be sent: “COMMAND NOT RECOGNIZED” You can set MyALARM2 to send a confirmation SMS or ring when the command is successfully completed.
  • Page 141 USER MANUAL – Z-GPRS2 / Z-LOGGER The commands to be associated can be selected from the table using Easy Z-GPRS2/Z-Logger/Easy Setup software: ACTION COMMENT CLOSE OUTPUT1/2 Closes output 1/2 OPEN OUTPUT1/2 Opens output 1/2 CLOSE TIMED OUTPUT 1/2 Closes output 1/2 for the indicated time, then...
  • Page 142 ENABLE ALARM ON STRING STREAM CONTROL Enables alarm on string stream control DISABLE ALARM ON STRING STREAM CONTROL Disables alarm on string stream control For a full list of possible FAST commands, see Easy Setup/ Easy Z-GPRS2 / Easy Z-Logger software.
  • Page 143: Zero Cost" Ring Commands (Z-Gprs2 Only)

    USER MANUAL – Z-GPRS2 / Z-LOGGER 15.4. "ZERO COST" RING COMMANDS (Z-GPRS2 ONLY) Z-GPRS2 lets you run up to 3 actions tied to a ring from a classified number (thus from an operator or administrator). This mode lets you run "zero cost" commands. NOTE -To keep zero cost for Z-GPRS2, DO NOT answer the call! The phone will ring for about 40 seconds after which Z-GPRS2 automatically hangs up.
  • Page 144: Timers

    USER MANUAL – Z-GPRS2 / Z-LOGGER TIMERS Up to 10 timers are available to run actions: 2 types of timers are available: periodic Timers and calendar Timers. 16.1. PERIODIC TIMERS Each periodic timer can run up to 3 actions. The timer start and end date and timer trip frequency can be selected.
  • Page 145 USER MANUAL – Z-GPRS2 / Z-LOGGER TUESDAY - CLOSE OUTPUT 1 AT 14:00:00, OPEN AT 18:00:00 WEDNESDAY - CLOSE OUTPUT 1 AT 08:00:00, OPEN AT 12:30:00 WEDNESDAY - CLOSE OUTPUT 1 AT 14:00:00, OPEN AT 18:00:00 THURSDAY - CLOSE OUTPUT 1 AT 08:00:00, OPEN AT 12:30:00...
  • Page 146: Email Use

    USER MANUAL – Z-GPRS2 / Z-LOGGER 17. EMAIL USE 17.1. Basic information on sending emails An email is sent via connections with an SMTP type server (Simple Mail Transfer Protocol). This server is assigned to delivering the email to the required addresses.
  • Page 147: Smtp Authentication: User Name And Password

    17.3. SMTP authentication: user name and password Connections can be made to an SMTP server with or without authentication. Z-GPRS2 permits server connections via authentication with a user name and password. The user name typically coincides with the first part of the email address (for example: info), or the entire email address (for example: info@seneca.it).
  • Page 148 USER MANUAL – Z-GPRS2 / Z-LOGGER Various email delivery tests were conducted in the laboratory without using protected connections (thus also useable for the Ethernet port). A list of parameters that permitted correct email delivery is provided below: The port is always 25:...
  • Page 149: Main Smtp Server Parameters With Gprs Protected Connection (Z-Gprs2 Only)

    USER MANUAL – Z-GPRS2 / Z-LOGGER 17.6. Main SMTP server parameters with GPRS protected connection (Z-GPRS2 only) EMAIL ADDRESS SMTP SERVER AUTHENTICATION PORT User name password EXAMPLE NECESSARY PROTECTED CONNECTION smtp.gmail.com name@gmail.com name@gmail.com password The typical setup to send email with GMAIL via GPRS only is the following: NOTE The protected connection function could be always enabled.
  • Page 150: Alarms On Analog Inputs

    Voltage or current can be set for each of the 2 analog inputs in the “Analog Input Setup” section. Input acquisition time is 50ms. Seneca recommends you ALWAYS enable analog input filter ("read filter on" item) to obtain the most stable reading not influenced by external disturbances.
  • Page 151: Alarm On Low And Minimum

    USER MANUAL – Z-GPRS2 / Z-LOGGER ALARM ON MAXIMUM ALARM ON MAXIMUM ALARM ON MAXIMUM CLEARED ALARM ON MAXIMUM CLEARED Alarm on high works in the same way. 18.3. Alarm on Low and Minimum “Low” and “Minimum” alarms let you enable two different maximum alarms. A hysteresis can also be set (shown as “Hist”...
  • Page 152: Alarm Inhibition Time

    USER MANUAL – Z-GPRS2 / Z-LOGGER ALARM ON MAXIMUM T filter T filter alarm alarm ALARM ON MAXIMUM RESET 18.5. Alarm inhibition time An inhibition time on the next alarm can be set. Unlike the previous filter, the alarm is immediately active but ignored during the alarm inhibition time.
  • Page 153: Alarms On Digital Inputs

    USER MANUAL – Z-GPRS2 / Z-LOGGER 19. ALARMS ON DIGITAL INPUTS Each of the 4 digital inputs can be set in the "Digital Input Settings" section. 5 types of alarms are available: Alarm on status change from open to closed...
  • Page 154: Alarm Inhibition Time

    USER MANUAL – Z-GPRS2 / Z-LOGGER Input not filtered Input filtered T filter 19.2. Alarm inhibition time An inhibition time on the next alarm can be set. The alarm is ignored during inhibition time. This time is reset after each alarm.
  • Page 155: Totalizer/Counter Alarms

    USER MANUAL – Z-GPRS2 / Z-LOGGER 20. TOTALIZER/COUNTER ALARMS A counter/totalizer alarm value can be set in the "Totalizer/counter settings" section. Both totalizers and counters are included because counters can be used as partial values. 20.1. Alarm inhibition time An inhibition time on the next alarm can be set. The alarm is ignored during inhibition time. This...
  • Page 156: Blackout Alarm

    USER MANUAL – Z-GPRS2 / Z-LOGGER 21. BLACKOUT ALARM An alarm can be set for a continuous blackout for a settable time in the "Blackout Alarm" section. The alarm can also be enabled when power returns. CAUTION! • Activating the power return alarm, both alarms will be generated each time the card is turned on/off.
  • Page 157: Alarm On Totalizer Increase

    USER MANUAL – Z-GPRS2 / Z-LOGGER 22. ALARM ON TOTALIZER INCREASE Up to 4 alarms can be set in the "Alarm on input increase" section (1 per input) for high or low totalizer increase. These alarms monitor flows (gas, liquid, etc.) or warn in the event of energy generator malfunctions (photovoltaic, panels, wind generators, etc.).
  • Page 158: Alarm On Plant Loss

    The basic concept is that in normal operations, in observation time T, plant flow must be less than Q for at least the count time t. Z-GPRS2 and Z-Logger divide observation time T into sub-multiples t and analyses consumption counts on each of these sub-multiples t.
  • Page 159 USER MANUAL – Z-GPRS2 / Z-LOGGER -To obtain coherent and synchronised values, the alarm on plumbing loss is managed by the datalogger and thus the alarm on totalizer increase cannot be simultaneously activated.
  • Page 160: Hour Counter Alarm

    25. ALARM ON SOLAR PANEL MALFUNCTION Z-GPRS2 / Z-Logger allows NR 2 strings of photovoltaic panels to be controlled by reading the two analog values from the 2 TA connected to the inputs. When the difference between the two string streams exceeds the K value, a malfunction event is generated.
  • Page 161: Action On Event

    USER MANUAL – Z-GPRS2 / Z-LOGGER 27. ACTION ON EVENT In the event of alarm, in addition to sending the alarm via SMS/email, Z-GPRS2 / Z-Logger can run up to 3 actions. The list of possible actions are: ACTION COMMENT...
  • Page 162 (if plumbing leak control application is enabled) ENABLE ALARM ON STRING STREAM CONTROL Enables alarm on string stream control DISABLE ALARM ON STRING STREAM CONTROL Disables alarm on string stream control For a full list, see Easy Setup / Easy Z-GPRS2 / Easy Z-LOGGER software...
  • Page 163: Server Function Via Ethernet Port

    LOCAL CONNECTION TO THE ETHERNET PORT To connect a peripheral via Ethernet to Z-GPRS2 or Z-Logger, both must have a compatible IP address. If the connection is made on web server and the browser uses a proxy server, it is best to disable-it: For example, if the Z-GPRS2 / Z-Logger IP address is 192.168.90.101 with subnet mask 255.255.255.0 the...
  • Page 164 USER MANUAL – Z-GPRS2 / Z-LOGGER -the value of analog inputs -the value of digital outputs -the hour meter/totalizer values -the value of log variables in real-time -the GSM signal -battery or mains power The web server was tested with leading browsers and i-phone ™, i-pad ™ and android ™...
  • Page 165 USER MANUAL – Z-GPRS2 / Z-LOGGER...
  • Page 166: Real Time Readings On Webserver

    USER MANUAL – Z-GPRS2 / Z-LOGGER CAUTION! FOR SECURITY REASONS, ALWAYS ENABLE USER NAME AND PASSWORD AUTHENTICATION FOR WEB SERVER ACCESS 28.2.1. Real Time readings on WEBSERVER The web server can be used to view real-time embedded input/output readings and values logged by the datalogger.
  • Page 167 USER MANUAL – Z-GPRS2 / Z-LOGGER The "Analog IN" page displays analog input values, scaled if activated: The "Counters" page displays counter/totalizer input values, scaled if activated:...
  • Page 168 USER MANUAL – Z-GPRS2 / Z-LOGGER The “MMBUS REGISTERS” page displays the Modbus TAG values logged in real time (both Modbus TCP-IP and Modbus RTU):...
  • Page 169 USER MANUAL – Z-GPRS2 / Z-LOGGER The “Set Real Time Clock” page displays the date and time that can also be set:...
  • Page 170: Ftp Server

    USER MANUAL – Z-GPRS2 / Z-LOGGER 28.3. FTP server The FTP server lets you access the logs in the Z-Logger/ Z-alarm microSD via the Ethernet port without stopping normal logger operations. MicroSD log access via FTP can be protected by a user name and password 28.3.1.
  • Page 171 USER MANUAL – Z-GPRS2 / Z-LOGGER Log files are in the /LOG folder Use the "cd" command to open the /LOG folder: Use the "Is" command to obtain the list of logs in the folder:...
  • Page 172 USER MANUAL – Z-GPRS2 / Z-LOGGER To copy the file in the source directory (c:\Users\Prove) enter: get <filename> for example: For the full list of available ftp commands, enter: “help”...
  • Page 173: Modbus Tcp-Ip Server

    To receive more files in a directory use the command mget (multiple get). 28.4. Modbus TCP-IP server The Modbus TCP-IP server service provides access to Z-GPRS2 / Z-Logger variable Modbus registers. In addition to the embedded I/O variables, log variables can be accessed in real-time.
  • Page 174 USER MANUAL – Z-GPRS2 / Z-LOGGER 49001 0x0020 REGISTERS WRITTEN IN A SINGLE 49002 0x0010 WRITE: 49003 0x0200 OPEN OUTPUT 1 49001 0x0020 REGISTERS WRITTEN IN A SINGLE 49002 0x0020 WRITE: 49003 0x0200 CLOSE OUTPUT 1 49001 0x0020 REGISTERS WRITTEN IN A SINGLE...
  • Page 175: Modbus Real-Time Log Register Format

    USER MANUAL – Z-GPRS2 / Z-LOGGER LSW 49413 TOTALIZER 3 MSW 49414 LSW 49417 TOTALIZER 4 MSW 49418 40156 GSM LEVEL (0-7) 40126 VBAT (min 2200, max 2800) 40006 BIT 7 = 1 POWER SOURCE OK BIT 7 = 0 POWER SOURCE DOWN...
  • Page 176 USER MANUAL – Z-GPRS2 / Z-LOGGER 48003 Register 2 LSW 48004 Register 3 MSW 48005 Register 3 LSW 48006 Register 4...
  • Page 177: Z-Gprs2 / Z-Logger Access Via Internet (Only Via Ethernet Port)

    29. Z-GPRS2 / Z-LOGGER ACCESS VIA INTERNET (ONLY VIA ETHERNET PORT) The router can be set to access Z-GPRS2/Z-Logger via Internet using a static IP address. This operation is known as “virtual server” or “Port forwarding”. See the router documentation for further information.
  • Page 178 USER MANUAL – Z-GPRS2 / Z-LOGGER IP ADDRESS PRIVATE PORT PUBLIC PORT PROTOCOL 192.168.90.101 UDP/TCP...
  • Page 179: Firmware Update

    2 different update modes are available for firmware: Via USB: This is the easiest method. A complete update takes about 5 minutes. Z-GPRS2 / Z- Logger must be connected to a PC with Easy Z-GPRS2/Z-Logger/Easy Setup software installed.
  • Page 180 CAUTION! -BEFORE UPDATING firmware, note the current configuration. -Once the firmware is updated, the previous setup may be deleted and thus Z-GPRS2 / Z- LOGGER must be setup again. -Keep in mind that a subsequent Easy Z-GPRS2/Z-Logger/ Easy Setup software version may not...
  • Page 181: Debug Port Enable

    31. DEBUG PORT ENABLE You can activate the debug port located on the Z-GPRS2 side. Using the debug port, you can view and save to a file log of operations performed by Z-GPRS2/Z- Logger. To connect to the debug port you must use the USB adapter "Easy USB" , buy-it directly on the site...
  • Page 182: Commands Available Through The Configuration Software

    Software Configuration, by selecting the type of debug flags that you need. COMMANDS AVAILABLE THROUGH THE CONFIGURATION SOFTWARE In the "Test configuration" of the configuration software, a series of buttons are available, This buttons allow you to send commands to Z-GPRS2/Z-Logger : COMMAND COMMENT TEST E-MAIL Send a test email to the first email administrators.
  • Page 183 2) When finished, confirm driver installation by clicking "Install driver software": When the driver is installed the system is ready for connection with Z-GPRS2/Z-Logger. 3) When finished, connect Z-GPRS2 or Z-Logger to a PC using a miniUSB cable (see chapter ) Click on the device driver installation icon...
  • Page 184: Usb Kit

    5 minutes). 5) MiniUSB connection can now be used 34. USB KIT The USB KIT can be purchased from Seneca (also on the e-commerce site www.seneca.it) The kit contains: • NR1 CD with drivers for Windows and Easy setup software •...
  • Page 185: Troubleshooting

    -The SMTP server supports SSL protection and the gateway was not correctly set Using the configuration software in the If you send Log via Ethernet, Seneca recommended to "Test configuration" section when you use an owner SMTP server. press the button:...
  • Page 186 -The SIM card expired, replace the SIM card or contact your logs. mobile phone provider. Z-GPRS2/Z-Logger firmware update from -Update via USB requires Z-GPRS2 / Z-Logger to be Easy software via USB fails powered by a source other than the USB: Power modules from Terminal or IDC10 connector.

This manual is also suitable for:

Z-logger

Table of Contents