Dear all,
Right now i am doing one project with WINCC 7.0 & Modbus RTU protocol (Almindinger) for read/write the datas from energy meters - 50 No's (group of 10). I have used the group function with time delay in VBA script as below,
Set Group1 = HMIRuntime.Tags.CreateTagSet
Group1.Add"GG1_INST_E.R_LINE_VOLT"
Group1.Add"GG1_INST_E.Y_LINE_VOLT"
Group1.Add"GG1_INST_E.B_LINE_VOLT"
Group1.Add"GG1_INST_E.R_PHASE_VOLT"
Group1.Add"GG1_INST_E.Y_PHASE_VOLT"
Group1.Add"GG1_INST_E.B_PHASE_VOLT"
Group1.Add"GG1_INST_E.R_PHASE_CURRENT"
Group1.Add"GG1_INST_E.Y_PHASE_CURRENT"
Group1.Add"GG1_INST_E.B_PHASE_CURRENT"
Group1.READ
The script is functioning well and i am getting the values. But some time the script giving duplicate values means inserting same values in last 2 or 3 cycles. I also ensured with energy meter changing the values frequently. I need to know how to findout the script fetching fail. or any other way is there to read the values from energy meters through VBA. Due to this issue we can't replace the existing software system with WinCC 7.0 system. Kindly help me
Regards,
Kannan.S