Toshiba VF-AS1 Series, RS485 Print #1,B$, 160 T=TIMER COUNT=TIMER-T, If Count 0 then T=TIMER

Page 27

E6581315

Ex. 3 BASIC program for communication tests (RS232C, ASCII mode)

(Toshiba version of Advanced BASIC-86 Ver. 3.01.05J)

Accessing a parameter (with error code.) 1) Examples of programs

100 INPUT "Baud rate=9600/4800/2400/1200";SPEED$

----Selects a baud rate.

110 INPUT "Parity=even(E)/odd(O)";PARITY$

----Selects parity.

120

OPEN "COM1:"+SPEED$+","+PARITY$+",8,1"AS #1

130

INPUT "Send data";B$

---- Enters a command.

140

PRINT #1,B$

 

150

C$=""

 

160 T=TIMER

 

170 COUNT=(TIMER-T)

 

180 IF COUNT >3 THEN 270

 

190

IF COUNT <0 THEN T=TIMER

---- Prevents an increase in the number of digits.

200IF LOC(1)= 0 THEN A$="":GOTO 220

210A$=INPUT$(1,#1)

220

IF A$ <>CHR$(13) THEN 240

---- Carriage return

230

GOTO 290

(CR) to finish reading in.

240IF A$="" THEN 160

250C$=C$+A$

260GOTO 160

270COLOR @0,7:PRINT "!!! There is no data to return. !!! ";:COLOR @7,0:PRINT

280 GOTO 130

---- Repeats.

290PRINT A$;

300C$=C$+A$

310PRINT "Return data=";c$;

320 GOTO 130---- Repeats.

2) Examples of program execution results (In this example, the inverter number is 00.)

Baud rate=9600/4800/2400? 9600

---- Selects 9600 baud.

Parity=even(E)/odd(O)? E

---- Select E (even parity).

Send data? (00R0011)

---- Carries out test communication.

Return data= (00R00111770)

 

Send data? ()

---- Error

!!! There is no data to return. !!!

---- No data is returned.

Send data? (R0011)

 

Return data= (R00111770)

 

Send data?

 

:

 

:

 

26

Image 27
Contents E6581315② Tosvert VF-AS1 Series RS485 Communication FunctionE6581315 Read first Safety precautionsContents General outlines of the communication function BIT15 BIT8BIT7 BIT0Bit Word BIT2 Data transmission specificationsCommunication protocol About the handling of received framesMOUBUS-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 Transmission errors Format error Data transmission format does not matchCommunication 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$160 T=TIMER COUNT=TIMER-T If Count 0 then T=TIMERPrint #1,B$ Page End If MSComm1.Output = Text2.Text & Chr13 End SubText2.Text = Text1.Text = End Sub Inverter number  MODBUS-RTU protocolRead command MODBUS-RTU transmission formatCRC 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 SlaveSend waiting time ,  Free notes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 FA52Monitoring from the computer RFD00CRUnit 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 command mode status FD45, FE45 „ Inverter operating frequency mode status FD46, FE46Preset speed operation „ Alarm information monitor FC91 „ Cumulative operation time alarm monitor FE79Bit Specifications Remarks E6581315 Model Data „ Inverter model capacity code FB05LED setting by communication Parameter Name Range SettingUtilizing panel LEDs and keys by communication „ Block Communication Function for LED Display Blank Ascii LED display data code 00H-1FH are blankKey utilization by communication FA10=0FA10=1 Parameter data ROM EEPPage FE29 Input power Alarm codeFE02 Frequency command value 01Hz FE19 Torque commandTion FE80 Cumulative power on time E6581315 FD50 Light-load high-speed torque 01%FE84 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

RS485, VF-AS1 Series specifications

The Toshiba VF-AS1 Series represents a significant advancement in the realm of variable frequency drives (VFDs), designed for various industrial applications that demand precision, efficiency, and reliability. With support for RS485 communication, the VF-AS1 Series fosters seamless integration into complex automation systems, making it the perfect choice for modern manufacturing environments.

One of the standout features of the Toshiba VF-AS1 Series is its versatile communication capabilities. The built-in RS485 port allows for easy connectivity with a range of devices, including PLCs (Programmable Logic Controllers) and HMIs (Human-Machine Interfaces). This ensures real-time monitoring and control of motor functions, enhancing operational efficiency and data analysis.

The VF-AS1 Series is engineered with advanced control technologies that provide exceptional motor performance. It incorporates vector control algorithms that optimize torque and speed regulation for both standard and permanent magnet motors. This results in precise motor control across a wide range of speeds and load conditions, ensuring optimum performance and energy savings.

Another noteworthy characteristic is its user-friendly interface. The VF-AS1 features a clear LCD display that allows for easy navigation and configuration. This intuitive design minimizes the learning curve for operators and technicians, facilitating quick setup and adjustments. Additionally, the series supports various programming options, catering to both novice users and experienced professionals.

Energy efficiency is a key priority in the design of the VF-AS1 Series. The drives are equipped with energy-saving features that help reduce overall power consumption and operational costs. With built-in sleep modes and dynamic energy feedback, these drives optimize energy usage based on demand, making them suitable for both constant and variable load applications.

In terms of safety and protection, the VF-AS1 Series incorporates various built-in safeguards, including overvoltage, undervoltage, and overcurrent protection. This comprehensive approach to safety not only protects the drive itself but also ensures the longevity of connected equipment.

Overall, the Toshiba VF-AS1 Series, with its robust feature set, advanced technologies, and focus on energy efficiency, proves to be a reliable choice for a wide range of industrial applications. Its integration of RS485 communication allows for enhanced connectivity and control, making it an excellent solution for modern automation needs.