Akytec SMI2 Panduan Pengguna - Halaman 9
Jelajahi secara online atau unduh pdf Panduan Pengguna untuk Monitor Akytec SMI2. Akytec SMI2 12 halaman. Rs485 display
Appendix D Functions and data transfe
The following functions are supported in the Modbus protocol:
–
03, 04 (read registers) – read one or more registers
–
06 (write single register) – write one register
–
16 (write multiple registers) – write block of registers
–
17 (report server ID) – read the device name and the firmware version.
Example. Function 17 (Report Server ID)
This function is used to read the device name and the firmware version. The example with
the device address 12 is shown in Tables D1 and D2
Table D1 Format of the request (Master -> Slave)
Table D2 Format of the response (Slave -> Master)
Address
12
Comments
The values X and YY are set by the manufacturer.
D.1 Parameter
Comment: Default values are printed in bold.
Table D3 Configuration parameters
Parameter
Device name
dEv
Software version
vEr
Baud rate
bPS
Data bits
Len
Parity
PrtY
Stop bits
Sbit
Response delay
rS.dL
Time-out
t.out
Device address
Addr
Protocol
t.Pro
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany Tel.: +49 (0) 511 16 59 672-0 ·
Address
12
Function
Data length (byte)
code
17
14
Register no.
Values
(dec)
Device information
0-1
SMI2
2-3
X.YY
Network parameters
0 – 2.4 kBit/s
1 – 4.8 kBit/s
2 – 9.6 kBit/s
3 – 14.4 kBit/s
4 – 19.2 kBit/s
4
5 – 28.8 kBit/s
6 – 38.4 kBit/s
7 – 57.6 kBit/s
8 – 115.2 kBit/s
5
0 - none
6
1 - even
2 - odd
1 – one
7
2 – two
8
0...45...255 ms
9
0...600 s
Modbus:
1...16...247
10
akYtec:
0...16...2047
0 – Modbus ASCII
11
1 – Modbus RTU
2 – akYtec
Function code
17
Data
SMI2 VX.YY
Data type
Char[8]
(8 bytes)
Char[4]
(8 bytes)
Byte
7
Byte
8
Byte
Byte
Byte
UInt16
(2 Bytes)
UInt16
(2 Bytes)
Byte
Checksum
ZZ
Checksum
ZZ
Comment
read only
not displayed
read only
read/write
read/write
read/write
read/write
read/write
read/write
read/write
read/write
www.akytec.de
8