basicS7 Libs

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
mcmullan
Posts:16
Joined: Mon Jan 31, 2011 10:18 am

basicS7 Libs

Post by mcmullan »

I need some assistance in using the S7 standard objects in a Pvss project. I need some the steps on what it takes to connect the pre-defined data types in PVSS to the correct address in the PLC itself.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: basicS7 Libs

Post by leoknipp »

Hello,

the connection between the datapoint-element and the address in the PLC is made at the _address-config at the datapoint-element.
The common settings (input/output, datatype, ...) are made at the master-datapoint. At the instances the correct address has to be defined.

Best Regards
Leopold Knipp
Senior Support Specialist

mcmullan
Posts:16
Joined: Mon Jan 31, 2011 10:18 am

Re: basicS7 Libs

Post by mcmullan »

Hello Leo,

Thanks for this information. I appreciate it.

One other quick question...
If you add one of the objects from the basicS7_valveOpCl group to a panel would you normally need to write any scripting to make it work? Also, Do you have an example of the PLC programming part where this is working? I need some examples of how the FB are programmed in the PLC.
Any suggestions, helps or hints to get this working would be very helpful.

Thank you,

Rick McMullan

aorange
Posts:147
Joined: Thu Nov 04, 2010 10:07 am

Re: basicS7 Libs

Post by aorange »

Hi Rick,

From my experience using the S7 driver, there are no particular guidelines you need to adhere to as the driver simply reads data from whatever PLC register you tell it to. I cannot help you with the _valveOpCl object however as I have never used it.

Jonathan

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: basicS7 Libs

Post by leoknipp »

Hello,

the objects should work without addirional scripting.
Before you can use these objects you have to import the datapoint lists for the Std- and the S7-basic-library.
Afterwards you've to create the datapoints for the objects you want to use.

Best Regards
Leopold Knipp
Senior Support Specialist

5 posts • Page 1 of 1