Hi everybody,
I registered to this forum because I simply can't figure it out, how to properly set HSC in Proficy Machine Edition for my Versamax Micro.
I wired Chanel 1 to energy meter which provides me with pulses for Wh. The reason why I need to go with HSC is that pulse length for this energy meter is 20ms and PLC sweep time is 100ms and I would lose pulses with normal method. BTWY: There are not a lot of these pulses, perhaps 5/second.
So I set the Chanel 1 for Type A, Counter, 0-32767, TimeBase to 1000 ms (because I don't know what is this)...
The idea is to run my Energy block and get current counter value which should be between 0 and 32767. I could store current counter value and calculate the differance on the next run to get number of pulses during last run. I could also program a logic if the pulse counter has rotated (if new value is less then previous value).
The problem is that I don't know how to make HSC work. Do I have to run some command to make him start or did he already started when I set the settings? In which register is the counter accumulater stored?
Will it work the way I planned?
Thanks, BK
I registered to this forum because I simply can't figure it out, how to properly set HSC in Proficy Machine Edition for my Versamax Micro.
I wired Chanel 1 to energy meter which provides me with pulses for Wh. The reason why I need to go with HSC is that pulse length for this energy meter is 20ms and PLC sweep time is 100ms and I would lose pulses with normal method. BTWY: There are not a lot of these pulses, perhaps 5/second.
So I set the Chanel 1 for Type A, Counter, 0-32767, TimeBase to 1000 ms (because I don't know what is this)...
The idea is to run my Energy block and get current counter value which should be between 0 and 32767. I could store current counter value and calculate the differance on the next run to get number of pulses during last run. I could also program a logic if the pulse counter has rotated (if new value is less then previous value).
The problem is that I don't know how to make HSC work. Do I have to run some command to make him start or did he already started when I set the settings? In which register is the counter accumulater stored?
Will it work the way I planned?
Thanks, BK