efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315② TOSVERT VF-AS1 Series RS485 Communication Function Instruction Manual Notice 1. Make sure that this instruction manual is delivered to the end user of the inverter. 2. Read this manual before first using the communications function, and keep it handy as a reference for maintenance and inspections. * The contents of this manual are subject to change without notice. © TOSHIBA SCHNEIDER INVERTER CORPORATION 2005 All rights reserved.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Read first Safety precautions This manual and labels on the inverter provide very important information that you should bear in mind to use the inverter properly and safely, and also to avoid injury to yourself and other people and damage to property. Read the safety precautions in the instruction manual for your inverter before reading this manual and strictly follow the safety instructions given.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Contents 1. 2. 3. General outlines of the communication function......................................................................................................... 3 Data transmission specifications ................................................................................................................................ 4 Communication protocol...........................................................................................
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 1. General outlines of the communication function This manual explains the RS485 communication function provided for the TOSVERT VF-AS1 series of industrial inverters.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 2.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 3. Communication protocol This communication protocol supports the TOSHIBA Inverter Protocol and part of MODBUS-RTU protocol. Select the desired protocol from in the following communication protocol selection parameters (, ). “Parameter Name and , Communication Number.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4. TOSHIBA Inverter Protocol Select “TOSHIBA” (, =) in the communication protocol selection parameters. “TOSHIBA” (, =) is set for initial communication protocol selection of shipment setting. (See “3. Communication protocol.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4.1. Data transmission format Note: The term “trip status” used in this manual includes retry waiting status and trip retention status. 4.1.1. Data transmission format used in ASCII mode A communication number is used to specify a data item, all data is written in hexadecimal, and JISX-0201 (ASCII (ANSI))-compliant transmission characters are used. Computer → Inverter Omissible in one-to-one communication (3.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Inverter → computer At time of broadcast communication, returning of data is not executed, except for the inverters to be returned, when the inverter number is not matched, and the inverter number has only one character. This is because there will be a risk of that the returned data may be deformed. Data returned when data is processed normally (ASCII mode) Omissible in one-to-one communication (3.
efesotomasyon.com -Toshiba inverter,drive,servo,plc 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 number 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.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4.1.2. Data transmission format used in binary mode A communication number is used to specify a data item, data is written in hexadecimal form, and data in transmission characters are represented by binary codes (HEX codes). Computer → Inverter (binary mode) Omissible in one-to-one communication (3.5bytes “/” Blank) (2FH) INV-NO 1 byte CMD 1 byte No data for the 52H (R) command Communication No.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Inverter → computer (binary mode) 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. • Data returned when data is processed normally (Binary mode) Omissible (3.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 2) Error Processing (Binary mode) In case an error occurs, communication error command (4EH(N) or 6EH(n)) and the error type number 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.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4.1.3. Transmission format of Block Communication What is block communication? Data can be written in and read from several data groups set in one communication by setting the type of data desired for communication in the block communication parameters (, , to ) in advance. Block communication can save the communication time. Data is transmitted hexadecimal using the binary (HEX) code transmission characters.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Block Write 1, 2 Select data, which is desired to be written in block communication, in block write Data 1 and 2 Parameters (, ). This parameter becomes effective when the system is reset, such as when power is turned off. When the setting is completed, turn off and then on the power. No.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Inverter → Computer 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. 1) Normal processing Omissible Number of read data groups x 2 bytes (3.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 2) Error Processing (Binary mode) In case an error occurs, communication error command (4EH(N) or 6EH(n)) and the error type number is returned to the computer in addition to the checksum. Omissible (3.5bytes “/” INV-NO Blank) (2FH) 1 byte Norn (4EH)(6EH) Checksum area DATA 2 bytes SUM 1 byte (3.5bytes Blank) Not omissible “N” or “n” (1 byte) : Communication error command.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4.2. Commands Here are the communication commands available. Command Function R command Reads the data with the specified communication number. W command Writes the data with the specified communication number. (RAM and EEPROM). P command Writes the data with the specified communication number. (RAM). Reads the data with the specified communication number. (For binary mode only. G command Dummy data is required for this command.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 P (50H) (RAM*1 write) This command is used to rewrite data into the parameter specified using a communication number. It writes data into the RAM only. It cannot be used to write data into any read-only parameters. Each time an attempt to write data is made the inverter checks whether the data falls within the specified range. If this check reveals that the data falls outside the range, the inverter will reject it and return an error code.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 When Command “s” (lowercase letter) is received, the slave side judges that the master side is tripped and operates in accordance with the inter-drive communication parameter (, ). For detail, see "7. Communication parameters ".
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4.3. Transmission errors Table of error codes Error name Description Error code 0000 Impossible to exe- The command is impossible to execute, though communication was cute established normally. 1 Writing data into a parameter whose setting cannot be changed during operation (e.g., maximum frequency) *1 2 Writing data into a parameter while “” is in progress Data error Invalid data is specified.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4.4. Broadcast communication function Broadcast communication function can transmit the command (write the data) to multiple inverters by one communication. Only the write (W, P) command is valid and the read (R, G) command is invalid. The inverters subject to the broadcast communication are the same to the independent communication; 0 to 99 (00H - 63H) in the ASCII mode, and 0 to 63 (00H - 3FH) in the binary mode.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Host computer Block 2 Block 1 Inverter No. 10 VF-AS1 Inverter No.11 VF-AS1 Inverter No.19 VF-AS1 Inverter No.20 Inverter No.21 VF-AS1 VF-AS1 Inverter No.29 VF-AS1 *1 *1: Error signal I/F In broadcast communication, only the representative inverter in each block returns data to the host computer. However, you can make the representative inverter in each block report the occurrence of a problem in the block.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4.5. Examples of the use of communication commands Here are some examples of the use of communication commands provided for the VF-AS1 series of inverters. Inverter numbers and checksum used in ASCII mode are omitted from these examples.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 4.6. Examples of Communication programs According to the hardware configuration of the computer used, select a serial output port. To use an RS232C port on the computer, you will have to prepare an RS232C-RS485 conversion unit separately. An USB-RS485 conversion unit (USB0001Z) is available as our standard offering. Ex.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Ex. 2: BASIC program for executing an input command with checksum (RS232C, ASCII mode) (Toshiba version of Advanced BASIC-86 Ver. 3.01.05J) ◊ Checking if the maximum frequency setting has been changed correctly 1) Examples of programs 10 OPEN "COM1:9600,E,8,1" AS #1 --- 9600 baud, even parity, 8-bit length, 1 stop bit 20 INPUT"Send Data=";A$ --- Reads in data to be sent to the inverter. 30 S$="("+A$+"&" --- Adds “(“ and “&” to the read data in.
efesotomasyon.com -Toshiba inverter,drive,servo,plc 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.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Ex. 4 A VisualBaisc program for the ASCII mode communication (VisualBaisc is the registered trademark of the U.S. microsoft company.) ◊ Accessing a parameter 1) Sample program executive example (Monitor of the output frequency (FD00)) Transmission and reception of the optional data like in the following example can be done by doing "the arrangement of the form control" of the explanation and "the description of the code" with mentioning later.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 3)The description of the code Private Sub Form_Load() Form1.Show '********************************************************************** ' Setting the labels (Initialization) '********************************************************************** Label1.Caption = "Data for transmission" Label2.Caption = "Received data" Command1.Caption = "Transmit" Command2.Caption = "Clear" Command3.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 5. MODBUS-RTU protocol The MODBUS-RTU protocol of VF-AS1 supports only part of the MODBUS-RTU protocol. Only two commands are supported, “03: Multiple data read (limited only to two bytes)” and “06: Word writes.” All data will be binary codes. Parameter Setting • Protocol selection (, ) Select “MODBUS-RTU (, = ) in the communication selection parameters.
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 defines 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 (3.5bytes Blank) *The text size is 8 bytes fixed.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 5.1.2. Write command (06) Computer → Inverter *The text size is 8 bytes fixed. (3.5bytes Blank) Inverter Command No. Communication No. (high) CommuWrite Data Write Data nication (high) (low) No. (low) CRC (low) CRC (high) (3.5bytes Blank) 06 1) Inverter No. (1 byte) : Specify an inverter number between 0 and 247 (00H to F7H).
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 5.2. CRC Generation “CRC” is a system to check errors in communication frames during data transmission. CRC is composed of two bytes and has hexadecimal-bit binary values. CRC values are generated by the transmission side that adds CRC to messages. The receiving side regenerates CRC of received messages and compares generation results of CRC regeneration with CRC values actually received. If values do not match, data will be aborted.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 6. Inter-drive communication Inter-drive communication (communication between inverters) are used, for example, when performing speed proportional control or load sharing torque control of two or more inverters without using a PLC or computer. The command is instructed by the operation from the master inverter’s panel or analog input, etc.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 QWiring (2-wire RS485 communication) Straight CN1 Master Straight Straight Slave Slave Slave Pin-4 RXD+/TXD+ RXD+/TXD+ RXD+/TXD+ RXD+/TXD+ Pin-5 RXD-/TXD- RXD-/TXD- RXD-/TXD- RXD-/TXD- SG SG SG SG Pin-8 (Pin-3) Terminating resistance 120Ω-1/2W * Never use pin-7 (P11).
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Setting of parameter ●Protocol selection (, ) Shipment setting: 0 (TOSHIBA) Protocol setting with all inverters (both master and slave inverters) engaged in inter-drive communication 0: Set the TOSHIBA. * Inter-drive communication are disabled when the MODBUS-RTU protocol is selected. * This parameter is validated after resetting the inverter or rebooting the power supply.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Relating communication parameters Following parameters should be set or changed if necessary. • Baud rate (, )... Shipment setting = : 19200bps Baud rate of all inverters in the network (master and slave) should be same network. • Parity () ... Shipment setting = : Even parity Parity of all inverters in the network (master and slave) should be same network. • Communication time-out time() ...
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 6.1. Proportional control of speed Proportional control of frequency can be performed in two ways: control by selecting frequency points and control by adjusting the ratio to the maximum frequency.
efesotomasyon.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 6.2. Transmission format for inter-drive communication Data type is handled in hexadecimal notation and the transmission characters are treated with the binary (HEX) code. The transmission format is basically the same to the case of binary mode. S command is used and the slave inverters do not return the data. Master inverter → Slave inverter (Binary mode) Omissible (3.5bytes “/” Blank) (2FH) INV-NO 1 byte CMD 1 byte Communication No.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 7. Communication parameters The settings of communication-related parameters can be changed from the operation panel and the external controller (computer). Note that there are two types of parameters: parameters whose settings take effect immediately after the setting and parameters whose settings do not take effect until the inverter is turned back on or reset. Communication Number.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Communication Number.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 7.1. Baud rate(, ) , Parity () •Communication baud rate and parity bit should be uniform inside the same network. •This parameter is validated by resetting the power supply. 7.2. Inverter number() This parameter sets individual numbers with the inverters. Inverter numbers should not be duplicate inside the same network.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 7.3. Communication time-out time (), Communication time-out action (f804) The timer function is mainly used to detect a break in a cable during communication, and if no data is sent to an inverter within the preset time, this function makes the inverter trip () or issue an alarm ().
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 7.4. Send waiting time (, ) Use this function for the following case: When the data response from the inverter is too quick after the PC had sent the data to the inverter, PC process cannot get ready to receive the data, or when the USB/RS485, RS485/RS232C converter is used, changeover of sending and receiving data takes much time in the converter process.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 8. Commands and monitoring from the computer Across the network, instructions (commands and frequency) can be sent to each inverter and the operating status of each inverter can be monitored. 8.1. Communication commands (commands from the computer) Communication command (Communication number: FA00, FA04) Commands can be executed on inverter frequencies and operation stop through communication.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Communication command2 (Communication Number : FA20, FA22) This command is enabled only when the communication command is enabled. Set Bit 15 of Communication Command 1 (communication Number: FA00, FA04) to “1” (enable). When enabling the communication command by Communication Command 1, commands by communication can be given the priority irrespective of the setting of the command mode selection parameter ().
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Frequency setting from the computer “Communication Number: FA01, FA05” Setting range: 0 to maximum frequency (fh) This frequency command is enabled only when the frequency command by communication is enabled. To make frequency commands from the computer valid, set the frequency setting mode selection parameter (fmod) to RS485 communication (communication No.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Terminal board output data (FA50) The output terminal board on each inverter can be directly controlled with the computer. To use this function, select functions 92 to 105 in advance for the output terminal function selection parameters f130 to f138, f168andf169. If bit 0 through bit 6 of terminal board output data (FA50) are set with the computer, data specified (0 or 1) can be sent to any output terminal.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 8.2.Monitoring from the computer This section explains how to monitor the operating status of the inverter from the computer. Monitoring of the output frequency from the computer (FD00, FE00) Output frequency (current status): “Communication Number FD00” (minimum unit: 0.01Hz) Output frequency (status immediately before the occurrence of a trip): “Communication Number FE00” (minimum unit: 0.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Input terminal board status (FD06, FE06) Input terminal board status (current status): “Communication Number FD06” Input terminal board status (status immediately before the occurrence of a trip): “Communication Number FE06” Using terminal function selection parameters, functions can be assigned individually to the terminals on the input terminal board.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Output terminal board status (FD07, FE07) Output terminal board status (current status): “Communication Number FD07” Output terminal board status (status immediately before the occurrence of a trip): “Communication Number FE07” Using terminal function selection parameters, functions can be assigned individually to the terminals on the output terminal board.
efesotomasyon.
efesotomasyon.
efesotomasyon.
efesotomasyon.
efesotomasyon.
efesotomasyon.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 8.3.Utilizing panel (LEDs and keys) by communication The VF-AS1 can display data that is not related to the inverters through an external controller or other means. Input by key operations can also be executed. The use of inverter resources reduces the cost for the entire system. 8.3.1. LED setting by communication Desired LED information can be displayed by communication.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Block Communication Function for LED Display To display LED data for ASCII display that is synchronized to each digit, set data for each digit and validate this set data by display selection by communication (Communication Number FA65). Synchronization can also be achieved by batch writing LED data parameters after changing the following block communication mode parameters and by sending data by block communication.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 ■ ASCII LED display data code (00H-1FH are blank.) Hex Code Display Char. Hex Code Display Char. Hex Code 00H BLANK 20H BLANK SP 40H 01H BLANK 21H BLANK ! 02H BLANK 22H BLANK 03H BLANK 23H BLANK 04H BLANK 24H 05H BLANK 06H Display Display Char.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 8.3.2.Key utilization by communication The VF-AS1 can use the panel keys on the inverters through external communication. Key Monitoring Procedure Set panel key selection (Communication Number: FA10) to “1” to set the external key mode.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 9.Parameter data Explanation of parameters for VF-AS1 series is described here. For communication purposes, see the parameter list on inverter's instruction manual regarding the communication number, adjustment range and so forth. Referring to the parameter list Communication No.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Command parameters For those parameters that contain data only in the RAM and not in the EEPROM, their data return to initial values when the power is turned off, in failure resetting, or when standard shipment settings are set. Note that parameters without data storage in the EEPROMs will be written in the RAM only even if the command W (writing in EEPROMs and RAM) is executed. Q Commands Communication Number.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 *1 : Enable the communication command or communication frequency setting before setting these parameters are set. Otherwise, the parameters will not function. See “8.1 Command by communication” for the method to enable them. *2 : Note that the Communication Number for operation panel operation frequency is FA02 in the VF-S7 and VF-S9 series. *3 : See “8.1 Communication commands (commande from the computer)” for the detail information.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Monitor parameters *These Parameters are read-only (monitor-only) parameters. Communication No.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 FD50 FD51 − − − − − − − − − − − − FE60 FE61 FE62 FE63 FE70 FE71 FE73 FE76 FE77 FE79 − FD84 FE80 FE84 Light-load high-speed torque 1 Light-load high-speed torque 2 MY monitor 1 MY monitor 2 MY monitor 3 MY monitor 4 Rated current Rated voltage CPU version 2 (motor) Integral input power Integral output power Part replacement alarm information Cumulative power ON time Binary input value (option) 66 0.01% 0.01% − − − − 0.1a 0.1V − 0.01kWh 0.
efesotomasyon.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Appendix 2 Response time The communication response time can be calculated from data communication time and inverter processing time. When wishing to know the communication response time, calculate using the following as a reference Interval corresponding to 3.5 bytes Data transmission time Data processing time of inverter (Approx.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Appendix 3 Compatibility with the communication function of the VF-A7 To provide consistency in communication procedures, the communication function of the VF-AS1 series of inverters has been designed based on the protocols used for the Toshiba VF-A7 series of inverters. With regard to compatibility, however, VF-A7 users should check the items described below before using the communication function of their inverters.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Appendix 4 Troubleshooting If a problem arises, diagnose it in accordance with the following table before making a service call. If the problem cannot be solved by any remedy described in the table or if no remedy to the problem is specified in the table, contact your Toshiba dealer. Problem Communication place. will Remedies not take An error code is returned. The trip err5 and alarm t occur.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Appendix 5 Connecting for RS485 communication Connector diagram for 2-wire RS485 communication Pin-8 Pin-1 Signal name Pin number Description RXD+/TXD+ 4 Same phase reception data (positive line) RXD-/TXD- 5 Anti-phase reception data (negative line) FWE 6 FEW (Do not connect the cable.) SG 8 Ground line of signal data (3) PRG(TX) 2 PRG (Do not connect the cable.) PRG(RX) 1 PRG (Do not connect the cable.
efesotomasyon.com -Toshiba inverter,drive,servo,plc E6581315 Connector diagram for 4-wire RS485 communication Pin-8 Pin-1 Signal name Pin number Description RXA 4 Same phase reception data (positive line) RXB 5 Anti-phase reception data (negative line) TXA 3 Same phase transmitting data (positive line) TXB 6 Anti-phase transmitting data (negative line) SG 8 Ground line of signal data (2) − 1 Open (Do not connect the cable.) P11 7 11V (Do not connect the cable.