127
Elmark Automatyka S.A.
ul. Niemcewicza 76, 05-075 Warszawa, tel. (+48) 22 773 79 37; [email protected]; www.elmark.com.pl
NIP: 5252072585; KRS: 0000803828, Sąd Rejonowy dla M-St. Warszawy, XIV Wydział Gosp. KRS; Kapitał Zakładowy 525.000 zł, w pełni opłacony
message and assume that the next byte is a new message the address of the domain. Likewise, if a new message in less than 3.5
characters of time and then a message before, receiving equipment will think it is a continuation of the previous message. This
will result in an error, because in the final CRC field value can't be right.
RTU frame format:
The frame header START
3.5 characters
Slave address ADR
Communication address: 1-247
command code CMD
03: Read the machine parameters;
06: write the machine parameters
Date content DATA (N-1 )
Information content: Function code parameter address, function code number
of parameters, function code parameter values, etc.
Data content DATA (N-2 )
......
Data content DATA0
High-order position of CRC CHK
estimated value: CRC value
low-order position of CRC CHK
END
3.5 characters’ time
CMD(Command instruction)and DATA(the description of data word) command code:03H,read N word(Word)(Can read the most
words of 12)For example, From the machine address of 01 inverter startup F105 continuous read for two consecutive values
The host command information
ADR
01H
CMD
03H
high-order position of the starting address
F1H
low-order position of the starting address
05H
high-order position of register
00H
low-order position of register
02H
low-order position of CRC CHK
Wait to calculate the CRC CHK values
high-order position of CRC CHK
In response to information from the slave machine Set PD.05 to 0:
ADR
01H
CMD
03H
high-order position of bytes
00H
low-order position of bytes
04H
Data high-order position of F002H
00H
Data low-order position of F002H
00H
Data high-order position of F003H
00H
Data low-order position of F003H
01H
low-order position of CRC CHK
Wait to calculate the CRC CHK values
high-order position of CRC CHK
Set PD.05 to 1:
ADR
01H
CMD
03H
The number of bytes
04H
Data high-order position of F002H
00H
Data low-order position of F002H
00H
Data high-order position of F003H
00H
Data low-order position of F003H
01H
Summary of Contents for elmatic ED2000
Page 1: ......