Seneca R-32DIDO-P User manual

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 2
Introduction
The content of this documentation refers to products and technologies described in it.
All technical data contained in the document may be changed without notice.
The content of this documentation is subject to periodic review.
To use the product safely and effectively, read the following instructions carefully before use.
The product must be used only for the use for which it was designed and manufactured: any other use is under
the full responsibility of the user.
Installation, programming and set-up are allowed only to authorized, physically and intellectually suitable
operators.
Set-up must be performed only after correct installation and the user must follow all the operations described in
the installation manual carefully.
Seneca is not responsible for failures, breakages and accidents caused by ignorance or failure to apply the
stated requirements.
Seneca is not responsible for any unauthorized modifications.
Seneca reserves the right to modify the device, for any commercial or construction requirement, without the
obligation to promptly update the reference manuals.
No liability for the contents of this document can be accepted.
Use the concepts, examples and other content at your own risk.
There may be errors and inaccuracies in this document that could damage your system, so proceed with caution,
the author(s) will not take responsibility for it.
Technical specifications are subject to change without notice.
CONTACT US
Technical support
Product information
This document is the property of SENECA srl.
Copies and reproduction are prohibited unless authorised.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 3
Document revisions
DATE
REVISION
NOTES
AUTHOR
19/10/2021
0
First revision
MM
09/02/2022
2
Write Multiple Coil" function added to the list of supported functions (chap. 8.1)
MM
09/02/2022
3
Removed references to channels 33 to 64
AZ

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 4
TABLE OF CONTENTS
INTRODUCTION...........................................................................................................6
DESCRIPTION..........................................................................................................................................................................7
COMMUNICATION PORT SPECIFICATIONS.........................................................................................................................8
CONNECTION OF THE DEVICES TO A NETWORK (ONLY R-32DIDO MODEL)......9
CONNECTION OF THE DEVICE TO A NETWORK ................................................................................................................9
USING EASY SETUP 2 TO CONFIGURE DEVICES...............................................................................................................9
I/O COPY USING THE PEER TO PEER FUNCTION WITHOUT WIRING (ONLY R-
32DIDO MODEL)...............................................................................................................11
MODBUS PASSTHROUGH (ONLY R-32DIDO MODEL)...........................................12
WEBSERVER (ONLY R-32DIDO MODEL) ................................................................13
ACCESS TO THE WEB SERVER..........................................................................................................................................13
DEVICE CONFIGURATION ...................................................................................................................................................14
SETUP SECTION ..............................................................................................................................................................14
DIGITAL I/O SETUP SECTION..........................................................................................................................................17
SETUP COUNTERS SECTION .........................................................................................................................................17
P2P CONFIGURATION .....................................................................................................................................................18
5.2.4.1. P2P CLIENT SECTION .................................................................................................................................................19
5.2.4.2. P2P SERVER SECTION ...............................................................................................................................................21
5.2.4.3. P2P CONFIGURATION EXAMPLE...............................................................................................................................22
5.2.4.4. P2P EXECUTION TIME ................................................................................................................................................23
FW/CONFIGURATION UPDATE SECTION ..........................................................................................................................23
USB CONNECTION (R-32DIDO MODEL ONLY).......................................................24
RESETTING THE DEVICE TO FACTORY CONFIGURATION..................................24
SUPPORTED MODBUS COMMUNICATION PROTOCOLS (MODEL R-32DIDO
ONLY)................................................................................................................................25
SUPPORTED MODBUS FUNCTION CODES........................................................................................................................25
MODBUS REGISTER TABLE (R-32DIDO MODEL ONLY) .......................................26
R-32DIDO: MODBUS 4X HOLDING REGISTERS TABLE (FUNCTION CODE 3) ...............................................................26
R-32DIDO: TABLE OF MODBUS REGISTERS 0x COIL STATUS (FUNCTION CODE 1) ..................................................34
R-32DIDO: TABLE OF MODBUS REGISTERS 1x INPUT STATUS (FUNCTION CODE 2) ................................................35
SEARCH AND MODIFICATION OF THE DEVICE IP WITH SENECA DISCOVERY
TOOL.................................................................................................................................36

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 5
PROFINET IO (R-32DIDO-P MODEL ONLY)..........................................................38
STEP BY STEP CREATION OF A PROJECT WITH SIEMENS PLC (TIA PORTAL 16) .....................................................38
INSTALLING THE GSD FILE........................................................................................................................................38
INSERTION OF THE SIEMENS PLC IN THE PROJECT .............................................................................................39
INSERTION OF THE PROFINET SENECA IO .............................................................................................................42
CONFIGURATION OF THE PARAMETERS OF THE SENECA IO..............................................................................45
COMPILATION AND SENDING OF THE PROJECT TO THE SIEMENS PLC.............................................................45
READING AND WRITING OF THE SENECA IO FROM TIA PORTAL.........................................................................47

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 6
INTRODUCTION
ATTENTION!
This user manual extends the information from the installation manual to the configuration of the
device. Use the installation manual for more information.
ATTENTION!
In any case, SENECA s.r.l. or its suppliers will not be responsible for the loss of data/revenue or
consequential or incidental damages due to negligence or bad/improper management of the device,
even if SENECA is well aware of these possible damages.
SENECA, its subsidiaries, affiliates, group companies, suppliers and distributors do not guarantee that
the functions fully meet the customer's expectations or that the device, firmware and software should
have no errors or operate continuously.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 7
DESCRIPTION
The R series is based on devices equipped with two Ethernet switch ports that allow a chain connection to the
next Ethernet device (daisy chain), so expensive industrial Ethernet switches are not required and wiring is
simplified.
The hardware present in the devices allows the internal switch to work even if the device is faulty or not
powered for up to 4 days (LAN function with bypass in case of failure).
Another important function is the possibility of copying inputs on remote outputs of R series products without
the aid of a master device (peer 2 peer function) (only for R-32DIDO version).
Model
Description
Communication protocols
R-32DIDO
Remote Ethernet I/O with 2 Ethernet
ports and
32 digital Inputs/outputs
32 counters (32 bit, Max frequency
50 Hz)
Modbus TCP-IP
Modbus RTU
Seneca P2P I/O Mirror with
broadcast (UDP based)
R-32DIDO-P
Remote Ethernet I/O with 2 Ethernet
ports and
32 digital Inputs/outputs
Profinet IO

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 8
COMMUNICATION PORT SPECIFICATIONS
ETHERNET COMMUNICATION PORTS
Number
2
Type
100 Mbits
Configuration
Switch
RS485 COMMUNICATION PORTS
(ONLY R-32DIDO MODEL)
Number
1
Baudrate
From 1200 to 115200 bit/s configurable
Parity, Data bit, Stop bit
Configurable
Protocol
Can be configured between
Modbus RTU Slave or
Modbus TCP-IP to Modbus RTU passtrough
USB COMMUNICATION PORT (ONLY
R-32DIDO MODEL)
Number
1
Communication parameters
115200 bit/s, 8 bits, No parity, 1 stop bit, station address 1
Protocol
Modbus RTU Slave
R-32DIDO COMMUNICATION PROTOCOLS SUPPORTED
Modbus RTU
From RS485 and USB port
Modbus TCP-IP
From Ethernet 1 and 2
Seneca IO Mirror
From Ethernet 1 and 2
R-32DIDO-P COMMUNICATION PROTOCOLS SUPPORTED
Profinet IO
From Ethernet 1 and 2

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 9
CONNECTION OF THE DEVICES TO A NETWORK (ONLY R-32DIDO MODEL)
CONNECTION OF THE DEVICE TO A NETWORK
The factory configuration of the IP address is:
Static address: 192.168.90.101
Therefore, multiple devices must not be inserted on the same network with the same static IP.
If you want to connect multiple devices on the same network, you need to change the IP address configuration
using the Easy Setup 2 software.
ATTENTION!
DO NOT CONNECT 2 OR MORE FACTORY-CONFIGURED DEVICES ON THE SAME NETWORK, OR THE
ETHERNET INTERFACE WILL NOT WORK
(192.168.90.101 IP ADDRESS CONFLICT)
If the addressing mode with DHCP is activated and an IP address is not received within 1 minute, the device will
set an IP address with a fixed error:
169.254.x.y
Where x.y are the last two values of the MAC ADDRESS.
This way it is possible to install more I/O of the R series and then configure the IP with the Easy Setup 2
software even on networks without a DHCP server.
USING EASY SETUP 2 TO CONFIGURE DEVICES
The Easy Setup 2 software allows:
▪Configuring R series devices via the USB port
▪Searching and configuring Seneca R-series devices on an Ethernet network
In the case of a first installation we recommend following these steps:
1) Install the Easy Setup 2 software
2) Power and connect the device to the PC via the USB port

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 10
3) Configure the device with the IP address and the desired configuration
4) Install the device
If many devices are installed using the USB port:
1) Power and connect the device to the PC via the USB port
2) Configure the automatic address via DHCP from the search window
3) Install all the devices in the network
4) If there is no DHCP server in the network, after 1 minute the devices will set a fail IP address (see
chapter 2.1)
5) Wait for all the device STS LEDs to be on steady.
6) At this point, using Easy Setup 2, create a new Ethernet project and find all the devices with the
"search" button, then reconfigure the devices with the most appropriate work addresses.
In case of many devices using the Ethernet port:
1) Power and connect the first device to the PC via the Ethernet port
2) Perform the search
3) Change the address of the device with IP 192.168.90.101 from the search window
4) Connect the second device in Daisy Chain, search and return to step 2) until all devices are configured
The search software included in Easy Setup 2 works at Ethernet Layer 2 level (through the Seneca Discovery
protocol) and it is therefore not necessary to have an Ethernet configuration compatible with the device you are
looking for to change its IP. For the general configuration of the device it is necessary to have compatible
configuration.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 11
I/O COPY USING THE PEER TO PEER FUNCTION WITHOUT WIRING (ONLY R-
32DIDO MODEL)
The "R" series devices can be used to copy and update in real time an input channel on a remote output
channel without the aid of a master controller.
For example, a digital input can be copied to a remote digital output device:
Note that no controller is required because the communication is managed directly by the R series devices.
It is possible to make a more sophisticated connection, for example it is possible to copy the inputs to different
R-series remote devices (from Device 1 Input 1 to Device 2 Output1, Device 1 Input 2 to Device 3 Output 1 etc
...)
It is also possible to copy an input to an output of multiple remote devices:
Each R-series device can send and receive a maximum of 32 inputs.
For further information, see chapter 5.2.4.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 12
MODBUS PASSTHROUGH (ONLY R-32DIDO MODEL)
Thanks to the Modbus Passthrough function it is possible to extend the amount of I/O available in the device via
the RS485 port and the Modbus RTU slave protocol, for example by using the Seneca Z-PC series products.
In this mode the RS485 port stops working as Modbus RTU slave and the device becomes a Modbus TCP-IP
gateway to Modbus RTU serial:
Each Modbus TCP-IP request with station address other than that of the R series device is converted into a
serial packet on the RS485 and, in the case of a reply, it is turned over to TCP-IP.
Therefore, it is no longer necessary to purchase gateways to extend the I/O number or to connect already
available Modbus RTU I/O.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 13
WEBSERVER (ONLY R-32DIDO MODEL)
ACCESS TO THE WEB SERVER
Access to the web server takes place using a web browser and entering the IP address of the device.
To find out the IP address of the device, use the "search" function of the “Easy Setup 2" software (see chapter
10).
On first access the user name and password will be requested.
The default values are:
User Name: admin
Password: admin
ATTENTION!
AFTER THE FIRST ACCESS CHANGE USER NAME AND PASSWORD IN ORDER TO PREVENT
ACCESS TO THE DEVICE TO UNAUTHORIZED PEOPLE.
ATTENTION!
IF THE PARAMETERS TO ACCESS THE WEB SERVER HAVE BEEN LOST, IT IS NECESSARY TO
RESET THE FACTORY-SET CONFIGURATION (SEE CHAPTER 7)

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 14
DEVICE CONFIGURATION
To configure the device, access the web server and select the section you are interested in.
After a modification to the configuration has been made, the changes must be confirmed with the "APPLY"
button and the device will restart autonomously.
The Reboot button reboots the device (not necessary in the event of a configuration change).
The Default button returns all the page parameters to the default settings.
SETUP SECTION
DHCP (ETH) (default: Disabled)
Sets the DHCP client to get an IP address automatically.
IP ADDRESS STATIC (ETH) (default: 192.168.90.101)
Sets the device static address. Careful not to enter devices with the same IP address into the same network.
IP MASK STATIC (ETH) (default: 255.255.255.0)
Sets the mask for the IP network.
GATEWAY ADDRESS STATIC (ETH) (default: 192.168.90.1)
Sets the gateway address.
PROTECT CONFIGURATION (default: Disabled)
Allows you to enable or disable password protection for reading and writing the configuration (including the IP
address) using the Easy Setup 2 software or Seneca Discovery Tool. The password is the same one that allows
accessing the web server.
ATTENTION!
IF THE CONFIGURATION PROTECTION IS ENABLED IT WILL BE IMPOSSIBLE TO READ/WRITE THE
CONFIGURATION OF THE DEVICE WITHOUT KNOWING THE PASSWORD.
IN THE EVENT OF LOSING THE PASSWORD IT WILL BE POSSIBLE TO RETURN THE DEVICE TO THE
FACTORY CONFIGURATION (SEE CHAPTER 7)
MODBUS SERVER PORT (ETH) (default: 502)
Sets the communication port for the Modbus TCP-IP server.
MODBUS SERVER STATION ADDRESS (ETH) (default: 1)
Active only if Modbus Passthrough is also active, it sets the station address of the modbus TCP-IP server.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 15
ATTENTION!
THE MODBUS SERVER WILL ANSWER ANY STATION ADDRESS ONLY IF THE MODBUS
PASSTHROUGH MODE IS DISABLED.
MODBUS PASSTHROUGH (ETH) (default: disabled)
Sets the conversion mode from Modbus TCP-IP to Modbus RTU serial (see chapter 4).
MODBUS TCP-IP CONNECTION TIMEOUT [sec] (ETH) (default: 60)
Sets the TCP-IP connection timeout for the Modbus TCP-IP server and Passthrough modes.
P2P SERVER PORT (default: 50026)
Sets the communication port for the P2P server.
WEB SERVER USER NAME (default: admin)
Sets the user name to access the web server.
CONFIGURATION/WEB SERVER PASSWORD (default: admin)
Sets the password to access the web server and to read/write the configuration (if enabled).
WEB SERVER PORT (default: 80)
Sets the communication port for the web server.
BAUDRATE MODBUS RTU (SER) (default: 38400 baud)
Sets the baud rate for the RS485 communication port.
DATA MODBUS RTU (SER) (default: 8 bit)
Sets the number of bits for the RS485 communication port.
PARITY MODBUS RTU (SER) (default: None)
Sets the parity for the RS485 communication port.
STOP BIT MODBUS RTU (SER) (default: 1 bit)
Sets the number of stop bits for the RS485 communication port.
MODBUS PASSTHROUGH SERIAL TIMEOUT (default: 100ms)
Active only if passthrough mode is activated, sets the maximum waiting time before sending a new packet from
TCP-IP to the serial port. It must be set according to the longest response time of all the devices present on the
RS485 serial port.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 16
ATTENTION!
THE USB PORT CONFIGURATION PARAMETERS CANNOT BE MODIFIED AND ARE BAUDRATE:
115200
DATA: 8 BIT
PARITY: NONE
STOP BIT: 1
MODBUS RTU PROTOCOL

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 17
DIGITAL I/O SETUP SECTION
This section allows the configuration of the digital I/Os present in the device.
DIGITAL I/O MODE (default Input)
Selects whether the selected input will work as an input or output.
DIGITAL INPUT NORMALLY HIGH/LOW (default Normally Low)
If selected as digital input, it configures whether the input is normally high or low.
DIGITAL OUTPUT NORMALLY STATE (default Normally Open)
If selected as digital output, it configures whether the output is normally open or closed.
DIGITAL OUTPUT WATCHDOG (default Disabled)
If selected as digital output, it sets the output watchdog mode.
If “Disabled”, it disables the watchdog function for the selected output.
If "Enabled on Modbus Communication" the output goes into "Watchdog state" if there has been no generic
Modbus communication within the set time.
If "Enabled on Modbus Digital Output Writing" the output goes into "Watchdog state" if there has been no writing
of the output within the set time.
DIGITAL OUTPUT WATCHDOG STATE (default Open)
Sets the value that the digital output must adopt if the watchdog has been triggered.
DIGITAL OUTPUT WATCHDOG TIMEOUT [s] (default 100s)
Represents the watchdog time of the digital output in seconds.
SETUP COUNTERS SECTION
COUNTERS FILTER [ms] (default 0)
Sets the value in [ms] for filtering all the counters connected to the inputs.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 18
P2P CONFIGURATION
In the P2P Client section it is possible to define which local events to send to one or more remote devices.
This way it is possible to send the status of the inputs to the remote outputs and obtain the input-output replication
without wiring. It is also possible to send the same input to several outputs simultaneously.
In the P2P Server section it is instead possible to define which inputs must be copied to the outputs.
The "Disable all rules" button places all the rules in a disabled status (default).
The "APPLY" button allows you to confirm and then save the set rules in the non-volatile memory.

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 19
5.2.4.1. P2P CLIENT SECTION
The "Automatic configuration" button allows you to prepare the rules for sending all the inputs available in the
device in use.
En.
Selects whether the copy rule is active or not.
Loc. Ch.
Selects the status of which channel should be sent to the remote device(s).
Remote IP
Selects the IP address of the remote device to which the status of that input channel is to be sent.
If the channel has to be sent simultaneously to all the devices (broadcast), enter the broadcast address
(255.255.255.255) as the IP address.
Remote Port

User Manual
R-32DIDO SERIES
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION.
www.seneca.it
Doc: MI-00576-2-EN
Page 20
Selects the communication port for sending the status of the inputs. It must coincide with the P2P SERVER
PORT parameter of the remote device.
En
Selects operation in "Only Timed" or "Timed+Event" mode.
In "Only Timed" mode, the status of the inputs is sent on each "tick [ms]" and then refreshed continuously (cyclic
sending).
In the “Timed+Event” mode, the status of the inputs is sent to a digital event (change of status).
Tick [ms]
Sets the cyclical sending time of the input status.
ATTENTION!
IN CASE OF ENABLED WATCHDOG OF DIGITAL OUTPUTS THE RULE'S TICK TIME MUST BE LOWER
THAN THE WATCHDOG TIMEOUT SET
ATTENTION!
IT IS ALSO POSSIBLE TO COPY SOME I/O OF THE SAME DEVICE (FOR EXAMPLE, COPY THE I01
INPUT TO D01) BY ENTERING THE IP OF THE DEVICE AS REMOTE IP
This manual suits for next models
1
Table of contents
Other Seneca I/O System manuals

Seneca
Seneca Z-8TC-SI User manual

Seneca
Seneca Z-4AI User manual

Seneca
Seneca ZC-24DI User manual

Seneca
Seneca Z-8TC User manual

Seneca
Seneca Z-3AO User manual

Seneca
Seneca Z-4AI User manual

Seneca
Seneca Z-4TC-1 User manual

Seneca
Seneca Z-4TC User manual

Seneca
Seneca ZE-4DI-2AI-2DO User manual

Seneca
Seneca ZE-4DI-2AI-2DO User manual

Seneca
Seneca R-P Series User manual

Seneca
Seneca R-32DIDO User manual

Seneca
Seneca Z-SG User manual

Seneca
Seneca Z-D-IN User manual

Seneca
Seneca ZE-4DI-2AI-2DO User manual

Seneca
Seneca Z-D-IN User manual

Seneca
Seneca ZC-24DO User manual

Seneca
Seneca Z-5DI-2DO User manual

Seneca
Seneca Z-DAQ-PID User manual

Seneca
Seneca Z-8TC-1 User manual