background image

 

www.fanox.com

  

 

 

 

Rev. 01

 

 

 

 

 

3/17 

 

1. 

MODBUS RTU PROTOCOL 

 

Communication parameters are: 

Modbus RTU: 
 

  Address and Baudrate 

  8 data bits 

  No parity 

  1 stop bit 

 

This document describes the steps to follow to read and write data on the SIA-F relay, as per the Modbus 
protocol. This memory map is only valid for one piece of equipment and one version of the memory. The 
positions of existing objects in the memory remain fixed from one version to the next, but new objects will 
naturally  have  new  addresses  which  will,  in  turn,  remain  fixed  in  future  versions.  The  memory  map  is 
described further on. 

The standard Modbus protocol is used, so any program or PC can communicate easily with the equipment. 

The  SIA-F  always  acts  as  a  slave,  which  means  that  it  never  initiates  communications.  The  master  is 
always responsible for initiating communications. 

Only a subset of the Modbus functions is implemented: 

 

Reading function 3. 

 

Writing function 16. 

The MODBUS/RTU protocol is independent from the hardware. Therefore, the physical layer can exist in 
different hardware configurations: RS232, RS485, fibre optic or Ethernet. 

Specifically, the relay has a front RS232 port and, as an option, a rear RS485 port. The data stream in any 
of the configurations is “half-duplex”.er 

Each byte of data is transmitted asynchronously and is made up of: 1 start bit, 8 data bits, 1 stop bit and 
1 parity bit, if this is how it is programmed. Therefore, the data has 10 or 11 bits, depending on whether it 
includes parity. 

If the relay only offers with Modbus on the front port, the address (1 to 247) is configurable but the rest of 
the paarmeters are fixed and equal to: baudrate 19200, No parity and stop bit 1. 

If the relay offers RS485 Modbus protocol the the address (1 to 247) and the baudrate (4800, 9600, 19200 
or 38400) con be but the rest of the parameters are fixed: without parity and with 1 stop bit. 

The master must know the address of the slave that it is going to communicate with. No unit will act on 
requests from the master if the message is not addressed to them. The exception is when the 0 address, 
or “broadcast” address, is used, in which case the relay will act but will not send an answer of any type. 

 

Communications are made in packages or frames, which are groups of data that are sent asynchronously. 
The master transmits a frame to the slave, and the slave then replies with another frame (except in the 
case of 

“broadcast” messages). 

The end of the frame is marked by a dead time or silence time in the communication medium. The length 
of this time of silence varies depending on the transmission speed, as it is equivalent to 3 characters. 

The  following  table  shows  the  generic  package  format  that  is  valid  for  transmission  and  reception. 
However, each function has its own peculiarities, as will be described further on. 

 

 

Summary of Contents for SIA F

Page 1: ...www fanox com Rev 01 1 17 MODBUS RTU PROTOCOL MANUAL SIA F Overcurrent Earth Fault Protection Relay...

Page 2: ...format 4 1 2 Function Codes 4 1 3 Exceptions Responses 5 1 4 Data type 5 1 5 General Memory Map 7 1 5 1 States Map 7 1 5 2 Measurements Map 12 1 5 3 Settings Map 12 1 6 Command List 16 1 7 Setting up...

Page 3: ...nd is made up of 1 start bit 8 data bits 1 stop bit and 1 parity bit if this is how it is programmed Therefore the data has 10 or 11 bits depending on whether it includes parity If the relay only offe...

Page 4: ...ed with an 0x90 DATA N bytes This part consists of a variable number of bytes depending on the function code It may include addresses data lengths settings commands or exception codes sent by the user...

Page 5: ...c non recognition When the data format takes up more than one BYTE the most important BYTE is sent through the communications first and the least important BYTE is sent last 1 4 Data type TYPE LENGTH...

Page 6: ...ty UINT Event EVENT CCRIT 6 Criteria Number UINT Criteria Directory UINT Descriptive text ASCII8 PEST 61 Number of States UINT Protection State 1 BIT16 Protection State 60 BIT16 PCRIT 61 Number of Cri...

Page 7: ...map 03 16 Counters 202 2 CONT Opennings Number 03 16 Counters 204 2 CONT Accumulated Amperes 03 Serial number 252 2 LONG 03 Equipment identifier 254 44 ASCII88 03 Read and Delete the oldest Event 400...

Page 8: ...Bit Event NO Status Associated Measurement 502 Local COM 00 Local communication 01 HMI Activity 17 2 Open Breaker 18 3 Close Breaker 23 9 Reset 25 8 Reset thermal image Address Description Bit Event N...

Page 9: ...nt 508 50G 04 01 50G Pickup IN A 12 02 50G Trip IN A Address Description Bit Event NO Status Associated Measurement 510 51G 04 01 51G Pickup IN A 12 02 51G Trip IN A Address Description Bit Event NO S...

Page 10: ...52 Closed Closing time 06 07 52 Closing time 07 08 52 Closing Error Closing time 08 09 52 Max Number of openings 09 10 52 Max Accumulated amperes I2t 10 11 52 Max openings Time 11 12 Contact 52a 12 13...

Page 11: ...d 05 Open Cold load 12 02 Cold Load Pickup Address Description Bit Event NO Status Associated Measurement 538 Leds 00 Led 1 01 Led 2 02 Led 3 Address Description Bit Event NO Status Associated Measure...

Page 12: ...scription Format Enumeration Generals 600 Identification ASCII20 800 610 Frequency DENUM 0 60 Hz 1 50 Hz 810 612 Serial Number LONG 812 614 Language DENUM 0 English 1 Spanish 2 Depends on Relay model...

Page 13: ...Extremely Inverse 7 IEC Long Time Inverse 838 640 Time Dial TMS FLOAT INVERSE 840 642 Tap FLOAT INVERSE 842 644 Time Delay FLOAT INVERSE 844 Settings Address Description Format Enumeration 50G 646 Fu...

Page 14: ...660 Time Delay FLOAT INVERSE 860 Settings Address Description Format Enumeration 49 662 Function Enable DENUM 0 Disable 1 Enable 862 664 Tap FLOAT INVERSE 864 666 Heating Constant LONG 866 668 Cooling...

Page 15: ...6 Closing Time FLOAT INVERSE 886 688 Excessive Repeated Openings LONG 888 690 Repetitive Openings Time FLOAT INVERSE 890 Settings Address Description Format Enumeration CLP 736 Function Enable DENUM 0...

Page 16: ...MI By default the password is 5555 and it can be changed from general settings menu 1 8 Example of Modbus Frames Writing the access password 5555 to equipment no 1 Address Function H Pickup Address L...

Page 17: ...www fanox com Rev 01 17 17...

Reviews: