background image

 
 

 

 

Page 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MI003574_EN 

SENECA s.r.l. 

Via Austria 26, PADOVA 

– ITALY 

Tel. +39.049.8705355 

– 8705359 Fax. +39.049.8706287 

Web site: 

www.seneca.it   

Customer service: 

supporto@seneca.it

 (IT), 

support@seneca.it

 

(Other)

 

Commercial information

commerciale@seneca.it

 (IT)

sales@seneca.it

 

(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; 
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. 

 

USER MANUAL 

Z-GPRS2-SEAL 

Z-LOGGER-SEAL 

Z-GPRS2-SEAL 

Multi-protocol Datalogger/RTU with GSM/GPRS modem and embedded I/O 

Z-LOGGER 

Multi-protocol Datalogger/RTU with embedded I/O 

 

Summary of Contents for Z-GPRS2-SEAL

Page 1: ...cts 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...

Page 2: ...Syslog week rotation Added chapters Fw update Configuration update and Troubleshooting 21 05 14 3 Changed chapters Local and remote firmware and configuration update Added chapter Extended Phonebook...

Page 3: ...14 1 3 Technical Specifications 14 1 4 Digital Inputs 14 1 5 Digital outputs 15 1 6 Analog Inputs 15 1 7 Communication Ports 15 1 8 Storage units 16 1 9 Power supply 16 1 10 Environmental conditions...

Page 4: ...6 SUPPORTED SIM CARDS Z GPRS2 ONLY 26 7 GSM SIGNAL Z GPRS2 ONLY 27 8 BACKUP BATTERY 29 9 USB DRIVER INSTALLATION ON MICROSOFT WINDOWS OPERATING SYSTEMS 29 9 1 Installing the USB driver on Windows XP W...

Page 5: ...3 11 14 Menu Build Generate and send to RTU 54 11 15 Menu Window Build Output 55 11 16 Menu Window Edit Form 55 11 17 Menu Window Logs 55 11 18 Menu Window Default Layout 56 11 19 Menu Window Tile Hor...

Page 6: ...old Event 110 13 7 Event Block RTC_DAYLIGHT Daylight Event 110 13 8 Event Block RTC_DAWN Sunrise Event 110 13 9 Event Block RTC_DUSK Sunset Event 110 13 10 Event Block RTC_SYNC Time Synchronization Er...

Page 7: ...T STATE BITS TEST FUNCTION 118 15 2 Function Block BIT_AND AND REGISTERS STATE BITS TEST FUNCTION 119 15 3 Function Block BIT_AND OR REGISTERS STATE BITS TEST FUNCTION 121 15 4 Function Block CMP ANAL...

Page 8: ...ion Block DOUTS SET1_RES2 Set digital output 1 and Reset digital output 2 action 148 17 6 Action Block DOUT RESET Reset digital output action 149 17 7 Action Block DOUT SET Set digital output action 1...

Page 9: ...2 Remote configuration update by Ethernet connection Modbus TCP IP Server enabled 160 22 3 Remote configuration update by GPRS connection 161 23 EXTENDED PHONEBOOK INTO MICROSD FOR RING COMMAND 162 23...

Page 10: ...USER MANUAL Z GPRS2 SEAL Z LOGGER SEAL 10 27 TROUBLESHOOTING 176...

Page 11: ...RS AND SENECA DEALERS DO NOT GUARANTEE THAT THE FUNCTIONS FAITHFULLY MEET THE EXPECTATIONS AND THAT Z GPRS2 AND OR Z LOGGER THEIR FIRMWARE AND SOFTWARE ARE FREE OF ERRORS OR FUNCTION UNINTERRUPTEDLY S...

Page 12: ...conds to be sent in addition to the time necessary to establish the connection from 5 to 30 seconds and the time due to any server login attempts Check the data quantity sent via GPRS and SMS before u...

Page 13: ...iniUSB port for settings MicroSD support microSD or microSDHC max 32 Gb NR4 32 bits max 30 Hz totalizers NR4 32 bits max 30 Hz resettable counters Possibility of expanding the number of I O via Modbus...

Page 14: ...e B miniUSB port for settings MicroSD support microSD or microSDHC max 32 Gb NR4 32 bits max 30 Hz totalizers NR4 32 bits max 30 Hz resettable counters Possibility of expanding the number of digital o...

Page 15: ...t consumption 3 mA 1 5 Digital outputs Channels number 2 Output type Relay Maximum Voltage 250 Vac Maximum Current 2 A 1 6 Analog Inputs Channels number 2 Input type Current Voltage configurable Volta...

Page 16: ...Internal Flash 2 Mbytes for configuration and for logger Buffer MicroSD microSD and microSDHC max 32 GB supplied with 1 2 or 4GBytes microSD 1 9 Power supply Voltage 11 40 Vdc 19 28 Vac Power consump...

Page 17: ...andard for mobile stations in the GSM 900 and 1800 bands EN 301 489 1 only Z GPRS2 ElectroMagnetic Compatibility standard for radio equipment and services EN 301 489 7 only Z GPRS2 Specific EMC condit...

Page 18: ...nnections The analog input 1 voltage current is connected to terminal 4 sign for the voltage the current exit and 6 sign to the voltage the current incoming The analog input 2 voltage current is conne...

Page 19: ...ttom connector IDC10 for connecting to the Z BUS Seneca WARNING In order to use the Z BUS connector RS485 as you need to move SW2 to rear IDC10 connector is 485 SW2 ON Rear IDC10 connector CANopen not...

Page 20: ...ls 19 20 21 19 Normally open relay 1 21 Shared relay 1 22 Normally close relay 1 22 Normally open relay 2 23 Shared relay 2 24 Normally close relay 2 2 6 Digital inputs connections It s possible to pr...

Page 21: ...elay not energised DO2 ON Digital output relay energised OFF Digital output relay not energised PWR STS ON Z GPRS2 on but log stopped OFF Awaiting Boot SLOW FLASH 3 sec ON and 0 5 OFF Log on normal op...

Page 22: ...igital Input FOUND OFF NO digital input DI2 ON Digital Input FOUND OFF NO digital input DI3 ON Digital Input FOUND OFF NO digital input DI4 ON Digital Input FOUND OFF NO digital input SD STS FLASHING...

Page 23: ...ery powered log off FAST FLASH 0 2 sec ON and 0 2 sec OFF Battery charge low shutting down DI1 ON Digital Input FOUND OFF NO digital input DI2 ON Digital Input FOUND OFF NO digital input DI3 ON Digita...

Page 24: ...alarm trips max 31 characters An Http post to a server can be also used only with GPRS connection Other types of alarms concern counters totalizers digital input increases power outage plumbing leaks...

Page 25: ...the event of a blackout and then shuts down automatically The procedure can take from 5 seconds to a maximum of 10 minutes For more information about the backup batteries refer to the batteries chapt...

Page 26: ...ice 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 CAUTION Before inse...

Page 27: ...SM signal dBm 0 MINIMUM 115 1 106 2 97 3 88 4 79 5 70 6 61 7 MAXIMUM 52 Where 0 it s the minimum and 7 it s maximum For correct ftp or email log operations the minimum required field level is 2 7 plea...

Page 28: ...ts before setting up Z GPRS2 The cost of each SMS is set by the telephone service provider GPRS send receive costs can be tied to Kbytes sent received a monthly ceiling included in a package or GPRS c...

Page 29: ...TTERIES BY CHARGING Z GPRS2 Z LOGGER FOR AT LEAST 48H BEFORE USE WHEN Z GPRS2 Z LOGGER IS BATTERY POWERED THE DIGITAL INPUTS STOP WORKING THEY MUST BE EXTERNALLY POWERED TO CONTINUE THEIR OPERATIONS I...

Page 30: ...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 4 The PC searches for the driver For faster installation click Ignore...

Page 31: ...he graph explorer window The Graph Panel window The Element Outliner window contains the database of blocks that are used into the Graph Panel window to build a program Into SEAL a program is a set of...

Page 32: ...blocks from the element outliner window to the Graph Panel window 10 2 Program Execution in the Graph Panel The execution of the program is from left to right if there is more than one graph all the l...

Page 33: ...event control this block performs the logic and select the right action output An Event can be created by a single block for example a Digital input event or by more than one blocks using variables a...

Page 34: ...IN1 Analog IN2 0 In the example the event output becomes True if Analog Input 1 Analog Input 2 The Event Control select the right output action if the input conditions are verified In this example if...

Page 35: ...Z GPRS2 SEAL Z LOGGER SEAL 35 Every Event Control block can route up to 6 different input output routes Route 1 Route 2 Etc Actions can be performed for example on the digital ouputs or on the Modbus...

Page 36: ...nu bar The SEAL menu bar is composed by the following items File Edit Project RTU Build Window Help 11 1 Menu File New will create a new SEAL project Load will open an existing project from a seal fil...

Page 37: ...on in the Graph Panel Redo This redoes the most recent action that you ve undone in the Graph Panel if any 11 3 Menu Project Project Settings General Reports the information related the actual setting...

Page 38: ...show in the Log window the compiled values Fill unused If checked compile all the registers also not used if not checked compile only the used registers so the sent to RTU phase is faster Debug If che...

Page 39: ...Yes Yes Yes Manager Yes No No No For example we need to obtain this policy USER BETTY Must receive the digital input 1 SMS notification alerts Must receive the E mail log notifications USER BILL Must...

Page 40: ...y the digital input 1 SMS notification alerts so we need to create a custom group DigitalIN1 Now we need to create a new user profile BettyProfile that include the custom group DigitalIN1 and the Logs...

Page 41: ...L Z LOGGER SEAL 41 Bill must send SMS commands so must include the group manager must also receive digital input 2 alerts so we need to create a custom group DigitalIN2 So we must create the custom Us...

Page 42: ...USER MANUAL Z GPRS2 SEAL Z LOGGER SEAL 42 And then we add the Bill user with the new BillProfile Paul must receive only log notifications so he must directly use the default log admin user profile...

Page 43: ...GPRS2 SEAL Z LOGGER SEAL 43 Antony must use the Administrator special user profile because he must receive all the SMS notification alerts So we modify the Administrator Profile The relations are sum...

Page 44: ...also available for the ring command action this extended address book support up to 1000 different users For create a new user use the icon for delete a user use the icon For modify a user configurati...

Page 45: ...ger Log Admin Alert Admin or a custom profile Phone number if the RTU have a modem GSM GPRS this is the user telephone number used for calls or SMS E MAIL address this is the user E MAIL address used...

Page 46: ...onnection port is the serial port connected to the PC select the right Z GPRS2 Z logger virtual com port note that you must first connect the Z GPRS2 Z Logger and then after Press the icon to refresh...

Page 47: ...me data Now you can view real time data General RTU Clock will show the actual RTU time data RTU Clock Synchronization is used for synchronize the clock with the PC clock or to a custom time data Pres...

Page 48: ...AL NOT RELIABLE FOR SMS AND GPRS SIGNAL LEVEL 2 SUFFICIENT SIGNAL MINIMUM SIGNAL FOR SMS AND GPRS SIGNAL LEVEL 3 RELIABLE SIGNAL RELIABLE FOR SMS AND GPRS SIGNAL LEVEL 4 GOOD SIGNAL SIGNAL LEVEL 5 VER...

Page 49: ...USER MANUAL Z GPRS2 SEAL Z LOGGER SEAL 49 Configurations In this section you can see the IP Address configuration and the Calculated Sunrise and Sunset time if they are configured...

Page 50: ...e ON OFF the work time input Also are presents the Total and Partial counters raw values not scaled Analog Inputs show the Raw and the scaled Analog input 1 and 2 values Digital Outputs show the digit...

Page 51: ...dministrators Send TEST FTP File will send a test file to the configured FTP and directory Restart Modem GSM will reset the GSM modem Stop Master Modbus will stop to acquire data log from Modbus RTU M...

Page 52: ...parameters use the Application file for a full configuration The setup file must be setup tag Application Update from SD will force to use the SEAL configuration and program to be used with a firmware...

Page 53: ...the extended phonebook The extended Phonebook consist in a list of phone numbers max 1000 numbers that will be able to activate the ring command configured The csv list file must be like this note the...

Page 54: ...to the RTU 11 14 Menu Build Generate and send to RTU This item will build and then send the project to the RTU if no errors are detected a build ok message will be displayed If errors are detected an...

Page 55: ...item will show the Output Message window If in the build process errors are detected the errors description will be underlined in the Output Messages window 11 16 Menu Window Edit Form This item will...

Page 56: ...nu Window Tile Horizontal The Tile Horizontal configure the SEAL windows in the Tile Horizontal layout 11 20 Menu Window Tile Vertical The Tile Vertical configure the SEAL windows in the Tile Vertical...

Page 57: ...Operator Select the SIM mobile operator from the database or use the Custom operator Country Calling Code Select the right country code note that you must add the character too SIM Type Select if you...

Page 58: ...perator messages too Enable SMS Service Center Number if checked force the SMS service center instead of the service center registered into the SIM Credit request this function can be used for recharg...

Page 59: ...the Mobile operator Access Point Name server for internet connection contact your mobile operator for more information APN Authentication Required Select if the APN needs or not a user name and passw...

Page 60: ...ained automatically from the DHCP server often the router gateway IP Address Enter the static IP address Subnet mask Enter the Subnet Mask Gateway IP Address Enter the Gateway Router IP address for ac...

Page 61: ...rnal FTP server the FTP server file system is the microSD card so you can acquire the log files directly from the FTP server For use an FTP client remember to force the only one connection option for...

Page 62: ...USER MANUAL Z GPRS2 SEAL Z LOGGER SEAL 62 Web Server If checked enable the Web server with the Web server is possible to view the real time values of the embedded IO and the Modbus RTU TCP IP IO...

Page 63: ...Enable Authentication If checked you must enter a password for accessing the Web server and the FTP Server Seneca recommend always to enable the authentication for Web and FTP server CAUTION The FTP S...

Page 64: ...a SCADA or an external display PC etc The registers address are all holding registers the first register register 0 is the 40001 MSW is for Most Significant Word MSB is for Most Significant Bit LSW i...

Page 65: ...SE OUT 1 49001 0x0020 49002 0x1000 49003 0x0200 WRITEABLE ONLY IN ONE MULTIPLE WRITE COMMAND FOR OPEN OUT 2 49001 0x0020 49002 0x2000 49003 0x0200 WRITEABLE ONLY IN ONE MULTIPLE WRITE COMMAND FOR CLOS...

Page 66: ...Bm 40128 V BATTERY min 2200 max 2800 40008 BIT 7 1 POWER SOURCE OK BIT 7 0 POWER SOURCE DOWN 48003 START SHARED MEMORY FOR MODBUS LOG 48202 STOP SHARED MEMORY FOR MODBUS LOG All Datalogger real time v...

Page 67: ...Floating point single precision Register 4 16 bit signed The obtained format is the following Modbus address Register 48003 Register 1 48004 Register 2 MSW 48005 Register 2 LSW 48006 Register 3 MSW 4...

Page 68: ...server is the follower NTP IP Address DESCRIPTION 193 204 114 232 ntp1 ien it default 193 204 114 233 ntp2 ien it default 217 147 223 78 europe pool ntp org 140 130 175 9 asia pool ntp org 203 23 237...

Page 69: ...using the Network Time Protocol NTP from Ethernet or the GPRS for synchronize data hour you must configure the right Timezone because the server hour is UTC Universal Time Coordinating The UTC and GM...

Page 70: ...he Ethernet Network Time Protocol or GPRS automatic synchronization Manual Synchronization Select to synchronize manually using the PC Date Hour or to a custom Date Hour then press the SYNC button to...

Page 71: ...s If you select to calculate the sunrise sunset from GPS you can select to insert the Latitude Longitude directly or using the GPRS network Locate from GPRS The Locate from GPRS option use the coordin...

Page 72: ...USER MANUAL Z GPRS2 SEAL Z LOGGER SEAL 72 latitude 45 404235 decimal degree longitude 11 876113 decimal degree You can add an offset in minutes to the Sunrise Sunset action too 12 4 Cloud General...

Page 73: ...and alert notifications to one or more e mails Enable FTP Upload to Server If checked send log notifications to the FTP server Upload Folder Enable FTP Download from Server If checked enable the RTU...

Page 74: ...ile is over the max file size will not be sent but will not be deleted from the local ftp SMTP Configure the Simple Mail Transfer Protocol if you have chosen to send log notifications or alert notific...

Page 75: ...feature you must configure a folder the upload folder where the RTU will download firmware updates or Configurations Upload Folder Enter the Folder where the RTU send the log notifications Download F...

Page 76: ...hernet MAC address to the Upload Download folder Add RTU Name to folder If checked will add the RTU Name to the Upload Download folder Only IMEI RTU_Name or MAC RTU_Name can be selected simultaneously...

Page 77: ...to the Modbus RTU Port 1 and Port 2 also the Modbus TCP IP client can be configured here Up to 100 Modbus RTU TCP IP TAGs can be configured Press with the right button mouse over the serial port that...

Page 78: ...ests Select the delay between two register requests Request Timeout Select how many time to wait before pass to the next register Press APPLY to apply changes Now select the serial port is configured...

Page 79: ...atabase If your slave is not in the database select custom for customize a slave module Now push Apply Now on the serial port 2 a Modbus RTU slave module Z D IN is configured Now we must add the regis...

Page 80: ...se all the others items will be automatically adjusted Select the Log Units the Control Action register only in Read or Write and if you want to add a custom filter to the register You can select up t...

Page 81: ...ble Scale The scale filter is used for apply a scale factor to the Modbus value the filter result is obtained by the relation Average The average filter is used for obtaining a moving average on the s...

Page 82: ...o consecutive Modbus Value read The filter result is obtained by the relation 1 Poll Time is the Register Polling time request time or refresh time For adding a Modbus TCP IP node you must select the...

Page 83: ...bus Server label You must setup also the TCP IP port default for Modbus TCP IP is 502 and the Modbsu TCP IP Server IP address Now the new Modbus TCP IP Server is added Now we must add the Registers to...

Page 84: ...LOGGER SEAL 84 Now the registers window will appear Select Register Custom the Modbus Access Modbus function to use and the Data Type The others items are the same of the Modbus serial RTU setup 12 6...

Page 85: ...ection Periodic Report if selected send data to cloud every selected minutes Daily Report if selected send data to cloud every day at the selected hour Weekly if selected send data to cloud each day d...

Page 86: ...ail or FTP You can also save a backup of the csv file to the microSD card the RTU will save the files to the log directory This files can be extracted activating the internal RTU FTP server or extract...

Page 87: ...l The Modbus Tags are at the end of the window Note that if you have applied a filter to the modbus value only the filter output value will be logged A brief embedded I O variable description is Analo...

Page 88: ...sampled value DINx_CNT is the partial counter x sampled value DINx_WRK is the input x work time sampled how many time the input is been ON or OFF DINx_STS is the digital input x sampled status value 1...

Page 89: ...elect also how the notification can be sent to the cloud SMS E mail or by a GPRS connection a Post to an HTTP server Also select if you want to log all the diagnostics to the microSD the log file is s...

Page 90: ...TU machine to machine communication you must uncheck this item Ring Action Select the PRG1 and PRG2 action to execute when a ring from an authorized user is received from the RTU Select also if the RT...

Page 91: ...USER MANUAL Z GPRS2 SEAL Z LOGGER SEAL 91 Select the Enable button for selecting the Command to enable from the commands database...

Page 92: ...indow can be used for customizing the State command 1 to state command 4 Select the PRG1 or PRG2 command defined in the General section or and the Digital Out function Select also the Run groups that...

Page 93: ...USER MANUAL Z GPRS2 SEAL Z LOGGER SEAL 93 Run Groups When you drag and drop one or more event controls in the graph panel you can select the run group associated...

Page 94: ...n group configuration in the Run Group section In this example EC1 is configured in the run group1 EC2 in the run group2 You can change the run group directly from the Run Groups window by drag and dr...

Page 95: ...s Message In this window you can select which tags must be sent in the status message CAUTION The status message can be sent also by SMS so you must consider that the SMS text limit is 160 chars Custo...

Page 96: ...USER MANUAL Z GPRS2 SEAL Z LOGGER SEAL 96 Advanced In this window you can select witch section enable disable into the debug log The debug log is obtained by the Debug serial port...

Page 97: ...f operations performed by the RTU To connect to the debug port you must use the USB adapter Easy USB buy it directly on the site Seneca www seneca it or contact Seneca for more info The connection to...

Page 98: ...t The RTU include a battery for UPS mode so the RTU can send an alert on main power fail After a Blackout the RTU will If configured send alerts If configured close the microSD file log switch off aut...

Page 99: ...ated on condition change state Entry state the alert is activated on state so there is no need of a change state False At startup the RTU alert is on False state so if the alert source was True the al...

Page 100: ...nsor connected to the analog input In the example above you can see how to scale a linear temperature input sensor from 4 20mA to 10 C 100 C CAUTION If the Input scaling is activated the datalogger wi...

Page 101: ...no need of a change state False At startup the RTU alert is on False state so if the alert source was True the alert is activated otherwise if at startup the alert source was False the alert is activa...

Page 102: ...the alarm is activated when the analog input is threshold but the alarm rearm is obtained when at the analog input is Threshold Hysteresis 12 10 Digital Input Configuration Window General ALARM ON MA...

Page 103: ...ne input will copy the selection to all the digital inputs Input Logic Select if the input is normally open or normally close Pulse weight If Checked you can setup the weight of one pulse of the parti...

Page 104: ...ut is ON the alert will be activated at startup True At startup the input alert is on so there is a need of a subsequent input change state because the alert is activated For example if you have set t...

Page 105: ...eight Flow and Work Time In this window you can setup alerts on delta counters or on work time counters Delta Alert condition Select alert condition related to the delta variables None the alert on De...

Page 106: ...1 m3 h maximum admitted flow Q 0 1 m3 h for at least one of the 10 minute t sample time t 10 minutes If this is not the case it means that there is a parasite utility in addition to the 2 utilities th...

Page 107: ...g the selected digital input was to 1 When the digital input return to 0 the work time will stop but don t reset This alert is useful for scheduled maintenance Alarm Threshold is the time threshold us...

Page 108: ...al output was to state ON When the digital input return to OFF the work time will reset Timeout Select for obtaining how long the selected digital input was to ON When the digital input return to OFF...

Page 109: ...battery is not charged is False if the internal battery is charged 13 3 Event Block AIN_MAX Analog Input Maximum Threshold Event The Event Block AIN_MAX output is TRUE if the analog maximum threshold...

Page 110: ...k AIN_MIN output is TRUE if the analog minimum threshold configured is exceeded otherwise is FALSE 13 7 Event Block RTC_DAYLIGHT Daylight Event The Event Block RTC_DAYLIGHT output is TRUE after the su...

Page 111: ...or by ethernet channels The output pulse go from FALSE to TRUE then return to FALSE 13 11 Event Block DIN_ON Not filtered Digital Input ON Event The Event Block DIN_ON output is TRUE if the digital i...

Page 112: ...state otherwise is FALSE 13 15 Event Block DIN_WORK_ALM Work Time Event The Event Block DIN_WORK_ALM output is TRUE if the work time is in alert state otherwise is FALSE 13 16 Event Block DIN_DELTA_A...

Page 113: ...gger variable is 1 otherwise is FALSE The SYS_POW variable in the datalogger is 1 if the main power is ok 0 if the main power is down CAUTION The block only works if the variable is checked into the D...

Page 114: ...s checked into the Data Logger Variables window the variable refresh time is the datalogger sample time 14 4 Variable Block AIN_AVG Analog Input Datalogger Average Value The Variable Block AIN_AVG out...

Page 115: ...The Variable Block AIN_MAX output value is the copy of the AIN_MAX datalogger value The maximum is calculated into the sample time the acquisition speed is fixed at 50 ms CAUTION The Block only works...

Page 116: ...Counter Value Sampled Variable The Variable Block DIN_CNT output is a copy if the DIN_CNT data logger variable sampled value CAUTION The Block only works if the variable is checked into the Data Logge...

Page 117: ...106 2 97 3 88 4 79 5 70 6 61 7 MAXIMUM 52 CAUTION The Block only works if the variable is checked into the Data Logger Variables window the variable refresh time is the datalogger sample time 14 12 V...

Page 118: ...BLOCKS FUNCTIONS 15 1 Function Block BIT STATE BITS TEST FUNCTION This block perform a bit test to the input variable connected The output boolean True False value is obtained by the relation OUTPUT...

Page 119: ...ary 1001 0101 0001 0111 the output function is TRUE But if the input is in binary 1001 0101 0001 0110 the output function is FALSE 15 2 Function Block BIT_AND AND REGISTERS STATE BITS TEST FUNCTION Th...

Page 120: ...And the input1 value is in binary 0001 0101 0010 1000 The Output function is TRUE because both the test are true Similarly you can test INPUT1 if the NR 0 1 2 and 4 bits of the are 1 but the 3 5 and...

Page 121: ...T_MASK1 OR INPUT2 BIT_MASK2 Where is the boolean and bit to bit operator OR is the boolean OR operator For create the BIT_MASK click on the block Where don t care this bit is not tested this bit must...

Page 122: ...o if the input1 is for example in binary 1001 0101 0001 0111 or if the input2 is for example in binary 1111 0001 0110 0001 the output function is TRUE 15 4 Function Block CMP ANALOG DIFFERENCE COMPARE...

Page 123: ...NALOG THRESHOLD COMPARE WITH HYSTERESIS FUNCTION This block perform the analog compare function between the input and the configured threshold also a hysteresis can be configured The output boolean Tr...

Page 124: ...for the True to False output transition 15 6 Function Block CPY ANALOG VARIABLE COPY TO ANOTHER VARIABLE WITH TRIGGER FUNCTION This block function copies the analog variable value from the INPUT to th...

Page 125: ...t input copied value actual input value Event threshold If you want to always copy the variable then select Event threshold 0 15 7 Function Block LST SCALED ANALOG INPUTS LESS THAN COMPARE FUNCTION Th...

Page 126: ...IN Insert the INPUT2 multiplication constant value also the sign or 15 8 Function Block GRT SCALED ANALOG INPUTS GREATER THAN COMPARE FUNCTION This block function applies a scale factors to the inputs...

Page 127: ...AIN Insert the INPUT2 multiplication constant value also the sign or 15 9 Function Block POW ANALOG INPUTS MULTIPLICATION GREATER THAN COMPARE FUNCTION This block perform a multiplication between the...

Page 128: ...he Threshold compare value 15 10 Function Block AVG ANALOG AVERAGE GREATER THAN COMPARE FUNCTION This block function calculate an average of all the inputs than compare this average with a threshold T...

Page 129: ...unction Inputs Select the input pad numbers from 2 to 16 Note that you can t leave unconnected an input pad Data Type Fixed to floating point 32 bits Event Threshold Insert the Threshold compare value...

Page 130: ...value is obtained by the relation OUTPUT TRUE IF IN1 AVG THRESHOLD OR IN2 AVG THRESHOLD OR IN16 AVG THRESHOLD OUTPUT FALSE IF IN1 AVG THRESHOLD AND IN2 AVG THRESHOLD AND IN16 AVG THRESHOLD Function I...

Page 131: ...ith a threshold The compare output is emit to each output pad input 1 compare to output 1 input 2 compare to output 2 and so on Each output boolean True False value is obtained by the relation OUTPUTx...

Page 132: ...ic heart of the SEAL program in the Graph Panel can contain up to 32 EC blocks The EC Control block can have up to 4 boolean inputs and up to 6 boolean outputs The EC inputs accept boolean events each...

Page 133: ...hen Execute Action Output 1 IF INPUT1 FALSE Then Execute Action Output 2 The EC configuration for obtain the above logic is The IF INPUT1 TRUE Then Execute Action Output 1 can be created in the State...

Page 134: ...tates is 6 from S1 to S6 If in the EC there are more than one input the state conditions are put in boolean AND The boolean AND operator put the output TRUE only if are TRUE all the inputs IF IN1 COND...

Page 135: ...EAL Z LOGGER SEAL 135 Then if the Digital input 2 3 and 4 must be True for obtain a digital output 1 reset Note that we have used the icon for obtain a don t care input evaluation 16 2 Control Block E...

Page 136: ...re the inputs values that active the actual state logic configuration Select from don t care this input is not evaluated this input must be True 1 this input must be False 0 Logic state Representation...

Page 137: ...tion is executed one time then the Event Control remain paused into the current state until a command SMS or an action will repeat the event control inputs evaluation without the need of an inputs cha...

Page 138: ...Mode Select the EC run mode Run Group Select wich rungroup is associated to the EC from Group 1 to Group 8 Append Notification to syslog Add to the file syslog csv the notification event Block info Fu...

Page 139: ...16 4 Control Block CAL Calendar Block Control The calendar block is used for execute 2 differents actions one of set en another of reset at a determinate hour day of week The block support up to 2 pro...

Page 140: ...ction OUTPUT2 is the PRG1 SET action OUTPUT3 is the PRG2 RESET action OUTPUT4 is the PRG2 SET action General Calendar Schedule select the enable date hour and the disable date hour block Block Info Ad...

Page 141: ...Set action bill be executed the second 15 00 is the hour when the Reset action bill be executed 16 5 Control Block TRG Timed Trigger Block Control The Timed trigger block is used for execute one acti...

Page 142: ...PUT2 is the PRG1 cycle trigger action OUTPUT1 is the PRG2 periodic trigger action OUTPUT2 is the PRG2 cycle trigger action General Trigger Function Trigger Schedule select the enable date hour and the...

Page 143: ...y execute every day at a selected hour Weekly execute at the selected day of week Monthly execute at the selected day of month Yearly select at the selected day of year 16 6 Control Block TMR Timer Co...

Page 144: ...OFF OUTPUT1 Event ON General Counter Type select from ON timeout counter use only the ON action and the ON timeout OFF timeout counter use only the OFF action and the OFF timeout ON OFF use ON and OFF...

Page 145: ...up the RTU alert is on False state so if the alert source was True the alert is activated otherwise if at startup the alert source was False the alert is activated only at a following alert source cha...

Page 146: ...e alert source was True the alert is activated otherwise if at startup the alert source was False the alert is activated only at a following alert source change state True At startup the RTU alert is...

Page 147: ...2 Action Block DOUTS SET Set digitals output 1 and output 2 action This action performs the digital output 1 and digital output 2 set action OUTPUT CONFIGURATION SET ACTION NORMALLY OPEN THE OUTPUT W...

Page 148: ...eset and the digital output 2 set action OUTPUT CONFIGURATION RESET ACTION NORMALLY OPEN THE OUTPUT WILL OPEN NORMALLY CLOSE THE OUTPUT WILL COSE OUTPUT CONFIGURATION SET ACTION NORMALLY OPEN THE OUTP...

Page 149: ...UTPUT WILL OPEN 17 6 Action Block DOUT RESET Reset digital output action This action performs the digital output reset action OUTPUT CONFIGURATION RESET ACTION NORMALLY OPEN THE OUTPUT WILL OPEN NORMA...

Page 150: ...PUT IS OPEN THE OUTPUT WILL CLOSE THE OUTPUT IS CLOSE THE OUTPUT WILL OPEN 17 9 Action Block PULSE_RESET Pulse Reset output action This action performs a digital ouput pulse to RESET then return to SE...

Page 151: ...FIGURATION PULSE SET ACTION NORMALLY OPEN THE OUTPUT WILL GO TO CLOSE AND THEN RETURN TO OPEN NORMALLY CLOSE THE OUTPUT WILL GO TO OPEN AND THEN RETURN TO CLOSE 17 11 Action Block PULSE_TOGGLE Pulse T...

Page 152: ...OPEN AND THEN WILL RETURN CLOSE 18 BLOCKS ACTIONS MODBUS 18 1 Action Block BIT_CLR Modbus Register Bit Clear action This block performs a Modbus Register bit clear action Select which bit must be set...

Page 153: ...e mask 18 3 Action Block DEC Modbus Register Decrement Action This block performs a Modbus Register decrement The written value is Modbus_register Actual Modbus Register 1 18 4 Action Block INC Modbus...

Page 154: ...der to include new functions the system includes Z GPRS2 Z Logger firmware update options Various different update modes are available for firmware Via USB This is the easiest method A complete update...

Page 155: ...icroSD folder 2 Turn the module off and than on 3 With the module on insert the microSD card in the slot 4 The SD STS led starts to flash at 1 second intervals for about 20 seconds The new firmware is...

Page 156: ...enu Build 5 Go to the new configuration directory then rename the out file to fwupdt tag 6 Copy to the RTU FTP server the file fwupdt tag to the root of the RTU FTP server 7 Copy to the RTU FTP server...

Page 157: ...re file RTUNAME _fwupdt bin to the remote FTP server into the upload folder 6 Write to the COMMAND holding register 40901 holding register 9000 the code decimal 113 This will download to the SD card t...

Page 158: ...download ftp folder the RTUNAME_fwupdt tag and the RTUNAME _setup tag files where RTUNAME is the RTU name from the Cloud General Form for example 5 Copy the firmware file RTUNAME _fwupdt bin to the r...

Page 159: ...2 Turn the device OFF 3 Insert the microSD card in the slot 4 Power ON the device 5 The configuration is updated and the device will reboot 22 REMOTE CONFIGURATION UPDATE 22 1 Remote configuration upd...

Page 160: ...ate by Ethernet connection Modbus TCP IP Server enabled 1 Setup the project settings window for create all the configuration and the program 2 Create the new configuration with SEAL save the configura...

Page 161: ...ction For changing the actual SEAL configuration program to a remote RTU that use the GPRS connection you must 6 Setup the project settings window for create all the configuration and the program 7 Cr...

Page 162: ...ated 23 EXTENDED PHONEBOOK INTO microSD FOR RING COMMAND SEAL supports the creation of an extended phonebook up to 1000 users that can execute only the ring command 23 1 Creation of an Extended Phoneb...

Page 163: ...cally updated 23 3 Update of an Extended Phonebook File Via Gprs For update the phonebook via GPRS you must copy the RTUNAME_data bin file to the ftp server download folder that you have previously co...

Page 164: ...sender number is enabled Command list 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 s...

Page 165: ...MBUSn Returns the value of the n th Modbus tag via SMS SMS COMMANDS FOR DIGITAL OUTPUTS GET DOUT Returns the value of the digital output GET DOUTn Returns the value of the nth digital output SET DOUT...

Page 166: ...ARD only STATUS Returns the variables set by setup software All available variables can be included If the SMS text exceeds 160 characters it will be truncated three dots at the end of the SMS SET GSM...

Page 167: ...two analog input values EMAIL TEST Forces an email sent with an attachment to the first administrator in the email address book FTP TEST Forces a text file sent to the currently set ftp server EMAIL...

Page 168: ...he RTU will download from the FTP download folder the fwupdt bin firmware file Then if the release il different from the installed a firmware update is done DOWNLOAD SETUP The RTU will download from t...

Page 169: ...ver by Ethernet connection you are able to send commands to Z GPRS2 Z Logger The register COMMAND is at holding address 49001 holding register 9000 COMMAND VALUE decimal RESET RTU 1 UNMOUNT SD CARD 7...

Page 170: ...FAST COMMAND 2 50 EXECUTE FAST COMMAND 3 51 EXECUTE FAST COMMAND 4 52 EXECUTE FAST COMMAND 5 53 EXECUTE FAST COMMAND 6 54 EXECUTE FAST COMMAND 7 55 EXECUTE FAST COMMAND 8 56 EXECUTE FAST COMMAND 9 57...

Page 171: ...e alert condition in state S1 and the alert end condition in state S2 We active also the SMS alert notification to the Alert Admin profile So when the digital input goes from OFF to ON if configured n...

Page 172: ...ca Z 4TC Modbus module Connect to Output 1 a fan and to output 2 a heater We want to log the temperature to the micro SD card too We add the CH1_MEASURE register from the Z 4TC Seneca module with the...

Page 173: ...SEAL Z LOGGER SEAL 173 For logging in to the datalogger window we select the modbus register variable from the Z 4TC We call the variable Temp We sample every 1 minute and we save to microSD a csv fi...

Page 174: ...net connection Using the ethernet connection is possible to copy inputs to outputs through internet We use a Ethernet module for copy 3 Analog inputs from the Z 4AI to the 3 Analog outputs of the Z 3A...

Page 175: ...OGGER SEAL 175 The modbus configuration use a Z Bridge2 connected with a Z 4AI then another Z Bridge2 with a Z 3AO We use the analog copy block for read using Modbus TCP IP from the Z 4AI channels an...

Page 176: ...s only SSL security in the ethernet port you can not enable SSL protection Sending the SMS command ftp test no ftp file reaches the set ftp server The FTP server folder does not exist Create the folde...

Page 177: ...op up but subscription No communications from RS485 serial 1 BUS IDC10 Turn switch SW2 to ON see chapter 2 Z GPRS2 worked correctly for a few days months but stopped sending SMS and logs No SIM credit...

Reviews: