Download Print this page

Siemens SICAM Q80 System Manual page 79

Power quality recorder
Hide thumbs Also See for SICAM Q80:

Advertisement

5.1.3.4
Communication via Modbus TCP
The following settings for serial communication between the Modbus-Master and the SICAM Q80's Modbus-Slave
must be made when setting the device parameters, and they are required for setting the Modbus-Master's
parameters. The Slave reacts exclusively to the Master's requests. A Modbus request/response may not be longer
than 253 Bytes.
Implementation has been in conformance to "MODBUS Messaging on TCP/IP Implementation Guide V1.0b"; see also
www.modbus.org
"Modbus_Application_Protocol_V1_1b"
Port:
Standard TCP-Port: 502
up to three different ports can be defined
Number of clients: up to three Clients simultaneously
Update rate: 1 Hz to 5 Hz
Protocol structure:
TransactionNumber
2 Byte
Address [1 Byte]
Query:
Address of the Slave device (ignored for Modbus/TCP)
Response:
Address of the responding Slave-device
0 – general query answered by all Slaves
Function [1 Byte]
Query:
Command code
Response:
Result of query, error or the response contains the correct value
E.g. returning the command code, meaning that the response is free of errors. In case of an error, there may be
supplemental info in the data field.
Example in Hex
Query of registers 107 through 109 (registers are counted here starting from 0)
Field name
Slave address
Function
Starting address High
Starting address Low
Number of registers High
Number of registers LOW
Answer:
Slave Address
Function
Byte count
Data High – Register 107
Data Low – Register 107
ProtocolID
2 Byte(always 0x0000)
Content
1
03
00
6B
00
03
1
03
06
02
2B
Operation modes and settings
Amount of
Address Function
subsequent Bytes
2 Byte (n+2)
1 Byte
Range
1..254
0..0xffff
1..127
Power Quality Recorder SICAM Q80 7KG8080, System manual
Data
1 Byte
n Byte
E50417-H1076-C420-A2, Release 12.01.2015
79

Advertisement

loading