Home

ModBus - Nuova Elva

image

Contents

1. ASCII Mode PC gt INV PLC 3AH STX 30H 31H Address 31H 30H Function Code 30H 32H 38H Register Code 43H 30H 30H Data Length 30H Byte 33H 30H 36H DATA Send out the data from PLC 280 PLC 285 total 12 byte 7 9 SUM 0DH END OAH END RTU Mode PC gt INV PLC 01H Address 10H Function Code 02H SCH Register Code 00H 03H Data Length 06H DATA Send out the data from PLC 280 PLC 285 total 6 Byte High order digits 2 CRC Low order digits File No Version 1 A Page 17 INV PLC gt PC 3AH 30H 31H Address 30H 33H Function Code 30H 32H 38H Register Code 43H 30H 30H 30H Data Length 33H CHECK SUM 0DH END OAH END INV PLC gt PC 01H Address 10H Function Code 02H SCH Register Code 00H 03H Data Length 2 CRC High order digits CRC Low order digits VAT200 MODBUS COMMUNICATION PROTOCOL 5 4 3 Encoder function block write ASCII Mode gt INV PLC 3AH STX 30H 31H Address 31H 30H Function Code 30H 32H amp 41H Register Code 43H 30H 30H Data Length 30H Byte 34H 30H DATA 38H Send out the data from PLC 344 PLC 353 total 16 Byte CHECK SUM 0DH END OAH END
2. 0 Terminal S1 1 OFF 1 Terminal 52 OFF P 2 _ Terminal S3 1 OFF amp 3 Terminal S4 1 OFF E 4 Terminal S5 1 OFF 0122H 5 5 Terminal S6 1 OFF g 6 Terminal AIN 1 OFF 7 9 unused A Multifunction output I RELAYI 1 RIA ON 0 RIA OFF 3 B _ Multifunction output 2 2 1 RAA ON 0 R2A OFF 8 Unused 0123H Frequency command 0124H Output frequency 0125H Output voltage command 1 1V 0126H Output DC voltage command 1 1V Note Please define the unused Bit as 0 File No VAT200 MODBUS COMMUNICATION PROTOCOL s d LA age Register Code Content 0127H Output current 10 1A 0128H Reserved 0129H Output torgue 012AH PID Feedback value 100 Max output frequency 10 190 PID input value 100 Max output frequency 10 146 sign 012BH attached 012CH TM2 AIN input value 1024 10V 1 012DH TM2 AV2 input value 1024 10V 1 012EH 012FH Ready to use Note The ready to use register is not available for the data write VAT200 MODBUS COMMUNICATION PROTOCOL 5 5 3 Read the data in the holding register 03H Continuously read the data in the register from the specified address e g Read the freguency command from the SLAVE 1 inverter VAT200 ASCII Mode Command Signal Respond signal Normally 3AH STX 3AH STX 30H SL
3. 00FBH 00D7H 00FCH 00D8H 00FDH 00D9H 00DAH 00DBH 00DCH 00DDH 00DEH 00DFH 00E0H 00 00E2H 00E3H 00E4H 00E5H 00E6H 00E7H 00 8 00E9H 00ECH 00EDH 00F1H 00F2H 00F3H 00F4H 00F5H 00F6H File No Version 1 A Page 33 GE POWER CONTROLS Hornhouse Lane Knowsley Industrial Park Liverpool L33 7YO GE POWER CONTROLS IBERICA Margu s de Comillas 1 E 08225 Terrassa GE CONSUMER amp INDUSTRIAL GmbH Sachsenring 83 D 50677 K ln GE POWER CONTROLS FRANCE 7 Rue Nicolas Robert BP32 Z La Garenne F 93601 Aulnay sous Bois C dex GE POWER CONTROLS ITALIA Via Tortona 35 l 20144 Milano GE POWER CONTROLS BELGIUM Nieuwevaart 51 B 9000 Gent GE imagination at work Ref C 4505BU E 5 0 Ed 06 05 Copyright GE Power Controls 2005
4. 30H 30H END 30H Data guantity 30H Data quantity 30H 30H 32H 32H 30H a AH DATA LRC CHECK 30H 30H Primary OAH END 30H DATA 31H 31H 37H Secondary 37H DATA 30H 9 5 LRC CHECK 0DH OAH END DATA Quantity is equal to the Number multiply 2 VAT200 MODBUS COMMUNICATION PROTOCOL Command Signal RTU Mode Respond signal Normally File No Version 1 A Page 29 Respond signal Error SLAVE Address 01H Function Code 90H Exception Code 52H High CDH Low FDH SLAVE Address 01 H SLAVE Address 01H Function Code 10H Function Code 10H Startto High 01H Start to High 01H encode Low 01H encode Low 01H Data High 00H Data High 00H quantity Low 02H quantity Low 02H DATA number 04H 16 High 11H Primary High 00H Low F4H DATA Low Secondary High 17H DATA Low 70H High 60H CRC 16 Low 27H DATA number is equal to the data quantity multiply 2 File No VAT200 MODBUS COMMUNICATION PROTOCOL Version 1 4 Page 30 Comparison list between parameter and register as for the parameter description please refer to the parameter function list Register FUN
5. SLAVE Address Function Code DATA CRC CHECK Signal Interval File No VAT200 MODBUS COMMUNICATION PROTOCOL Version Page 4 2 2 CRC CHECK CRC check code is from Slave Address to end of the data The calculation method is illustrated as follow 1 Load a 16 bit register with FFFF hex all1 s Call this the CRC register 2 Exclusive OR the first 8 bit byte of the message with the low order byte of the 16 bit CRC register putting the result in the CRC register 3 Shift the CRC register one bit to the right toward the LSB Zero filling the MSB Extract and examines the LSB 4 If the LSB was 0 Repeat Steps 3 another shift If the LSB was 1 Exclusive OR the CRC register with the polynomial value A001 hex 1010 0000 0000 0001 5 Repeat Steps 3 and 4 until 8 shifts been performed When this is done a complete 8 bit byte will be processed 6 Repeat Steps 2 through 5 for next 8 bit byte of the message Continue doing this until all bytes have been processed The final content of the CRC register is the CRC value Placing the CRC into the message When the 16 bit CRC 2 8 bit bytes is transmitted in the message the low order byte will be transmitted first followed by the high order byte For example if the CRC value is 1241 hex the CRC 16 Upper put the 41h the CRC 16 Lower put the 12h CRC calculation application program UWORD ch sum UBYTE long UBYTE rx
6. CRC Low order digits File No VAT200 MODBUS COMMUNICATION PROTOCOL Version 1 A Page 21 5 4 6 Coil status write ASCII Mode gt INV PLC INV PLC gt PC 3AH STX 3AH STX 30H 30H 31H Address 31H Address 30H 30H 36H Function Code 36H Function Code 30H 30H a Register Code Register Code 46H 46H 43H 43H Data to be written to Data to be written to 16 Bit data comprising Data to be written to Data to be written to 16 Bit data comprising Data to be written to of 4 ASCII codes Data to be written to of 4 ASCII codes Data to be written to Data to be written to CHECK CHECK SUM SUM 0DH END END OAH END OAH END RTU Mode 01H Address 01H Address 06H Function Code 06H Function Code Register Code ee Register Code FCH FCH Data to be to 6 Bit data Data to be wanes to Data to be written to Data to be written to CRC High order digits CRC High order digits CRC Low order digits CRC Low order digits notes rm Start code INPUT 02FDH TIMER 02FEH COUNTER 02FFH Aux coil 0300H Control coil 0301H ANALOG 0302H ENCODER 0302H OUTPUT 0303H VAT200 MODBUS COMMUNICATION PROTOCOL File No Version 1 A Page 22 5 5 Inverter Control 5 5 1 Command DATA Readable and Writable R
7. SLAVE Address 01H Function Code 88H Exception Code 20H High 47H CRC 16 Low D8H discretionary ASCII Mode Command Signal Respond signal Normally 3AH STX 3AH STX 30H SLAVE 30H SLAVE 31H Address 31H Address 30H Function 30H Function 38H Code 38H Code 30H 30H n Check Code EN Check Code 30H 30H 41H 41H 35H DATA 35H DATA 33H 33H 37H 37H LRC CHECK 1 LRC CHECK END OAH END RTU Mode Command Signal Respond signal Normally SLAVE Address 01 H SLAVE Address 01H Function Code 08H Function Code 08H Check High 00H Check High 00H Code Low 00H Code Low 00H High A5H High A5H DATA DATA Low 37H Low 37H High DAH High DAH CRC 16 CRC 16 Low 8DH Low 8DH File No VAT200 MODBUS COMMUNICATION PROTOCOL Version LA Page 27 5 5 5Write to the holding register 06H Write the specified data to the holding register from the defined address e g write the frequency command 60 0Hz from PLC to SLAVE 1 inverter VAT200 ASCII Mode Command Signal Respond signal Normally Respond signal Error 3AH STX 3AH STX 3AH STX 30H SLAVE 30H SLAVE 30H SLAVE 31H Address 31H Address 31H Address 30H Function 30H Function 38H Function 36H Code 36H Code 36H C
8. INV PLC 3AH STX 30H Address 30H Function Code 33H 30H 32H Register 43H Number 43H 30H 30H Data Length 30H 36H 2 CHECK SUM END OAH END PC gt INV PLC 01H Address 03H Function Code 02H Register Code CCH 00H Data Length 06H CRC High order digit CRC Low order digit ASCII Mode RTU Mode File No Version 1 A Page 13 INV PLC PC 3AH STX 30H Address 31H 30H Function Code 33H 30H Data Length 43H Byte Send out the data from PLC 408 PLC 419 total 24 Byte 7 CHECK 2 SUM END OAH END INV PLC gt PC 01H Address 03H Function Code OCH Data Length Send out the data from PLC 408 PLC 419 total 12 Byte 2 CRC High order digit CRC Low order digit File No VAT200 MODBUS COMMUNICATION PROTOCOL Version 1 4 Page 14 5 2 6 Coil status read ASCII Mode PC gt PLC INV PLC 3AH STX 3AH STX 30H 30H Address Address 31H 31H 30H 30H Function Code Function Code 33H 33H 30H 31H Data Length 32H Register 30H Byte 46H Number Send out the data from 43H PLC 504 PLC 519 total 32 Byte 30
9. AVE 30H SLAVE 31H Address 31H Address 30H Function 30H Function 33H Code 33H Code 30H 30H DATA 31H Start to 32H Quantity 32H encode 31H 33H 37H Initial holding 30H 37H register 30H 30H mE LRC CHECK 31H 2 LRC CHE a C CHECK END OAH END RTU Mode Command Signal Respond signal Normally SLAVE Address 01 H SLAVE Address 01H Function Code 03H Function Code 03H Startto High 01H DATA 02H encode Low 23H Initial High 17H holding quantity Low High AFH 16 High 74H Low 82H CRC 16 Low 3CH File No Version 1 A Page 25 Respond signal Error 3AH STX 30H SLAVE 32H Address 38H Function 33H Code 35H Exception 32H Code END Respond signal Error SLAVE Address 02H Function Code 83H Exception Code 52H High COH CRC 16 Low CDH VAT200 MODBUS COMMUNICATION PROTOCOL 5 5 4 LOOP BACK CHECK 08H The check code checking the transmission of the signal between MASTER and SLAVE could be File No Version 1 A Page 26 Respond signal Error 3AH STX 30H SLAVE 31H Address 38H Function 38H Code 32H Exception 30H Code LRC CHEC OAH END Respond signal Error
10. COMMUNICATION PROTOCOL Version Page 7 4 Exception Code ASCII Mode RTU Mode STX Ed SLAVE Address 02H 0 Function 83H Address 1 Exception code 52H 8 High COH Function CRC 16 6 Low CDH Exception Ed code 1 227 LRC Check cg CR END LF Under communication linking the driver responses the Exception Code and send Function Code AND 80H to main system if there is error happened Exception Code Description 51 Function Code Error 52 Register Encoding Error 23 Data Quantity Error 54 DATA Setting Error 35 Write Mode Error File No VAT200 MODBUS COMMUNICATION PROTOCOL Version Page 8 5 Command Start Address Description 5 1 Ladder page read ASCII Mode PC 2 INV PLC INV STX 3AH STX 30H 30H Address Address 31H 31H 30H 30H Function Code Function Code 33H 33H 30H 31H Data length 32H Register 34H Byte 30H Number Send out the data from 30H PLC 0 PLC 19 total 40 Byte 30H CHECK 30H SUM Data Length 30H END 41H OAH END 2 CHECK SUM END OAH END RTU Mode PC gt INV PLC INV PLC gt PC 01H Address 01H Address 03H Function Code 03H Function Code 02H 14H Dat
11. CTION Register Code FUNCTION Code BLOCK BLOCK 0000H 0 0 0023H 3 11 0001H 0 1 0024H 3 12 0002H 0 2 0025H 3 13 0003H 0 3 0026H 3 14 0004H 0 4 0027H 3 15 0005H 0 5 0028H 3 16 0006H 0 6 0029H 3 17 0007H 0 7 002AH 3 18 0008H 0 8 002BH 3 19 0009H 1 0 002CH 3 20 000AH 1 1 002DH 3 21 000BH 1 2 002EH 3 22 000CH 1 3 002FH 4 0 000DH 1 4 0030H 4 1 000EH 1 5 0031H 4 2 000FH 1 6 0032H 4 3 0010H 1 7 0033H 4 4 0011H 2 0 0034H 4 5 0012H 2 1 0035H 5 0 0013H 2 2 0036H 5 1 0014H 2 3 0037H 5 2 0015H 2 5 0038H 5 3 0016H 2 6 0039H 5 4 0017H 2 7 003AH 5 5 0018H 3 0 003BH 5 6 0019H 3 1 003CH 5 7 001AH 3 2 003DH 001BH 3 3 003EH 6 0 001CH 3 4 003FH 6 1 001DH 3 5 0040H 6 2 001EH 3 6 0041H 6 3 001FH 3 7 0042H 6 4 0020H 3 8 0043H 6 5 0021H 3 9 0044H 6 6 0022H 3 10 0045H 6 7 VAT200 MODBUS COMMUNICATION PROTOCOL Register FUNCTION Register Code Code BLOCK BLOCK 0046H 6 8 0069H 10 6 0047H 7 0 006AH 10 7 0048H 7 1 006BH 10 8 0049H 7 2 006CH 10 9 004AH 7 3 006DH 11 0 004BH 7 4 006EH 11 1 004CH 7 5 006FH 11 2 004DH 8 0 0070H 11 3 004EH 8 1 0071H 11 4 004FH 8 2 0072H 11 5 0050H 8 3 0073H 11 6 0051H 8 4 0074H 11 7 0052H 8 5 0075H 12 0 0053H 9 0 0076H 12 1 0054H 9 1 0077H 12 2 0055H 9 2 0078H 12 3 0056H 9 3 0079H 12 4 0057H 9 4 007AH 12 5 0058H 9 5 007BH 12 6 0059H 9 6 007CH 13 0 005AH 9 7 007DH 13 1 005B
12. Code 02H 00H Register Code 00H OAH Data Length High order digit CRC Low order digit VAT200 MODBUS COMMUNICATION PROTOCOL 5 4 Function block write 5 4 1 Timer function block write PC gt STX 30H 31H Address 31H Function Code 30H 30H 32H Register 36H Number 34H 30H 30H Data Length 30H Byte 34H 30H 38H DATA Send out the data from PLC 200 PLC 207 total 16 Byte CHECK SUM 0DH END OAH END PC gt INV PLC 01H Address 10H Function Code 02H 64H Register Code 00H 04H Data Length 08H DATA Send out the data from PLC 200 PLC 207 total 8 Byte CRC High order digits 7 CRC Low order digits ASCII Mode RTU Mode File No Version 1 A Page 16 INV PLC gt 3AH 30H 31H Address 31H Function Code 30H 30H 32H Register 36H Number 34H 30H 30H 30H Data Length 34H CHECK SUM 0DH END OAH END OAH END INV PLC gt PC 01H Address 10H Function Code 02H 64H Register Code 00H 04H Data Length CRC High order digits CRC Low order digits VAT200 MODBUS COMMUNICATION PROTOCOL 5 4 2 Counter function block write
13. H CHECK 30H SUM Data Length 30H END 38H OAH END CHECK SUM ODH END OAH END RTU Mode PC gt INV PLC INV PLC PC 01H Address 01H Address 03H Function Code 03H Function Code 02H Register Code 10H Data Length FCH Send out the data from 00H Data Length PLC 504 PLC 519 total 16 Byte CRC High order 08H digit CRC Low order CRC High order digit 2 digit CRC Low order digit VAT200 MODBUS COMMUNICATION PROTOCOL 5 3 Ladder page write PC gt INV PLC 3AH STX 30H 31H Address 31H 30H Function Code 30H 32H 30H Register Number 30H 30H 30H Data Length 30H Byte 41H 31H 34H DATA Send out the data from PLC 0 PLC 19 total 40 Byte SUM ODH END OAH END PC gt INV PLC 01H Address 10H Function Code 02H 00H Register Code 00H OAH Data Length 14H DATA end out the data from PLC 0 PLC 19 total 20 Byte CRC High order digit CRC Low order digit ASCII Mode RTU Mode File No Version 1 A Page 15 INV PLC gt PC 3AH 30H 31H Address 30H 33H Function Code 30H 32H 30H Register Number 30H 30H 30H 30H Data Length 41H CHECK SUM ODH END OAH END INV PLC PC 01H Address 03H Function
14. H 9 8 007EH 13 2 005CH 9 9 007FH 13 3 005DH 9 10 0080H 13 4 005EH 9 11 0081H 14 0 005FH 9 12 0082H 14 1 0060H 9 13 0083H 14 2 0061H 9 14 0084H 14 3 0062H 9 15 0085H 14 4 0063H 10 0 0086H 15 0 0064H 10 1 0087H 15 1 0065H 10 2 0088H 15 2 0066H 10 3 0089H 15 3 0067H 10 4 008AH 15 4 0068H 10 5 008BH 15 5 File No Version 1 A Page 31 VAT200 MODBUS COMMUNICATION PROTOCOL Register FUNCTION Register Code Code BLOCK BLOCK 008CH 15 6 00AFH 008DH 00BOH 008EH 00B1H 008FH 00B2H 0090H 3 23 00B3H 0091H 3 24 00B4H 0092H 3 25 00B5H 0093H 3 26 00B6H 0094H 3 27 00B7H 0095H 3 28 00B8H 0096H 3 29 00B9H 0097H 5 8 00BAH 0098H 00BBH 0099H 2 4 00BCH 009AH 2 8 00BDH 009BH 009 009DH 00COH 009EH 00C1H 009FH 00C2H 00A0H 00C3H 00A1H 00C4H 00A2H 00C5H 00A3H 00C6H 00A4H 00C7H 00A5H 00C8H 00A6H 00C9H 00A7H 00CAH 00ASH 00CBH 00A9H 00CCH 00AAH 00CDH 00ABH 00ACH 00CFH 00ADH 00DOH 00AEH 00D1H File No Version 1 A Page 32 VAT200 MODBUS COMMUNICATION PROTOCOL Register Code FUNCTION BLOCK Register Code FUNCTION BLOCK 00D2H 00F7H 00D3H 00 8 00D4H 00FOH 00D5H 00D6H
15. H Function Code 30H 32H Register 38H Number 43H 30H 30H Data Length 30H 34H CHECK SUM END OAH END PC INV PLC 01H Address 03H Function Code 02H Register Code 8CH 00H Data Length 04H CRC High order digit CRC Low order digit File No Version 1 A Page 10 ASCII Mode INV PLC 3AH STX 30H STX 31H Address 30H 33H 30H Data Length 38H Byte send out the data from PLC 280 PLC 287 total 16 Byte 2 SUM END OAH END RTU Mode INV PLC gt PC 01H Address 03H Function Code 08H Data Length Send out the data from PLC 280 PLC 287 total 8 Byte CRC High order digit 1 CRC Low order digit VAT200 MODBUS COMMUNICATION PROTOCOL 5 2 3 Encoder function block read PC 2INV PLC 3AH STX 30H Address 30H 43H Function Code 30H 32H Register 41H Number 43H 30H 30H Data Length 30H 35H CHECK SUM END OAH END PC INV PLC 01H Address 03H Function Code 02H Register Code ACH 00H Data Length 05H CRC High order digit CRC Low order digit ASCII Mode RTU Mode File No Version 1 A Page 11 INV PLC PC 3AH STX 30H Address 31H 30H Function Code 33H 30H Data Length 41H Byte Send out the data f
16. LC gt PC 01H Address 01H Address 10H Function Code 10H Function Code 02H 02H COH Register Code COH Register Code 00H 00H 03H Data Length 03H Data Length 06H DATA 2 CRC High order digits Send out the data from 7 CRC Low order digits PLC 384 PLC 389 total 12 Byte High order digits CRC Low order digits VAT200 MODBUS COMMUNICATION PROTOCOL 5 4 5 Control function block write INV PLC 3AH STX 30H 31H Address 31H 30H Function Code 30H 32H 2 43H Register Code 43H 30H 30H Data Length 30H Byte 36H 30H BH DATA Send out the data from PLC 408 PLC 419 total 24 Byte CHECK SUM ODH END OAH END PC gt INV PLC 01H Address 10H Function Code 02H CCH Register Code 00H 06H Data Length OCH DATA Send out the data from PLC 408 PLC 419 total 12 Byte High order digits Low order digits ASCII Mode RTU Mode File No Version 1 A Page 20 INV PLC 3AH 30H 31H Address 30H 33H Function Code 30H 32H BH Register Code 43H 30H 30H 30H Data Length 36H CHECK SUM ODH END OAH END INV PLC gt PC 01H Address 10H Function Code 02H Register Code 00H 03H Data Length CRC High order digits
17. Please define the unused Bit as 0 File No VAT200 MODBUS COMMUNICATION PROTOCOL Version 1 4 Page 23 Register code Content 00 The inverter is normal 01 Program abnormal CPF 24 Under voltage during running LV C 02 EEPROM abnormal EPR 25 28 unused 03 voltage 29 Err8 04 Under voltage LV 30 Stop at 0 Hz STPO 05 over heat 31 Direct start disable STP1 06 09 unused 32 Control panel emergency stop STP2 10 22 during decelerating 33 Emergency stop ES T dob ru during accelerating 34 External BB bb g 12 Over current at constant speed 35 Auto testing error ATER o OC C GR 5 13 Over voltage at constant speed 36 PID feedback sienal 1 PDER E decelerating OV C 14 ver Heal AC constant ypes 37 Communication error EFO 15 Inverter over speed OVSP 38 Encoder signal loss ECER 1 16 CPU interrupted CTER 39 Analog converting error Err4 17 OC S 40 Parameter locked LOC 18 19 Unused 41 Keypad operation error Errl 20 Over current at stop 42 Parameter setting error Err2 43 Modifying the parameter in 21 Motor over load OL1 communication Err5 22 Inverter over load OL2 44 Communication failure Err6 23 Over torque detected OL3 45 Parameter setting error Err7
18. Power Protection ModBus Communications Protocol for VAT200 AC Drive Series GE imagination at work File No VAT200 MODBUS COMMUNICATION PROTOCOL Version 1 4 Page 1 VAT200 AC Drive Series ModBus Communication Protocol INSTRUCTION MANUAL NOTICE 1 Read both this and instruction manuals of VAT200 before using the unit Observe the warnings cautions and other matters described in this manual Make sure that this manual is delivered to the final user 5 qe The content of this manual be changed without notice GE Consumer amp Industrial File No Version 1 A Page 2 VAT200 MODBUS COMMUNICATION PROTOCOL 1 Communication Data Frame VAT200 series inverter can be communication controlled by the PC or other controller with the communication protocol Modbus ASCII Mode amp Mode RTU RS485 or RS232 Frame length maximum 80 bytes 1 1 Hardware Installation Control Slave 200 Slave 200 Slave VAT200 Slave ontroller Address 01 Address 02 Address03 VAT200 PLC HMI or Address FE Option Card Option Card Option Card Option Card RS 485 A B A B A B A B Interface Response Reguest t is necessary to connect terminal impedance 1200 1 4W at both ends of the communication wire 1 2 Data Frame for ASCII Mode STX 3AH Start Byte 3AH Address Hi Communication Addr
19. RTU Mode PC gt INV PLC 01H Address 10H Function Code 02H Register Code 00H 04H Data Length 08H DATA Send out the data from PLC 344 PLC 353 total 8 Byte CRC High order digits 2 CRC Low order digits File No Version 1 A Page 18 INV PLC 3AH 30H 31H Address 30H 33H Function Code 30H 32H 71H Register Code 43H 30H 30H 30H Data Length 34H CHECK SUM ODH END OAH END INV PLC 2 PC 01H Address 10H Function Code 02H ACH Register Code 00H 04H Data Length CRC High order digits Low order digits VAT200 MODBUS COMMUNICATION PROTOCOL 5 4 4 Analog function block write File No Version 1 A Page 19 ASCII Mode PC2 INV PLC INV PLC gt PC 3AH STX 3AH 30H 30H 31H Address 31H Address 31H 30H 30H Function Code 33H Function Code 30H 30H 32H 32H 43H Register Code 43H Register Code 30H 30H 30H 30H 30H Data Length 30H 30H Byte 30H Data Length 33H 33H 30H CHECK 36H DALA SUM ODH END Send out the data from PLC 384 PLC 389 total 12 Byte SSH END CHECK SUM ODH END OAH END RTU Mode PC gt INV PLC INV P
20. a length Register Number 00H Sent out the data from PLC 0 PLC 19 00H total 20 Byte Data length OAH CRC High order digits CRC High order digits CRC Low order digits CRC Low order digits VAT200 MODBUS COMMUNICATION PROTOCOL 5 2 Function block read 5 2 1 Timer function block read PC PLC 3AH STX 30H Address 31H 30H Function Code 33H 30H 32H Register 36H Number 34H 30H 30H Data Length 30H 35H a CHECK SUM ODH END OAH END PC 2 INV PLC 01H Address 03H Function Code 02H Register Code 64H 00H Data Length 05H CRC High order digit CRC Low order digit File No Version 1 A Page 9 ASCII Mode INV PLC PC 3AH STX 30H 41H Address 30H 43H Function Code 30H Data length 41H Byte Send out the data from PLC 200 PLC 209 total 20 Byte CHECK SUM END OAH END RTU Mode INV PLC gt PC 01H Address 03H Function Code OAH Data Length Send out the data from PLC 200 PLC 209 total 10 Byte CRC High order digit CRC Low order digit VAT200 MODBUS COMMUNICATION PROTOCOL 5 2 2 Counter function block read PC PLC 3AH STX 30H Address 30H 43
21. dbuff BYTE 1 0 UWORD wkg 0xFFFF while long wkg rxdbuff for i 0 1 lt 8 i if wkg amp 0x0001 wkg wkg gt gt 1 0xa001 else wkg wkg gt gt 1 return wkg 2 3 TIME OUT 400ms amp RETRY max 2 times PC LINK 5 When INV PLC time out or detect checksum error or INV PLC response exception code checksum error PC LINK retry maximum two times and if two times after still error then display ERR6 File No VAT200 MODBUS COMMUNICATION PROTOCOL Version 5 3 Command START ADDRESS Command Data length Start Address WORD Ladder pagel read 200H OAH Function Function Description Ladder page2 read 20AH OAH Ladder page3 read 214H OAH Ladder page4 read 21EH Ladder page5 read 228H OAH Timerl Function read 264H Timer2 Function read 269H 05H Timer3 Function read 26EH Timer4 Function read 273H 05H Timer5 Function read 278H Timer6 Function read 27DH Timer7 Function read 282H Timer8 Function read 287H Counter Function read 28CH Counter2 Function read 290H Counter3 Function read 294H Counter4 Function read 298H Encoderl Function read 2ACH 05H Encoder2 Function read 2BIH Encoder3 Function read 2B6H 05H Encoder4 Function read 2BBH Analogl Function read 2COH 03H Analog2 Function read 2C3H Analog3 Function read 2C6H 03H Analog4 Function read 2C9H Control function read 2CCH Contro2 function read 2D2H Contro3 funct
22. egister Code Bit Content 0100H Ready to use 0 OperationCommand 1 l Run 0 50 bos 1 Reverse Command 1 Reverse 0 Forward External Fault 1 Fault 3 Fault Reset Reset E 4 Log Command 1 9 Multi function Command S1___1 ON Define 5 00 Function 8 Multi function Command S2__ 1 ON Define 5 01 Function amp 7 Multi function Command 3___1 ON Define 5 02 Function i 8 function Command 54 1 ON Define 5 03 Function 9 Multi function Command 55 1 Define 5 04 Function A Multi function Command 56 1 Define 5 05 Function Multi function Command AIN 1 Define 5 06 Function Multi function Command 1 1 RIA ON Define 8 02 m 5 Multi function Command 2 1 R2A ON Define 8 03 FFR WYNN YF E F unused 0102H Freguency Command 0103 011FH Ready to use Note The unused Bit is defined as O the spare register is not available for writing Data 5 5 2 Supervision Data Only for reading Register code 0120H Bit Content 0 J Operation State 1 Run O Stop M Direction State 1 Reverse O Forward NE Inverter operation prepare state I ready_ O unready 2 3 Abnormal 1 Abnormal 2 4 DATA setting error Error 5 F unused Note
23. ess Address Lo 2 digit ASCII Code Function Hi Function Lo Function Code command 2 digit ASCII Code Command Start Address Command Start Address Command Start Address Command Start Address Command Start byte 4 digit ASCII Code Data length Data length The length of the command Data length 4 digit ASCII Code Data length LRC Check Hi LRC Check Code LRC Check Lo 2 digit ASCII Code END Hi End Byte END Lo END Hi CR 0DH END Li LF 0AH VAT200 MODBUS COMMUNICATION PROTOCOL Data frame For RTU Mode MASTER PLC etc send reguest to SLAVE whereas SLAVE response to MASTER The signal receiving is illustrated here The data length is varied with the command Function The interval should be maintained at 10ms between command signal and reguest 1 3 Slave Address OOH Broadcast to all the drivers 01H to the No 01 Driver OFH to the No 15 Driver 10H to the No 16 Driver and so on Max to No 254 FEH 1 4 Function Code 03H Read the register contents 06H Write a WORD to register OSH Loop test 10H Write several data to register complex number register write 2 CMS Checksum and time out definition 21 LRC ex ADDRESS 01H FUNCTION 03H COMMAND 01H 00H DATA LENGTH OAH true complement Checksum 46H ASCII CS L 31H ASCII File No Version 1 A Page 3
24. ion read 2D8H Contro4 function read 2DEH Contro5 function read 2E4H Contro6 function read 2EAH Contro7 function read 2FOH Contro8 function read 2F6H 06H All Coil status read 2FCH 303H 08H VAT200 MODBUS COMMUNICATION PROTOCOL Function 10 06 Note Write Ladder page write and Clear all memory are not available under PLC running mode Clear PLC Memory Function Description Start Address WORD 0AH Timer2 Function write Timer3 Function write 04H Counterl Function write Counter2 Function write 290H 03H Counter3 Function write 03H Counter4 Function write 03H Analog2 Function write Analog3 Function write 03H Contro5 function write Contro6 function write 2EAH 06H 2FOH 2F6H Ladder pagel write Ladder page2 write Ladder page3 write Ladder page4 write Ladder page5 write Timerl Function write Timer4 Function write Timer5 Function write Timer6 Function write Timer7 Function write Timer Function write Encoder Function write Encoder2 Function write Encoder3 Function write Encoder4 Function write Analog1 Function write Analog4 Function write Control function write Contro2 function write Contro3 function write Contro4 function write Contro7 function write Contro8 function write Coil status write RUN amp Stop PLC All memory clear PASSWORD File No Version 1 A Page 6 File No VAT200 MODBUS
25. ode 30H 30H 35H Exception 31H Start to 31H Start to 32H Code 30H encode 30H encode 32H 32H B LRC CHECK 31H 31H OAH END 37H DATA 37H DATA 37H 37H 30H 30H LRC CHECK LRC CHECK END OAH END RTU Mode Command Signal Respond signal Normally Respond signal Error SLAVE Address 01 H SLAVE Address 01H SLAVE Address 01H Function Code 06H Function Code 06H Function Code 86H Start to High 01H Start to High OIH Exception Code 52H encode Low 02H encode Low 02H CRC 16 High C3H Data High 17H Data High 17H Low 9DH Quantity Low 70H Quantity Low 70H High 27H High 27H CRC 16 7 77 CRC 16 Low E2H Low E2H File No VAT200 MODBUS COMMUNICATION PROTOCOL Version L A Page 28 5 5 6 Write complex Number holding register 10H From the defined code write the respective specified data to the holding registers e g Input the frequency command Running forward at 60 0Hz into the SLAVE 1 V2 from PLC ASCII Mode Command Signal Respond signal Normally Respond signal Error 3AH STX 3AH STX 3AH STX 30H SLAVE 30H SLAVE 30H SLAVE 31H Address 31H Address 31H Address 31H Function 31H Function 39H Function 30H Code 30H Code 30H Code 30H 30H 35H Exception Start coding aa Start coding 32H Suus 3 LRC CHECK
26. rom PLC 344 PLC 353 total 20 Byte CHECK 2 SUM END OAH END INV PLC gt PC 01H Address 03H Function Code OAH Data Length Send out the data from PLC 344 PLC 353 total 10 Byte CRC High order digit CRC Low order digit VAT200 MODBUS COMMUNICATION PROTOCOL 5 2 4 Analog function block read ASCH Mode File No Version 1 A Page 12 INV PLC gt PC 3AH STX 30H 31H Address 30H 33H Function Code 30H Data Length 36H Byte Send out the data from PLC 384 PLC 389 total 12 Byte 7 CHECK 2 SUM RTU Mode INV PLC gt PC 01H Address 03H Function Code 06H Data Length Send out the data from PLC 384 PLC 389 total 12 PC gt INV PLC 3AH STX 30H Address 31H 30H Function Code 33H 30H 32H Register 43H Number 30H 30H 30H Data Length 30H 33H CHECK SUM END OAH END gt INV PLC 01H Address 03H Function Code 02H Register Code COH 00H Data Length 03H CRC High order digit CRC Low order digit Byte CRC High order digit CRC Low order digit VAT200 MODBUS COMMUNICATION PROTOCOL 5 2 5 Control function block read

Download Pdf Manuals

image

Related Search

Related Contents

Ryobi P310 Caulking Gun User Manual  direction 113_final  AEG SKS58200F0  Equotip 550 Istruzioni d`uso  manual de instruções freqüencímetro digital modelo fc  AT7-C User's Manual - Pdfstream.manualsonline.com  User`s instruction manual THUNDERBOLTG2  Le service SCOR, mode d\emploi Des vrais au quotidien  USER MANUAL    

Copyright © All rights reserved.
Failed to retrieve file