background image

 
 

ORIGINAL INSTRUCTIONS  

 

USER MANUAL

 

R-32DIDO-P 

R-32DIDO 

 

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 

 

 

Summary of Contents for R-32DIDO

Page 1: ...NAL INSTRUCTIONS USER MANUAL R 32DIDO P R 32DIDO 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 ...

Page 2: ...orrect 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...

Page 3: ...D 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 ...

Page 4: ...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 ...

Page 5: ...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 ...

Page 6: ...or 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 me...

Page 7: ...e 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 Ethern...

Page 8: ...200 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 Modbu...

Page 9: ...ES 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 wi...

Page 10: ...his 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 Co...

Page 11: ...or 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 e...

Page 12: ... 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 ...

Page 13: ...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 ACCE...

Page 14: ... 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 Disco...

Page 15: ...erver 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 p...

Page 16: ...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 ...

Page 17: ... 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 ...

Page 18: ... 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 APP...

Page 19: ...les 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 add...

Page 20: ...ent 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 AT...

Page 21: ...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 th...

Page 22: ...he 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...

Page 23: ...on to the congestion of the ethernet network For example for the R 16DI8DO model the switching time of the remote digital output as a response to an incoming event into another R 16DI8DO is about 20 ms daisy chain connection of 2 devices 1 set rule As regards the analogue models the refresh time of the digital inputs outputs and analogue inputs typical of the device must also be considered FW CONF...

Page 24: ...Bit 8 Stop bit 1 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 RESETTING THE DEVICE TO FACTORY CONFIGURATION It is possible to reset the device to the factory configuration using the following procedure 1 Remove the device back cover 2 With the device off set dip switch SW3 dip 1 and 2 to ON 3 Pow...

Page 25: ...ts max For more information on these protocols see the website http www modbus org specs php SUPPORTED MODBUS FUNCTION CODES The following Modbus functions are supported Read Holding Register function 3 Read Coil Status function 1 Write Coil function 5 Write Multiple Coil function 15 Write Single Register function 6 Write Multiple Registers function 16 ATTENTION All 32 bit values are contained in ...

Page 26: ...768 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 R 32DIDO MODBUS 4X HOLDING REGISTERS TABLE ADDRES S 4x OFFSET 4x REGISTER CHANNEL DESCRIPTION W R TYPE 40001 0 MACHINE ID Device identification RO UNSIGNED 16 BIT 40002 1 FW REVISION Maior Minor Fw Revision RO UNSIGNED 16 BIT 4...

Page 27: ...TUS Device Status RW UNSIGNED 16 BIT 40019 18 RESERVED RW UNSIGNED 16 BIT 40020 19 RESERVED RW UNSIGNED 16 BIT 40021 20 DIGITAL I O 16 1 Digital IO Value Channel 16 1 RW UNSIGNED 16 BIT 40022 21 DIGITAL I O 32 17 Digital IO Value Channel 32 17 RW UNSIGNED 16 BIT ADDRES S 4x OFFEST 4x REGISTER CHANNEL DESCRIPTION W R TYPE 40101 100 COUNTER MSW DIN 1 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40102 10...

Page 28: ...IN 9 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40118 117 COUNTER LSW DIN RW 40119 118 COUNTER MSW DIN 10 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40120 119 COUNTER LSW DIN RW 40121 120 COUNTER MSW DIN 11 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40122 121 COUNTER LSW DIN RW 40123 122 COUNTER MSW DIN 12 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40124 123 COUNTER LSW DIN RW 40125 124 COUNTER MSW DIN 13...

Page 29: ...140 139 COUNTER LSW DIN RW 40141 140 COUNTER MSW DIN 21 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40142 141 COUNTER LSW DIN RW 40143 142 COUNTER MSW DIN 22 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40144 143 COUNTER LSW DIN RW 40145 144 COUNTER MSW DIN 23 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40146 145 COUNTER LSW DIN RW 40147 146 COUNTER MSW DIN 24 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40148 ...

Page 30: ... 32 CHANNEL COUNTER VALUE RW UNSIGNED 32 BIT 40164 163 COUNTER LSW DIN RW 40165 164 PERIOD 1 PERIOD ms RW FLOAT 32 BIT 40166 165 RW 40167 166 PERIOD 2 PERIOD ms RW FLOAT 32 BIT 40168 167 RW 40169 168 PERIOD 3 PERIOD ms RW FLOAT 32 BIT 40170 169 RW 40171 170 PERIOD 4 PERIOD ms RW FLOAT 32 BIT 40172 171 RW 40173 172 PERIOD 5 PERIOD ms RW FLOAT 32 BIT 40174 173 RW 40175 174 PERIOD 6 PERIOD ms RW FLOA...

Page 31: ...D ms RW FLOAT 32 BIT 40202 201 RW 40203 202 PERIOD 20 PERIOD ms RW FLOAT 32 BIT 40204 203 RW 40205 204 PERIOD 21 PERIOD ms RW FLOAT 32 BIT 40206 205 RW 40207 206 PERIOD 22 PERIOD ms RW FLOAT 32 BIT 40208 207 RW 40209 208 PERIOD 23 PERIOD ms RW FLOAT 32 BIT 40210 209 RW 40211 210 PERIOD 24 PERIOD ms RW FLOAT 32 BIT 40212 211 RW 40213 212 PERIOD 25 PERIOD ms RW FLOAT 32 BIT 40214 213 RW 40215 214 PE...

Page 32: ...40242 241 RW 40243 242 FREQUENCY 8 FREQUENCY Hz RW FLOAT 32 BIT 40244 243 RW 40245 244 FREQUENCY 9 FREQUENCY Hz RW FLOAT 32 BIT 40246 245 RW 40247 246 FREQUENCY 10 FREQUENCY Hz RW FLOAT 32 BIT 40248 247 RW 40249 248 FREQUENCY 11 FREQUENCY Hz RW FLOAT 32 BIT 40250 249 RW 40251 250 FREQUENCY 12 FREQUENCY Hz RW FLOAT 32 BIT 40252 251 RW 40253 252 FREQUENCY 13 FREQUENCY Hz RW FLOAT 32 BIT 40254 253 RW...

Page 33: ...IT 40274 273 RW 40275 274 FREQUENCY 24 FREQUENCY Hz RW FLOAT 32 BIT 40276 275 RW 40277 276 FREQUENCY 25 FREQUENCY Hz RW FLOAT 32 BIT 40278 277 RW 40279 278 FREQUENCY 26 FREQUENCY Hz RW FLOAT 32 BIT 40280 279 RW 40281 280 FREQUENCY 27 FREQUENCY Hz RW FLOAT 32 BIT 40282 281 RW 40283 282 FREQUENCY 28 FREQUENCY Hz RW FLOAT 32 BIT 40284 283 RW 40285 284 FREQUENCY 29 FREQUENCY Hz RW FLOAT 32 BIT 40286 2...

Page 34: ... O 11 DIGITAL I O RW BIT 12 11 DIGITAL I O 12 DIGITAL I O RW BIT 13 12 DIGITAL I O 13 DIGITAL I O RW BIT 14 13 DIGITAL I O 14 DIGITAL I O RW BIT 15 14 DIGITAL I O 15 DIGITAL I O RW BIT 16 15 DIGITAL I O 16 DIGITAL I O RW BIT 17 16 DIGITAL I O 17 DIGITAL I O RW BIT 18 17 DIGITAL I O 18 DIGITAL I O RW BIT 19 18 DIGITAL I O 19 DIGITAL I O RW BIT 20 19 DIGITAL I O 20 DIGITAL I O RW BIT 21 20 DIGITAL I...

Page 35: ... 11 DIGITAL I O RW BIT 10012 11 DIGITAL I O 12 DIGITAL I O RW BIT 10013 12 DIGITAL I O 13 DIGITAL I O RW BIT 10014 13 DIGITAL I O 14 DIGITAL I O RW BIT 10015 14 DIGITAL I O 15 DIGITAL I O RW BIT 10016 15 DIGITAL I O 16 DIGITAL I O RW BIT 10017 16 DIGITAL I O 17 DIGITAL I O RW BIT 10018 17 DIGITAL I O 18 DIGITAL I O RW BIT 10019 18 DIGITAL I O 19 DIGITAL I O RW BIT 10020 19 DIGITAL I O 20 DIGITAL I...

Page 36: ... 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 The software can be downloaded from https www seneca it en linee di prodotto software easy sdd Pressing the search button starts the search for all Seneca devices p...

Page 37: ...T OF THIS PUBLICATION MAY BE REPRODUCED WITHOUT PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 37 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 ...

Page 38: ...e Cyclic Real time RT and Acyclic Data The device has been tested using the following PLCs SIEMENS S7 1200 and 1500 Tia Portal 16 CODESYS Runtime 3 5 Codesys 3 5 STEP BY STEP CREATION OF A PROJECT WITH SIEMENS PLC TIA PORTAL 16 Creating a new project INSTALLING THE GSD FILE Install the GSD file of the Seneca product Point to the directory where the file is and press OK then the list of GSD files i...

Page 39: ...PART OF THIS PUBLICATION MAY BE REPRODUCED WITHOUT PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 39 Click on install INSERTION OF THE SIEMENS PLC IN THE PROJECT Now insert the Siemens PLC in our example a SIEMATIC S7 1200 click on Add new device ...

Page 40: ...TS RESERVED NO PART OF THIS PUBLICATION MAY BE REPRODUCED WITHOUT PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 40 Confirm and the PLC will be added to the rack Now click on the PLC and select Profinet interface Ethernet addresses ...

Page 41: ... 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 41 Set the IP you want in this case 192 168 90 44 and the PLC subnet ...

Page 42: ...ITHOUT PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 42 Move on to the network view INSERTION OF THE PROFINET SENECA IO 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 ...

Page 43: ...ITHOUT PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 43 Drag the device to the network view 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 ...

Page 44: ... REPRODUCED WITHOUT PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 44 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 ...

Page 45: ... 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 COMPILATION AND SENDING OF THE PROJECT TO THE SIEMENS PLC 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 y...

Page 46: ...UBLICATION MAY BE REPRODUCED WITHOUT PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 46 Once the project has been sent RUN the PLC And go ON Line so as to check if there are any errors If everything is correct you will get a green icon next to the Seneca device ...

Page 47: ...EPRODUCED WITHOUT PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 47 READING AND WRITING OF THE SENECA IO FROM TIA PORTAL 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 ...

Page 48: ...PRIOR PERMISSION www seneca it Doc MI 00576 2 EN Page 48 Now let s add the variables related to the IO the addresses are shown here So Bytes I1 to I4 contain the inputs bit 0 is IO1 bit 1 is IO2 etc Bytes Q1 to Q4 contain the outputs bit 0 is IO1 bit 1 is IO2 etc obviously only the outputs are writable ...

Page 49: ...7 Q1 7 IO9 I2 0 Q2 0 IO10 I2 1 Q2 1 IO11 I2 2 Q2 2 IO12 I2 3 Q2 3 IO13 I2 4 Q2 4 IO14 I2 5 Q2 5 IO15 I2 6 Q2 6 IO16 I2 7 Q2 7 IO17 I3 0 Q3 0 IO18 I3 1 Q3 1 IO19 I3 2 Q3 2 IO20 I3 3 Q3 3 IO21 I3 4 Q3 4 IO22 I3 5 Q3 5 IO23 I3 6 Q3 6 IO24 I3 7 Q3 7 IO25 I4 0 Q4 0 IO26 I4 1 Q4 1 IO27 I4 2 Q4 2 IO28 I4 3 Q4 3 IO29 I4 4 Q4 4 IO30 I4 5 Q4 5 IO31 I4 6 Q4 6 IO32 I4 7 Q4 7 So if for example I need 16 inputs...

Page 50: ...n IO configured as an input cannot be controlled as an output An IO configured as an output cannot be read as an input Always following our example 16 inputs and 16 outputs we define the 16 inputs and 16 outputs in the standard variables table Now compile send the project and go online with the PLC Once online press the glasses icon to update the status of the variables ...

Page 51: ...r the Control value column you can read the I O value in real time To control the outputs it is necessary to enter TRUE or FALSE in the Command value column and then press the icon with the lightning bolt to order the writing Note the status of the LED relating to the commanded output In the Control value column the status of the outputs is also read in real time ...

Reviews: