Toshiba RS485, VF-AS1 Series instruction manual Inv-No, Data SUM

Page 10

E6581315

Data returned when data is not processed normally (ASCII mode)

In case an error occurs, communication error command (4EH(N) or 6EH(n)) and the error type num- ber is returned to the computer in addition to the checksum. At time of broadcast communication of the binary mode, returning of data is not executed except for the inverter to be returned (inverter number 00H) and when the inverter number is not matched. This is because there will be a risk that the returned data may be deformed.

 

 

 

Omissible

 

 

 

 

 

 

 

 

Omissible

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(3.5bytes

“(“

 

INV-NO

“N” or “n”

 

DATA

"&"

SUM

 

 

")"

CR

Blank)

(28H)

 

2 bytes

(4EH)

(6EH)

 

4 bytes

(26H)

2 bytes

 

 

(29H)

(0DH)

 

 

 

 

 

 

 

 

Checksum area

 

 

 

 

 

 

 

Omissible

(3.5bytes

Blank)

“(“ (1 byte)

: Start code in ASCII mode

“N” or “n” (1 byte)

:Communication error command ... This is also used for the checking of inverter trip.

 

“N” for the normal communication and “n” during the inverter trip.

INV-NO (2 bytes)

: Inverter number (omitted if it is not found in the data received) ... 00 (30H, 30H) to 99 (39H,

 

39H)

 

If the inverter number matches up with that specified using a parameter, data will be return-

 

ed to the computer. In broadcast communication, only the destination inverter (with a num-

 

ber matching up with the smallest effective number) returns data to the computer.

Data (4 bytes)

: Error code (0000~0004)

 

0000 ... Impossible to execute (Although communication is established normally, the

 

command cannot be executed because it is to write data into a parameter whose

 

setting cannot be changed during operation (e.g., maximum frequency) or the

 

EEPROM is faulty.)

 

0001 ... Data error (The data is outside the specified range or it is composed of too many

 

digits.)

 

0002 ... Communication number error (There is no communication number that matches.)

 

0003 ... Command error (There is no command that matches.)

 

0004 ... Checksum error (The checksum result differs.)

“)” (1 byte)

: Stop code ... This code is omitted if it is not found in the data received.

„Examples:

(N0000&5C)CR... Impossible to execute (e.g., a change of maximum frequency data during opera- tion)

(N0001&5D)CR... Data error (Data is outside the specified range.)

(N0002&5E)CR... No communication number (There is no communication number that matches.) (N0003&5F)CR... There is no command that matches. (Commands other than the R, W and P

commands)

(Ex.: L, S, G, a, b, m, r, t, w ...) (N0004&60)CR... Checksum error (The checksum result differs.) No data returned ... Format error or invalid inverter number

9

Image 10
Contents Tosvert VF-AS1 Series RS485 Communication Function E6581315②Read first Safety precautions E6581315Contents BIT15 BIT8BIT7 BIT0 General outlines of the communication functionBit Word Data transmission specifications BIT2About the handling of received frames Communication protocolMOUBUS-RTU Binary mode 2FH Toshiba Inverter ProtocolINV-NO CMD Data transmission format used in Ascii modeData transmission format Data5bytes Blank 28H Bytes Checksum areaINV-NO Data SUMData transmission format used in binary mode Byte Bytes Command receivedReturned for the 57H W and 50H P commands Sum 1 bytes Checksum not omissible 00H to FFHNorn 2FH Byte 4EH6EH BytesTransmission format of Block Communication Page Bytes Blank Start Code INV-NO Reads the data with the specified communication number CommandsDummy data is required for this command Block communication Computer InverterRFE03CR RFE03077BCRPage Format error Data transmission format does not match Transmission errorsCommunication There is no communication number that matches Broadcast communication function VF-AS1 From the computer H = 24d  trip status Examples of the use of communication commandsAscii mode Computer → Inverter Inverter → Computer RFC90CRExamples of Communication programs Input #1,B$ =LENS$ For I=1 to LNext GotoIf 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 MODBUS-RTU protocol Inverter number MODBUS-RTU transmission format Read commandCRC 5bytes Blank Command 1 byte Write commandBlank Command 1 byte Text size is 8 bytes fixed InverterBit counter = Error codesCRC Generation End Return CRCInter-drive communication E6581315 QWiring 2-wire RS485 communication Never use pin-7 P11 QWiring 4-wire RS485 communication)Page Parameters relating to the slave side example Proportional control of speed =0.01%Slave 100.00Hz1 00% Slave 100.00Hz 00%90.00Hz 45.00Hz 80.00Hz 40.00HzTransmission format for inter-drive communication INV-NO 1 byte Inverter numberCommunication parameters 0OFFMODBUS-RTU Baud rate,  , Parity  Inverter numberMaster INV To Slave „ Timer Time-out period Computer linkPC → INV INV INV → PC PC → INVFree notes Send waiting time , Use this function for the following case PI OFF Commands and monitoring from the computerCommunication commands commands from the computer OFFBrake release B Electric Power quantityForcibly braked Preliminary excitation Braking answer BAWire RS485 communication FA32 „ AM analog output FA52 „ Terminal board output data FA50„ FM analog output FA51 Output terminal no Specified data outputRFD00CR Monitoring from the computerUnit 0.01% N·m Input terminal function selection 9 f119 „ Input terminal board status FD06, FE06RES BIT15„ Output terminal board status FD07, FE07 „ Inverter operating status 1 FD01, FE01 ST=ON ST=OFF„ Inverter operating status 2 FD42, FE42 „ Inverter operating status 3 FD49, FE49„ 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 „ Inverter model capacity code FB05 Model DataParameter Name Range Setting LED setting by communicationUtilizing panel LEDs and keys by communication „ Block Communication Function for LED Display Ascii LED display data code 00H-1FH are blank BlankFA10=0 Key utilization by communicationFA10=1 Parameter data EEP ROMPage FE19 Torque command Alarm codeFE02 Frequency command value 01Hz FE29 Input powerE6581315 FD50 Light-load high-speed torque 01% Tion FE80 Cumulative power on timeFE84 Binary input value option SUB Appendix 1 Table of data codesCan ESCAppendix 2 Response time Response time „ Data transmission timeAppendix 3 Compatibility with the communication function VF-A7Appendix 4 Troubleshooting Appendix 5 Connecting for RS485 communication TXA RXARXB TXB