|
Post by Admin on Jul 8, 2019 21:35:33 GMT
Here is an example of an Analog Input object courtesy of ( Coherent Technologies, Inc) Click here to download the Analog Sensor ExampleContact Gary Pratt at gary@controlsphere.pro for information on how to purchase the source code for the Configuration Central Service (CCS) library used in this example. Objects should follow this input and output naming convention: _FI : Field Input _FO : Field Output. _PI : Program Input _PO : Program Output. _VI : Visualization (HMI) Input _VO : Visualization (HMI) Output _CI : Config Input I/O will usually be placed as follows: VAR_INPUT *_PI *_FI END_VAR
VAR {attribute 'symbol' := 'readwrite'} *_VI {attribute 'symbol' := 'read'} *_VO {attribute 'symbol' := 'readwrite'} *_CI
VAR_OUTPUT *_PO *_FO END_VAR
For more information, see this video: Object Oriented Industrial Programming and Simulation
|
|