You are on page 1of 8
K1208 and iGSA (VED): Modbus RTU protocol This is a communication example to use RS-485 (channel 1) of K120S as master in Modbus RTU protocol to communicate to iGSA. (1) System configuration (2) Parameter setting 2.1 GSA settting Basic parameter settingis required as follows: 1/0 59 [communication protocol]: 0 [Modbus RTU] 1/0 60 [VED sation number]: 1 1/0 61 [communication speed]: 4 (19200bps) 2.2 K120S setting Asyou see inthe following, do theparameter secting in Chl and make it Enabled’. Station number: 0, Baud rate: 19200, Data bit: 8, Stop bit: 1, Parity bit: none Modbus: master and transmission mode is TU (Hex). asic | rut [Comer Commi PIDCTUN) PIAL) Poston | Anson [SCO | HSCOM | WSCC | HSCCHS | Femmes: Gee) Pcl ad de ‘on Numb: [—] Seusnae: [RET s] toeek: (a) Paity Bt: anes] Sep Bt [Ts] Commntaton Chinn ous Ge} (3) Modbus communication program 3.1 Write enable Now look at iG5A adklress. As you see in the following, you are supposed co put 1 in 0004 address of GSA in order tomake ‘Write Enable’ ‘ 000 _ | invertor maael T.SViG5 0: 05H. 4: tH. 2: 2Hp 3. 3Hp, 4S5Hp 5: 5.4Hp 10. 220V dass, 1.440V case ‘313043: Version 1.00 353043: Version 500 ; ee oo nw | Neen ‘There in no dig Modbus address. To set 0004 of GSA, write daca to 0003 (Actual address 1). Let's sce Modbus tanmunication command of K120S (page: 8-62). 0001 | Inverter capacity i (002___| invert input voraga 5 0003 | Version - » |n| > |x Flag Designation cn | Designated conmuicatn chanel Error | Enor fag tums on when designating area Reyer | |_51_| Deve ic regstered communication pararter F110) | and the instuson nt exceed SI ‘Deve whch sored carruricaon cst ‘eve whch sored carmurican us| "Actual address = T ‘This program is to make iG5Aenabled towrite. * Note that [MOV h0001 DO010] is used co make iGSA enabled co write, which means you are supposed tosend 1 in address 4 of iG5A using MODCOMcommand. * [SETMO010] in 32 rungis to interlock MODCOM command to read/write the actual data. 3.2 Write data os El Toinwrlock =| wo C onena)ooer registers because we write 4 register from 5 to 8 as follows: Roforonca frequency | OOtHZ | RM, BLO: Stop (RIM) Bit 1: Forward (RY) 0005 | Operation refsence : Row | Bit2: Reverse (RIM) Bi 3. Fault reget (W) Bil 4: Emergency slop (W) 007.) | Accel ime tae Rw (008 \ | Decal ume Ot gee RW ‘The data to write Sheget from DO030 to DOO31. 10030: Reference ‘D0031: Operation reference ‘10032: Acceleration time ‘10033: Deceleration time 3.3 Read dara ‘DO110: Acceleration timeto be read by MODCOM DOIIL: Deceleration time co be read by MODCOM_

You might also like