MorphuisOGrady
Member
Guys,
I need to interface to 2 serially (RS232) from a ControlLogix PLC.
Fortunately the company that make the instrument provide an ActiveX component which allows me to read the data directly from the instrument in RSView SE
With my tiny bit of knowledge of VBA I managed to read the data from the instrument as follows:
On Button1_Release()
DIM Pressure as SINGLE
Commx. Connect
Pressure=Commx.Pressure
MsgBox(Pressure)
This Msgbox outputs the correct value.
What I want to do now is have some sort of event to trigger this every 10 seconds and feed this value from RSView SE V5.00 into PLC CLX L-61?
Is there VBA functions in RSView to set tag values?
Anyone any suggestions?
I need to interface to 2 serially (RS232) from a ControlLogix PLC.
Fortunately the company that make the instrument provide an ActiveX component which allows me to read the data directly from the instrument in RSView SE
With my tiny bit of knowledge of VBA I managed to read the data from the instrument as follows:
On Button1_Release()
DIM Pressure as SINGLE
Commx. Connect
Pressure=Commx.Pressure
MsgBox(Pressure)
This Msgbox outputs the correct value.
What I want to do now is have some sort of event to trigger this every 10 seconds and feed this value from RSView SE V5.00 into PLC CLX L-61?
Is there VBA functions in RSView to set tag values?
Anyone any suggestions?