I have created a simple PLC simulator based on PC simulation with AS V3.09
The problem is PVI Transfer 3.2.3.8 could connect to the simulator, but it can’t read the variables, global variables list is empty to be precise.
But Runtime Utility Center V4.0 works well and could list the global variables.
I need the low version because the HMI software’s driver can only work with PVI 2.x
I have a PLC program based on X20 but the program is compiled with AR J3.09, both PVI Transfer 3.2 and RUC V4.x could connect to it, and read the variables.
So I guess I probably need to change some setting for compiling or missing some kind of library.
Thanks very much for your prompt reply, actually I was asking how to compile a plc with AS V3.09 and then the program could be accessed by PVI 2.x. I have a X20CP1485 with AR J3.09, I could use PVI Transfer 3.2 and RUC V4 to list its variables, but when I created my own program with AR J3.09, PVI Transfer 3.2 can connect to the PLC but could not list its variables, the real PVI used on my machine is PVI 2.5. PVI 2.5 seems has no PVI Transfer, but PVI Transfer 3.2 comes with the software package of PVI 2.6.
So, there is no error in the Output window (seen in your screenshot) while getting the VariableListGlobal. The file is created but is empty, and you have global variables in the PLC since it’s possible to read them with PVI Transfer 3.2 and RUC V4?
I have tried to read global and local variable list, nothing received, and today I receive a new PVI error #1052, it is strange because it does not exist in the error number list of PVI
The driver based on PVI is from copa-data, and I can browse the variables from the real PLC X20CP1485, I read the AR version in this PLC is J309
So I think the error comes from the compiling of Automation studio 3.0.90 which I am using.
Anyway thanks for your time, and also many thanks to Pavel.
Hi @jimlgb ,
I have found the zenon driver manual BUR20032 (attached in my answer).
At the page 30 they described how to configure PVI Monitor and I see your configuration and version of PVI are correct:
In the section 6.2.3 “Driver dialog PVI browser“ there are few pages with guidelines how to enter variables names, double check all steps you did, maybe it’s possible you did a small typo mistake.
In your PVI Monitor there is an error, you need to find the cause of that:
I have to check that, in the mean time could you ask a zenon updated driver for B&R? The version 2.x is quite old, it’s hard to believe the 2 systems can only communicate with a driver developed more or less 20 years ago:
In your prj with AS 3.0.90 you have selected AR J3.09, so you need to follow the workaround (with some limitations as multi-dimensional arrays and structure) reported above on red rectangle to keep the compatibility with the “Old“ module format.
Thanks
Ciao
Valerio
Many thanks Valerio, you help find the root cause. Both Transfer PVI 3.2 and Zenon software could access the variables after adding optional switch “-limit2” for building
For sure Zenon has new driver to communicate with PVI, but it comes with new version.