Technical Forum

SIMATIC WinCC

Problem in data Fetching from energy meters with modbus RTU communication

Thread Starter: sankannan   Started: 7/17/2012 10:15 AM   Replies: 1

« Previous thread Next thread »
Page 1 of 1 (2 items)
  7/17/2012, 10:15 AM
Joined 5/19/2011
Last visit: 3/13/2013
Posts: 17
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
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


 

Attachment: config.jpg  (19 Downloads)

Top
  7/19/2012, 12:44 AM
Joined 1/10/2008
Last visit: 5/10/2013
Posts: 2485
Rating:
Rated: Outstanding [3.77 out of 5 / rated 209 time(s)]. (209) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Please post the script...
Top
Page 1 of 1 (2 items)
Actions