7.4
Data Transfer via Modbus Interface
The con::cube is equipped with a Modbus interface which support the standardized Modbus protocol via RTU or TCP / IP. This
interface enables the integration of the con::cube into other networks and supports the following features:
Reading of device description (see table - Mapping of Device specific Input Register or Device specific Holding Register)
Reading of parameter results (see table - Mapping of Parameter specific Input Register or Parameter specific Holding
Register)
Reading of parameter status information (see table - Mapping of Parameter Status)
Reading of system status information (see table - Mapping of System Status)
Access to this information is possible by reading input registers and / or by reading holding registers. The type and the location
of the registers is described in the following sections.
The con::cube Modbus is specified according the Modbus-IDA Application Protocol V1.1a and supports the following function
codes:
Function
Function code
Description (used for)
Read Input Register
0x04
Parameter readings
Parameter status
Device status
Read Holding Register
0x03
Device and parameter configuration settings,
Mirrored input registers (for support of limited Modbus
master devices)
M a p p i n g o f D e v i c e s p e c i f i c I n p u t R e g i s t e r
Input register,
16bit, RO
Tag name
Address
Type
Length R/W
Description
Address
device
description
uiVersion
0x0000
unit16
1
R
Version of Modbus mapping
protocol. For all changes in public
registers: 0xAABB
AA ... Major version
BB ... Minor version (compatible)
0
eVendor
0x0001
enum
1
R
Vendor code
1
eModel
0x0002
enum
1
R
Device model
2
abModel
0x0003
char[20]
10
R
Description of device model,
filled with spaces
3
abSerialNumber 0x000D
char[8]
4
R
Serial number,
filled with spaces
13
abSWRelease
0x0013
char[4]
2
R
Software release: 0xAABB
AA ... Major version
BB ... Minor version
19
device status
public
tSampleTime
0x0068
timestamp 6
R
Time when the parameter results
have been updated. Timestamp of
logged status and results
104
bmDeviceStatus 0x0078
bitmask
1
R
Device status
120
con::cube D-330, 01-2020 Release
www.s-can.at
Copyright © s::can Messtechnik GmbH
25 / 42