8 Application Instructions API 100-149 X0 Set up communication instruction device address 01 data address H2101 data length 6 words Process of receiving data The received data are stored in D1070 ~ D1085 in ASCII format. PLC will automatically convert the data into numerals and store them in D1050 ~ D1055. receiving completed M1127 Sending/receiving of data is completed. The flag is reset. PLC VFD-S, PLC sends: “ 01 03 2101 0006 D4 ” VFD-S PLC , PLC receives:
“ 01 03 0C 0100 1766 0000 0000 0136 0000 3B ” Registers for sent data (sending messages) Registers for received data (responding messages) DVP-PLC Application Manual 8-2 MODRD K1 H2101 K6 RST M1127 Register DATA Explanation D1089 low ‘0’ 30 H ADR 1 Address of AC motor drive: ADR (1,0) D1089 high ‘1’ 31 H ADR 0 D1090 low ‘0’ 30 H CMD 1 Instruction code: CMD (1,0) D1090 high ‘3’ 33 H CMD 0 D1091 low ‘2’ 32 H Starting data address D1091 high ‘1’ 31 H D1092 low ‘0’ 30 H D1092 high ‘1’ 31 H D1093 low ‘0’ 30 H Number of data (counted by words) D1093 high ‘0’ 30 H D1094 low ‘0’ 30 H D1094 high ‘6’ 36 H D1095 low ‘D’ 44 H LRC CHK 1 Checksum:
LRC CHK (0,1) D1095 high ‘4’ 34 H LRC CHK 0 Register DATA Explanation D1070 low ‘0’ 30 H ADR 1 D1070 high ‘1’ 31 H ADR 0 D1071 low ‘0’ 30 H CMD 1 D1071 high ‘3’ 33 H CMD 0 D1072 low ‘0’ 30 H Number of data (counted by byte) D1072 high ‘C’ 43 H D1073 low ‘0’ 30 H Content of address 2101 H PLC automatically convert ASCII codes to numerals and store the numeral in D1050 = 0100 H D1073 high ‘1’ 31 H D1074 low ‘0’ 30 H D1074 high ‘0’ 30 H D1075 low ‘1’ 31 H Content of address 2102 H PLC automatically convert ASCII codes to numerals and store the numeral in D1051 = 1766 H D1075 high ‘7’ 37 H D1076 low ‘6’ 36 H D1076 high ‘6’ 36 H D1077 low ‘0’ 30 H Content of address 2103 H PLC automatically convert ASCII codes to numerals and store the numeral in D1052 = 0000 H D1077 high ‘0’ 30 H D1078 low ‘0’ 30 H D1078 high ‘0’ 30 H D1079 low ‘0’ 30 H Content of address 2104 H PLC automatically convert ASCII codes to numerals and store the numeral in D1053 = 0000 H D1079 high ‘0’ 30 H D1080 low ‘0’ 30 H D1080 high ‘0’ 30 H D1081 low ‘0’ 30 H Content of address 2105 H PLC automatically convert ASCII codes to numerals and store the numeral in D1054 = 0136 H D1081 high ‘1’ 31 H D1082 low ‘3’ 33 H D1082 high ‘6’ 36 H