background image

USER MANUAL – Z-TWS4/Z-PASS2-S/S6001-RTU 

 
 

 

 

140 

 

 

 

Since  this  is  the  digital  output  used 
to  monitor  remote  connection,  its 
value  (“Remote  connection  active”) 
cannot be changed.

 

Output 2 Mode 

This  parameter  represents  the 
operating  mode  of  the  Digital 
Output 2 (DO 2). 
Possible 

modes 

are: 

“General 

output” | “Remote toggle”

21

.

 

General output

 

Input/Output 1 Mode

 

This  parameter  represents  the 
operating  mode  of  the  Digital 
Input/Output  1  (first  configurable 
digital I/O) (DIDO 1). 
Since  this  is  used  as  an  input  for 
“Remote 

Connection 

Disable” 

feature, 

its 

value 

(“Remote 

connection  disable”)  cannot  be 
changed.

 

Remote connection disable

 

Input/Output 2 Mode

 

This  parameter  represents  the 
operating  mode  of  the  Digital 
Input/Output 2 (second configurable 
digital I/O) (DIDO 2). 
Possible modes are: “General input” 
| “General output” | “Local alarm”.

 

General output

 

Service Disable 

This  parameter  determines  which 
access  services  are  disabled  when 
“Remote Connection Disable” digital 
input is HIGH. 
Possible 

values 

are: 

“VPN 

Connection”  |  “VPN  Service”  | 
“Internet  Connection”  |  “SMS 
Service”. 
See  chapter  13,  for  a  detailed 
description of these values. 

VPN Connection 

The “Digital I/O Status” section of the page gives the current status values (“LOW”/”HIGH”) for each of the 
four available digital I/Os. 

18.1.14

 

I/O View (S6001-RTU) 

In S6001-RTU CPU, one more page is available called “I/O View”;  in this page, the current status of all the 
inputs/outputs is shown, along with some diagnostic information. 

                                                           

21

 “Remote toggle” function is still to be defined. 

Summary of Contents for S6001-RTU

Page 1: ...and effectively read carefully the following instructions before use The product must be used only for the use for which it was designed and built Any other use must be considered with full responsib...

Page 2: ...R01 25 5 3 Z PASS2 S IO 27 5 4 Z TWS4 IO 28 5 5 S6001 RTU 29 6 Discovering the IP address 30 7 FTP SFTP access 32 8 StratON PLC 33 8 1 Writing downloading and running the first program 33 8 1 1 Senec...

Page 3: ...uration 100 18 1 8 FW Upgrade 102 18 1 9 Configuration Management 111 18 1 10 Modbus TCP Client Configuration 114 18 1 11 Mobile Network 116 18 1 12 DDNS Configuration 130 18 1 13 Digital I O Configur...

Page 4: ...15 PUT_ALARM 190 19 1 16 S7_DB_READ 191 19 1 17 S7_DB_WRITE 192 19 1 18 SEND_MAIL 193 19 1 19 SEND_SMS 194 19 1 20 SERVICE_CTRL 195 19 1 21 SET_ALARMS_STAT 196 19 1 22 TIME_SYNC 197 19 1 23 UAC_CONNE...

Page 5: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 5 21 1 Shared Memory 205 21 2 C program example 206 21 3 CGI 208 21 3 1 CGI readVariable 209 21 3 2 CGI writeVariable 209 22 Glossary 210...

Page 6: ...ONTENTS OF THIS MANUAL IN ANY TIME WITHOUT NOTICE TO CORRECT EXTEND OR INTEGRATING FUNCTION AND CHARACTERISTICS OF THE PRODUCT ATTENZIONE IN NESSUN CASO SENECA O I SUOI FORNITORI SARANNO RITENUTI RESP...

Page 7: ...ault values also for User Pages Paragraph Real Time Clock Setup added Central Europe time zone value Paragraph VPN Configuration OpenVPN Client revision into VPN Configuration OpenVPN added packet byt...

Page 8: ...pplication by a USB pen Chapter Upgrading the firmware added notes about LEDs blinking Paragraph Main View admin updated figure Paragraph Network and Services added info about new Web Server and File...

Page 9: ...r Technical specifications updated info about modem Removed None value of Security Level Service Disable parameter 15 03 2018 15 Removed CTS signal from COM1 port Z TWS4 Z PASS2 S Added parts related...

Page 10: ...choose if the two ports shall work in LAN WAN mode or Switch mode by means of a new configuration parameter Ethernet Mode there are 4 more LEDs providing information about the Ethernet Mode and the VP...

Page 11: ...s minimum 110 bps COM 1 removable 4 pin connector as an alternative to RS485 CAN CAN bus port 2 0A and 2 0B Baud rate maximum 500 Kbps minimum 20 Kbps screw terminals 10 11 12 or IDC10 connector avail...

Page 12: ...RTU Microprocessor 8 bits 24 MHz 3G MODEM Z PASS2 S S6001 RTU HSPA Modem 14 4 Mbps in downlink 5 76 Mbps in uplink Slot for SIM card Mini SIM with push push connector 3G MODEM Z PASS2 S IO Speed HSPA...

Page 13: ...GU Korea IC Rogers Canada Anatel Brazil CCC SRRC NAL China Under Development Slot for mini SIM Mini SIM with push push connector POWER SUPPLY Z TWS4 Z PASS2 S Power supply 11 40 Vdc or 19 28 Vac 50 60...

Page 14: ...onnectors for Main and Diversity antennas BOX DIMENSIONS Z TWS4 Z PASS2 S Dimensions Z TWS4 L 100 mm H 112 mm W 35 mm Z PASS2 S L 100 mm H 112 mm W 53 mm Case Nylon 6 with 30 fiberglass field self ext...

Page 15: ...tion 3 kV Liquid level control inputs conductive liquid level switch 2 channels adjustable sensitivity The following table shows which frequency bands are supported by the modem available in Z PASS2 S...

Page 16: ...ugh 14 15 screw terminals If Z PC DINAL1 35 or Z PC DINAL2 52 5 17 accessory is used the power supply signals and communication signals may be provided by the terminals block into the DIN rail support...

Page 17: ...d RS485 port In order to select the RS232 port on the removable 4 pin connector put the SW2 DIP switch on ON position to select the RS485 port on the removable 4 pin connector put the SW2 DIP switch o...

Page 18: ...ple or to connect an external USB memory this is used for FW upgrade see chapter 17 Please note that on this USB port the hotplug feature is not available so after plugging the USB device it is necess...

Page 19: ...for micro SD card placed in the side part of the case To insert the SD card into the connector be sure that the SD card is oriented with metal contacts facing towards left with reference to the figur...

Page 20: ...for the Digital Inputs shall be arranged as in the following figures The electrical connections for the Digital Outputs shall be arranged as in the following figure 4 1 2 Z PASS2 S IO Digital I Os In...

Page 21: ...rminals 52 and 53 The supply voltage must be 24 15 Vac dc any polarity Upper limits must not be exceeded to avoid serious damage to the device It is necessary to protect the power supply source agains...

Page 22: ...ar to send In 9 RI Ring indicator In An optional communication bus is available on removable screw terminals 60 61 62 for future extensions S6001 RTU has 1 USB port which is an USB HOST with connector...

Page 23: ...or 1 analog current output 0 20 mA Available between 47 and 50 screw terminals 1 analog voltage output 0 10 Vdc Available between 48 and 50 screw terminals The Liquid Level Inputs are available on scr...

Page 24: ...minals 71 94 as shown in the following figure Eight SPDT relays are available to control for example external pumps The operating voltage is 250 Vdc 2 A The 15 digital inputs are available on screw te...

Page 25: ...ta activity Ethernet 2 There is no data activity Ethernet 2 RX1 2 4 Red Blinking ON OFF Data reception COM 1 2 4 Check the connection COM 1 2 4 No data reception COM 1 2 4 TX1 2 4 Red Blinking ON OFF...

Page 26: ...connection is not working properly VPN Box functionality is disabled RX1 2 4 Red Blinking ON OFF Data reception COM 1 2 4 Check the connection COM 1 2 4 No data reception COM 1 2 4 TX1 2 4 Red Blinkin...

Page 27: ...abled Remote Connection is enabled VPN Green ON Blinking OFF VPN connection is working properly VPN connection is not working properly VPN functionality is disabled or VPN Box Point to Point functiona...

Page 28: ...There is data activity Ethernet 1 2 There is no data activity Ethernet 1 2 5 4 Z TWS4 IO LED Status Meaning PWR Green ON The module is powered on RUN Green Blinking The module is ready for use DIDO G...

Page 29: ...transmission COM 2 4 Check the connection COM 2 4 No data transmission COM 2 4 Ethernet Connector LEDS LED Status Meaning ETH1 2 Green ON OFF Ethernet 1 2 connection detected Ethernet 1 2 connection a...

Page 30: ...WR SIG LED 1 is blinking synchronously with RUN LED in the following situations o GSM 3G network is not available or signal level is too low o SIM is not inserted Modem LEDS LED Status Meaning 3G PWR...

Page 31: ...U device and other Seneca products found in the LAN Moreover by clicking on the Assign button it is possible to change the network configuration parameters of a device as shown in the following figure...

Page 32: ...e LAN IP Address when the PC is connected to the LAN port the WAN IP Address when the PC is connected to the WAN port moreover the network configuration parameter changes apply to the relevant port 7...

Page 33: ...itor and program editors compliant with the five languages of the IEC 61131 3 Standard Sequential Function Chart SFC Function Block Diagram FBD Ladder Diagram LD Structured Text ST Instruction List IL...

Page 34: ...e used to install the StratON IDE and Z NET4 SW see chapter 20 The installer is available at the following link http www seneca it products seneca straton package If for some reasons the installer can...

Page 35: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 35 Then import the Library menu Tools Import...

Page 36: ...ocedure to add the Profiles library to the IDE is identical to the one just explained the only difference is that the SenecaStratonProfiles XL5 file shall be selected instead of the SenecaStratonLibra...

Page 37: ...owing folders TWS_MISC ZPASS2_Template S6001_Template The TWS_MISC folder shall be copied into the following directory C Users Public Documents Copalp STRATON LIBS The ZPASS2_Template and S6001_Templa...

Page 38: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 38 8 1 2 Creating a project for Seneca CPUs Run the StratON IDE and create a new project based on a template as in the following figure...

Page 39: ...39 Select the ZPASS2_Template or S6001_Template in the template list Now as you can see in the following figure in the Main program a ZMODEM_MNG UDFB instance is already available which lets you easil...

Page 40: ...Z TWS4 Z PASS2 S S6001 RTU 40 Set the correct target IP address for example 192 168 85 106 normally the port shall be set to 502 Then press the icon to compile the project Download the code by pressi...

Page 41: ...of the Device If the Straton project is not based on ZPASS2_Template S6001_Template the Seneca UDFB library can still be used as described in the following In the Straton IDE go to the Project Settin...

Page 42: ...nd click on Add Finally click on Close Now the UDFB library is available in the project as shown in the following figure If the Straton project has been built using the Seneca Z NET4 SW see chapter 20...

Page 43: ...traton IDE and related tools please refer to StratON tutorials and on line help 8 1 3 Z PASS2 S IO profiles Two Straton I O profiles are available for Z PASS2 S IO CPU The first profile named ZPASS_DI...

Page 44: ...l outputs The second profile named ZPASS_GPS provides variables corresponding to the information given by the GPS module as shown in the following figure In particular the GPS_ERROR variable tells if...

Page 45: ...ement protocols IEC 60870 5 101 Master Slave IEC 60870 5 104 Master Slave IEC 61850 Master Slave The activation of these protocols is license based Please contact Seneca to get more information about...

Page 46: ...as shown in the following figures Please see paragraph 18 1 2 for a description of the configuration parameters related to StratON Redundancy 9 Ethernet Mode Z PASS2 S R01 Z PASS2 S IO Z TWS4 IO In Z...

Page 47: ...from the enterprise network connected to the WAN interface comprising enterprise PCs and servers when the Device is remotely accessed through the WAN interface only devices connected to the LAN interf...

Page 48: ...t come from using a VPN are secure connections since transported data are encrypted the ability to establish connections without interfering with the corporate LAN no need to have a static public IP a...

Page 49: ...VPN BOX Manager configures VPN BOX and will help you to avoid errors defining local subnets In the Point to Point VPN a client PC in a given moment can perform a single connection on demand to only o...

Page 50: ...wing two sub paragraphs give some more info about the two kinds of VPN 10 1 Single LAN VPN The above figure gives an example of a Single LAN VPN The client PC with IP address 192 168 1 X can connect j...

Page 51: ...voided using a Single LAN VPN is still possible if local IP addresses are not used devices can be reached by means of their VPN IP addresses and machines beyond them can be reached by configuring some...

Page 52: ...when a 3G modem is available true for Z PASS2 S and S6001 RTU This functionality switches the network interface used to access the Internet from the Ethernet primary interface to the Mobile 3G second...

Page 53: ...ddress of the WAN Mobile Network interface Another important feature is the availability of a DNS server forwarder which can resolve names either by itself or querying the external configured DNS serv...

Page 54: ...but the device can still access the Internet and send receive SMSs Level 3 Internet Connection any Internet access is disabled but the device can still send receive SMSs Level 4 SMS Service modem is o...

Page 55: ...PC UA is a standardized machine to machine communication protocol for industrial 4 0 automation developed by the OPC Foundation OPC UA is a vendor independent communication protocol and it s based on...

Page 56: ...s explained in the following paragraphs Furthermore for S6001 RTU one more page I O View is available 18 1 Administrator pages The Device can be fully configured by means of a set of web configuration...

Page 57: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 57 18 1 1 Main View In this page main Device configuration parameters are shown with their current values...

Page 58: ...if the PLC application execution is stopped or no application is loaded on the Device the status app not running is also shown if the PLC application is running the name of the application is also sho...

Page 59: ...ANUAL Z TWS4 Z PASS2 S S6001 RTU 59 The previous figure shows the Network and Services page for a Z PASS2 S IO when the Ethernet Mode parameter is set to Switch it also applies to a Z TWS4 IO in Switc...

Page 60: ...NUAL Z TWS4 Z PASS2 S S6001 RTU 60 The previous figure shows the Network and Services page for a Z PASS2 S IO when the Ethernet Mode parameter is set to LAN WAN it also applies to a Z TWS4 IO in LAN W...

Page 61: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 61 The previous figure shows the Network and Services page for a Z PASS2 S R01 when the Ethernet Mode parameter is set to Switch...

Page 62: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 62 The previous figure shows the Network and Services page for a Z PASS2 S R01 when the Ethernet Mode parameter is set to LAN WAN...

Page 63: ...k and Services page for a S6001 RTU it also applies to a Z TWS4 and Z PASS2 S old version There is an important difference between the parameter values shown in this page and those shown in the Main V...

Page 64: ...shown or renamed as described below This parameter is available only for Z PASS2 S R01 Z PASS2 S IO and Z TWS4 IO products For all other products only Switch mode is available hence the parameter is n...

Page 65: ...Static or dinamically assigned by the DHCP Server value DHCP DHCP for Z TWS4 R0x and Z PASS2 S R0x x 1 2 Static for all other products NETWORK DNS Server DNS server IP address disabled when DHCP func...

Page 66: ...Redundancy Enable Flag to enable disable the Straton Redundancy functionality OFF PLC Straton Redundancy IP Address IP address of the second Device used for Straton Redundancy 192 168 90 102 PLC Lice...

Page 67: ...e notes about the DHCP parameters the DHCP parameter can be set to ON only if the DHCP Server parameter of the Router Configuration page is set to OFF see paragraph 18 1 5 only the DHCP on WAN paramet...

Page 68: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 68...

Page 69: ...a login may be needed to access the shared folder if so use the credentials shown in the following figure username guest password empty 18 1 3 Real Time Clock Setup By clicking on the Real Time Clock...

Page 70: ...WS4 Z PASS2 S S6001 RTU 70 This page is made up of two sections NTP and RTC In the NTP section you can change the parameters related to the Network Time Protocol and to the Time Zone as listed in the...

Page 71: ...im it NTP Secondary Server IP address or FQDN of the Secondary NTP Server ntp2 inrim it NTP Time Zone Time Zone Central Europe CET CEST When the Time Zone parameter is set to Central Europe CET CEST v...

Page 72: ...if NTP time synchronization is not enabled when NTP Enable parameter is ON the input fields and the SET CLOCK button are disabled and the parameters are only for viewing Instead when NTP Enable param...

Page 73: ...the General Configuration menu you come to the following page The page has a different layout depending on the value of the VPN Mode parameter which can be OpenVPN or VPN Box for an explanation of th...

Page 74: ...described in the following 18 1 4 1 1 Configuration File This file shall contain all the information needed to configure the Open VPN behaviour the main configuration options are13 if the Device shal...

Page 75: ...hat logs are written to syslog An example of a client configuration file is given in paragraph 18 1 4 1 7 18 1 4 1 2 CA certificate This file shall contain the Certification Authority CA certificate a...

Page 76: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 76...

Page 77: ...on the SHOW VPN STATUS button as shown in the following figure remember that the configuration file is renamed as ovpn conf As reminded by the web page the VPN files can be downloaded from the Device...

Page 78: ...requiring a confirmation If VPN is enabled the user is not allowed to delete VPN files as warned by the following pop up In the VPN Configuration section there is only one parameter as described in t...

Page 79: ...y told above if you try to enable the VPN connectivity but no configuration file has been uploaded to the Device yet an error is given as shown in the following figure When you click on the SHOW VPN S...

Page 80: ...n Disconnected the OpenVPN Status i e Stopped or Running the number of packets bytes received from the VPN interface when connected 0 0 when disconnected the number of packets bytes sent to the VPN in...

Page 81: ...tatus is Stopped Open VPN process could not be correctly started probably the configuration file contains some errors or maybe some options not supported by the Device Open VPN implementation You can...

Page 82: ...1 7 OpenVPN Client configuration file This paragraph gives an example of OpenVPN client configuration this is the client configuration typically loaded on Z TWS4 Z PASS2 S S6001 RTU devices client de...

Page 83: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 83 OFF VPN functionality is disabled SERV Green Not used 18 1 4 2 VPN Box The page contains only ony section VPN Box as shown in the following figure...

Page 84: ...Z PASS2 S S6001 RTU 84 The VPN Box section contains the following parameters Field Meaning Default value VPN BOX Enable Flag to enable disable the VPN Box functionality that is the procedure protocol...

Page 85: ...tatus showing the VPN Connection Status i e Disconnected or Connected the IP address assigned to the VPN interface when Connected the dummy IP address 0 0 0 0 when Disconnected this row is not shown f...

Page 86: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 86...

Page 87: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 87...

Page 88: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 88 For an explanation of the differences between a Single LAN VPN and a Point to Point VPN see chapter 10 The VPN Box Status string has the following format...

Page 89: ...t configured yet Single LAN only OK Configuration updated The Device configuration has just been updated OK Configured The Device is properly configured and available for VPN connection OK Ban The Dev...

Page 90: ...lity is enabled in VPN Box Point to Point mode the SERV and VPN LEDs give the following status information see chapter 5 LED Status Meaning VPN Yellow ON OFF A VPN client is connected to the Device No...

Page 91: ...have a set of general parameters as listed in the following table Field Meaning Default value Router Enable Flag to enable disable the Router functionality OFF Ethernet Bandwidth Limitation This param...

Page 92: ...Last Address These parameters define the range of IP addresses assigned by the DHCP server to requesting clients 192 168 90 201 192 168 90 210 DHCP Lease Time min Validity period for the IP address a...

Page 93: ...l be set to ON to protect the Device against undesired maybe malicious accesses This is the only parameter in the Router Configuration page that is working also when the Router functionality is disabl...

Page 94: ...ping rules also known as Virtual Servers in each section the available parameters are the following Field Meaning Default value Protocol This parameter defines the transport protocol or kind of port w...

Page 95: ...nternal Port TCP or UDP port which the received packet is forwarded to Empty If Router is left disabled Router Enabled OFF you can still change parameters changes will be saved without actually applyi...

Page 96: ...DHCP server functionality DHCP Server Enable ON but the DHCP First Address and DHCP Last Address parameters define an address range that is not congruent with the Ethernet configuration IP address an...

Page 97: ...ER MANUAL Z TWS4 Z PASS2 S S6001 RTU 97 As already told before the Router configuration page lets you define up to 5 Port Forwarding rules or Virtual Servers An example is given in the following figur...

Page 98: ...however by doing this the access to the custom user s pages won t be possible anymore the second rule tells the Device that any TCP or UDP packet received on the 502 port which is often used for Modb...

Page 99: ...ublic IP address assigned to the 3G interface the 8080 and 22 TCP ports shall be open this can be done as shown in the following figure 18 1 6 OPC UA Server Configuration By clicking on the OPC UA Ser...

Page 100: ...ubscription empty Password The password provided with the service subscription empty Shared Memory Select which shared memory must access with the OPC UA protocol Z NET Note that for access the server...

Page 101: ...this page you can change the Web Administrator Web User Web Guest and FTP User credentials as explained in the following table Field Meaning Default value WEB ADMINISTRATOR Username Username to access...

Page 102: ...Username to access the Device FTP SFTP site see chapter 7 user FTP USER Password Password to access the Device FTP SFTP site see chapter 7 123456 For all the fields in this page the following characte...

Page 103: ...the FW upgrade the RESTART TWS SERVICES button lets you restart the TWS services which otherwise would remain in the stopped state Otherwise if you click on the Cancel button of the pop up TWS Service...

Page 104: ...to the user to choose if Soft PLC shall be stopped or not during FW Upload on one side stopping it is more safe and let the upload be completed in a shorter time on the other side there are situation...

Page 105: ...provided by Seneca with the support of Seneca personnel This page lets you browse your PC to select the file containing the FW which shall have a name of the following type SW002940_xxx bin14 If you...

Page 106: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 106 Once a file is selected you can start the upload by pressing the UPLOAD button...

Page 107: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 107 Once the upload is successfully completed the following page is shown...

Page 108: ...PASS2 S S6001 RTU 108 In this page you can press the Upgrade and Reboot button this will start the upgrade procedure which takes some minutes to be completed during this time the Device MUST NOT be sw...

Page 109: ...ade procedure is ended when only the LED RUN is blinking16 15 This applies only to products with HW revisions IO and R01 in details for IO HW revision all LEDs will blink simultaneously except for Pow...

Page 110: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 110 press the Cancel and Reboot button this will delete the uploaded file on the Device and perform the reboot...

Page 111: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 111 18 1 9 Configuration Management By clicking on the Conf Management link in the General Configuration menu you come to the following page...

Page 112: ...USB pen is the following copy the SW002940_conf tar gz or SW002940_conf zip see below file into the root folder of the USB pen switch off the Device insert the USB pen into the USB 1 port of the Devic...

Page 113: ...note that to get detailed debug logs the DEBUG LOGS Enable parameter in Network and Services page shall be set to ON 18 1 9 1 Factory reset by USB pen A USB pen can be used also to reset the Device to...

Page 114: ...the procedure will take some minutes to be completed during this time the Device MUST NOT be switched off during the procedure the Device will be rebooted after the reboot wait until you see the RUN L...

Page 115: ...001 RTU 115 This page lets you change the IP Address and TCP Port of the Modbus TCP Client Open MODBUS in the Fieldbus Configurations of the Straton project the change can be done without the need of...

Page 116: ...nfiguration web page In the following table all configuration parameters available in the page are listed with a short explanation and the parameter default value for each of them Field Meaning Defaul...

Page 117: ...117 The above figure shows the Mobile Network page for Z PASS2 S IO For Z PASS2 S R01 Z PASS2 S and S6001 RTU the Operator Selection section and the GET OPERATOR LIST button are not available so the p...

Page 118: ...8 In this page you can change the parameters related to the Mobile Network as listed in the following table Field Meaning Default value SIM PIN if required by SIM PIN needed to unlock the SIM card if...

Page 119: ...PERATOR LIST button 22201 I TIM UMTS Data Connection Enable Flag to enable disable the Mobile Network connectivity OFF Data Connection APN Mode This parameter tells if the APN and related parameters a...

Page 120: ...n the SHOW MOBILE STATUS button a new section appears named Mobile Status showing the SIM PIN Status if an error in PIN setting has occurred or PUK PUK2 setting is needed this status is shown in red c...

Page 121: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 121...

Page 122: ...S6001 RTU 122 As shown in the above figures only for Z PASS2 S IO the last row of the Mobile Status gives the GPS Location as Latitude Longitude values clicking on the Map link the Google Maps on the...

Page 123: ...If the GPS signal is not available the GPS Location row contains the string Not fixed and the Map link is not shown The following figure shows the situation when an error in PIN setting has occurred...

Page 124: ...ed that when the PIN is set during procedures automatically performed by the Device firmware if the number of remaining attempts is 1 no more attempt is done to avoid blocking the SIM You can refresh...

Page 125: ...ection by clicking on the HIDE MOBILE STATUS button As already told above the GET OPERATOR LIST button lets you retrieve the list of the operators currently available that is detected by the modem onl...

Page 126: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 126 Tipically it takes about 1 minute to get the list so the page shows the number of seconds elapsed...

Page 127: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 127 When the procedure is completed the following page is shown...

Page 128: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 128 After some seconds the page automatically evolves to the Mobile Network page with the operator list filled as shown in the following figure...

Page 129: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 129 You can choose an operator from the list to perform Manual or Manual Automatic selection...

Page 130: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 130 18 1 12 DDNS Configuration By clicking on the DDNS Configuration link in the Mobile Configuration menu you come to the following page...

Page 131: ...namic DNS service possible values are None dyndns it dyndns org no ip com None Hostname The hostname provided with the service subscription empty Username The username provided with the service subscr...

Page 132: ...ER MANUAL Z TWS4 Z PASS2 S S6001 RTU 132 When an IP address assigned to the Mobile Network Interface has been bound with the hostname the DDNS Update Status section appears like in the following figur...

Page 133: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 133...

Page 134: ...licking on the Digital I O Configuration link in the Digital I O menu you come to the page described in the following sub paragraphs19 the page differs between Z TWS4 IO and Z PASS2 S IO 18 1 13 1 Z P...

Page 135: ...s page you can configure the operating modes of the Digital I Os and the security level applied by the Remote Connection Disable feature see chapter 13 Field Meaning Default value Input 1 Mode This pa...

Page 136: ...represents the operating mode of the Digital Output 2 DO 2 Possible modes are General output Remote toggle 20 General output Input Output 1 Mode This parameter represents the operating mode of the Di...

Page 137: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 137 description of these values The Digital I O Status section of the page gives the current status values LOW HIGH for each of the six available digital I Os...

Page 138: ...WS4 Z PASS2 S S6001 RTU 138 The status of the digital input configured as Local Alarm is reported in the ALARM column in the Devices tab of the Seneca VPN Box Manager and Seneca VPN Client Communicato...

Page 139: ...an configure the operating modes of the Digital I Os and the security level applied by the Remote Connection Disable feature see chapter 13 Field Meaning Default value Output 1 Mode This parameter rep...

Page 140: ...ter represents the operating mode of the Digital Input Output 2 second configurable digital I O DIDO 2 Possible modes are General input General output Local alarm General output Service Disable This p...

Page 141: ...ut 1 Input 15 Status of Digital Input LOW HIGH DIGITAL OUTPUTS Output 1 Output 8 Status of Digital Output relay OPEN CLOSED DIGITAL OUTPUTS 12 Volt Enable Output Status of Digital Output enabling 12 V...

Page 142: ...his parameter gives an information about errors that might occur in the I O board The value is a bitmask as specified in the column Values 0 no error Bit 9 flash memory error DIAGNOSTICS CRC Error Cou...

Page 143: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 143 18 1 15 FW Versions By clicking on the FW Versions link in the Diagnostics menu you come to the following page...

Page 144: ...SS2 S S6001 RTU 144 In this page the following information are shown the product name along with its HW revision in the above figure Z PASS2 S R01 the version strings of all the FW components which ar...

Page 145: ...s o Default Disk File System diskdfl o Disk File System disk 18 1 16 Ethernet Interfaces By clicking on the Ethernet Interfaces link in the Diagnostics menu you come to the following page The above fi...

Page 146: ...mber of packets bytes received from the Ethernet interface when the link is up 0 0 when the link is down the number of packets bytes sent to the Ethernet interface when the link is up 0 0 when the lin...

Page 147: ...umber of packets bytes received from the Ethernet interface the number of packets bytes sent to the Ethernet interface You can refresh the Ethernet status by clicking on the REFRESH button 18 1 17 Mod...

Page 148: ...module the module status which can be o OK if the module is correctly responding to Modbus requests o TIMEOUT if the module is not responding to Modbus requests o ERROR if any other error occurs The...

Page 149: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 149 18 1 18 M Bus Scan By clicking on the M Bus Scan link in the M Bus menu you come to the following page...

Page 150: ...see paragraph 18 1 2 The SECONDARY SCAN button lets you scan the bus detecting M Bus secondary addresses select the correct baud rate for the COM1 serial port or select All to repeat the scan for any...

Page 151: ...number of seconds elapsed the devices are shown in term of their secondary address and baud rate as soon as they are detected The STOP SCAN button lets you abort the procedure anyway the partial resu...

Page 152: ...set FACTORY DEFAULT button in Main View page In the same way the PRIMARY SCAN button lets you scan the bus detecting M Bus primary addresses select the correct baud rate for the COM1 serial port or se...

Page 153: ...ond table contains a variable number of rows each providing a data record By clicking on the REFRESH button you can refresh the data by clicking on the BACK button you come back to the page with the d...

Page 154: ...ed the actual M BUS configuration The webserver than move automatically to the next M Bus Configuration page 18 1 19 M Bus Configuration When you have pressed the Create Configuration in the M Bus Sca...

Page 155: ...e Straton Tag Prefix name for the device The 2nd column represent the Baud Rate to use The 3rd column represent the Device Address The 4th column represent the Scan Rate in seconds for this device 18...

Page 156: ...s automatic acquisition process will start At the end of the process a zip file mbus_tags zip will be downloaded The zip contain 4 files Two of these files must be used in Straton mbus_shm csv the sha...

Page 157: ...SER MANUAL Z TWS4 Z PASS2 S S6001 RTU 157 Extract the zip file in a directory Now launch Straton PLC Select Main then Global Variables Now click the right mouse button and select Edit Variables as Tex...

Page 158: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 158 Select the mbus_vars csv file and click save The variables are imported...

Page 159: ...R MANUAL Z TWS4 Z PASS2 S S6001 RTU 159 Now we must create the shared memory used for sharing the data from M BUS Click on fieldbus icon Click with the right mouse button and select Insert Configurati...

Page 160: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 160 Now create the Embedded Shared Memory Insert a Master Port...

Page 161: ...MANUAL Z TWS4 Z PASS2 S S6001 RTU 161 The Shared configuration MUST be don t change any setting Now insert the data Block Create a name group use the name that you want Then import the shared memory...

Page 162: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 162 Select the mbus_shm csv file...

Page 163: ...offsets of others variables are not changed 18 1 19 3 Replace a M BUS Device For Replace an existing M BUS device for example in case of a replace for failure 1 Go to M BUS Scan and make a Secondary o...

Page 164: ...ce 1 Go to M BUS Scan and make a Secondary or Primary Scan 2 Take note of the Device address to delete 3 Go to M BUS Configuration and manually delete the device with the DELETE button 4 Push the Crea...

Page 165: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 165...

Page 166: ...nctions see chapter 20 The page lets you perform the following operations browse the SD folder tree clicking on the folder name links delete a folder clicking on the delete link create a new folder by...

Page 167: ...dragging it into the dashed area the file is created in the folder currently shown clean the SD by means of the Clean SD button please note that this is done by formatting the SD so all SD contents w...

Page 168: ...page is also available Also the FW Versions Ethernet Interfaces and Modbus Modules pages of the Diagnostics section are available for this kind of user they will not be shown again here as they are i...

Page 169: ...169 18 2 1 Main View In this page some Network parameters and the Web User credentials are shown with their current values To change the parameter values you have to go to the Network and Services pag...

Page 170: ...and Services The parameters shown in this page slightly change depending on the HW version of the product Z TWS4 Z PASS2 S or Z PASS2 S R01 Z PASS2 S IO Z TWS4 IO and for new HW versions on the selec...

Page 171: ...1 RTU 171 The previous figure shows the Network and Services page for a Z PASS2 S R01 Z PASS2 S IO Z TWS4 IO when the Ethernet Mode parameter is set to Switch it also applies to a Z TWS4 and Z PASS2 S...

Page 172: ...n in user pages Field Meaning Default value Ethernet Mode Switch NETWORK DHCP Flag to enable disable the DHCP functionality on the Ethernet interface OFF NETWORK IP Address IP address of the Ethernet...

Page 173: ...ll other products NETWORK DNS Server DNS server IP address disabled when DHCP functionality is enabled on any interface and DNS Mode DHCP 192 168 100 1 for Z TWS4 R0x and Z PASS2 S R0x x 1 2 192 168 9...

Page 174: ...he pages except for FW Upgrade Configuration Management and Data Logs pages viewing all configuration parameters and status information without changing any parameter so in all the pages the APPLY but...

Page 175: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 175 and when asked provide the following credentials default values Username guest Password guest You come to the Main View page shown in the following figure...

Page 176: ...WS4 Z PASS2 S S6001 RTU 176 Note that as told above the FACTORY DEFAULT RESTART and CLEAN INTERNAL DATA LOGS buttons are disabled Another example of a page accessed by the guest user is given in the f...

Page 177: ...TUS HIDE MOBILE STATUS and REFRESH buttons are enabled letting the guest user to view the Mobile Status 19 Seneca StratON Library To let the users exploit Z TWS4 Z PASS2 S S6001 RTU features in their...

Page 178: ...the parameter value during the FB execution when the execution is completed the FB code itself will put ENABLE FALSE output when the FB is called with ENABLE FALSE it does nothing and returns the NOT_...

Page 179: ...hen first called the FB runs a process which starts performing the upload on subsequent calls it only checks if the process has finished its job The FB has the following input parameters HOST IP addre...

Page 180: ...es possible values MAX_REC the maximum number of records lines to be retrieved FILENAME the file name with absolute path ENABLE TRUE FB is executed FALSE FB is skipped the parameter is set to FALSE by...

Page 181: ...UT timeout in seconds ENABLE TRUE FB is executed FALSE FB is skipped The FB has the following output parameters RESULT 2 when called with ENABLE FALSE 1 in case of any failure 0 if the process is stil...

Page 182: ...txt create the directory list into output1 txt 19 1 7 LINUX_SH_ASYNC The LINUX_SH_ASYNC FB executes a command in a Linux shell in asynchronous mode When first called the FB runs a Linux shell process...

Page 183: ...the serial port possible values are 300 600 1200 2400 4800 9600 19200 38400 ADDR M Bus primary 255 or secondary address SEND_INIT flag to enable disable the sending of the SND_NKE reset frame at the...

Page 184: ...CI_FIELD 51 hex DATA 01 7A 08 hex DATA_LEN 3 19 1 9 MODEM_CTRL The MODEM_CTRL FB sends a generic AT command to the GSM modem and receives the corresponding response When first called the FB runs a pro...

Page 185: ...if the whole response is longer than 255 characters it will be truncated Please note that the MODEM_CTRL FB can t be successfully executed while the PPP connection is active on Z MINIRTU This FB canno...

Page 186: ...be sent WAIT wait duration in seconds after sending the command valid values are 30 300 ENABLE TRUE FB is executed FALSE FB is skipped The FB has the following output parameter RESULT 2 when called wi...

Page 187: ...equired for authentication it can be empty if authentication is not required not used with Automatic APN functionality PASSWORD password required for authentication it can be empty if authentication i...

Page 188: ...tring GPRS_APN GPRS Access Point Name as given by the mobile network operator if this parameter is left empty Automatic APN functionality is activated USERNAME username required for authentication it...

Page 189: ...imeout has expired 5 if MODEM_RESET FB is running LOCAL_IP IP address assigned to the PPP network interface only if RESULT 1 when CONNECT TRUE REMOTE_IP IP address of the remote host set as default ga...

Page 190: ...epresenting the alarm event level e g INFO max_len 10 possible values are defined by the application SOURCE a string representing the alarm event source e g GRP1 max_len 10 possible values are defined...

Page 191: ...HM_SIZE size of the Straton shared memory which the data are written to DB_NUM the number of the Data Block to be read OFFSET start offset for the read operation in the Data Block LEN number of bytes...

Page 192: ...SHM_SIZE size of the Straton shared memory which the data are read from DB_NUM the number of the Data Block to be written OFFSET start offset for the write operation in the Data Block LEN number of by...

Page 193: ...shall be used FALSE SMTP TRUE SMTPS CRYPTO_ON TRUE is available only for Z TWS4 Z PASS2 S AUTH_ON if authentication shall be executed AUTH_USERNAME username for authentication AUTH_PASSWORD password...

Page 194: ...M SMS Service Center as given by the mobile operator it can be empty if the SC number is already set on the modem SIM TO_NUM recipient number SMS_BODY SMS text TIMEOUT timeout in seconds ENABLE TRUE F...

Page 195: ...tion 4 SMS Service 1 the value of the Security Level Service Disable configuration parameter will be used TIMEOUT timeout in seconds ENABLE TRUE FB is executed FALSE FB is skipped The FB has the follo...

Page 196: ...ll be set as alarms stat alarms stat STATUS where alarms stat DB field STATUS this parameter FIRST_ID the id of the first record retrieved by the GET_ALARMS FB LAST_ID the id of the last record retrie...

Page 197: ...b The FB has the following input parameter ENABLE TRUE FB is executed FALSE FB is skipped The FB has the following output parameter RESULT 2 when called with ENABLE FALSE 1 in case of any failure 0 if...

Page 198: ...finished CONN_ID connection identifier to be used in UAC_READ UAC_WRITE and UAC_DISCONNECT FB 19 1 24 UAC_DISCONNECT This Function Block can be used to disconnect from an OPC UA Server When first call...

Page 199: ...B is skipped The FB has the following output parameters RESULT 2 when called with ENABLE FALSE 1 in case of any failure 0 if the process is still running 1 if the process has successfully finished 19...

Page 200: ...N Box 0 OK 3 Wrong password 7 License limit reached 201 Generic error 202 VPN Box not configured 1000 No transaction has been performed e g VPN Box functionality is disabled other Unexpected response...

Page 201: ...ile already open IN string to write into the file Output parameters OK boolean result value TRUE success FALSE failure 19 2 2 TXBAPPENDFILE Append a Text Buffer to a file without reloading the file In...

Page 202: ...DATETIME shall have the following format dd mt yyyy hh mm ss 19 2 4 MBUS_READ_CTL The MBUS_READ_CTL function can be used to enable disable the M Bus read operations It should be noticed that M Bus re...

Page 203: ...lue see below INPUTS none OUTPUTS RESULT the function result possible values are 0 OK 1 watchdog setting failed WDOG_SET_TMO function has not been called or failed 2 watchdog controlled by system WATC...

Page 204: ...powerful tool is provided by the Z NET4 program suite running on Windows PCs Among other things these programs let you automatically discover the I O modules available on the bus configure the CPU Z...

Page 205: ...typically invoked by the lighttpd web server while the second does not require any changes in the Device FW provided that the currently supported CGIs are used 21 1 Shared Memory Straton Workbench let...

Page 206: ...t_dummy VarREAL 12 4 2 2 CPU_ErrorReport_dummy 21 2 C program example In this paragraph an example is given of a simple C program which can be used to access a shared memory The program arguments lets...

Page 207: ...eturn 0 ftruncate shmid wSize pMap mmap NULL wSize PROT_READ PROT_WRITE MAP_SHARED shmid 0 if pMap MAP_FAILED printf Error mmap s size d n szName wSize return 0 sem sem_open szName O_RDWR S_IRUSR S_IW...

Page 208: ...fine VAR_MAX_NUM 100 typedef enum VAR_FORMAT_INT VAR_FORMAT_UINT VAR_FORMAT_FLOAT VAR_FORMAT_STRING VAR_FORMAT_NUM VAR_FORMAT_T const char var_format_str integer unsigned integer float string typedef...

Page 209: ...ames and possibly the variables modes to tell which variables can be read written and which can only be read 21 3 1 CGI readVariable To read one variable request goform readVariable nVars 1 var1 var_n...

Page 210: ...between a LAN and a WAN the Internet Switch a networking device that connects devices together on a computer network by using a form of packet switching to forward data to the destination device VPN...

Reviews: