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

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

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.