The Distribute object configures distribution of files from the
development environment to process and operator stations.
The object reside in the project volume beneath a NodeConfig object.
The specified files will be included in the distribution package and
copied to the node configured by the NodeConfig object.
The collected files are specified in the Components attribute, which is
a bitmask.
Description of the bits in Compontents:
UserDatabase
The ProviewR user database $pwra_db/pwr_user.dat is included.
The source is fetched from
1. $pwrp_cnf/'nodename'/pwr_user.dat
2. $pwra_db/pwr_user.dat
LoadFiles
Loadfiles are included, i.e.
- loadfiles for volumes configured with RootVolumeLoad, SubVolumeLoad
and ClassVolumeLoad objects, and volumes referenced by these volumes,
- plc file.
- rtt crossreference files.
ApplFile
The startup file $pwrp_load/ld_appl_'nodename'_'busnumber'.txt is included.
PwrpAliasFile
$pwrp_load/pwrp_alias.dat is included.
IncludeFiles
All includefiles in $pwrp_inc is included.
GraphFiles
All Ge graph files $pwrp_exe/*.pwg are included.
XttHelpFile
The xtt help file is included. The source file is fetched from
1. $pwrp_cnf/'nodename'/xtt_help.dat
2. $pwrp_exe/xtt_help.dat
XttResourceFile
The xtt resource file with function key definitions is included. The source
file is fetched from
1. $pwrp_cnf/'nodename'/Rt_xtt
2. $pwrp_pop/Rt_xtt
and distributed to /home/b55
XttSetupFile
The xtt setup file with menu configuration and symbol definitions is included.
The source is fetched from
1. $pwrp_cnf/'nodename'/xtt_setup.rtt_com
2. $pwrp_pop/xtt_setup.rtt_com
and distributed to /home/b55
FlowFiles
The plc trace files $pwrp_load/*.flw are included.
RHostsFile
The .rhost file used by rsh is included. The source is fetched from
1. $pwrp_cnf/'nodename'/.rhosts
2. $pwra_db/.rhosts
WebFiles
All web-files in $pwrp_web are included.
Other files can be included with an ApplDistribute object.
The GraphDistribute and SystemDistribute objects are obsolete.
The distribution is performed by the Distributor, which is activated
from the menu in the configurator. The distributor collects all the
files that are needed for a process or operator station, into a package
file. The package is copied to the process and operator station and
unpacked there.
See also