iSMA iSMA-B-4I4O-H, iSMA-B-8I, iSMA-B-8U-IP, iSMA-B-4I4O-H-IP, iSMA-B-8I-IP User Manual

...
MINI and MIX Series I/O modules
User Manual
Modbus
Global Control 5 Sp. z o.o.
Warsaw, Poland
www.gc5.pl
Table of contents
1 Introduction ................................................................................................................................................ 5
1.1 Revision history .................................................................................................................................................... 5
1.2 Safety rules............................................................................................................................................................ 6
1.3 .Technical specifications .................................................................................................................................... 7
1.4 Summary table for all modules ......................................................................................................................... 9
1.5 Dimension ........................................................................................................................................................... 11
1.6 Power supply connection ................................................................................................................................ 12
DC power connection.....................................................................................................................................................12
AC power connection .....................................................................................................................................................12
1.7 Connecting the communication bus (RS485) ............................................................................................. 12
1.8 LED Indicators ................................................................................................................................................... 13
1.9 Grounding and shielding .................................................................................................................................. 14
1.10 RS485 network termination ............................................................................................................................ 14
1.11 Setting Module Address on Modbus Network ............................................................................................ 15
1.12 Baud rate selection ........................................................................................................................................... 15
1.13 Protocol selection ............................................................................................................................................. 16
1.14 Restoring the default settings ........................................................................................................................ 16
1.15 Default Settings ................................................................................................................................................. 17
2 Configuration registers ........................................................................................................................... 18
2.1 Firmware version and module type (30001) ............................................................................................... 18
2.2 Module address (30002) ................................................................................................................................. 18
2.3 Baud rate and protocol (30003) ..................................................................................................................... 19
2.4 Counter of received messages (30004) ....................................................................................................... 19
2.5 Counter of error messages (30006) .............................................................................................................. 19
2.6 Counter of sent messages (30008) .............................................................................................................. 19
2.7 Up time (30012) ................................................................................................................................................ 19
2.8 Hardware_version (30130) .............................................................................................................................. 20
2.9 MAC_address (30131) ..................................................................................................................................... 20
2.10 Device actions (40001) .................................................................................................................................... 20
2.11 Baud rate (40136) ............................................................................................................................................. 20
2.12 Stop bits (40137)............................................................................................................................................... 20
2.13 Data bits (40138) .............................................................................................................................................. 21
2.14 Parity bit (40139) ............................................................................................................................................... 21
2.15 Response delay time (40140) ......................................................................................................................... 21
2.16 Watchdog time (40141) ................................................................................................................................... 21
3 Local I/O ................................................................................................................................................... 23
3.1 Universal Inputs connections ......................................................................................................................... 23
Connection of Universal Input to measure voltage 0 – 10V ..................................................................................23
Connection of Universal Input to measure current 0 – 20 mA .............................................................................23
Connection of Universal Input to measure temperature ........................................................................................24
Connection of Universal Input as a Digital Input (Dry Contact) .............................................................................24
3.2 Universal Inputs MODBUS Registers ............................................................................................................ 25
Status of Universal Inputs working as Digital Inputs (30017) ...............................................................................25
Universal Input measure voltage (current) 1 - 8 (30071, 30073, 30075, 30077, 30079, 30087, 30089, 30091)
25
Universal Input measure temperature 1 - 8 (30072, 30074, 30076, 30078, 30080, 30095, 30097, 30099) 25
Universal Input measure resistance 1 - 8 (30103, 30104 – 30117, 30118) .......................................................25
Universal Input configuration 1 - 8 (40151 – 40158) ..............................................................................................25
Filter time constant of the Universal Input 1 - 8 (40159 – 40166) .......................................................................26
Resolution of the universal inputs (40167) ...............................................................................................................26
3.3 Digital Inputs Connections .............................................................................................................................. 27
Connection of Digital Input (Dry Contact) ..................................................................................................................27
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 3 / 73
3.4 Digital Inputs MODBUS Registers .................................................................................................................. 27
State of Digital Inputs (30016) .....................................................................................................................................27
Counter 1 – 12 (40023, 40024 – 40045, 40046) .....................................................................................................27
Resetting counters (40022)..........................................................................................................................................28
3.5 Analog Outputs Connections .......................................................................................................................... 28
Connection of Analog Output 0 – 10 V ......................................................................................................................28
Connecting relay to Analog Output .............................................................................................................................28
Connection an actuator to Analog Output .................................................................................................................29
3.6 Analog Outputs MODBUS Registers ............................................................................................................. 29
State of Analog Outputs working as Digital Outputs (40019) ...............................................................................29
Value of the analog outputs 1 – 6 (40121 – 40126) ..............................................................................................29
Default state of the analog outputs (digital) (40144) ..............................................................................................29
Default state of the Analog Output 1 – 6 (40145 – 40150) .................................................................................. 30
Configuration mode of Analog Output 1 – 6 (40168 – 40173) ............................................................................ 30
Hand control status of analog outputs (30015) ...................................................................................................... 30
Hand control value of Analog Outputs 1 – 4 (30125 - 20128)...............................................................................31
3.7 Digital Outputs (relays) Connections ............................................................................................................ 32
Connecting the solenoid valve to the Digital Output ...............................................................................................32
Connecting a resistive load to the Digital Output .....................................................................................................32
Connecting a inductive load to the Digital Output ...................................................................................................32
3.8 Digital Outputs (relays) MODBUS Registers ................................................................................................ 33
State of Digital Outputs (40018) ..................................................................................................................................33
Default state of Digital Outputs (40143) ....................................................................................................................33
Hand control status of Digital Outputs (30015) .......................................................................................................33
3.9 Triac Outputs Connections ............................................................................................................................. 34
Connecting the solenoid valve to the Triac Output ..................................................................................................34
Connecting a resistive load to the Triac Output .......................................................................................................34
3.10 Triac Outputs MODBUS Registers ................................................................................................................. 35
State of Triac Outputs (40018) ....................................................................................................................................35
Default state of triac outputs (40143) ........................................................................................................................35
Value of the Triac PWM outputs 1 – 4 (40121 – 40124) ......................................................................................35
Default state of the Triac PWM outputs 1 – 4 (40145 – 40148) ..........................................................................35
Configuration mode of Triac Output 1 – 4 (40168 – 40171).................................................................................35
Hand control status of Triac Outputs (30015) ..........................................................................................................36
3.11 Special application modes for 4I4O-H, 4I4O-H-IP, 4U4O-H and 4U4O-H-IP ........................................... 37
Operation Mode registers (40176,40180,40184,40188) .........................................................................................38
Time Value registers (40177,40181,40185,40189) ..................................................................................................41
Command register (40020) ..........................................................................................................................................42
Block Inputs register (40021) .......................................................................................................................................42
Setpoint registers (40178,40182,40186,40190) .......................................................................................................42
Differential registers (40179,40183,40187,40191) ..................................................................................................42
4 WEB Configuration- only IP version ...................................................................................................... 43
4.1 Web server access ............................................................................................................................................ 43
4.2 Device page ........................................................................................................................................................ 43
4.3 Local I/O status and configuration ................................................................................................................ 44
Universal Inputs ..............................................................................................................................................................44
Special application modes configuration ..................................................................................................................45
Digital Inputs ....................................................................................................................................................................46
Digital Outputs.................................................................................................................................................................46
Analog Outputs ...............................................................................................................................................................47
4.4 RS485 Configuration ........................................................................................................................................ 48
4.5 IP Configuration................................................................................................................................................. 49
4.6 Device management ........................................................................................................................................ 50
4.7 Contact ................................................................................................................................................................ 50
5 Modbus TCP/IP modules ....................................................................................................................... 51
5.1 Modbus TCP/IP ................................................................................................................................................. 51
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 4 / 73
5.2 Module as Modbus TCP/IP Gateway to RS485 .......................................................................................... 51
6 List of all Modbus Registers .................................................................................................................. 53
7 List of supported temperature sensors ................................................................................................ 62
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 5 / 73
1 Introduction
1.1 Revision history
Rev
Date
Description
1.0 2015.08.28
First edition
1.1 2016.02.01
The reason for the creation of new version of the document:
At 12.2015 GC5 released a new hardware version for MIX module with more
powerful processor and USB port. For this hardware and for all MINI series devices we released firmware 4.0 which contains bug fix, firmware improvement and also rebuilt BACnet protocol (new object, COV).
All modules purchased as of 2016 have improved versions of the relays, which
allow to increase the capacitive load. Details of the technical specifications.
Note: This document was created for devices with firmware version 4.0 and
above. For previous firmware version please read Modbus Manual version 1.0.
Changes in Document:
Added to the technical specifications information about the capacitive load
relay.
Added to the technical specifications information about load Triac Outputs.
Added description of the new MINI module 4x Triac Outputs: 4TO-H and 4TO-H-
IP.
MINI - 4I40-H and 4I40-H-IP Module built in application: Change of logic in the
Time relay mode. Now, timer counts from falling edge (before from rising edge).
New gateway functionality blocking Send Modbus Error.
Changed tables with PT1000 and NI1000 for more accurate, because new FW
measure resistance for this sensors with accuracy 0,1 Ω.
1.2
2017.01.03
The reason for the creation of new version of the document: New functions:
New HVAC functions Heating and Cooling in 4U4O based on output
thermostatic control with a setpoint and differential value setting;
Added new input mode for 4I4O: Time Relay NC [ms], Time Relay NO and NC in
seconds, Input Forwarding;
Added new input mode for 4U4O: Ordinary IO, Monostable Relay, Bistable Relay,
Time Relay NO and NC [ms], Time Relay NO and NC in seconds, Input Forwarding, Heating, Cooling with corresponding BACnet objects and Modbus registers;
Added reset output to default after input mode change in 4U4O and 4I4O;
Improvements:
Improved BACnet COV Increment can now have values with resolution 0.1;
Added BACnet COV Increment access (read/write) through USB;
Added power Led flashing after IO watchdog triggered;
Changed IO watchdog reset after read/write registers through USB;
Added immediately detecting sensors short circuit and disconnection
regardless of filter settings on universal inputs;
Fixed bugs:
Fixed bug with Stop bits, was always 1;
1.3
2017.05.16
The reason for the creation of new version of the document:
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 6 / 73
New functions:
added Hardware Version information on main tab in web page and Modbus
register
new action in the Modbus register no 0 – enter bootloader
added RS485 biasing control for MINI modules with a hardware version >= 2.0
(option unavailable in MIX modules)
www page: RS485 Biasing Resistors activation option (shows only in MINI
modules with a hardware >= 2.0)
Improvements:
fixed modules names on web page (added -H for all modules with hand
operation switches)
Table 1 Revision history
1.2 Safety rules
Note: Incorrect wiring of this product can damage it and lead to other hazards.
Make sure the product has been correctly wired before turning the power ON.
Before wiring, or removing/mounting the product, be sure to turn the power OFF.
Failure to do so might cause an electric shock.
Do not touch electrically charged parts such as the power terminals. Doing so might
cause an electric shock.
Do not disassemble the product. Doing so might cause an electric shock or faulty
operation.
Use the product within the operating ranges recommended in the specification
(temperature, humidity, voltage, shock, mounting direction, atmosphere etc.). Failure to do so might cause a fire or faulty operation
Firmly tighten the wires to the terminal. Insufficient tightening of the wires to the
terminal might cause a fire.
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 7 / 73
1.3 Technical specifications
Power supply
Voltage
24 V AC/DC ± 20%
Power consumption
Module type
@ 24 VDC
@ 24 VAC
8I
0.4 W
0.6 VA
8I-IP
1.4 W
2.1 VA
8U
0.5 W
0.8 VA
8U-IP
1.5 W
2.3 VA
4I4O-H
1.2 W
1.8 VA
4I4O-H-IP
2.2 W
3.3 VA
4U4O-H
1.2 W
1.8 VA
4U4O-H-IP
2.2 W
3.3 VA
4U4A-H
2.2 W
3.3 VA
4U4A-H-IP
3.2 W
4.8 VA
4O-H
1.6 W
2.4 VA
4O-H-IP
2.6 W
3.9 VA
4TO-H
1.0 W
1.5 VA
4TO-H-IP
2.0 W
3.0 VA
MIX18
3.0 W
4.5 VA
MIX18-IP
4.4 W
6.6 VA
MIX38
5.0 W
7.5 VA
MIX38-IP
7.4 W
11.1 VA
Universal Inputs
Temperature input
Measurement with attached RTDs
accuracy ±0,1˚C
For sensor Pt1000 and Ni1000 use 16-bit
resolution
Voltage input
Voltage measurement from 0 - 10 V
Input impedance 100 kΩ
Measurement accuracy ±0,1%
Measurement resolution 3 mV@12-bit and 1
mV@ 16-bit
Current input
Current measurement 0 - 20 mA
Required external resistor 200 Ω
Measurement accuracy ±1,1%
Measurement resolution 15 µA @ 12-bit and 5 µA
@ 16-bit
Resistive input
Measurement of resistance from 0 to 1000 kΩ
Measurement resolution for 20 kΩ load 20 Ω@12-
bit and 1 Ω@16-bit
Measurement resolution for PT1000 and NI1000
0,1Ω@16bit
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 8 / 73
Resistance measurement method
The voltage divider
Dry contact input
Output current ~1 mA
Measurement resolution
12-bits (default) or 16-bits
Processing time
10 ms/channel at 12-bits
140 ms/channel at 16-bits
Digital Inputs
Type
Dry contact
Max input frequency
100 Hz
Analog Outputs
Voltage range
0 to 10 V
Max. load current
20 mA
Resolution
12-bits
Accuracy
±0.5%
Digital Outputs
(relays)
Contact material
AgSnO2
Resistive load AC1
3 A @ 230 VAC or 3 A @ 30 VDC
Inductive load AC3
75 VA @ 230 VAC or 30 W @ 30 VDC
Capacitive load
50 W @ LED + PS 230 VAC
100 W @ fluorescent lamps with electronic
ballast
75 W @ CFL Compact fluorescent lamp
Digital Outputs
(relays)
4O-H and 4O-H-IP
Contact material
AgSnO2
Resistive load AC1
8 A @ 230 VAC or 8 A @ 30 VDC
Inductive load AC3
360 VA@ 230 VAC or 90 W @ 30 VDC
Capacitive load
120 W @ LED + PS 230 VAC
240 W @ fluorescent lamps with electronic
ballast
180 W @ CFL Compact fluorescent lamp
Triac Outputs
Continuous load per channel
0,5 A @ 20 VAC up to max. 250 VAC
Peak load per channel
1,5 A @ 20 VAC up to max. 250 VAC (30 s)
Gate Control
Zero crossing turn ON
Frequency Range
47 to 63 Hz
Snubber
Snubberless Triac
RS485 Interface
RS485
Up to 128 devices
Communication protocols
Modbus RTU, Modbus ASCII or BACnet set by switch
Baud rate
From 2400 to 115200 set by switch
Address
0 to 99 set by switch
Ethernet
MIX18-IP, MIX38-IP
2x Fast Ethernet
Switch mode
Baud rate
10/100 Mb/s
8I-IP, 8U-IP, 4I4O-H-IP, 4U4O-H-IP, 4U4A-H-IP, 4O-H-IP, TO-H-IP
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 9 / 73
1x Fast Ethernet
IP Interface
Baud rate
10/100 Mb/s
USB
USB
Mini USB 2.0
Ingress protection
IP
IP40
Temperature
Storage
-40˚C to +85˚C
Operating
-10˚C to +50˚C
Humidity
Relative
5% to 95%
Connectors
Type
Removable
Maximum cable size
2.5 mm2
Dimension
MIX18, MIX18-IP
Width
110 mm
Length
88 mm
Height
62 mm
MIX38, MIX38-IP
Width
110 mm
Length
160 mm
Height
62 mm
MINI Series
Width
110 mm
Length
37 mm
Height
62 mm
Table 2 Technical specification
1.4 Summary table for all modules
Module
type
UI
DI
AO
DO
TO
Modbu
s
RS485
Modbus
TCP/IP
BACnet
MSTP
BA
Cn
et IP
4I4O-H
4 4
4I4O-H-IP
4 4
✓ ✓
4O-H
4 (NC/NO-8A)
✓ ✓
4O-H-IP
4 (NC/NO-8A)
✓ ✓
4U4A-H
4 4
✓ ✓
4U4A-H-IP
4 4
✓ ✓
4U4O-H
4 4
✓ ✓
4U4O-H-IP
4 4
✓ ✓
8I
8
8I-IP
8
✓ ✓
8U
8
✓ ✓
8U-IP
8
✓ ✓
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 10 / 73
4TO-H
4
✓ ✓
4TO-H-IP
4
✓ ✓
MIX18
5 5 4 4
✓ ✓
MIX18-IP
5 5 4 4
✓ ✓
MIX38
8
12 6 12
✓ ✓
MIX38-IP
8
12 6 12
✓ ✓
RTU
ASCII
Modbus
Gateway
IP/RS485
Master
Slave
Table 3 Summary table for all modules
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 11 / 73
1.5 Dimension
Figure 1 MINI series dimension
Figure 2 MIX18 and MIX18-IP dimension
Figure 3 MIX38 and MIX38-IP dimension
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 12 / 73
1.6 Power supply connection
DC power connection
Figure 4 DC power supply connection
AC power connection
Figure 5 AC power supply connection
1.7 Connecting the communication bus (RS485)
Figure 6 RS485 connection
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 13 / 73
1.8 LED Indicators
Figure 7 Top panel MIX18-IP
Figure 8 Top panel MIX38-IP
Figure 9 Top panel 8I and 8I-IP
Figure 10 Top panel 8U and 8U-IP Figure 11 Top panel 4I4O-H and 4I4O-H-IP
Figure 12 Top panel 4U4O-H and 4U4O-H-IP
Figure 13 Top panel 4U4A-H and 4U4A-H-IP
Figure 14 Top panel 4O-H and 4O-H-IP Figure 15 Top panel 4TO-H and 4TO-H-IP
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 14 / 73
The power LED is ON (green) when the module runs properly.
Communication LED is ON (orange) for 20 ms after sending each message.
If the module receives/sends a lot of messages LED can be lit continuously.
LEDs indicate the status of the Universal Inputs are lit when resistance connected to
the input is less than 5 kΩ (Dry Contact input is active).
WARNING! The LED also lights up when voltage connected to the input has a very low potential.
LEDs indicate the status of the digital inputs are lit when the input is active.
LEDs indicate the status of the analog outputs are lit when output voltage or PWM
factor is different from 0.
LEDs indicate the status of the digital outputs are lit when output is enabled.
1.9 Grounding and shielding
In most cases, IO modules will be installed in an enclosure along with other devices which generate electromagnetic radiation. Relays, contactors, transformers, motor invertors etc. are the examples of these devices. This electromagnetic radiation can induce electrical noise into both power and signal lines, as well as direct radiation into the module causing negative effects on the system. Appropriate grounding, shielding and other protective steps should be taken at the installation stage to prevent these effects. These protective steps include control cabinet grounding, cable shield grounding, protective elements for electromagnetic switching devices, correct wiring as well as consideration of cable types and their cross sections.
1.10 RS485 network termination
Transmission line effects often present a problem on data communication networks. These problems include reflections and signal attenuation.
To eliminate the presence of reflections from the end of the cable, the cable must be terminated at both ends with a resistor across the line equal to its characteristic impedance. The both ends must be terminated since the direction of propagation is bidirectional. In the case of an RS485 twisted pair cable this termination is typically 120 Ω.
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 15 / 73
1.11 Setting Module Address on Modbus Network
To determine the address on the Modbus network, module provides two rotary switches S1 and S2 located on the top panel of the device.
It is possible to set the device address from 0 to 99.
The formula for setting the address:
Address = S2 • 10 + S1
Where S1 and S2 are values of switches.
The example:
Figure 16 Sample of setting address
Switches set as in figure above will set the module address to 11.
1.12 Baud rate selection
Transmission baud rate is determined by S3 switch (sections 1, 2 and 3) in accordance with the following table:
1 2 3
Baud rate
OFF (0)
OFF (0)
OFF (0)
Defined by the user in the registry
OFF (0)
OFF (0)
ON (1)
76800
OFF (0)
ON (1)
OFF (0)
4800
OFF (0)
ON (1)
ON (1)
9600
ON (1)
OFF (0)
OFF (0)
19200
ON (1)
OFF (0)
ON (1)
38400
ON (1)
ON (1)
OFF (0)
57600
ON (1)
ON (1)
ON (1)
115200 (factory set)
Table 4 Baud rate selection
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 16 / 73
1.13 Protocol selection
Protocol selection is done by sections 4 and 5 of the S3 switch according to table below:
4 5 Protocol
OFF (0)
OFF (0)
Modbus RTU
OFF (0)
ON (1)
Modbus ASCII
ON (1)
OFF (0)
BACnet Master
ON (1)
ON (1)
BACnet Slave
Table 5 Protocol selection
1.14 Restoring the default settings
To restore the default configuration of all registers, follow the steps below:
1. Turn off power supply
2. Set section 6 of S3 switch to ON
3. Turn on power supply, power LED blinking
4. Switch section 6 of S3 switch to OFF to restore the default settings. To cancel the
reset, turn off the power and switch section 6 of S3 switch to the OFF position.
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 17 / 73
1.15 Default Settings
Out of the box device as well as after restoring default values procedure, has got the following default registers values:
Register Name
Default Value
COUNTER
0
BAUD RATE
76800 (76800 bps)
STOP BITS
1
DATA BITS
8
PARITY BITS
0
RESPONSE DELAY
0
WATCHDOG TIME
0 ( disabled)
STATE OF THE DIGITAL OUTPUTS AFTER START
0
STATE OF THE ANALOG OUTPUTS (DIGITAL)
AFTER START
0
STATE OF THE ANALOG OUTPUTS AFTER START
0
UNIVERSAL INPUT CONFIGURATION
1
INPUT FILTER TIME CONSTANT
2
UNIVERSAL INPUT RESOLUTION
0
ANALOG OUTPUT CONFIGURATION
0
Only for modules with IP
USERNAME
platform
PASSWORD
1000
IP ADDRESS
192.168.1.123
MASK
255.255.255.0
GATEWAY
192.168.1.1
HTTP PORT
80
MODBUS TCP PORT
502
MODBUS TCP TIMEOUT
60s
RS485 TIMEOUT
1000ms
SEND MODBUS ERRORS
DISABLE
BACNET ID
826001
BACNET UDP PORT
47808 (0xBAC0)
Table 6 Default values
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 18 / 73
2 Configuration registers
WARNING! Changing the parameters concerning the transmission configuration (except to registers which value is read from the switch) will only take effect after restarting the unit.
2.1 Firmware version and module type (30001)
In this register are encoded type and firmware version of module.
Low byte contains information about the type of module in accordance with table below:
Value
Type
8110 (0x5116)
8I
9110 (0x5B16)
8I-IP
8410 (0x5416)
8U
9410 (0x5E16)
8U-IP
8310 (0x5316)
4I4O-H
9310 (0x5D16)
4I4O-H-IP
8510 (0x5516)
4U4O-H
9510 (0x5F16)
4U4O-H-IP
8610 (0x5616)
4U4A-H
9610 (0x6016)
4U4A-H-IP
8210 (0x5216)
4O-H
9210 (0x5C16)
4O-H-IP
8710 (0x5716)
4TO-H
9710 (0x6116)
4TO-H-IP
5010 (0x3216)
MIX18
5110 (0x3316)
MIX38
5210 (0x3416)
MIX18-IP
5310 (0x3516)
MIX38-IP
Table 7 Firmware version and module type
High byte contains the module firmware version multiplied by 10.
The example:
In register 30001 is number 1281010 = 0x320A16. It means that it is a module MIX18 (0x32) with firmware in version 1.0 (0x0A
16
= 1010)
2.2 Module address (30002)
This register contains information about the address of the Modbus module. This address is set using switches S1 and S2 (see section Setting Module Address on Modbus Network).
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 19 / 73
2.3 Baud rate and protocol (30003)
The register contains information about the baud rate and type of protocol in accordance with the table below. This register reflects the state of the switch S3.
Baud rate
Protocol
Bit 0
Bit 1
Bit 2
Baud rate
Bit 3
Bit 4
Protocol
0 0 0
User defined
0 0 Modbus RTU
0 0 1
76800
0 1 Modbus ASCII
0 1 0
4800
1 0 BACnet Master
0 1 1
9600
1 1 BACnet Slave
1 0 0
19200
1 0 1
38400
1 1 0
57600
1 1 1
115200
Table 8 Baud rate and protocol
2.4 Counter of received messages (30004)
32-bit register with the number of valid Modbus received messages by the module from last powered up. The value is reset after power cycle or after changing transmission parameters (speed, stop bits, parity, etc.).
2.5 Counter of error messages (30006)
32-bit register with the number of error Modbus received messages by the module from last powered up. The value is reset after power cycle or after changing transmission parameters (speed, stop bits, parity, etc.).
2.6 Counter of sent messages (30008)
32-bit register with the number of Modbus sent messages by the module from last powered up. The value is reset after power cycle or after changing transmission parameters (speed, stop bits, parity, etc.).
2.7 Up time (30012)
This 16-bits register contains module working time in seconds from last power up or module reset.
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 20 / 73
2.8 Hardware_version (30130)
This 16-bits register contains the module hardware version multiplied by 10.
2.9 MAC_address (30131)
This 32-bits register contains the module MAC address information.
2.10 Device actions (40001)
Setting register 40001 according to the table below will enable 1 of 4 available actions: reset module, reload settings, set to default and enter bootloader.
Value
Action
511
Reset
767
Reload settings
1023
Set to default
1279
Enter Bootloader
Table 9 Device actions
2.11 Baud rate (40136)
When sections 1, 2 and 3 of S3 switch are in off position, baud rate is determined in accordance with this register. Baud rate is determined by the following formula:
Baud rate = Register value • 10
2.12 Stop bits (40137)
Number of stop bits is determined on the basis of this register in accordance with the following table:
Value
No of stop bits
1 (default)
1 2 2
256
RS485 biasing*
Table 10 Stop bits
*Bit no 8 activates RS485 biasing resistors in order to pull-up voltage on the RS485 bus. When the bit no 8 is true (bit 8 = 1) then RS485 biasing resistors are activated. The function is only available in MINI modules with a hardware version >= 2.0
The biasing resistors are useful in case when iSMA modules are connected with a third part devices with the same RS485 bus and communication errors appears on the network.
WARNING! The only one single device in the network can have biasing resistors activated !
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 21 / 73
Figure 17 Modbus message frame
2.13 Data bits (40138)
Number of data bits transmitted in a single byte is determined according to the following table:
Value
No of data bits
7
7
8 (default)
8
Table 11 Data bits
2.14 Parity bit (40139)
Each byte of data being transferred may have additional protection as a parity bit added before stop bit (bits).
The method of calculating parity bit determines the table below:
Register value
Type of parity bit
0 (default)
none
1
Odd (number of all ones in a byte is odd)
2
Even (number of all ones in a byte is even)
3
Always 1
4
Always 0
Table 12 Parity bit
2.15 Response delay time (40140)
The value of this 16-bits register determines the number of milliseconds to wait before the unit answers the question. This time is used to extend the interval between question and answer. The default value of 0 means no delay (the answer is sent once during the 3.5 character required by the protocol Modbus RTU).
2.16 Watchdog time (40141)
This 16-bits register specifies the time in seconds to watchdog reset. If module does not receive any valid message within that time, all Digital and Analog Outputs will be set to
MINI and MIX Series I/O modules/Modbus
version 1.3 www.gc5.pl Page 22 / 73
default state.
This feature is useful if for some reason there is an interruption in data transmission and for security reasons output states must be set to the appropriate state endanger the safety of persons or property.
The default value is 0 seconds which means the watchdog function is disabled.
When the watchdog is triggered the Power LED blinks with the specified sequence (3 blinks with 20Hz frequency and 1 second pause).
Loading...
+ 51 hidden pages