Toshiba TOSVERT VF-AS1 instruction manual MODBUS-RTU transmission format, Read command, Crc

Page 31

efesotomasyon.com -Toshiba inverter,drive,servo,plc

E6581315

5.1.MODBUS-RTU transmission format

MODBUS-RTU sends and receives binary data without a frame-synchronizing start code and de- fines the blank time to recognize the start of a frame. MODBUS-RTU decides the data that is first received subsequently as the first byte of a frame after a blank time for 3.5 bytes at the on-going communication speed.

5.1.1. Read command (03)

„ Computer → Inverter *The text size is 8 bytes fixed.

 

 

 

Commu-

Commu-

Number

Number

CRC

CRC

 

(3.5bytes

Inverter

Command

nication

nication

of Data

of Data

(3.5bytes

Blank)

No.

 

No.

No.

Groups

Groups

(low)

(high)

Blank)

 

 

(high)

(low)

(high)

(low)

 

 

 

 

 

 

 

 

 

 

03

 

 

00

01

 

 

 

1) Inverter No.. (1 byte)

:Specify an inverter number between 0 and 247 (00H to F7H).

Command processing will be executed only broadcast communication “0” and with those inverters that match set inverter numbers. Data will not be returned if “0” (broadcast communication) and inverter numbers do not match.

2)

Command (1 byte)

: Set the read command (03H fixed).

3)

Communication No.. (2 bytes)

: Set in the order of high to low numbers.

4)

Number of data groups (2 bytes)

: Set the number of data words 0001 (fixed) in the order of high to low numbers.

5)

CRC (2 bytes)

: Set generation results of CRC in the order of low to high numbers.. For the

 

 

method to generate CRC, see “5.2 CRC Generation.” Note that the setting se-

 

 

quence is reversal to that of others.

„ Inverter → Computer (Normal return) *The text size is 7 bytes fixed.

(3.5bytes

Blank)

Inverter

Command

Number of

Read data

Read data

CRC

CRC

No.

 

Data

(high)

(low)

(low)

(high)

 

03

02

 

 

 

 

(3.5bytes

Blank)

1)

Command (1 byte)

: Read command (03H fixed) will be returned.

2)

Number of data

: A number of data bytes (02H fixed) will be returned.

 

 

transmission to the inverters is 2 bytes and 01H fixed.

 

 

turned by the inverters is 1 byte and 02H fixed.

The number of data groups for Note that the number of data re-

3) Read data (2 bytes) : Returned in the order of read data (high) and (low).

„ Inverter → Computer (Abnormal return) *The text size is 5 bytes fixed.

(3.5bytes

Blank)

Inverter No.

Command

Error Code

CRC

CRC

(low)

(high)

 

 

 

 

83

 

 

 

(3.5bytes

Blank)

1)

Command (1 byte)

: 83H fixed (Read command error) (Command + 80H)

2)

Error code (1 byte)

: See “4.3 Transmission errors.”

„ Example: Reading output frequency (During 60Hz operation)

(Computer → inverter)

01 03

FD 00 00 01 B5 A6

(Inverter → computer)

01 03

02 17 70 B6 50

„Example: Data specification error

(Computer → inverter)

01 03

FD 00 00 02 F5 A7

(Inverter → computer)

01 83

03 01 31

30

Image 31
Contents E6581315② Tosvert VF-AS1 Series RS485 Communication FunctionE6581315 Read first Safety precautionsContents BIT15 BIT8BIT7 BIT0 General outlines of the communication functionBit Word BIT2 Data transmission specificationsAbout the handling of received frames Communication protocolMOUBUS-RTU Toshiba Inverter Protocol Binary mode 2FHData Data transmission format used in Ascii modeData transmission format INV-NO CMD28H Bytes Checksum area 5bytes BlankData SUM INV-NOData transmission format used in binary mode Sum 1 bytes Checksum not omissible 00H to FFH Command receivedReturned for the 57H W and 50H P commands Byte Bytes2FH Byte 4EH6EH Bytes NornTransmission format of Block Communication Page Bytes Blank Start Code INV-NO Block communication Computer Inverter CommandsDummy data is required for this command Reads the data with the specified communication numberRFE03077BCR RFE03CRPage Format error Data transmission format does not match Transmission errorsCommunication There is no communication number that matches Broadcast communication function VF-AS1 RFC90CR Examples of the use of communication commandsAscii mode Computer → Inverter Inverter → Computer From the computer H = 24d  trip statusExamples of Communication programs Goto =LENS$ For I=1 to LNext Input #1,B$If Count 0 then T=TIMER 160 T=TIMER COUNT=TIMER-TPrint #1,B$ Page MSComm1.Output = Text2.Text & Chr13 End Sub End IfText2.Text = Text1.Text = End Sub Inverter number  MODBUS-RTU protocolMODBUS-RTU transmission format Read commandCRC Text size is 8 bytes fixed Inverter Write commandBlank Command 1 byte 5bytes Blank Command 1 byteEnd Return CRC Error codesCRC Generation Bit counter =Inter-drive communication Never use pin-7 P11 QWiring 4-wire RS485 communication) E6581315 QWiring 2-wire RS485 communicationPage Parameters relating to the slave side example =0.01% Proportional control of speed80.00Hz 40.00Hz Slave 100.00Hz 00%90.00Hz 45.00Hz Slave 100.00Hz1 00%INV-NO 1 byte Inverter number Transmission format for inter-drive communication0OFF Communication parametersMODBUS-RTU Inverter number Baud rate,  , Parity INV INV → PC PC → INV „ Timer Time-out period Computer linkPC → INV Master INV To SlaveFree notes Send waiting time , Use this function for the following case OFF Commands and monitoring from the computerCommunication commands commands from the computer PI OFFBraking answer BA Electric Power quantityForcibly braked Preliminary excitation Brake release BWire RS485 communication FA32 Output terminal no Specified data output „ Terminal board output data FA50„ FM analog output FA51 „ AM analog output FA52RFD00CR Monitoring from the computerUnit 0.01% N·m BIT15 „ Input terminal board status FD06, FE06RES Input terminal function selection 9 f119„ Output terminal board status FD07, FE07 ST=ON ST=OFF „ Inverter operating status 1 FD01, FE01„ Inverter operating status 3 FD49, FE49 „ Inverter operating status 2 FD42, FE42„ Inverter operating frequency mode status FD46, FE46 „ Inverter operating command mode status FD45, FE45Preset speed operation „ Cumulative operation time alarm monitor FE79 „ Alarm information monitor FC91Bit Specifications Remarks E6581315 Model Data „ Inverter model capacity code FB05Parameter Name Range Setting LED setting by communicationUtilizing panel LEDs and keys by communication „ Block Communication Function for LED Display Blank Ascii LED display data code 00H-1FH are blankFA10=0 Key utilization by communicationFA10=1 Parameter data ROM EEPPage FE29 Input power Alarm codeFE02 Frequency command value 01Hz FE19 Torque commandE6581315 FD50 Light-load high-speed torque 01% Tion FE80 Cumulative power on timeFE84 Binary input value option ESC Appendix 1 Table of data codesCan SUBResponse time „ Data transmission time Appendix 2 Response timeVF-A7 Appendix 3 Compatibility with the communication functionAppendix 4 Troubleshooting Appendix 5 Connecting for RS485 communication TXB RXARXB TXA
Related manuals
Manual 326 pages 49.22 Kb Manual 10 pages 12.86 Kb