R 8AI 8DIDO User Manual
R 8AI 8DIDO User Manual
R 8AI 8DIDO User Manual
R-8AI-8DIDO
R-8AI-8DIDO-P
MULTIPROTOCOL INDUSTRIAL ETHERNET I/O MODULE
SENECA S.r.l.
Via Austria 26 – 35127 – Z.I. - PADOVA (PD) - ITALY
Tel. +39.049.8705355 – 8705355 Fax +39 049.8706287
www.seneca.it
ORIGINAL INSTRUCTIONS
User Manual R-8AI-8DIDO SERIES
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 [email protected]
Product information [email protected]
Document revisions
DATE REVISION NOTES AUTHOR
17/02/2021 0 First revision MM
TABLE OF CONTENTS
1. INTRODUCTION ........................................................................................................... 6
1.1. DESCRIPTION ..........................................................................................................................................................................6
1.2. COMMUNICATION PORT SPECIFICATIONS .........................................................................................................................7
3. I/O COPY USING THE PEER TO PEER FUNCTION WITHOUT WIRING (ONLY R-
8AI-8DIDO MODEL) .......................................................................................................... 10
10.2. R-8AI-8DIDO: TABLE OF MODBUS REGISTERS 0x COIL STATUS (FUNCTION CODE 1) .............................................33
10.3. R-8AI-8DIDO: TABLE OF MODBUS REGISTERS 1x INPUT STATUS (FUNCTION CODE 2) ...........................................33
1. 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.
1.1. 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-8AI-8DIDO version).
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.
3) Configure the device with the IP address and the desired configuration
3. I/O COPY USING THE PEER TO PEER FUNCTION WITHOUT WIRING (ONLY R-8AI-
8DIDO 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:
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.
The sampling time of the analogue inputs depends on the ADC sampling time.
If an analogue input is disabled, its acquisition time must not be counted.
Where:
𝑁𝑎𝑐𝑡 𝑟𝑎𝑝𝑝𝑟𝑒𝑠𝑒𝑛𝑡𝑎 𝑖𝑙 𝑛𝑢𝑚𝑒𝑟𝑜 𝑑𝑖 𝑐𝑎𝑛𝑎𝑙𝑖 𝑎𝑛𝑎𝑙𝑜𝑔𝑖𝑐𝑖 𝑎𝑡𝑡𝑖𝑣𝑖
If, for example, the sampling time of the ADC is set at 50ms and all 8 analogue inputs are active, we have:
The sampling time of the digital inputs takes place between the sampling of one channel and the other so the
I/O update takes place every:
If, for example, the sampling time of the ADC is set to 50ms, the refresh of the digital I/Os is:
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
11).
Username: 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 WEBSERVER HAVE BEEN LOST, IT IS NECESSARY TO
RESET THE FACTORY-SET CONFIGURATION (SEE CHAPTER 8)
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 8)
ATTENTION!
THE MODBUS SERVER WILL ANSWER ANY STATION ADDRESS ONLY IF THE MODBUS
PASSTHROUGH MODE IS DISABLED.
ATTENTION!
THE USB PORT CONFIGURATION PARAMETERS CANNOT BE MODIFIED AND ARE BAUDRATE:
115200
DATA: 8 BIT
PARITY: NONE
STOP BIT: 1
MODBUS RTU PROTOCOL
This section allows the configuration of the analogue inputs present in the device.
ATTENTION!
THE DEVICE CAN DETECT THE COLD JOINT TEMPERATURE FROM THE INTERNAL SENSORS OR
FROM ANALOGUE INPUT 1 (THROUGH EXTERNAL PT100-TYPE SENSOR).
IN THIS CASE ALL THE DETECTIONS OF THE INTERNAL SENSORS WILL BE REPLACED BY THE
READING OF ANALOGUE INPUT 1.
+-30V
+-100mV
+-20 mA
Thermocouple
PT100 2 wires (for use as a cold junction and only for input 1)
PT100 3 wires (for use as a cold junction and only for input 1)
If the"IN2..8 CJ PT100" type of measurement is selected for input 1, this will automatically be used as a
measurement of the cold junction for all inputs configured by thermocouple between IN2 and IN8 included.
This section allows the configuration of the digital I/Os present in the device.
This section allows the configuration of events to send analogue values with the P2P protocol.
EVENT AIN MODE (Default: DISABLED)
Represents the event condition for sending packets linked to the analogue inputs in the P2P protocol.
It may be:
"Disabled" the sending event of the analogue packet is disabled
"Event when AIN > HIGH THRESHOLD" the packet sending event occurs when the analogue input exceeds
the "High" threshold set.
"Event when AIN < LOW THRESHOLD" the packet sending event occurs when the analogue input is lower
than the "Low" threshold set.
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.
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
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).
The "Timed+Event" mode is only possible for the digital event on the analogue input but not on the analogue
input itself.
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
The "Automatic configuration" button allows you to prepare the rules to receive all the inputs on the outputs
of the device in use.
En.
Selects whether the copy rule is active or not.
Rem. Ch.
Selects the status of which remote channel should be received by the local device.
Remote IP
Selects the IP address of the remote device from which to receive the input status.
If the channel must be received simultaneously by all the devices (broadcast), enter the broadcast address
(255.255.255.255) as the IP address.
Loc. Ch.
Selects the copy destination of the remote input value.
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. HOWEVER, THE ETHERNET
PORT MUST BE CORRECTLY CONNECTED.
ATTENTION!
THE ANALOGUE EVENT LINKED TO A THRESHOLD IN THE P2P PROTOCOL IS IDENTIFIED AS A
DIGITAL INPUT. IN PARTICULAR:
THE EVENT ON AIN1 IS IDENTIFIED AS A CHANGE OF STATUS ON THE VIRTUAL DIN9 INPUT
THE EVENT ON AIN2 IS IDENTIFIED AS A CHANGE OF STATUS ON THE VIRTUAL DIN10 INPUT
…
THE EVENT ON AIN8 IS IDENTIFIED AS A CHANGE OF STATUS ON THE VIRTUAL DIN16 INPUT
In the following example we have No.2 devices and we want to copy the status of digital input 1 of the first to
the digital output of the second.
The IP address of Device 1 is 192.168.1.10
The IP address of Device 2 is 192.168.1.11
Let's move to device 1 with IP address 192.168.1.10 and select the sending of digital input 1 to the remote
address 192.168.1.11 of device 2 this way:
DEVICE 1
Now let's move on to device 2 and first configure the P2P server communication port on 50026:
And we now configure the P2P server, the channel to be received from 192.168.1.10 is Di_1 and must be
copied to Do_1:
DEVICE 2
With this configuration, each time digital input 1 of device 1 (192.168.1.10) changes status, a packet will be
sent to device 2 (192.168.1.11) which will copy it to digital output 1.
After 1 second, the same packet will be sent cyclically.
ATTENTION!
NOT TO DAMAGE THE DEVICE DO NOT REMOVE THE POWER SUPPLY DURING THE FIRMWARE
UPDATE OPERATION.
The front USB port allows a simple connection using the Modbus RTU slave protocol, the communication
parameters for the USB port cannot be modified:
Drivers for Windows PC can be downloaded from the device's web page.
The drivers are anyway present in the installation of the "Easy Setup 2" software.
It is possible to reset the device to the factory configuration using the following procedure:
1) With the device off, set dip switch SW3 dip 1 and 2 to ON
2) Power up the device and wait 10 seconds
3) Turn off the device
4) With the device off, set dip switch SW3 dip 1 and 2 to OFF
5) Power up the device
6) The device has now been reset to the factory configuration
ATTENTION!
All 32-bit values are contained in 2 consecutive registers
ATTENTION!
Any registers with RW* (in flash memory) can be written up to 10000 times
The PLC/Master Modbus programmer must not exceed this limit
MS = More significant
LS = Less significant
MSW = 16 most significant bits
LSW = 16 least significant bits
RO = Register in read-only
RW = Read/write register
RW * = Register in reading and writing contained in flash memory, writable a maximum of 10000 times.
Unsigned 16 bit = unsigned integer register, can take values from 0 to 65535
Signed 16 bit = signed integer register can take values from -32768 to +32767
Float 32 bits = Single-precision floating point register with 32 bits (IEEE 754)
https://en.wikipedia.org/wiki/IEEE_754
BIT = Boolean registry, can be 0 (false) or 1 (true)
OFFSET
ADDRESS CHANN
ADDRESS REGISTER DESCRIPTION W/R TYPE
(4x) EL
(4x)
UNSIGNED
40001 0 MACHINE-ID - Device ID RO
16 BIT
FIRMWARE
UNSIGNED
40002 1 REVISION - FW revision RO
16 BIT
(Maior/Minor)
FIRMWARE
UNSIGNED
40003 2 REVISION - FW revision RO
16 BIT
(Fix/Build)
UNSIGNED
40004 3 FW CODE - FW code RO
16 BIT
UNSIGNED
40005 4 RESERVED - - RO
16 BIT
UNSIGNED
40006 5 RESERVED - - RO
16 BIT
UNSIGNED
40007 6 BOARD-ID - HW revision RO
16 BIT
BOOT REVISION UNSIGNED
40008 7 - FW Bootloader revision RO
(Maior/Minor) 16 BIT
BOOT REVISION UNSIGNED
40009 8 - FW Bootloader revision RO
(Fix/Build) 16 BIT
UNSIGNED
40010 9 RESERVED - - RO
16 BIT
UNSIGNED
40011 10 RESERVED - - RO
16 BIT
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION. www.seneca.it Doc: MI-00566-0-IT Page 27
User Manual R-8AI-8DIDO SERIES
OFFSET
ADDRESS CHANN
ADDRESS REGISTER DESCRIPTION W/R TYPE
(4x) EL
(4x)
UNSIGNED
40012 11 RESERVED - - RO
16 BIT
UNSIGNED
40013 12 RESERVED - - RW
16 BIT
UNSIGNED
40014 13 RESERVED - - RW
16 BIT
UNSIGNED
40015 14 RESERVED - - RW
16 BIT
UNSIGNED
40016 15 RESERVED - - RW
16 BIT
Supported command list:
UNSIGNED
40017 16 COMMAND - 49568 decimal to perform RW
16 BIT
a Reboot
Bit 0: Thermocouple AIN1
Burnout status (0 = OK, 1 =
BURN)
Bit 1: TC AIN2 Burnout
status (0 = OK, 1 = BURN)
Bit 2: TC AIN3 Burnout
status (0 = OK, 1 = BURN)
Bit 3: TC AIN4 Burnout
status (0 = OK, 1 = BURN)
Bit 4: TC AIN5 Burnout UNSIGNED
40018 17 STATUS - RW
status (0 = OK, 1 = BURN) 16 BIT
Bit 5: TC AIN6 Burnout
status (0 = OK, 1 = BURN)
Bit 6: TC AIN7 Burnout
status (0 = OK, 1 = BURN)
Bit 7: TC AIN8 Burnout
status (0 = OK, 1 = BURN)
Bit 8-15: AIN[8..1] current
measurement dipswitch
status
UNSIGNED
40019 18 RESERVED - - RW
16 BIT
UNSIGNED
40020 19 RESERVED - - RW
16 BIT
OFFSET
ADDRESS CHANN
ADDRESS REGISTER DESCRIPTION W/R TYPE
(4x) EL
(4x)
OFFSET
ADDRESS CHANN
ADDRESS REGISTER DESCRIPTION W/R TYPE
(4x) EL
(4x)
Digital input/output status
For inputs:
0 = Low input
1 = High input
For outputs:
0 = Inactive output
1 = Active output
THE LEAST
SIGNIFICANT BIT
RELATES TO IO1
EXAMPLE: UNSIGNED
40023 22 DIGITAL I/O (READ) RO
5 decimal = 0000 16 BIT
0000 0000 0101
binary =>
IO1=High/Active
IO2=Low/Not Active
IO3=High/Active
IO4..IO8=Low/Not Active
Unlike the I/O STATUS
register, it is read-only and
shows the real status of
the outputs
Channel
40101 100 measurement (unit of RO FLOAT 32
measurement depending
on the type of
CHANNEL VALUE 1
measurement or
40102 101 configuration) [V] or [mV] RO FLOAT 32
or [mA] or [°C] o [K] or
[°F])
Channel
40103 102 measurement (unit of RO FLOAT 32
measurement depending
on the type of
CHANNEL VALUE 2
measurement or
40104 103 configuration) [V] or [mV] RO FLOAT 32
or [mA] or [°C] o [K] or
[°F])
Channel
40105 104 CHANNEL VALUE 3 measurement (unit of RO FLOAT 32
measurement depending
OFFSET
ADDRESS CHANN
ADDRESS REGISTER DESCRIPTION W/R TYPE
(4x) EL
(4x)
on the type of
measurement or
40106 105 configuration) [V] or [mV] RO FLOAT 32
or [mA] or [°C] o [K] or
[°F])
Channel
40107 106 measurement (unit of RO FLOAT 32
measurement depending
on the type of
CHANNEL VALUE 4
measurement or
40108 107 configuration) [V] or [mV] RO FLOAT 32
or [mA] or [°C] o [K] or
[°F])
Channel
40109 108 measurement (unit of RO FLOAT 32
measurement depending
on the type of
CHANNEL VALUE 5
measurement or
40110 109 configuration) [V] or [mV] RO FLOAT 32
or [mA] or [°C] o [K] or
[°F])
Channel
40111 110 measurement (unit of RO FLOAT 32
measurement depending
on the type of
CHANNEL VALUE 6
measurement or
40112 111 configuration) [V] or [mV] RO FLOAT 32
or [mA] or [°C] o [K] or
[°F])
Channel
40113 112 RO FLOAT 32
measurement (unit of
measurement depending
on the type of
CHANNEL VALUE 7
measurement or
40114 113 RO FLOAT 32
configuration) [V] or [mV]
or [mA] or [°C] o [K] or
[°F])
Channel
40115 114 CHANNEL VALUE 8 measurement (unit of RO FLOAT 32
OFFSET
ADDRESS CHANN
ADDRESS REGISTER DESCRIPTION W/R TYPE
(4x) EL
(4x)
measurement depending
on the type of
measurement or
40116 115 RO FLOAT 32
configuration) [V] or [mV]
or [mA] or [°C] o [K] or
[°F])
Channel measurement SIGNED 16
40117 116 ENG. VALUE 1 RO
scaled in engineering units BIT
Channel measurement SIGNED 16
40118 117 ENG. VALUE 2 RO
scaled in engineering units BIT
Channel measurement SIGNED 16
40119 118 ENG. VALUE 3 RO
scaled in engineering units BIT
Channel measurement SIGNED 16
40120 119 ENG. VALUE 4 RO
scaled in engineering units BIT
Channel measurement SIGNED 16
40121 120 ENG. VALUE 5 RO
scaled in engineering units BIT
Channel measurement SIGNED 16
40122 121 ENG. VALUE 6 RO
scaled in engineering units BIT
Channel measurement SIGNED 16
40123 122 ENG. VALUE 7 RO
scaled in engineering units BIT
Channel measurement SIGNED 16
40124 123 ENG. VALUE 8 RO
scaled in engineering units BIT
Measurement of the cold
40125 124
NTC TEMP 1 junction internal RO FLOAT 32
40126 125 sensor temperature in [°C]
40127 126 Measurement of the cold
NTC TEMP 2 junction internal RO FLOAT 32
40128 127 sensor temperature in [°C]
40129 128 Measurement of the cold
NTC TEMP 3 junction internal RO FLOAT 32
40130 129
sensor temperature in [°C]
40131 130 Measurement of the cold
NTC TEMP 4 junction internal RO FLOAT 32
40132 131
sensor temperature in [°C]
Measurement of the cold
40133 132
NTC TEMP 5 junction internal RO FLOAT 32
40134 133 sensor temperature in [°C]
40135 134
Measurement of the cold
NTC TEMP 6 junction internal RO FLOAT 32
40136 135
sensor temperature in [°C]
OFFSET
ADDRESS CHANN
ADDRESS REGISTER DESCRIPTION W/R TYPE
(4x) EL
(4x)
40139 138 Measurement of the cold
NTC TEMP 8 junction internal RO FLOAT 32
40140 139 sensor temperature in [°C]
ADDRESS (0x) OFFSET ADDRESS (0x) REGISTER CHANNEL DESCRIPTION W/R TYPE
DIGITAL DIGITAL
1 0 1 RW BIT
INPUT/OUTPUT INPUT/OUTPUT
DIGITAL DIGITAL
2 1 2 RW BIT
INPUT/OUTPUT INPUT/OUTPUT
DIGITAL DIGITAL
3 2 3 RW BIT
INPUT/OUTPUT INPUT/OUTPUT
DIGITAL DIGITAL
4 3 4 RW BIT
INPUT/OUTPUT INPUT/OUTPUT
DIGITAL DIGITAL
5 4 5 RW BIT
INPUT/OUTPUT INPUT/OUTPUT
DIGITAL DIGITAL
6 5 6 RW BIT
INPUT/OUTPUT INPUT/OUTPUT
DIGITAL DIGITAL
7 6 7 RW BIT
INPUT/OUTPUT INPUT/OUTPUT
DIGITAL DIGITAL
8 7 8 RW BIT
INPUT/OUTPUT INPUT/OUTPUT
ADDRESS (1x) OFFSET ADDRESS (1x) REGISTER CHANNEL DESCRIPTION W/R TYPE
DIGITAL DIGITAL
10001 0 1 RO BIT
INPUT INPUT/OUTPUT
DIGITAL DIGITAL
10002 1 2 RO BIT
INPUT INPUT/OUTPUT
DIGITAL DIGITAL
10003 2 3 RO BIT
INPUT INPUT/OUTPUT
DIGITAL DIGITAL
10004 3 4 RO BIT
INPUT INPUT/OUTPUT
DIGITAL DIGITAL
10005 4 5 RO BIT
INPUT
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION. www.seneca.it Doc: MI-00566-0-IT Page 33
User Manual R-8AI-8DIDO SERIES
INPUT/OUTPUT
DIGITAL DIGITAL
10006 5 6 RO BIT
INPUT INPUT/OUTPUT
DIGITAL DIGITAL
10007 6 7 RO BIT
INPUT INPUT/OUTPUT
DIGITAL DIGITAL
10008 7 8 RO BIT
INPUT INPUT/OUTPUT
11. SEARCH AND MODIFICATION OF THE DEVICE IP WITH SENECA DISCOVERY TOOL
(R-8AI-8DIDO MODEL ONLY)
The search and modification of a device can be performed directly in the Easy Setup 2 software.
If Seneca devices that are not part of the R series are also used, it is more convenient to set the addresses
with a single software.
When in the R series device the STS LED is on steady, it is possible to obtain the IP address which has been
set using the "Seneca Discovery" tool too.
https://www.seneca.it/en/linee-di-prodotto/software/easy/sdd
Pressing the "search" button starts the search for all Seneca devices present in the network even if with IP
addresses not compatible with the current PC configuration:
The software works at layer 2 level and it is therefore not necessary to have an Ethernet configuration
compatible with the device you are looking for.
12.1. STEP BY STEP CREATION OF A PROJECT WITH SIEMENS PLC (TIA PORTAL 16)
Point to the directory where the file is and press OK, then the list of GSD files in the folder will appear:
Click on "install".
Now insert the Siemens PLC (in our example a SIEMATIC S7 1200), click on "Add new device ...":
Now click on the PLC and select Profinet interface -> Ethernet addresses
Set the IP you want (in this case 192.168.90.44) and the PLC subnet:
On the right, select "Hardware Catalogue" and then under "Additional Field Device" -> PROFINET IO -> I/O ->
Seneca R-Series-> Header module (in the example an R-16DI-8DO device is shown):
Now associate it to the PLC by clicking with the left mouse on "Not assigned" and then select the PLC:
Click twice on the Seneca device and configure the IP address here too (for example 192.168.90.48):
In Profinet the devices are identified by their name, so right click on the Seneca device and select "Assign
device name"
Scan the network with "Update list" and set (if necessary) the device name with "Assign name".
It is also possible to directly configure the device IO without any external software.
To configure the device, click on the IO so that the "Unit parameters" appear:
At the next start, the PLC will send the desired configuration to the device.
Now that the devices are configured, all that remains is to compile and send the configuration to the PLC.
The first icon compiles while the second sends the project:
Before sending the project to the PLC, you are asked to select the ethernet interface and start the search, in
order to select the PLC and press "Load".
If everything is correct you will get a green icon next to the Seneca device:
It is also possible to read and write the Seneca IO (for debugging purposes) directly from the TIA portal.
Define the PLC tags directly in the "standard tag table":
Add the tags related to the IO (in the example it is an R-16DI-8DO that is 16 digital inputs and 8 digital
outputs). The addresses are written here:
Click on "Add new control table" and then insert the variables
Since you have already defined them previously, just select the ones we want to monitor from the list:
Now compile, send the project and go online with the PLC (all operations seen previously):
Once online, press the glasses icon to update the status of the variables:
Under the "Control value" column you can read the I/O value in real time.
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION. www.seneca.it Doc: MI-00566-0-IT Page 48
User Manual R-8AI-8DIDO SERIES
To control the outputs, it is necessary to enter "TRUE" in the "Command value" column and then press the
icon with the lightning bolt to order the writing:
In the "Control value" column, the outputs are now correctly read to "True".
Configure the PLC by selecting it in the tree on the left and then browsing the network:
Now that the PLC has been detected, move on to insert a Profinet port on standard ethernet:
Right click on device and "add device":
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION. www.seneca.it Doc: MI-00566-0-IT Page 50
User Manual R-8AI-8DIDO SERIES
Double click on Ethernet, set the Ethernet port and the IP address of the PLC (in this case use 192.168.90.44):
Set also the address range for the Profinet peripheral, double click on PN_Controller:
Now you need to connect the Seneca slave device PROFINET IO to the Profinet master (controller).
First install the GSD file of the Seneca IO.
Select Tools->Device Repository:
Now import the GSD file by selecting Profinet IO Slave and then Install:
ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY
BE REPRODUCED WITHOUT PRIOR PERMISSION. www.seneca.it Doc: MI-00566-0-IT Page 52
User Manual R-8AI-8DIDO SERIES
At this point you can scan the network in search of Slave devices (Device).
First compile the project and log in to the PLC:
Now that you are connected to the PLC, run the scan to find the devices:
In the list of devices, select the Seneca IO and then "Copy to project":
If you want to change the IO configuration parameters, you can set them from here:
Now see how it is possible to read and write IO on the Seneca device.
To write and read the status of the IO you have to insert a few code lines under PRG.
In the program, read the inputs from the %IB0 and %IB1 addresses and write in the %QB0 address as it is
obtained from here:
Declare two 8-bit (Byte) variables for the 16 inputs and one byte for the 8 outputs.
In the program, instead, read the inputs from %IB0 and %IB1 and write the outputs on %QB0:
while to write the outputs you just set the byte value in the "prepared value" column, for example by writing
0xFF (255 decimal = 11111111 binary) all the outputs will be brought to 1:
And then with "Write values" all the outputs are activated correctly.