background image

 

5

3.  If the LSB is 0: Shift the CRC register one bit to the right (toward the LSB), 

Zero-filling the MSB.   

If the LSB is 1: Shift the CRC register one bit to the right (toward the LSB), 

Zero-filling the MSB. Exclusive OR the CRC registers with the polynomial value 

A001 hex. 

4.  Repeat step 3 until 8 shifts have been performed. When this is done, a 

complete 8-bit byte will have been processed. 

5.  Repeat step 2 through 5 for the next 8-bit byte of the message. Continue doing 

this until all bytes have been processed. 

6.  The final content of the CRC register is the CRC value. The CRC field is 

appended to the message as the last field in the message. When this is done, 

the low-order byte of the field is appended first, followed by the high-order byte. 

The CRC high-order byte is the last byte to be sent in the message. 

 

5.6   Transmission Control Procedure 

1. Transmission procedure of master station 

The master station must proceed to a communication upon conforming to the following 

items. 

1-1.  Before sending a command message, provide 44 bits time or more vacant 

status.  

1-2.  For sending, the interval between bytes of a command message is below 22 

bits time. 

1-3.  Within 22 bits time after sending a command message, the receiving status is 

posted. 

1-4.  Provide 44 bits time or more vacant status between the end of response 

message reception and beginning for next command message sending (same 

as in 1-1). 

1-5.  For ensuring the safety, make a confirmation of the response message and make 

an arrangement so as to provide 3 or more retries in case of no response, error 

occurrence, etc. 

Note:   The above definition is for most unfavorable value. For ensuring the safety, it’s 

recommended the program of the master to work with safety factors of 2 to 3. 

Concretely, it is advised to arrange the program for 9600 bps with 10ms or more for 

vacant status (1-1), and within 1ms for byte interval (1-2) and changeover from 

sending to receiving (1-3). 

2. Description 

      (1). Detection of the message frame 

Since the communication system uses the 2-write RS-485 interface, there may 

be 2 statuses on a line below. 

(a) Vacant status (no data on line) 

(b) Communication status (data is existing) 

Instruments connected on the line are initially at a receiving status and 

monitoring the line. When 22 bits time or more vacant status has appeared on 

the line, the end of preceding frame is assumed and, within following 22 bits time, 

a receiving status is posted. When data appears on the line, instruments receive 

it while 22 bits time or more vacant status is detected again, and the end of that 

frame is assumed. Data, which appeared on the line from the first 44ms time or 

more vacant status to the next 44 bits time or more vacant status is fetched as 

one frame. 

1-1.  44 bits time or more vacant status precedes the command message 

sending. 

1-2.  Interval between bytes of 1 command message is smaller than 22 bits 

time. 

      (2). Response of this instrument (SE series) 

After a frame detection (22 bits time or more vacant status), this instrument 

Содержание SE6000 Series

Страница 1: ...ing Operation Method 2 5 MODBUS COMMUNICATION PROTOCOL 5 1 General 3 5 2 Composition of Message 3 5 3 Response of Slave Station 4 5 4 Function Code 4 5 5 Calculation of Error Check Code CRC 16 4 5 6 Transmission Control Procedure 5 6 DETAILS OF MESSAGE 6 1 Read out of Word Data Function Code 03 6 6 2 Read out of Read Only Word Data Function Code 04 6 6 3 Write in of Word Data 1 word Function Code ...

Страница 2: ... 2 1 Communication Specifications Item S pecification Electrical specification Based on EIA RS 485 Transmit system 2 wire semi duplicate Synchronizing system Asynchronous mode Connection format 1 N Number connection unit Up to 255 units Transmission distance 500m max Transmission speed 2400 4800 9600 19200 selectable Start bit 1 bit Data length bit 8 bits Parity bit None Data format Stop bit 2 bit...

Страница 3: ...e at delivery Setting range Remarks BAUD Transmission speed 9600 2400 4800 9600 19200 Data length 8 bits Fixed can t be changed Stop bit 2 bit Fixed can t be changed Parity setting None Fixed can t be changed Set the same communication condition to the master station and all slave station ADDR Address 1 1 to 255 Set a different value to each station 4 2 Setting Operation Method The following examp...

Страница 4: ...d is explained 1 Start In RTU mode messages start with a silent interval of at least 3 5 character times This is most easily implemented as a multiple of character times at the baud rate that is being used on the network shown as T1 T2 T3 T4 in the figure above The first field then transmitted is the device address 2 Address Address is the number specifying a slave station Valid slave device addre...

Страница 5: ...mmand but creates and sends back a response message at error detection The composition of response message at error detection is shown on below the value used for function field is function code of command message plus 80H ADDRESS FUNCTION Function code 80H ERROR CODE CRC CHECK 8 BITS 8 BITS 8 BITS 16 BITS Error Code Contents Description 01 Illegal function The function code received is not an all...

Страница 6: ... 1 1 5 For ensuring the safety make a confirmation of the response message and make an arrangement so as to provide 3 or more retries in case of no response error occurrence etc Note The above definition is for most unfavorable value For ensuring the safety it s recommended the program of the master to work with safety factors of 2 to 3 Concretely it is advised to arrange the program for 9600 bps ...

Страница 7: ...bytes 2 bytes Byte number Word number 2 2 Message transmission example The following show an example of reading the Setpoint Value 1000 from address No 1 controller Command message composition Address Function Starting Address Word Number CRC 16 01 03 0000 0001 840A Response message composition Address Function Byte Number Word Data CRC 16 01 03 02 03E8 B8FA 6 2 Read out of Read Only Word Data Fun...

Страница 8: ...s controllers 1 Normal value The data value is transfer into Hexadecimal regardless of decimal For example 1000 will be transfered to 03E8 hex However such as output percentage and Pb proportional band 100 0 will be transfered to 03E8 hex 2 Index code Some parameters value are set by index code For example to change the unit to via communication The data value would be 0017 hex Code English Code E...

Страница 9: ...e 000F UNIT ENG English code 0010 DP 0000 000 0 00 00 0 000 English code 0011 ACT REV DIR English code 0012 LOLT 1999 9999 0013 HILT 1999 9999 0014 FILT 0 0 100 0 0015 A1FU None Hi Lo dif H dif L bd Hi bd Lo T SNL English code 0016 A1MD None Stdy Lath St La T End English code 0017 A2FU None Hi Lo dif H dif L bd Hi bd Lo T SNL English code 0018 A2MD None Stdy Lath St La T End English code 0019 A3FU...

Страница 10: ... connection distance are as specified Whether communication conditions coincide between the master station host computer and slave station SE6000 Transmission speed 2400 bps 4800 bps 9600 bps 19200 bps Address 01 FF master and slave station must be match Whether send receive signal timing conforms to Section 5 4 in the manual Whether more than one instrument connected on the same transmission line...

Отзывы: