ST7-EN-003
ST7-EN-003
TECHNICAL SPECIFICATIONS
ST-007-EN-R1V1
Page 1 of 15
ST7-EN-003
Important Notices
Silver-Tec Ltd policy is one of continuous improvement of product characteristics; therefore this
manual can be changed at any time without prior notice. All technical information and data given in
this manual have been carefully checked. However, this does not exclude that it may contain
mistakes or spelling errors. Silver-Tec Ltd shall not be liable in any manner whatsoever of
consequences possibly resulting from errors or changes in this manual.
Proprietary Rights
This publication and all information herein are the property of Silver-Tec Ltd. Copying and
reproduction rights on this publication, disclosure rights of information herein and the right to use
such information contained in this publication can be obtained exclusively by means of a written
authorization signed by a duly empowered Silver-Tec Ltd manager.
List of Revisions
Page 2 of 15
ST7-EN-003
INDEX
1 ST7-HV-MD8001-N MODBUS RTU CARD _____________________ 4
1.1 DESCRIPTION ___________________________________________________________________ 4
1.2 CHARACTERISTICS______________________________________________________________ 4
1.3 SIGNALS _________________________________________________________________________ 4
1.4 CONFIGURATION _______________________________________________________________ 4
1.6 SLAVE operating mode (Standard addressing) _______________________________ 6
1.1 SLAVE operating mode (Extended addressing) _______________________________ 6
1.1 Description of system variables VINSYS ______________________________________ 7
1.2 Modbus exception codes _______________________________________________________ 7
1.3 MASTER operating mode _______________________________________________________ 9
1.5 Implementation of RTU Modbus protocol _____________________________________ 9
1.8 Function 01 – Multiple reading of Input variables (Bytes) __________________ 10
1.9 Function 02 – Multiple reading of Output variables (Bytes) ________________ 10
1-10 Function 03 – Multiple reading of analogue variables (Word) ____________ 11
1.11 Function 05 – Writing of a single Input variable (bit) _____________________ 13
1.12 Function 08 – Diagnostics of serial line ____________________________________ 13
1.13 Function 15 – Multiple writing of Output variables (Bytes) _______________ 14
1.14 CONNECTIONS _______________________________________________________________ 15
1.15 ORDERING INFORMATIONS _________________________________________________ 15
Page 3 of 15
ST7-EN-003
1. 1.2 CHARACTERISTICS
Redundancy: NO
Operating modes: Master/Slave.
Interfaces: N°1 RS232 + N°1 RS485
Supply voltage: 22-29Vdc
Absorption in idle status: 16mA
Operating temperature: -10 / +50 °C
Storage temperature: -30 / +80 °C
Maximum humidity: 95% without condensate
2. 1.3 SIGNALS
Eight LEDs are located on the front panel that performs the following functions:
Led Signal
Active It turns on steady with an Input in active status
Disabled It turns on steady with a disabled Input or Output variable
Fault It flashes after a communication failure. (Only in Master mode)
Master It turns on steady in the Master status.
TX RS232 It turns on at each transmission on RS232 door
RX RS232 It turns on at each receipt on RS232 door
TX RS485 It turns on at each transmission on RS485 door
RX RS485 It turns on at each receipt on RS485 door
3. 1.4 CONFIGURATION
Through configuration program Silver-Pro7, it is possible to set the following parameters for each
point of the single devices, based on the type of device:
The configuration of modbus addresses and communication parameters takes place through two 8-
position dip switches located on board of the card.
Page 4 of 15
ST7-EN-003
Dip. 8 set addressing mode in slave operating mode. In Master operating mode this dip. Is not
used.
Dips 4-5 of switch SW2 configure the parity and number of stop bits.
ON 2 stop bits
SW2-6
OFF 1 stop bits
ON Card in Master mode
SW2-7
OFF Card in Slave mode
ON It freezes the last acquired status in case of disconnection with the Slave (*)
SW2-8
OFF It puts in fault status all the entities in case of Slave disconnection (*)
In addition, JP1 Jumper is present on the card to enable the 120 ohm termination resistance on
RS485 line.
Page 5 of 15
ST7-EN-003
Page 6 of 15
ST7-EN-003
Address Function
Description Notes
Offset Code
0 Silence Panel Command executed with variable = 1
1 Silence Sounder Command executed with variable = 1
2 01-03-05-15 Reset Panel Command executed with variable = 1
3 Evacuate Command executed with variable = 1
4÷31 Not Used Command executed with variable = 1
Slave
1
2
… Virtual
.. Inputs
512
1
2
… Virtual
.. Outputs
512
1
2 16 Bit
… Analog
.. Variables
130
The card in Slave mode replies to the Master’s requests on RS232 and on RS485 door with the
following parameters:
Baud Rate: Configurable of 1200/115200 Bps
Parity: Even/Odd/None configurable
Stop bit: 1/2 configurable
Maximum reply time: 100 milliseconds
Typical reply time: 50 milliseconds
After a request coming from the master, the slave behaves as follows:
Request Reply
The slave receives a message with no errors and is able to The Slave replies to the master, by sending the requested
formulate the reply data
The slave receives a wrong message after a communication
The Slave does not send any reply to the Master
error (Parity error / Frame error)
The slave receives a wrong message after a communication
The Slave does not send any reply to the Master
error (CRC error)
The slave receives a message with no communication The Slave sends an exception code to the Master, notifying
errors but it is not able to satisfy the reply it about the type of error
Page 7 of 15
ST7-EN-003
04 Slave device error Error on peripheral (e.g. in case of failure of the central unit)
06 Busy Slave device The requested data is not currently available (e.g. during initialization)
Page 8 of 15
ST7-EN-003
- Function 0x02 reads 512 bits (virtual Outputs) from the slave peripheral and after their variation,
it updates its virtual Inputs. It is performed every second.
- Function 0x15 reads 512 bits (virtual Inputs) from the slave peripheral after the variation of its
virtual Outputs. It is performed in normal conditions every 10 seconds and instantaneously after
the status variation of an Output.
Master Slave
1 1
2 2
… Virtual … Virtual
.. Inputs .. Outputs
512 512
1 1
2 2
… Virtual … Virtual
.. Outputs .. Inputs
512 512
The card in Master mode performs interrogations using RS485 connection. If no response is received
then interrogation are performed using RS232 connection with the following parameters:
Baud Rate: Configurable of 1200/115200 Bps
Parity: Even/Odd/None configurable
Stop bit: 1/2 configurable
Scan Rate in reading mode: 1 second
Scan Rate in writing mode: 10 seconds of instantaneous rest on Output variation
Timeout replies from Slave: 2 seconds
T1 Slave Address T1
Function Code Data CRC
T2 T2
1 byte N° byte(s) 2 byte(s)
T3 1 byte T3
- The Slave Address field contains the address of the peripheral to which the command is sent.
- The Function Code contains the code of the function requested by the Master.
- The Data field contains the data sent to the Slave or the Slave’s reply to a command.
- The CRC field contains the checksum value relative to the message.
- Sequence T1-T2-T3 represents the time during which data on the communication bus must not
be exchanged in order to allow the devices available to identify the end of a message and the
beginning of the following one. This time is equal to 3.5 characters and therefore it depends on
the set communication speed.
Page 9 of 15
ST7-EN-003
In the following example, it is requested to read 20 contiguous bits starting from address 46.
Request Reply
Field Name Hex value Field Name Hex value
Function Code 01 Function Code 01
Address HI 00 Number of bytes sent 03
Address LOW 2D Bits status value 27-20 xx
Bit number HI 00 Bits status value 35-28 xx
Bit number LOW 14 Bits status value 36-39* xx
* bits 40-43 are forced to zero
5. 1.9 Function 02 – Multiple reading of Output variables (Bytes)
This function is used to read the status of contiguous bits relative to the Output variables from 1 to
512. In the request, the start address and the number of contiguous bits that must be read are
specified. In the reply, bits are grouped up in 8-bit bytes.
Request
Function Code 1 Byte 0x02
Initial address 2 Bytes It depends on the addressing mode
Bit number 2 Bytes from 1 to 512
Reply
Function Code 1 Byte 0x02
Number of Bytes returned 1 Byte N*
Bit status n Bytes n=N or N+1
N= bit number /8 If the result is different from 0 N=N+1
Errors
Function Code 1 Byte Function Code + 0x80H
Error code 1 Byte 01/02/03/04/06
In the following example, it is requested to read 24 contiguous bits starting from address 1.
Request Reply
Field Name Hex value Field Name Hex value
Function Code 02 Function Code 02
Address HI 00 Number of bytes sent 03
Address LOW 00 Bits status value 27-20 xx
Bit number HI 00 Bits status value 35-28 xx
Bit number LOW 18 Bits status value 36-43 xx
Page 10 of 15
ST7-EN-003
In this case, command 0x03 must comply with the following parameters:
- Initial address between 1 and 5
- number of words to read between 1 and 5
- The sum of the initial address and the number of words to read must NOT be higher than 6
Request
Function Code 1 Byte 0x03
Initial address 2 Bytes It depends on the addressing mode
Word number 2 Bytes N=From 1 to 125
Reply
Function Code 1 Byte 0x03
Number of Bytes returned 1 Byte 2xN*
Status of variables N Bytes N x 2 bytes
N = Word number
Errors
Function Code 1 Byte Function Code + 0x80H
Error code 1 Byte 01/02/03/04/06
In the following example, it is requested to read 3 words starting from address 20.
Request Reply
Field Name Hex value Field Name Hex value
Function Code 03 Function Code 03
Address HI 00 Number of bytes sent 06
Address LOW 13 registry value HI (20) xx
Word number HI 00 Registry value LOW (20) xx
Word number LOW 03 registry value HI (21) xx
Registry value LOW (21) xx
Value of registry HI (22) xx
Registry value LOW (22) xx
Page 11 of 15
ST7-EN-003
Page 12 of 15
ST7-EN-003
Request
Function Code 1 Byte 0x05
Variable address 2 Bytes It depends on the addressing mode
Value 2 Bytes 0x00,0xFF=HI 0x00,0x00=LOW
Reply
Function Code 1 Byte 0x05
Variable address 2 Bytes from 0 to 511
Value 2 Bytes 0x00,0xFF=HI 0x00,0x00=LOW
Errors
Function Code 1 Byte Function Code + 0x80H
Error code 1 Byte 01/02/03/04/06
Request Reply
Field Name Hex value Field Name Hex value
Function Code 05 Function Code 05
Variable address HI 00 Variable address HI 00
Variable Address LOW 7F Variable Address LOW 80
Value HI FF Value HI FF
value LOW 00 value LOW 00
Request
Function Code 1 Byte 0x08
Sub-function code 2 Bytes 0x00, 0x00
Value 2 Bytes N x 2 bytes
Reply
Function Code 1 Byte 0x08
Sub-function code 2 Bytes 0x00, 0x00
Value 2 Bytes N x 2 bytes
Errors
Function Code 1 Byte Function Code + 0x80H
Error code 1 Byte 01/03/04/06/06
Request Reply
Field Name Hex value Field Name Hex value
Function Code 08 Function Code 08
Sub-function HI 00 Sub-function HI 00
Sub-function LOW 00 Sub-function LOW 00
Value HI 27 Value HI 27
value LOW AA value LOW AA
Page 13 of 15
ST7-EN-003
Request
Function Code 1 Byte 0x15
Initial address 2 Bytes It depends on the addressing mode
Bit number 2 Bytes from 1 to 512
Number of bytes 1 Byte N*
Bit value N*x 1 byte
N= bit number /8 If the result is different from 0 N=N+1
Reply
Function Code 1 Byte 0x15
Initial address 2 Bytes from 0 to 511
Bit number 2 Bytes from 1 to 512
Errors
Function Code 1 Byte Function Code + 0x80H
Error code 1 Byte 01/02/03/04/06
In the example below, it is requested to write 10 contiguous bits starting from address 20. The bit
value to write is contained in two CD 01 Hex bytes. The binary representation of Outputs is the
following:
bit 1 1 0 0 1 1 0 1 0 0 0 0 0 0 0 1
Output 27 26 25 24 23 22 21 20 - - - - - - 29 28
The first transmitted byte (CD) is relative to address from 27 to 20. The following transmitted byte
(01) is relative to addresses 28-29. Non used bytes must be brought to zero.
Request Reply
Field Name Hex value Field Name Hex value
Function Code 0F Function Code 0F
Address HI 00 Address HI 00
Address LOW 13 Address LOW 13
Bit number HI 00 Bit number HI 00
Bit number LOW 0A Bit number LOW 0A
Number of bytes 02
Byte number LOW CD
Byte number LOW 18
Page 14 of 15
ST7-EN-003
7. 1.14 CONNECTIONS
Connection between I/O module and field devices depends on the type of bus used..
With bus ST7-HV-E2004-1 the I/O module is internally connected to one of the 8 terminal
blocks with 18 screw terminals mounted on the PCB.
With bus ST7-HV-BP1402-N The module is connected to the field terminal block by the ST7-HV-
PC2401-S 6-conductor multipolar cable.
Connections
Page 15 of 15