Toshiba TOSVERT VF-AS1 instruction manual MODBUS-RTU protocol, Inverter number 

Page 30

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 “MODBUSRTU (,  = ) in the communication selection parameters. “TOSHIBA” (, =) is set for communication protocol selection in initial shipment set- ting. (See “3. Communication protocol.”)

* Caution when selecting MODBUS-RTU

Note that selecting this protocol disables the inter-drive communication functions set with parame- ters  and , and the block communication functions set with parameters ,  and  to .

Inverter number ()

Inverter numbers. 0 to 247 can be specified in MODBUS-RTU. “0” is allocated to broadcast com- munication (no return). Set between 1 and 247.

<Related Parameter: Change and set as necessary>

 : Baud rate (2-wire RS485) : Communication speed (4-wire RS485)

 : Parity (common to 2-wire RS485 and 4-wire RS485)

„Data Exchange with Inverters

The inverters are always ready to receive messages and perform slave operation in response to computer requests.

A transmission error will result if the transmission format does not match. The inverters will not re- spond if a framing error, parity error, CRC error or an inverter number mismatch occurs. If no re- sponse is received, the computer side recognizes that a communication error has occurred. Transmit data again.

(1)In case spacing for more than 3.5 bytes are provided before characters, all data immediately preceding it will be aborted. Data will sometimes be aborted if spacing for 1.5 bytes or more is provided between characters. (See “3.1. About the handling of received frames.”)

(2)Communication will be effective only when inverter numbers match or the communication mode is 0 (Broadcast communication). If there is no inverter number that matches or 0 (broadcast communication) is specified, no response is returned by any inverter.

(3)Message reception will end if spacing for more than 3.5 bytes are provided at the end of charac- ters. (See “3.1. About the handling of received frames.”)

(4)If no communication take place within the time specified using the timer function, the computer will assume that a communication error has occurred and trip the inverter. The timer function is disabled when the inverter is turned on or initialized. For details, see Section 7.3, “Timer function, Communication time-out time action.”

(5)On executing the command received, the inverter returns data to the computer. For the response time, see Appendix 2, “Response time.”

„Caution:

Communication is not possible for about two seconds after the power is supplied to the inverter until the initial setting is completed. If the control power is shut down due to an instantaneous voltage drop, communication is temporarily interrupted.

29

Image 30
Contents Tosvert VF-AS1 Series RS485 Communication Function E6581315②Read first Safety precautions E6581315Contents General outlines of the communication function BIT15 BIT8BIT7 BIT0Bit Word Data transmission specifications BIT2Communication protocol About the handling of received framesMOUBUS-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 Transmission errors Format error Data transmission format does not matchCommunication 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 Goto160 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 MODBUS-RTU protocol Inverter number Read command MODBUS-RTU transmission formatCRC 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 → INVSend waiting time ,  Free notes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 outputMonitoring from the computer RFD00CRUnit 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 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 „ Inverter model capacity code FB05 Model DataLED setting by communication Parameter Name Range SettingUtilizing panel LEDs and keys by communication „ Block Communication Function for LED Display Ascii LED display data code 00H-1FH are blank BlankKey utilization by communication FA10=0FA10=1 Parameter data EEP ROMPage FE19 Torque command Alarm codeFE02 Frequency command value 01Hz FE29 Input powerTion FE80 Cumulative power on time E6581315 FD50 Light-load high-speed torque 01%FE84 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
Related manuals
Manual 326 pages 49.22 Kb Manual 10 pages 12.86 Kb