Seneca Z-KEY User Manual

Seneca Z-KEY User Manual

Modbus ethernet serial gateway and serial device server
Hide thumbs Also See for Z-KEY:
Table of Contents

Advertisement

USER MANUAL
MODBUS ETHERNET SERIAL GATEWAY
This document is property of SENECA srl. Duplication and reproduction are forbidden, if not authorized. Contents of the present
documentation refers to products and technologies described in it. All technical data contained in the document may be modified
without prior notice Content of this documentation is subject to periodical revision.
To use the product safely 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 responsibility of the user. The installation,
implementation and set-up is allowed only for authorized operators; these ones must be people physically and intellectually suitable.
Set up must be performed only after a correct installation and the user must perform every operation described in the installation
manual carefully. Seneca is not considered liable of failure, breakdown, accident caused for ignorance or failure to apply the indicated
requirements. Seneca is not considered liable of any unauthorized changes. Seneca reserves the right to modify the device, for any
commercial or construction requirements, without the obligation to promptly update the reference manuals.
No liability for the contents of this documents can be accepted. Use the concepts, examples and other content at your own risk. There
may be errors and inaccuracies in this document, that may of course be damaging to your system. Proceed with caution, and although
this is highly unlikely, the author(s) do not take any responsibility for that. Technical features subject to change without notice.
Z-KEY / Z-KEY WIFI
AND SERIAL DEVICE SERVER
SENECA s.r.l.
Via Austria, 26 – 35127 –PADOVA – ITALY
Tel. +39.049.8705355 – 8705359 Fax. +39.049.8706287
Web site:
www.seneca.it
Technical assistance:
supporto@seneca.it
Commercial reference:
commerciale@seneca.it
MI003790
MI00379_10
(IT),
support@seneca.it
(IT),
Page 1
(Other)
sales@seneca.it
(Other)

Advertisement

Table of Contents
loading

Summary of Contents for Seneca Z-KEY

  • Page 1 Set up must be performed only after a correct installation and the user must perform every operation described in the installation manual carefully. Seneca is not considered liable of failure, breakdown, accident caused for ignorance or failure to apply the indicated requirements.
  • Page 2 Changed document to new code: from MI00379x to MI00379_xx Updated for Firmware revision 119 02/10/2018 Added Modbus Register -LAST_LOOP_TIME_COM1 -LAST_LOOP_TIME_COM2 In the extended diagnostic 20/02/2020 Updated for Firmware revision 300 (Z-KEY): -New: Serial Sniffer -New: Added support to Seneca Cloudbox HTTP REST APIs...
  • Page 3 USER MANUAL – Z-KEY / Z-KEY WIFI -New: Gateway Serial to Ethernet -New: Modbus ASCII supported -New: Added new product Z-KEY WIFI...
  • Page 4: Table Of Contents

    6. DEFAULT (FACTORY) CONFIGURATION ..............15 7. ETHERNET COMMUNICATION ................. 17 7.1. Searching Z-KEY / Z-KEY WIFI devices in a network with the Seneca Discovery Utility ........17 7.2. Changing the IP address from the USB port....................18 8. WIFI CONNECTION (ONLY Z-KEY-WIFI MODEL) ............ 21 8.1.
  • Page 5 Remote Serial Com Port Webserver configuration ..................62 16.3. Seneca Serial to Ethernet Connect ........................67 16.3.1. Installing Seneca Serial to Ethernet Connect driver ..................67 16.3.2. Select the Com port for Seneca Serial to Ethernet Connect ............... 69 16.3.3. Configuring Seneca Serial to Ethernet Connect ..................71...
  • Page 6 16.3.5. Changing the COM port number......................... 72 TRAFFIC MONITOR (NOT FOR “REMOTE SERIAL COM” MODE) ..... 77 INSTALLING MULTIPLE Z-KEY / Z-KEY WIFI IN A NETWORK USING THE “DHCP FAIL MODE” ......................79 THE CUSTOM WEBSERVER ................. 79 ACCESSING THE Z-KEY / Z-KEY WIFI FROM INTERNET ........80 THE KIT-USB ......................
  • Page 7 UNDER ANY CIRCUMSTANCES, SENECA S.R.L. OR ITS SUPPLIERS SHALL NOT BE RESPONSIBLE FOR LOSS OF RECORDING DATA/INCOMES OR FOR CONSEQUENTIAL OR INCIDENTAL DAMAGE DUE TO NEGLECT OR RECKLESS MISHANDLING OF Z-KEY / Z-KEY WIFI, EVEN THOUGH SENECA IS WELL AWARE OF THESE POSSIBLE DAMAGES.
  • Page 8: Glossary

    USER MANUAL – Z-KEY / Z-KEY WIFI 1. Glossary  Modbus RTU An open protocol for the serial communications developed by Modicon Inc. (AEG Schneider Automation International S.A.S.). Simple and robust, it has since become a de facto standard communication protocol.
  • Page 9 USER MANUAL – Z-KEY / Z-KEY WIFI  MODBUS RTU MASTER-SLAVE The Master is connected with one or more slaves, the slave waits for an incoming register(s) request from the master. Only one master is allowed, for overcome this limitation you must use a Modbus gateway.
  • Page 10: Introduction

    Gateway Modbus RTU / ASCII to Modbus TCP-IP  Remote Serial COM port Z-KEY WIFI con also be configured with the Wifi port in Station or Access Point mode (up to 6 Station Devices can be connected). 2.1. Features Z-KEY MODEL: ...
  • Page 11 Multiprotocol Gateway, Bridge support: Modbus TCP-IP server protocol (by the fast Ethernet), Modbus RTU master/slave independent configurable on the NR 2 serial ports (NR 1 RS485, and NR 1 RS232/RS485).  Transparent Ethernet to serial connection with Seneca Ethernet to serial driver connection, no protocol dependent.  Internal webserver for complete configuration ...
  • Page 12: Electrical Connections

    Z-KEY \ Z- KEY WIFI section. 3.1. Terminal Positions For power ON Z-KEY / Z-KEY WIFI, connect the screw terminal 2-3 or use the Seneca BUS for connect the IDC10 connector: The RS485#1 is available from the IDC10 connector...
  • Page 13 USER MANUAL – Z-KEY / Z-KEY WIFI For configure port 2 in RS485 mode set the SW2 to OFF: For configure port 2 in RS232 mode set the SW2 to ON: Note: before to insert the cable into RJ45 connector, remove the protection rubber:...
  • Page 14: Debug Leds (Z-Key)

    USER MANUAL – Z-KEY / Z-KEY WIFI 4. Debug Leds (Z-KEY) STATE MEANING FLASHING Data transmission on RS485 port #1 FLASHING Data reception on RS485 port FLASHING Data transmission on RS485/RS232 port #2 FLASHING Data reception on RS485/RS485 port #2...
  • Page 15: Default (Factory) Configuration

    USER MANUAL – Z-KEY / Z-KEY WIFI FLASHING Data transmission on RS485 port #1 FLASHING Data reception on RS485 port FLASHING Data transmission on RS485/RS232 port #2 FLASHING Data reception on RS485/RS485 port #2 Z-KEY WIFI is POWERED ON FLASHING...
  • Page 16 USER MANUAL – Z-KEY / Z-KEY WIFI 3) Switch ON Z-KEY / Z-KEY WIFI 4) Wait 10 seconds 5) Switch OFF Z-KEY / Z-KEY WIFI 6) Switch OFF all the dip switches: Now Z-KEY / Z-KEY WIFI is loaded with the default configuration.
  • Page 17: Ethernet Communication

    IT’S NOT USED BY ANOTHER ETHERNET DEVICE! WARNING! DON’T CONNECT MORE THAN 1 Z-KEY / Z-KEY WIFI WITH THE DEFAULT IP ADDRESS ON THE NETWORK! IF YOU NEED TO CONNECT MORE THAN ONE Z-KEY IN A NETWORK SIMULTANEOUSLY REFERS TO THE CHAPTER 18.
  • Page 18: Changing The Ip Address From The Usb Port

    From the seneca website (www.seneca.it) in the Z-KEY / Z-KEY WIFI section you can freely download the Seneca Easy Setup software. The Z-KEY section launch the EASY Z-KEY Utility for changing or obtaining the Z-KEY / Z-KEY WIFI actual IP:...
  • Page 19 USER MANUAL – Z-KEY / Z-KEY WIFI Connect Z-KEY to a PC with a standard micro USB cable, power up the Z-KEY and Click on “TEST” to obtain the actual IP address:...
  • Page 20 USER MANUAL – Z-KEY / Z-KEY WIFI For changing the actual IP configuration return to the home page and click on “CONFIGURATION”: Than click on “Automatic Search”, read the configuration from the Z-KEY than modify the actual configuration with the new parameters:...
  • Page 21: Wifi Connection (Only Z-Key-Wifi Model)

    USER MANUAL – Z-KEY / Z-KEY WIFI Then click on “send configuration to Z-KEY” button: 8. Wifi connection (only Z-KEY-WIFI model) The Wifi port can be used in addition to the ethernet port. Can be configured in 3 different ways: “Access point (AP)”, “Station” or “First Configuration Access point“.
  • Page 22: Wifi Mode: Access Point

    8.1. Wifi mode: Access Point The access Point mode is used to create a wifi network using Z-KEY-WIFI. In this way you don’t need an external Router WIFI, up to 6 Z-KEY-WIFI can be connected to one Z-KEY-WIFI in Access Point mode.
  • Page 23: The Embedded Webserver

    9. The embedded Webserver The Z-KEY include a Webserver for setup or for view the real time TAGs value. For Access to the internal webserver type in a browser: http://192.168.90.101...
  • Page 24 USER MANUAL – Z-KEY / Z-KEY WIFI For connect an Ethernet device to the Z-KEY Webserver you must have the two Ip addresses compatible. Also you must disable the flag on the proxy server configuration into the browser: For example if the Z-KEY address is 192.168.90.101 with subnet mask 255.255.255.0 the other device must have the ip starting with 192.168.90, so for example 192.168.90.102 can works.
  • Page 25: Webserver Wifi Configuration For Z-Key-Wifi (Only Z-Key-Wifi)

    USER MANUAL – Z-KEY / Z-KEY WIFI Webserver wifi configuration for Z-KEY-WIFI (Only Z-KEY-WIFI) The Z-KEY-WIFI webserver include a new section called WIFI: WIFI MODE Select between STATION (connect to an existing wifi network) or ACCESS POINT (create a new wifi network).
  • Page 26: Modbus Rtu / Ascii And Modbus Tcp-Ip Protocol

    WIFI DHCP (ONLY ACCESS POINT MODE) Enable or not the DHCP server mode for the station devices. Modbus RTU / ASCII and Modbus TCP-IP protocol The Modbus protocols supported by the Z-KEY are: Modbus RTU Master Modbus RTU Slave Modbus ASCII Master...
  • Page 27 USER MANUAL – Z-KEY / Z-KEY WIFI Read Coils (function 1) Read Discrete Inputs (function 2) Read Holding Register (function 3) Read Input Registers (function 4) Write Single Coil (function 5) Write Single Register (function 6) Write Multiple registers (function 16)
  • Page 28: Gateway Modbus Tcp-Ip To Modbus Rtu/Ascii

    An example of LAN connection is represented into this figure: Also a remote communication through internet with multiple clients is possible: For internet communication the Routers connected to the Z-KEY / Z-KEY WIFI must have a static ip address (or a DDNS service activated).
  • Page 29: How It Works

    Only the serial configuration must be made (baud rate, parity etc…). The Master (client) Modbus TCP-IP request a modbus register by ethernet, then the Z-KEY / Z-KEY WIFI convert the request to the serial Modbus RTU/ASCII slave, the Modbus RTU/ASCII response is also retranslated in Modbus TCP to the Master.
  • Page 30 User: admin Password: admin Now the Webserver can be used for configuring the Z-KEY / Z-KEY WIFI module, all parameters are visible clicking on “Setup” button to the left of the screen: On the first column represents the parameter name, the second column (current) it’s the current parameter value.
  • Page 31 Enable: The IP address, the IP-Mask and the Gateway address are obtained from the DHCP server. The Z-KEY IP address can be read from the USB port with the Easy Setup test configuration, or with the Seneca Discovery utility (see the Z-KEY section on seneca web site for download).
  • Page 32 USER MANUAL – Z-KEY / Z-KEY WIFI PORT #n PROTOCOL Select between Modbus RTU or ASCII serial protocol PORT #n BAUDRATE Used to Set the port baudrate PORT #n BITS Used to Set the number of bits for the serial communication.
  • Page 33 IP CHANGE FROM DISCOVERY Used to Set if a user is allowed to change IP configuration from the software “Seneca Discovery Device” WARNING! REMEMBER ALWAYS TO CONFIGURE THE WEBSERVER AND FTP AUTHENTICATION USER NAME AND PASSWORD FOR RESTRICT THE ACCESS TO THE FTP AND THE WEBSERVER.
  • Page 34: Gateway With Shared Memory

    The Z-KEY / Z-KEY WIFI can be configured with up to 500 tag (1 tag = 1 variable that can be composed by one or two Modbus registers), these values are stored into a shared memory that can be accessed from Ethernet /Wifi and/or from Serials.
  • Page 35: Gateway With Shared Memory Modbus Tcp-Ip / Modbus Rtu (Port 1 And Port 2 Modbus Master)

    Port 2 Modbus Master) In this scenario a Modbus TCP-IP master is connected with ethernet or wifi to Z-KEY / Z-KEY WIFI, one or more Modbus RTU slaves (for example the Z-PC Seneca Series) are connected to the RS232/RS485 serial ports.
  • Page 36 USER MANUAL – Z-KEY / Z-KEY WIFI Also a remote communication through internet with multiple clients is possible, with the gateway configuration the tags are visible through the internal webserver:...
  • Page 37: Gateway With Shared Memory Modbus Tcp-Ip / Modbus Rtu (1 Port Master And 1 Port Slave)

    Master and 1 port Slave) In this scenario a Modbus TCP-IP master is connected with ethernet or WIFI to Z-KEY / Z-KEY WIFI, one PLC with only the Modbus Master protocol is connected to the Z-KEY Modbus slave port. By this port the Modbus RTU Slaves (connected to the Z-KEY Modbus Master port) values are available for the PLC.
  • Page 38: How It Works

    A lot of PLCs have the limitation that only the Modbus Master protocol is implemented. When values from the Modbus Slaves must be read/write from the PLC and also from a SCADA/Datalogger, the Z-KEY / Z-KEY WIFI can be configured with one serial port in modbus slave (connected to the PLC modbus master port)
  • Page 39: Gateway With Shared Memory Modbus Tcp-Ip / Modbus Rtu (2 Port Slaves)

    Gateway with shared memory Modbus TCP-IP / Modbus RTU (2 port Slaves) In this scenario a Modbus TCP-IP master is connected with ethernet to Z-KEY, Two PLCs with only the Modbus Master protocol are connected to the Z-KEY Modbus slave ports. By this ports the PLC can communicate with each other.
  • Page 40: How It Works

    Modbus Slaves must be shared with another PLC/SCADA/DATALOGGER etc.. the Z-KEY can be configured in Gateway mode with the 2 ports in Modbus Slave. In this way the two PLCs and the Ethernet Clients can freely write/read the Z-KEY Shadow memory for data sharing:...
  • Page 41: Gateway With Shared Memory Modbus Tcp-Ip / Modbus Mix Rtu-Tcp-Ip

    Gateway with shared memory Modbus TCP-IP / Modbus MIX RTU-TCP-IP 13.4. From firmware revision 114 Z-KEY in Gateway Mode can also be connected to up to 10 Modbus TCP-IP Server: Up to 10 Modbus TCP-IP Servers are supported. The Modbus TCP-IP servers can be mixed between ethernet or Wifi.
  • Page 42: Modbus Gateway With Shared Memory Configuration

    User: admin Password: admin Now the Webserver can be used for configuring the Z-KEY module, all parameters are visible clicking on “Setup” button to the left of the screen. On the first column represents the parameter name, the second column (current) it’s the current parameter value.
  • Page 43 Enable: The IP address, the IP-Mask and the Gateway address are obtained from the DHCP server. The Z-KEY IP address can be read from the USB port with the Easy Setup test configuration, or with the Seneca Discovery utility (see the Z-KEY section on seneca web site for download).
  • Page 44 USER MANUAL – Z-KEY / Z-KEY WIFI PORT #n PROTOCOL Select between Modbus RTU or ASCII serial protocol PORT #n BAUDRATE Used to Set the port baudrate PORT #n BITS Used to Set the number of bits for the serial communication.
  • Page 45 USER MANUAL – Z-KEY / Z-KEY WIFI Used to Set the maximum number of registers that can be written with the Modbus function “Write Multiple Registers” or “Write Multiple Coils”. PORT #n MAX READ NUM Used to Set the maximum number of registers that can be read with the Modbus function “Read Multiple Registers”...
  • Page 46: Modbus Gateway With Shared Memory Http Post Configuration

    USER MANUAL – Z-KEY / Z-KEY WIFI Enable or not the Modbus TCP-IP client loop in addition to the serial master, Z-KEY can connect to a maximum of 10 Modbus TCP-IP servers. MODBUS TCP-IP SERVER #n Enable or not the connection with the Modbus TCP-IP #n...
  • Page 47: Simplified Tags Diagnostic

    USER MANUAL – Z-KEY / Z-KEY WIFI SEND DATA TO HTTP SERVER MODE Used to enable or not the HTTP data send to cloudbox server (or a compatible http server). SAMPLE TIME FOR HTTP POST Select the tags sending time to the http server...
  • Page 48: Extended Tags Diagnostic

    USER MANUAL – Z-KEY / Z-KEY WIFI The tags diagnostic is viewable also from Modbus RTU/ Modbus TCP. The Diagnostic Address is configurable the default Start Modbus Register is 49001 (offset 9000). Each bit represent a tag with the following means:...
  • Page 49: Modbus Gateway Tags Setup, Export And Import

    13.8. Modbus Gateway Tags Setup, export and import The Z-KEY in Modbus Gateway mode needs to configure the Tags to put into the internal shared memory. From the Webserver click on “Setup TAGs” button to the left menu: Now you can ADD, Modify, Delete or move one tag. When you modify or add a tag a new page appear: Gateway Tag Name Set the Tag name to show in the Webserver realtime view.
  • Page 50 Set the address where the tag is placed in shared memory for access from Modbus TCP-IP. Target Modbus RTU Device Select the Modbus RTU slave model from the Seneca database or select “custom” if you don’t use a Seneca Modbus RTU slave.
  • Page 51 Word, Floating point single precision (IEEE 758-2008) BIT : 1 Boolean coil or Discrete input register this field is automatically filled if you have select a Seneca Device into the “Device” field. WARNING! All 32 bits values are stored into 2 consecutive registers, for example: TAG Totalizer 1 in unsigned 32 bits MSW type is stored into registers 40016 and 40017: The most significant word is the register 40016, the less significant word is the 40017.
  • Page 52: Modbus Gateway Real Time View

    Preparing the Tag configuration can be a frustrating operation if it’s made with the webserver so a Microsoft Excel™ Template is available for create a .bin file to import to the Z-KEY. This operation drastically speed up the TAG configuration.
  • Page 53 Gateway Modbus TCP-IP Register Address Enter the TAG register address that will be accessed from TCP-IP (also from serial port if slave mode is configured). For Seneca Modbus Standard address 1 holding register is equivalent to 40001, address 2 to 40002 etc… .
  • Page 54 USER MANUAL – Z-KEY / Z-KEY WIFI Target Modbus RTU Slave Address Enter the Modbus RTU Slave Station address The setup can be exported from Excel to a .cgi file (for to be imported in the webserver) or imported from a...
  • Page 55: Gateway Serial To Ethernet

    In this scenario a Modbus serial master must be connect to one or multiple Modbus TCP-IP servers. The Modbus serial master is connected with the serial port to the Z-KEY / Z-KEY WIFI, one or more Modbus TCP-IP servers are connected to the ethernet / Wifi port: 14.1.1.
  • Page 56: Modbus Gateway Serial To Ethernet Webserver Configuration

    User: admin Password: admin Now the Webserver can be used for configuring the Z-KEY / Z-KEY WIFI module, all parameters are visible clicking on “Setup” button to the left of the screen. On the first column represents the parameter name, the second column (current) it’s the current parameter value.
  • Page 57 Enable: The IP address, the IP-Mask and the Gateway address are obtained from the DHCP server. The Z-KEY IP address can be read from the USB port with the Easy Setup test configuration, or with the Seneca Discovery utility (see the Z-KEY section on seneca web site for download).
  • Page 58 USER MANUAL – Z-KEY / Z-KEY WIFI Select between Modbus RTU or ASCII serial protocol PORT #n BAUDRATE Used to Set the port baudrate PORT #n BITS Used to Set the number of bits for the serial communication. PORT #n PARITY...
  • Page 59 IP CHANGE FROM DISCOVERY Used to Set if a user is allowed to change IP configuration from the software “Seneca Discovery Device” MODBUS TCP-IP SERVER PORT #1..10 Used to Set the Modbus TCP-IP Server port (up to 10 Modbus TCP-IP server supported) MODBUS TCP-IP SERVER #1..10...
  • Page 60 USER MANUAL – Z-KEY / Z-KEY WIFI if the serial master requests the slave address 15 then the packet is sent to server#2 WARNING! REMEMBER ALWAYS TO CONFIGURE THE WEBSERVER AND FTP AUTHENTICATION USER NAME AND PASSWORD FOR RESTRICT THE ACCESS TO THE FTP AND THE WEBSERVER. IF YOU LEAVE THE TWO PARAMETERS TEXT BOXES BLANK NO AUTHENTICATION IT’S REQUIRED FOR ACCESS.
  • Page 61: Extend Rs485 Over Ethernet: Modbus Serial To Ethernet And Then Ethernet To Serial

    For example we need to extend the RS485 using the ethernet or Wifi infrastructure, for obtain this feature you need at least two Z-KEY / Z-KEY WIFI devices: one configured in Gateway Serial to Ethernet mode and the other configured in Gateway Ethernet to Serial mode: Up to 10 R-KEY-LT devices can be used in ethernet to serial mode (10 Modbus TCP-IP server).
  • Page 62: How It Works

    With this driver installed a couple of virtual serial port is created, using these serial ports from a pc software the serial traffic will pass through ethernet. After that the Z-KEY will convert the ethernet traffic to serial through the real serial port, also Z-KEY will reconvert to ethernet the serial communication responses.
  • Page 63 USER MANUAL – Z-KEY / Z-KEY WIFI http://192.168.90.101/maintenance/index.html Enter the user name and password, by default: User: admin Password: admin Now the Webserver can be used for configuring the Z-KEY module, all parameters are visible clicking on “Setup” button to the left of the screen:...
  • Page 64 USER MANUAL – Z-KEY / Z-KEY WIFI The first column represents the parameter name, the second column (current) it’s the current parameter value. The last column can be used for changing the current configuration. When a configuration it’s made you must confirm with “APPLY”, then the new configuration became operative.
  • Page 65 Enable: The IP address, the IP-Mask and the Gateway address are obtained from the DHCP server. The Z-KEY IP address can be read from the USB port with the Easy Setup test configuration, or with the Seneca Discovery utility (see the Z-KEY section on seneca web site for download).
  • Page 66 USER MANUAL – Z-KEY / Z-KEY WIFI Used to Set the port baudrate PORT #n BITS Used to Set the number of bits for the serial communication. PORT #n PARITY Used to Set the port parity (None, Odd or even) PORT #n RS485 STOP BITS Used to Set the port parity (1 or 2;...
  • Page 67: Seneca Serial To Ethernet Connect

    16.3. Seneca Serial to Ethernet Connect For using Z-KEY in remote serial com port mode you need to install in a PC the Seneca Serial to Ethernet Connect software. 16.3.1. Installing Seneca Serial to Ethernet Connect driver Seneca Ethernet to Serial Connect runs on windows vista™, windows 7™, windows 8.1™ and windows 10™.
  • Page 68 USER MANUAL – Z-KEY / Z-KEY WIFI After that the com0com driver will be installed: Select the CNCA0<->CNCB0 and the COM#<->COM# virtual port names:...
  • Page 69: Select The Com Port For Seneca Serial To Ethernet Connect

    USER MANUAL – Z-KEY / Z-KEY WIFI Now Click on Finish 16.3.2. Select the Com port for Seneca Serial to Ethernet Connect We connect the COM10 to the Seneca ES Connector:...
  • Page 70 USER MANUAL – Z-KEY / Z-KEY WIFI Note that Seneca SESC can connect more than one serial device at the same time (but you need more than one Z-KEY). Now use the same COM5 (for example in a terminal software):...
  • Page 71: Configuring Seneca Serial To Ethernet Connect

    Select the TCP-IP port (default 8000). Then click on “Connect PORT”. If you need to connect another serial com to another Z-KEY configure the new com port and the new IP addess then click on “Connect Port”. For disconnect all Ports click on “Disconnect All Ports”.
  • Page 72: Changing The Com Port Number

    Then click on “Connect Port”: If you see “Connect Error” like here: Check the configuration (Z-KEY ip address and port). 16.3.5. Changing the COM port number Old software can use only a little range of COM ports, so you may need to change the virtual COM number.
  • Page 73 USER MANUAL – Z-KEY / Z-KEY WIFI The com0com setup window will open: Now change COM5 to COM3 and COM4 to COM2 Then click “Apply”:...
  • Page 74 USER MANUAL – Z-KEY / Z-KEY WIFI Sometimes the COM can be marked as “in use”: If you need to use this COM number Click on “Continue”, then go to the device manager. We must uncheck the “in use” flag by uninstalling the port. Because the port now is not connected click on “Show hidden peripherals”:...
  • Page 75 Now the COM3 is free and we can use it on the com0com setup: Then Click on “Apply”, Now the COM3, COM2 pair is created: WARNING! Seneca to ethernet connector use always the right port in the com0com Setup (in our case COM2)
  • Page 76 USER MANUAL – Z-KEY / Z-KEY WIFI...
  • Page 77: Traffic Monitor (Not For "Remote Serial Com" Mode)

    USER MANUAL – Z-KEY / Z-KEY WIFI 17. TRAFFIC MONITOR (NOT FOR “REMOTE SERIAL COM” MODE) The Traffic Monitor page shows the serial packets that Z-KEY / Z-KEY WIFI is receiving and transmitting for line debug purpose: The first column is the delay in milliseconds from the last packet, the second column is the packet verse (received from or transmitted to), the last column is the packet content in hexadecimal format.
  • Page 78 USER MANUAL – Z-KEY / Z-KEY WIFI...
  • Page 79: Installing Multiple Z-Key / Z-Key Wifi In A Network Using The "Dhcp Fail Mode

    INSTALLING MULTIPLE Z-KEY / Z-KEY WIFI IN A NETWORK USING THE “DHCP FAIL MODE” From firmware revision 119, Z-KEY configured with the DHCP can switch to a unique fail ip address after 30 seconds without a DHCP server response. This fail address is 169.254.x.y...
  • Page 80: Accessing The Z-Key / Z-Key Wifi From Internet

    ACCESSING THE Z-KEY / Z-KEY WIFI FROM INTERNET Using a static public ip address it’s possible to configure the router for accessing Z-KEY from internet. This operation it’s known as “Virtual server “or “Port forwarding” refers to your Router documentation for more info.
  • Page 81 With this Virtual Server entry, all Internet traffic on Port 8080 with ip address 73.13.150.123 will be redirected to Z-KEY webserver on port 80 at IP Address 192.168.1.101. So for accessing to the Z-KEY Webserver using a browser you must enter http://73.13.150.123/maintenance/index.html:8080...
  • Page 82: The Kit-Usb

    The Easy Setup software can also be freely downloaded from the website: www.seneca.it THE RS232 DB9 CABLE The RS232 DB9 CABLE can be obtained from Seneca (can be bought also from the E-commerce Website www.seneca.it ) for connection between Z-KEY to a DB9 RS232 device.
  • Page 83: Windows Usb Drivers Installation

    For installing the USB drivers follow this procedure:  Install the Easy Setup software from the USB KIT CD (see chapter 21) or from the Seneca website  At the end of the installation confirm the USB drivers installation, click on “install the driver software”: ...
  • Page 84 USER MANUAL – Z-KEY / Z-KEY WIFI Now the device it’s connected to the PC. The operation is performed only the first time that you connect the device.
  • Page 85: Firmware Update

    “Send new firmware update selected”. At the end of the file transfer the Z-KEY will switch ON all the red leds and start to program the firmware to the internal flash (takes about 30 seconds). At the end the Z-KEY will reboot with the new firmware.
  • Page 86: Firmware Update From Microsd Card

    Copy the file “zkey.bin” with the new firmware to the root. At the end of the file transfer the Z-KEY will switch ON all the red leds and start to program the firmware to the internal flash (takes about 30 seconds). At the end the Z-KEY will reboot with the new firmware.
  • Page 87: Easy Setup App For Android

    USER MANUAL – Z-KEY / Z-KEY WIFI http://www.seneca.it/products/z-key With this Tool you can search Z-KEY devices (and others Seneca Device) and change the actual IP configuration also if your PC has a different subnet. WARNING! For Security Reasons you can disable the IP change functionality from the Webserver “Setup” page.
  • Page 88: Cgi (Common Gateway Interface) Command

    When Z-KEY is configured in Gateway mode it’s possible to read tags values using CGI (Common Gateway Interface) line commands. The cgi syntax is (where 192.168.90.101 is the Z-KEY ip address and N is the TAG page to read): http://192.168.90.101/index.cgi?page=N N can be from 1 to 10, every page contain 50 tag values.
  • Page 89 USER MANUAL – Z-KEY / Z-KEY WIFI 6 = “MODBUS GATEWAY PORT#1 AND PORT#2 SLAVE" 7 = "REMOTE SERIAL COM ON PORT#1" 8 = "REMOTE SERIAL COM ON PORT#2" ELEMENTS NUMBER: Tags number in this call. After this begin the Tag values:...
  • Page 90 USER MANUAL – Z-KEY / Z-KEY WIFI TAG2 40002 UINT16 1000 TAG3 40003 UINT16 TAG4 40005 UINT16 TAG5 40007 UINT16 FAIL TAG6 40008 UINT16 […]...
  • Page 91 USER MANUAL – Z-KEY / Z-KEY WIFI 40057 FP LSW 0.000000 FAIL...

This manual is also suitable for:

Z-key wifi

Table of Contents