Hardware - Weidmüller I/O Modules
Weidmüller I/O Modules
Weidmüller provide stackable Input/Output modules for the UR20-FBC-MOD buscoupler. These I/O modules are interchangeable between buscouplers in the UR20 product range. For more information about the details of each specific Weidmüller I/O module, please consult the Weidmüller website, and do a search for the specific module.
UR20-FBC-MOD
CDP Studio ModbusIO supports most of the UR20 analog and digital modules for the UR20-FBC-MOD. To see which specific modules are supported by CDP Studio, add a Weidmueller-UR20-FBC-MOD-TCP from the ModbusIO Resource tree. Click into the IO packet and observe in the WeidmuellerIOModules resource to see which modules are supported.
The UR20-FBC-MOD buscoupler has a default IP Address of 192.168.0.222 (when it does not get an IP address from DHCP). The buscoupler reads analog and digital values from modbus address 0x0 and writes analog and digital values to modbus address 0x800 (in the order the modules are stacked on the bus).
Note: See the Weidmüller UR20 Modbus TCP documentation for more information about which modbus addresses can be accessed, how to set IP Address and so on.
Configuration
The Weidmueller-UR20-FBC-MOD-TCP is set up with a Modbus packet that has the correct read and write address for read and write modbus communication with the UR20, along with other settings required for correct modbus communication. If required, additional modbus packets can be added from the WeidmuellerIOModules resources. For instance, a watchdog initialization packet can be sent on Init (SendMode for the Packet is set to Init to only send it once on initialization). The UR20 manual explains the special modbus-addresses and what can be read from and written to them.
Tools
The Weidmüller UR20 runs a web-interface on http port 80. It can be used to inspect the I/Os and to set substitute values on communication failure etc.
Notes
Note: Whenever modules are changed, added or removed, make sure to power-cycle the buscoupler, or the internal data-image might not be updated.
Note: Make sure to adjust / set the correct FunctionCode in the modbus packets as follows, or there will be communication problems:
- If you only Read from a device, use ReadHoldingRegisters.
- If you only write to a device, use WriteMultipleRegisters
- If you both read and write a device, use ReadWriteMultipleRegisters.
- When you add or remove or change modules, make sure to validate the FunctionCode for the packet that the modules belong to.
Note: In CDP Studio, I/O numbering start at 0, meaning that the first channel has the number 0.
See also Modbus I/O Channel scaling and Watchdog.
Note: For more information about CDP Technologies partnerships, see Our Partners and for detailed information on Weidmüller, see the Weidmüller website for more information.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.