Seneca Ze-4di-2ai-2do Multiport And Multiprotocol User Manual

Seneca Ze-4di-2ai-2do Multiport And Multiprotocol User Manual

SENECA-logo

SENECA ZE-4DI-2AI-2DO multiport and multiprotocol

SENECA-ZE-4DI-2AI-2DO-multiport-and-multiprotocol-product

SENECA s.r.l.SENECA-ZE-4DI-2AI-2DO-multiport-and-multiprotocol-fig-1Via Austria, 26 – 35127 – PADOVA – ITALY
Tel. +39.049.8705355 – 8705359 Fax. +39.049.8706287
Web site: www.seneca.it
Technical assistance: [email protected] (IT), [email protected] (Other) Commercial reference: [email protected] (IT), [email protected] (Other)
This document is property of SENECA srl. Duplication and reproduction of its are forbidden (though partial), if not au thorized. 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.

CAUTION!
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 ZE SERIES, EVEN THOUGH SENECA IS WELL AWARE OF THESE POSSIBLE DAMAGES. SENECA, ITS SUBSIDIARIES, AFFILIATES, COMPANIES OF THE GROUP, ITS SUPPLIERS AND RETAILERS SHALL NOT GUARANTEE THAT THE FUNCTIONS WILL SATISFY COMPLETELY CUSTOMER’S EXPECTATIONS OR THAT ZE SERIES , THE FIRMWARE AND THE SOFTWARE SHALL HAVE NO ERRORS OR WORK CONTINUOUSLY.

Models comparison

MODELNR 4 DIGITAL INPUTS WITH COUNTERSNR 2 ANALOG INPUTSNR 2 DIGITAL OUTPUT RELAYSNR 1 ETHERNET

 

100 Mb

NR 2 RS485USB PORT
ZE-2AINOYESNOYESYESYES
ZE-4DI-2AI-2DOYESYESYESYESYESYES
Z-4DI-2AI-2DOYESYESYESNOYESYES
MODELMODBUS RTU SLAVE

 

PROTOCOL

MODBUS TCP-IP SERVER

 

PROTOCOL

EMBEDDED WEBSERVER
ZE-2AIYESYESYES
ZE-4DI-2AI-2DOYESYESYES
Z-4DI-2AI-2DOYESNONO

Analog Inputs

  • All models include 2 analogue inputs (max. resolution 16 bit) configurable in current or voltage.
  • The sampling time for each channel is configurable from 10 ms to 300 ms.
  • The resolution of the ADC depends on the set acquisition speed:
  • If the channel acquisition speed is < 150 ms the ADC is set with a resolution of 12 bits
  • If the channel acquisition speed is >= 150 ms the ADC is set with a resolution of 16 bit

Scaling an Analog Measure

  • The measure value in mV or uA is stored on registers AIN1 and AIN2, a scale measure it’s also available. The scaled measure it’s stored on AIN1 ENG and
  • AIN2 ENG registers.
  • For scaling a measure 4 registers are used: AIN Start Scale, AIN Stop scale, AIN ENG. Start scale and AIN ENG. Stop scale.
  • For example we want to scale a 4-20mA input into a 0-10000 value:
  • Start Scale must be 4 mA
  • Stop Scale must be 20 mA
  • Start Scale eng. must be 0
  • Stop Scale eng. must be 10000
  • The pure ADC value it’s stored into the AIN ADC register

Analogue measurement update time
The acquisition speed per channel is configurable from 10ms to 300ms: the higher the acquisition speed, the lower the measurement stability.
The acquisition time is considered per channel, so there will be a minimum channel update time of 20ms.

Digital Inputs

(only ZE-4DI-2AI-2DO and Z-4DI-2AI-2DO)
4 Digital inputs are available, the inputs can be configured in PNP (the input will close to +12V) or NPN (the input will close to GND) mode.

Digital Inputs filter 
A filter can be used for noisy inputs, the filter value limit the maximum input frequency. For example using a filter of 5ms:SENECA ZE-4DI-2AI-2DO multiport and multiprotocol fig-2The maximum frequency can be obtained by the formula: SENECA ZE-4DI-2AI-2DO multiport and multiprotocol fig-3Note that the maximum frequency it’s limited to 5 KHz.

Totalizers

(only ZE-4DI-2AI-2DO and Z-4DI-2AI-2DO)
ZE-4DI-2AI-2DO and Z-4DI-2AI-2DO include 4 32 bits totalizers. The maximum frequency is 5 KHz, the input filter (see chapter 9) can be used for limit the input frequency. The Totalizer values are stored into a not volatile memory so the power can switched off without changing the Totalizer values.

Totalizers overflow
The totalizer overflow it’s at 4294967295 (hexadecimal value 0xFFFFFFFF), so another pulse will put the value to 0.

Counters

(only ZE-4DI-2AI-2DO and Z-4DI-2AI-2DO)
ZE-4DI-2AI-2DO and Z-4DI-2AI-2DO include 4 32 bits counters. The maximum frequency is 5 KHz, the input filter (see chapter 9) can be used for limit the input frequency. The Counter values are stored into a not volatile memory so the power can switched off without changing the Counter values.

Counters overflow
The totalizer overflow it’s at 4294967295 (hexadecimal value 0xFFFFFFFF), so another pulse will put the value to 0.

Digital Outputs

(only ZE-4DI-2AI-2DO and Z-4DI-2AI-2DO)
Two Digital Outputs can be set by Modbus register and by Webserver (only ZE-4DI-2AI-2DO).
The digital outputs are made by two relays (max 2A output).

Digital Outputs fail mode
The Digital Outputs support the standard Seneca out fail mod e: if there isn’t a Modbus RTU/TCP-IP communication for a configured time, the Outputs are set to a safe values. The idea behind this police is that the absence of communication means that something is wrong and therefore the outputs must be set to the fail state.

RS485 and USB Serial Communication

(only Z-4DI-2AI-2DO)

  • All the models features two serial communications RS485 ports, also the USB port can be used for communication purpose.
  • The RS485 ports and USB port can work all at the same time and are independent.
  • The protocol supported for both ports is the Modbus RTU slave, for more information about this protocol please refer to Modbus specification website:
    http://www.modbus.org/specs.php
  • The default configuration for RS485#1 and RS485/RS232#2 ports is:
    • Modbus station address: 1
    • baud rate: 38400 baud
    • parity: none
    • data bit: 8
    • stop bit: 1
  • The configuration for USB port is fixed and not configurable:
    • Modbus station address: 1
    • baud rate: 115200 baud
    • parity: none
    • data bit: 8
    • stop bit: 1

Ethernet communication

(only ZE-2AI and ZE-4DI-2AI-2DO)
The ZE models include a fast Ethernet port (100Mbit), the TCP-IP integrated protocol supports:

  • Static IP address or DHCP
  • Gateway support
  • Modbus TCP-IP server protocol (support up to 4 Modbus TCP-IP client at the same time)
  • Webserver (with user / password protection)

The default configuration for the Ethernet port is:

  • Static Ip address 192.168.90.101
  • Modbus station address: 1
  • Modbus TCP-IP client 1 port 502
  • Modbus TCP-IP client 2 port 503
  • Modbus TCP-IP client 3 port 504
  • Modbus TCP-IP client 4 port 505

WARNING!
BEFORE CONNECT A ZE MODULE BE SURE THAT THE IP ADDRESS 192.168.90.101 IT’S NOT USED BY ANOTHER ETHERNET DEVICE.

Static IP address and DHCP

The default IP address is the static 192.168.90.101, it’s also possible to obtain an IP and a Gateway address from a DHCP server. Typically a DHCP server it’s always active into a Router (a range of address are reserved for the internal DHCP server). Using a DHCP can create problem for a connection with ZE module because the IP can change without notice (after a timeout).

Modbus RTU and Modbus TCP-IP registers map

The supported communication protocol is:

  • ModBUS RTU Slave (both from RS485 port and USB port if applicable)
  • Modbus TCP-IP Server (ZE-2AI and ZE-4DI-2AI-2DO models only)
  • For more information on these protocols, please refer to the website http://www.modbus.org/specs.php.

Tables abbreviations
The following ModBUS functions are supported:

  • Read Holding Register (function 3)
  • Write Single Register (function 6)
  • Write Multiple registers (function 16)

ATTENTION!
All 32-bit values are contained in 2 consecutive registers

ATTENTION!
Any 64-bit values are contained in 4 consecutive registers

ATTENTION!
Any registers with RW* (contained in flash memory) can be written a maximum of approx. 10000 times It must be the responsibility of the PLC programmer / ModBUS Master not to exceed this limit

MODBUS REGISTER TABLE

The following abbreviations are used in the register tables:

MSMost Significant
LSLeast Significant
MSBITMost Significant Bit
LSBITLeast Significant Bit
MMSW“Most” Most Significant Word (16bit )
MSWMost Significant Word (16bit )
LSWLeast Significant Word (16bit)
LLSW“Least” Least Significant Word (16bit)
RORead Only
RW*Read-Write: REGISTERS CONTAINED IN FLASH MEMORY: WRITABLE AT MOST ABOUT 10000 TIMES
RW**Read-Write: REGISTERS WRITABLE ONLY AFTER THE COMMAND HAS BEEN WRITTEN “ENABLE WRITE CUSTOM ENERGIES=49616”
UNSIGNED 16 BITUnsigned integer register that can take values from 0 to 65535
SIGNED 16 BITInteger register with sign that can take values from -32768 to +32767
UNSIGNED 32 BITUnsigned integer register that can take values from 0 to 4294967296
SIGNED 32 BITInteger register with sign that can take values from -2147483648 to 2147483647
UNSIGNED 64 BITUnsigned integer register that can take values from 0 to 18,446,744,073,709,551,615
SIGNED 64 BITSigned integer register that can take values from -2^63 to 2^63-1
FLOAT 32 BIT32-bit, single-precision floating-point register (IEEE 754) https://en.wikipedia.org/wiki/IEEE_754
BITBoolean register, which can take the values 0 (false) or 1 (true)

NUMBERING OF ‘0 BASED’ OR ‘1 BASED’ MODBUS ADDRESSES
Holding registers according to the ModBUS standard are addressable from 0 to 65535, there are 2 different address numbering conventions: ‘0 BASED’ and ‘1 BASED’.For the sake of clarity, Seneca shows its register tables in both conventions.

ATTENTION!
CAREFULLY READ THE DOCUMENTATION OF THE MODBUS MASTER DEVICE IN ORDER TO UNDERSTAND WHICH OF THE TWO CONVENTIONS THE MANUFACTURER HAS DECIDED TO USE.

NUMBERING OF MODBUS ADDRESSES WITH ‘0 BASED’ CONVENTION
The numbering is of the type:

INDIRIZZO MODBUS HOLDING REGISTER (OFFSET)SIGNIFICANCE
0FIRST REGISTER
1SECOND REGISTER
2THIRD REGISTER
3FOURTH REGISTER
4FIFTH REGISTER

Thus, the first register is located at address 0.
In the following tables, this convention is indicated by “OFFSET ADDRESS”.

MODBUS ADDRESS NUMBERING WITH ‘1 BASED’ CONVENTION (STANDARD)
The numbering is that established by the Modbus consortium and is of the type:

MODBUS ADDRESS HOLDING REGISTER 4xMEANING
40001FIRST REGISTER
40002SECOND REGISTER
40003THIRD REGISTER
40004FOURTH REGISTER
40005FIFTH REGISTER

In the following tables, this convention is referred to as ‘ADDRESS 4x’ because a 4 is added to the address so that the first ModBUS register is 40001.
A further convention where the number 4 is omitted in front of the register address is also possible:

MODBUS HOLDING ADDRESS WITHOUT 4xMEANING
1FIRST REGISTER
2SECOND REGISTER
3THIRD REGISTER
4FOURTH REGISTER
5FIFTH REGISTER

BIT CONVENTION WITHIN A MODBUS HOLDING REGISTER
A ModBUS Holding Register consists of 16 bits with the following convention:

BIT 15BIT 14BIT 13BIT 12BIT 11BIT 10BIT 9BIT 8BIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0

For example, if the register value in decimal is 12300 the value 12300 in hexadecimal applies: 0x300C hexadecimal 0x300C in binary value applies: 11 0000 0000 1100 So, using the above convention we get:

BIT 15BIT 14BIT 13BIT 12BIT 11BIT 10BIT 9BIT 8BIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
0011000000001100

CONVENTION OF MSB and LSB BYTES WITHIN A MODBUS HOLDING REGISTER
A ModBUS Holding Register consists of 16 bits with the following convention:

BIT 15BIT 14BIT 13BIT 12BIT 11BIT 10BIT 9BIT 8BIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0

LSB Byte (Least Significant Byte) is defined as the 8 bits ranging from Bit 0 to Bit 7 inclusive, MSB Byte (Most Significant Byte) is defined as the 8 bits ranging from Bit 8 to Bit 15 inclusive:

BIT 15BIT 14BIT 13BIT 12BIT 11BIT 10BIT 9BIT 8BIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
BYTE MSBBYTE LSB

REPRESENTATION OF A 32-BIT VALUE IN TWO CONSECUTIVE MODBUS HOLDING REGISTERS

  • The representation of a 32-bit value in the Holding Registers in ModBUS is done using 2 consecutive Holding Registers (one Holding Register is 16 bits).
  • To obtain the 32-bit value, two consecutive registers must therefore be read:
  • For example if register 40064 holds the most significant 16 bits (MSW) while register 40065 holds the least significant 16 bits (LSW) the 32-bit value is obtained by composing the 2 registers:
    BIT 15BIT 14BIT 13BIT 12BIT 11BIT 10BIT 9BIT 8BIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
    40064 MOST SIGNIFICANT WORD
    BIT 15BIT 14BIT 13BIT 12BIT 11BIT 10BIT 9BIT 8BIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0
    40065 LEAST SIGNIFICANT WORD

32 = + ( ∗ 65536)
In the read registers, it is possible to exchange the most significant word for the least significant one, so it is possible to get 40064 as LSW and 40065 as MSW.

TIPI DI DATO FLOATING POINT A 32 BIT (IEEE 754)
The IEEE 754 standard (https://en.wikipedia.org/wiki/IEEE_754) defines the format for the representation of floating-point numbers. As already mentioned, since it is a 32-bit data type, its representation occupies two 16-bit holding registers. To obtain a binary/hexadecimal conversion of a Floating point value, you can refer to an online converter at this address: http://www.h-schmidt.net/FloatConverter/IEEE754.html

SENECA ZE-4DI-2AI-2DO multiport and multiprotocol fig-4

Using the last representation, the value 2.54 is represented in 32 bits as: 0x40228F5C
Since we have 16-bit registers available, the value must be divided into MSW and LSW: 0x4022 (16418 decimal) are the 16 most significant bits (MSW) while 0x8F5C (36700 decimal) are the 16 least significant bits (LSW).

Modbus TCP-IP and Modbus RTU register addresses ZE -4DI- 2AI-2DO and Z-4DI-2AI- 2DO

ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
400010Machine IDIdentification CodeRUnsigned 16bits
400021FW CodeFW Code revisionRUnsigned 16bits
400032Statusbit 0=OUTPUT FAIL

bit 1=AIN1 underflow bit 2=AIN1 overflow bit 3=AIN2 underflow bit 4=AIN2 overflow

bit 15..8= Not used

RUnsigned 16bits
400043Analog Input1Analog input 1 Electrical value:

mV or uA

RUnsigned 16bits
400054Analog Input Scaled Value1Analog input 1 Scaled valueRUnsigned 16bits
400065Analog Input2Analog input 2

Electrical value: mV or uA

RUnsigned 16bits
400076Analog Input Scaled Value2Analog input 2 Scaled valueRUnsigned 16bits
400087OUTPUTS1 and 2Bit 0=OUTPUT1 Bit 1=OUTPUT2R/WUnsigned 16bits
400098OUTPUT110=OUTPUT NOT EXCITED 1=OUTPUT EXCITEDR/WUnsigned 16bits
400109OUTPUT220=OUTPUT NOT EXCITED 1=OUTPUT

EXCITED

R/WUnsigned 16bits
4001110INPUTS1 and 2Bit 0=INPUT1 Bit 1=INPUT2 Bit 2=INPUT3 Bit 3=INPUT4RUnsigned 16bits
4001211INPUT 110=INPUT LOW

1=INPUT HIGH

RUnsigned 16bits
4001312INPUT 220=INPUT LOW

1=INPUT HIGH

RUnsigned 16bits
4001413INPUT330=INPUT LOW

1=INPUT HIGH

RUnsigned 16bits
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
4001413INPUT440=INPUT LOW

1=INPUT HIGH

RUnsigned 16bits
4001615TOTALIZER 1MSW1Totalizer 1R/WUnsigned 32 bits
4001716LSW
4001817TOTALIZER 2MSW2Totalizer 2R/WUnsigned 32 bits
4001918LSW
4002019TOTALIZER 3MSW3Totalizer 3R/WUnsigned 32 bits
4002120LSW
4002221TOTALIZER 4MSW4Totalizer 4R/WUnsigned 32 bits
4002322LSW
4002423COUNTER 1MSW1Counter 1R/WUnsigned 32 bits
4002524LSW
4002625COUNTER 2MSW2Counter 2R/WUnsigned 32 bits
4002726LSW
4002827COUNTER 3MSW3Counter 3R/WUnsigned 32 bits
4002928LSW
4003029COUNTER 4MSW4Counter 4R/WUnsigned 32 bits
4003130LSW
4003231IP ADDR. 0Actual IP address, 1st numberRUnsigned 16 bits
4003332IP ADDR. 1Actual IP address, 2nd numberRUnsigned 16 bits
4003433IP ADDR. 2Actual IP address, 3rd

number

RUnsigned 16 bits
4003534IP ADDR. 3Actual IP address, 4th

number

RUnsigned 16 bits
4003635IP MASK 0Actual IP mask, 1st numberRUnsigned 16 bits
4003736IP MASK 1Actual IP mask, 2nd numberRUnsigned 16 bits
4003837IP MASK 2Actual IP mask, 3rd numberRUnsigned 16 bits
4003938IP MASK 3Actual IP mask, 4th numberRUnsigned 16 bits
4004039IP GATEWAY 0Actual IP gateway, 1st numberRUnsigned 16 bits
4004140IP GATEWAY 1Actual IP gateway, 2nd numberRUnsigned 16 bits
4004241IP GATEWAY 2Actual IP

gateway , 3rd number

RUnsigned 16 bits
4004342IP GATEWAY 3Actual IP gateway , 4th numberRUnsigned 16 bits
4004443MAC ADDR.0MAC address,RUnsigned 16 bits
-400011st number

(hexadecimal interpretation)

ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
4004544MAC ADDR.1MAC address, 2nd number

(hexadecimal interpretation)

RUnsigned 16 bits
4004645MAC ADDR.2MAC address, 3rd number (hexadecimal interpretation)RUnsigned 16 bits
4004746AIN1 ADCAnalog input 1 ADC valueRUnsigned 16 bits
4004847AIN2 ADCAnalog input 2 ADC valueRUnsigned 16 bits
40101100AIN INPUT SPEEDAnalog input speed from 10 to 300 [ms] for

channel

R/WUnsigned 16 bits
40102101NOT USEDR/WUnsigned 16 bits
40103102AIN1 TYPE1Analog input 1 mode 0=mA

1=mV

R/WUnsigned 16 bits
40104103AIN1 START SCALE1Start scale (electrical) for analog input 1: expressed in mV

or uA

R/WUnsigned 16 bits
40105104AIN1 STOP SCALE1Stop scale (electrical) for analog input 1: expressed in mV

or uA

R/WUnsigned 16 bits
40106105AIN1 ENG. START SCALE1Start scale (engineering) for analog input 1: expressed in mV

or uA

R/WUnsigned 16 bits
40107106AIN1 ENG. STOP SCALE1Stop scale (engineering) for analog input 1: expressed in mV

or uA

R/WUnsigned 16 bits
40108107NOT USEDR/WUnsigned 16 bits
40103102AIN2 TYPE2Analog input 2 mode 0=mA

1=mV

R/WUnsigned 16 bits
40104103AIN2 START SCALE2Start scale (electrical) for analog input 2:

expressed in mV or uA

R/WUnsigned 16 bits
40105104AIN2 STOP SCALE2Stop scale (electrical) forR/WUnsigned 16 bits
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
     analog input 2: expressed in mV or uA  
40106105AIN2 ENG. START SCALE2Start scale (engineering) for analog input 2: expressed in mV

or uA

R/WUnsigned 16 bits
40107106AIN2 ENG. STOP SCALE2Stop scale (engineering) for analog input 2: expressed in mV

or uA

R/WUnsigned 16 bits
40114113DIN1 FILTER1Digital input 1 filter in msR/WUnsigned 16 bits
40115114DIN2 FILTER2Digital input 2 filter in msR/WUnsigned 16 bits
40116115DIN3 FILTER3Digital input 3 filter in msR/WUnsigned 16 bits
40117116DIN4 FILTER4Digital input 4 filter in msR/WUnsigned 16 bits
40118117DIN NPN/PNPDigital input type: 0=NPN, 1=PNPR/WUnsigned 16 bits
40119118DOUT FAIL MODEDigital output fail mode: 0=disabled 1=enabledR/WUnsigned 16 bits
40120119DOUT FAIL TIMEOUTTimeout start fail for digital outputs (in

seconds)

R/WUnsigned 16 bits
40121120DOUT1 FAIL VALUEDigital output1 value in fail case.R/WUnsigned 16 bits
40122121DOUT2 FAIL VALUEDigital output2

value in fail case.

R/WUnsigned 16 bits
40123122IP DHCP0=Ethernet IP is static 1=Ethernet IP is acquired from a DHCP serverR/WUnsigned 16 bits
40124123IP ADDRESS 0-1Most significant byte=IP address 0 (if static) Less significant byte=IP address 1 (if

static)

R/WUnsigned 16 bits
40125124IP ADDRESS 2-3Most significant byte=IP address 2 (if static). Less significantR/WUnsigned 16 bits
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
     byte=IP address 3 (if static)  
40126125IP MASK 0-1Most significant byte=IP mask 0 (if static) Less significant

byte=IP mask 1 (if static)

R/WUnsigned 16 bits
40127126IP MASK 2-3Most significant byte=IP mask

2 (if static) Less significant byte=IP mask

3 (if static)

R/WUnsigned 16 bits
40128127IP GATEWAY 0-1Most significant byte=IP gateway 0 (if static). Less significant byte=IP

gateway 1 (if static).

R/WUnsigned 16 bits
40129128IP GATEWAY 2-3Most significant byte=IP gateway 2 (if static). Less significant byte=IP

gateway 3 (if static).

R/WUnsigned 16 bits
40130129TCP/IP PORT 1Port of TCP/IP client 1R/WUnsigned 16 bits
40131130TCP/IP TMO 1Timeout of TCP/IP port 1 (in ms)R/WUnsigned 16 bits
40132131TCP/IP ADDR 1Modbus address for TCP/IP port 1

(MSB)

R/WUnsigned 16 bits
40133132485#1

BAUDRATE

Baudrate value for RS485 port 1 (baudrate /10,

so write 3840

for 38400 baud

etc…)

R/WUnsigned 16 bits
40134133485#1

PARITY / STOP BITS

PARITY=MSB

(0=no parity, 1=odd, 2=even) STOP BITS=LSB (0=1

stop bit, 1=2 stop bits)

R/WUnsigned 16 bits
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
40135134485#1

TIMEOUT

Timeout of RS485 port 1 in msR/WUnsigned 16 bits
40136135485#2

BAUDRATE

Baudrate value for RS485 port 2 (baudrate /10, so write 3840 for

38400 baud

etc…)

R/WUnsigned 16 bits
40137136485#2

PARITY / STOP BITS

PARITY=MSB

(0=no parity, 1=odd, 2=even) STOP BITS=LSB (0=1

stop bit, 1=2 stop bits)

R/WUnsigned 16 bits
40138137485#2

TIMEOUT

Timeout of

RS485 port 2 in ms

R/WUnsigned 16 bits
40139138485#1 ADDR

485#2 ADDR

MODBUS ADDR.

485#1=MSB MODBUS ADDR.

485#2=LSB

R/WUnsigned 16 bits
40901900TCP/IP PORT 2Port of TCP/IP client 2R/WUnsigned 16 bits
40902901TCP/IP TMO 2Timeout of TCP/IP port 2 (in ms)R/WUnsigned 16 bits
40903902TCP/IP ADDR 2Modbus address for TCP/IP port 2 (MSB)R/WUnsigned 16 bits
40904903TCP/IP PORT 3Port of TCP/IP client 3R/WUnsigned 16 bits
40905904TCP/IP TMO 3Timeout of TCP/IP port 3 (in ms)R/WUnsigned 16 bits
40906905TCP/IP ADDR 3Modbus address for TCP/IP port 3 (MSB)R/WUnsigned 16 bits
40907906TCP/IP PORT 4Port of TCP/IP client 4R/WUnsigned 16 bits
40908907TCP/IP TMO 4Timeout of TCP/IP port 4 (in ms)R/WUnsigned 16 bits
40909908TCP/IP ADDR 4Modbus address for TCP/IP port 4 (MSB)R/WUnsigned 16 bits
40951950WEBSERVER PORTWebserver PortR/WUnsigned 16 bits
410011000COMMANDCommand RegisterR/WUnsigned 16 bits
410021001  R/W 
ADDRESS (4x)OFFSETREGISTER

 

COMMAND AUX1

ORDERCHANNELDESCRIPTION

 

Auxiliary 1 Command Register

R/WTYPE

 

Unsigned 16 bits

410031002COMMAND AUX2Auxiliary 2 Command

Register

R/WUnsigned 16 bits

The Command register (address 41001) allows commands to be executed.
Please note that the following numeric commands are written in hexadecimal format!

  • to save the EEPROM configuration, write 0x0001 to register 41001
  • to reset the device, write 0x0005 to reg. 41001
  • to load default settings, write 0x0006 to register 41001
  • to clear totaliser 1, write 0x0007 to register 41001
  • to clear totaliser 2, write 0x0008 to register 41001
  • to clear totaliser 3, write 0x0009 to register 41001
  • to clear totaliser 4, write 0x000A to register 41001
  • to clear counter 1, write 0x000B to register 41001
  • to clear counter 2, write 0x000C
  • to clear counter 3, write 0x000D
  • to clear counter 4, write 0x000E
  • to set a 32-bit value in totalizer 1, write the desired value to register 41002 (MSW of the 32-bit value)-41003 (LSW of the 32-bit value), then write 0x000F to register 41001
  • to set a 32-bit value in totaliser 2, write the desired value to register 41002 (MSW of 32bit value)-41003 (LSW of 32bit value), then write 0x0010 to register 41001.
  • to set a 32-bit value in totaliser 3, write the desired value to reg. 41002 (MSW of 32bit value)-41003 (LSW of 32bit value), then write 0x0011 to reg. 41001.
  • to set a 32-bit value in totaliser 4, write the desired value to reg. 41002 (MSW of 32bit value)-41003 (LSW of 32bit value), then write 0x0012 to reg. 41001.
  • to set a 32-bit value in counter 1, write the desired value to reg. 41002 (MSW of 32bit value)-41003 (LSW of 32bit value), then write 0x0013 to reg. 41001.
  • to set a 32-bit value in counter 2, write the desired value to reg. 41002 (MSW of 32bit value)-41003 (LSW of 32bit value), then write 0x0014 to reg. 41001.
  • to set a 32-bit value in counter 3, write the desired value to reg. 41002 (MSW of 32bit value)-41003 (LSW of 32bit value), then write 0x0015 to reg. 41001.
  • to set a 32 bit value in counter 4, write the desired value to reg. 41002 (MSW of 32bit value)-41003 (LSW of 32bit value), then write 0x0016 to reg. 41001

Modbus TCP-IP and Modbus RTU register addresses ZE-2AI

ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
400010Machine IDIdentification CodeRUnsigned 16bits
400021FW CodeFW Code revisionRUnsigned 16bits
400032Statusbit 0=OUTPUT FAIL

bit 1=AIN1 underflow

bit 2=AIN1 overflow bit 3=AIN2 underflow

bit 4=AIN2 overflow bit 15..8= Not used

RUnsigned 16bits
400043Analog Input1Analog input 1 Electrical value: mV

or uA

RUnsigned 16bits
400054Analog Input Scaled Value1Analog input 1 Scaled valueRUnsigned 16bits
400065Analog Input2Analog input 2

Electrical value: mV or uA

RUnsigned 16bits
400076Analog Input Scaled Value2Analog input 2 Scaled valueRUnsigned 16bits
400087NOT USEDR/WUnsigned 16bits
400098NOT USEDR/WUnsigned 16bits
400109NOT USEDR/WUnsigned 16bits
4001110NOT USEDR/WUnsigned 16bits
4001211NOT USED NOT USED

RUnsigned 16bits
4001312NOT USED NOT USED

RUnsigned 16bits
4001413NOT USED NOT USED

RUnsigned 16bits
4001413NOT USEDRUnsigned 16bits
4001615NOT USEDMSWR/WUnsigned 32 bits
4001716LSW
4001817NOT USEDMSWR/WUnsigned 32 bits
4001918LSW
4002019NOT USEDMSWR/W 
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
4002120 LSW   Unsigned 32 bits
4002221NOT USEDMSWR/WUnsigned 32 bits
4002322LSW
4002423NOT USEDMSWR/WUnsigned 32 bits
4002524LSW
4002625NOT USEDMSWR/WUnsigned 32 bits
4002726LSW
4002827NOT USEDMSWR/WUnsigned 32 bits
4002928LSW
4003029NOT USEDMSWR/WUnsigned 32 bits
4003130LSW
4003231IP ADDR. 0Actual IP address, 1st numberRUnsigned 16 bits
4003332IP ADDR. 1Actual IP address, 2nd numberRUnsigned 16 bits
4003433IP ADDR. 2Actual IP address, 3rd numberRUnsigned 16 bits
4003534IP ADDR. 3Actual IP address, 4th numberRUnsigned 16 bits
4003635IP MASK 0Actual IP mask, 1st numberRUnsigned 16 bits
4003736IP MASK 1Actual IP mask, 2nd numberRUnsigned 16 bits
4003837IP MASK 2Actual IP mask, 3rd numberRUnsigned 16 bits
4003938IP MASK 3Actual IP mask, 4th numberRUnsigned 16 bits
4004039IP GATEWAY 0Actual IP gateway, 1st numberRUnsigned 16 bits
4004140IP GATEWAY

1

Actual IP gateway,

2nd number

RUnsigned

16 bits

4004241IP GATEWAY 2Actual IP gateway , 3rd numberRUnsigned 16 bits
4004342IP GATEWAY 3Actual IP gateway , 4th numberRUnsigned 16 bits
4004443MAC ADDR.0MAC address,RUnsigned 16 bits
-400011st number (hexadecimal interpretation)
4004544MAC ADDR.1MAC address, 2nd number

(hexadecimal interpretation)

RUnsigned 16 bits
4004645MAC ADDR.2MAC address, 3rd number

(hexadecimal interpretation)

RUnsigned 16 bits
4004746AIN1 ADCAnalog input 1 ADC valueRUnsigned 16 bits
4004847AIN2 ADCAnalog input 2 ADC valueRUnsigned 16 bits
40101100AIN INPUT SPEEDAnalog input speed from 10 to 300 [ms] for channelR/WUnsigned 16 bits
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
40102101NOT USEDR/WUnsigned 16 bits
40103102AIN1 TYPE1Analog input 1 mode 0=mA

1=mV

R/WUnsigned 16 bits
40104103AIN1 START SCALE1Start scale (electrical) for analog input 1: expressed in mV or

uA

R/WUnsigned 16 bits
40105104AIN1 STOP SCALE1Stop scale (electrical) for analog input 1: expressed in mV or

uA

R/WUnsigned 16 bits
40106105AIN1 ENG. START SCALE1Start scale (engineering) for analog input 1: expressed in mV or

uA

R/WUnsigned 16 bits
40107106AIN1 ENG. STOP SCALE1Stop scale (engineering) for analog input 1: expressed in mV or

uA

R/WUnsigned 16 bits
40108107NOT USEDR/WUnsigned 16 bits
40103102AIN2 TYPE2Analog input 2 mode 0=mA

1=mV

R/WUnsigned 16 bits
40104103AIN2 START SCALE2Start scale (electrical) for analog input 2:

expressed in mV or uA

R/WUnsigned 16 bits
40105104AIN2 STOP SCALE2Stop scale (electrical) for analog input 2: expressed in mV or uAR/WUnsigned 16 bits
40106105AIN2 ENG. START SCALE2Start scale (engineering) for analog input 2: expressed in mV or

uA

R/WUnsigned 16 bits
40107106AIN2 ENG. STOP SCALE2Stop scale (engineering) for analog input 2:

expressed in mV or uA

R/WUnsigned 16 bits
40114113NOT USEDR/WUnsigned 16 bits
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
40115114NOT USEDR/WUnsigned 16 bits
40116115NOT USEDR/WUnsigned 16 bits
40117116NOT USEDR/WUnsigned 16 bits
40118117NOT USEDR/WUnsigned 16 bits
40119118NOT USEDR/WUnsigned 16 bits
40120119NOT USEDR/WUnsigned 16 bits
40121120NOT USEDR/WUnsigned 16 bits
40122121NOT USEDR/WUnsigned 16 bits
40123122IP DHCP0=Ethernet IP is static 1=Ethernet IP is acquired from a DHCP

server

R/WUnsigned 16 bits
40124123IP ADDRESS 0-1Most significant byte=IP address 0 (if static) Less significant byte=IP address 1 (if

static)

R/WUnsigned 16 bits
40125124IP ADDRESS 2-3Most significant byte=IP address 2 (if static). Less

significant byte=IP address 3 (if static)

R/WUnsigned 16 bits
40126125IP MASK 0-1Most significant byte=IP mask 0 (if static) Less significant byte=IP

mask 1 (if static)

R/WUnsigned 16 bits
40127126IP MASK 2-3Most significant byte=IP mask 2 (if static) Less significant byte=IP

mask 3 (if static)

R/WUnsigned 16 bits
40128127IP GATEWAY 0-1Most significant byte=IP gateway 0 (if static). Less significant byte=IP

gateway 1 (if static).

R/WUnsigned 16 bits
40129128IP GATEWAY 2-3Most significant byte=IP gateway 2 (if static). Less significant byte=IPR/WUnsigned 16 bits
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
     gateway 3 (if static).  
40130129TCP/IP PORT 1Port of TCP/IP client 1R/WUnsigned 16 bits
40131130TCP/IP TMO 1Timeout of TCP/IP port 1 (in ms)R/WUnsigned 16 bits
40132131TCP/IP ADDR 1Modbus address for TCP/IP port 1 (MSB)R/WUnsigned 16 bits
40133132485#1

BAUDRATE

Baudrate value for RS485 port 1 (baudrate /10, so write 3840 for

38400 baud etc…)

R/WUnsigned 16 bits
40134133485#1 PARITY

/ STOP BITS

PARITY=MSB

(0=no parity, 1=odd, 2=even) STOP BITS=LSB

(0=1 stop bit, 1=2 stop bits)

R/WUnsigned 16 bits
40135134485#1

TIMEOUT

Timeout of RS485 port 1 in msR/WUnsigned 16 bits
40136135485#2

BAUDRATE

Baudrate value for RS485 port 2 (baudrate /10, so write 3840 for

38400 baud etc…)

R/WUnsigned 16 bits
40137136485#2 PARITY

/ STOP BITS

PARITY=MSB

(0=no parity, 1=odd, 2=even) STOP BITS=LSB

(0=1 stop bit, 1=2 stop bits)

R/WUnsigned 16 bits
40138137485#2

TIMEOUT

Timeout of RS485 port 2 in msR/WUnsigned 16 bits
40139138485#1 ADDR

485#2 ADDR

MODBUS ADDR.

485#1=MSB MODBUS ADDR.

485#2=LSB

R/WUnsigned 16 bits
40901900TCP/IP PORT 2Port of TCP/IP client 2R/WUnsigned 16 bits
40902901TCP/IP TMO 2Timeout of TCP/IP port 2 (in ms)R/WUnsigned 16 bits
40903902TCP/IP ADDR 2Modbus address for TCP/IP port 2

(MSB)

R/WUnsigned 16 bits
40904903TCP/IP PORT 3Port of TCP/IP client 3R/WUnsigned 16 bits
40905904TCP/IP TMO 3Timeout of TCP/IP port 3 (in ms)R/WUnsigned 16 bits
40906905TCP/IP ADDR 3Modbus address for TCP/IP port 3 (MSB)R/WUnsigned 16 bits
40907906TCP/IP PORT 4Port of TCP/IP client 4R/WUnsigned 16 bits
ADDRESS (4x)OFFSETREGISTERORDERCHANNELDESCRIPTIONR/WTYPE
40908907TCP/IP TMO 4Timeout of TCP/IP port 4 (in ms)R/WUnsigned 16 bits
40909908TCP/IP ADDR 4Modbus address for

TCP/IP port 4 (MSB)

R/WUnsigned 16 bits
40951950WEBSERVER PORTWebserver PortR/WUnsigned 16 bits
410011000COMMANDCommand RegisterR/WUnsigned 16 bits
410021001COMMAND AUX1Auxiliary 1 Command RegisterR/WUnsigned 16 bits
410031002COMMAND AUX2Auxiliary 2 Command RegisterR/WUnsigned 16 bits

The Command register (address 41001) allows commands to be executed.
Please note that the following numeric commands are written in hexadecimal format!

  • to save the EEPROM configuration, write 0x0001 to register 41001
  • to reset the device, write 0x0005 to reg. 41001
  • to load default settings, write 0x0006 to register 41001

COLLEGAMENTO AL WEB SERVER

(SOLO ZE-4DI-2AI-2DO e ZE-2AI)
To access the webserver, open a browser and type (with default ip address) Http://192.168.90.101

The default password and user name are:

  • User name: admin
  • Password: admin

If the Ip configuration is performed correctly, the web server is displayed as follows:

CONFIGURATION OF THE ZE MODULE WITH THE WEB SERVER
The web server can be used to configure the ZE module. To view all parameters, click on the ‘Setup’ button to the left of the screen:

The first column represents the parameter name and the second column (current) is the value of the current parameter. The last column (updated) can be used to change the current configuration. Once the configuration has been made, you must confirm with ‘APPLY’ to make the new configuration operational.

ATTENTION!
ALWAYS REMEMBER TO CONFIGURE THE WEB SERVER AUTHENTICATION USERNAME AND PASSWORD TO RESTRICT ACCESS TO THE WEB SERVER. IF YOU LEAVE THE TWO PARAMETER TEXT BOXES BLANK, AUTHENTICATION WILL NOT BE REQUIRED TO ACCESS THE WEB SERVER. FOR SECURITY REASONS, AUTHENTICATION PARAMETERS CAN ONLY BE CHANGED VIA THE WEB SERVER.

REAL-TIME VALUES ON THE WEB SERVER
It is also possible to use the web server to display values in real time. The ‘Real Time view’ page can also be used to change values for totalisers, counters and outputs:

SOFTWARE EASY SETUP for Windows

(SOLO Z-4DI-2AI-2DO)
From the Quick Start menu, select the device model (you can also click on the tab and select the correct model from the button).
The ‘Easy ZE’ configuration software starts:

Click ‘AUTOMATIC SEARCH’ for automatic connection to the Z-4DI-2AI-2DO device. The software tries to connect with all serial ports until the device responds.
At this point, the configuration menu will be displayed:

Firmware Update

Model Z-4DI-2AI-2DO
With a new Easy Setup revision, Seneca is able to include new firmware for the device. A new firmware update can include new features or bug fixes.
WARNING!
Once the firmware update has started, do not switch off the device before the procedure is complete. Switch on the ZE device and connect it to the PC
On the configuration menu, click on ‘Software update’.Press “Load software from file”: the software will directly open the firmware directory. If the “new software” revision is newer than the “software in the device” revision, click “Send software to the device”. The firmware update takes about 6 minutes.

Model ZE-4DI-2AI-2DO/ZE-2AI
To update devices use the webserver under ‘Firmware Update’.

ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it

References

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals