Creating jobs¶
Prerequisite
To run jobs for Emerson PAC Machine Edition, octoplant must be running under the System account and with the Allow data exchange between service and desktop (user interactivity) option enabled.
To do this, proceed as follows:
- Open the Windows Start menu.
- In the Search text box, type Run and press Enter.
- In the Open text box, type
services.msc
. - Double-click the VDog MasterService or VDog UploadAgent service.
- Switch to the Login tab.
-
Apply the following settings if necessary:
-
In the Windows registry, in the path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows
, change the value for the entry NoInteractiveServices to 0. - Restart the VDog MasterService or VDog UploadAgent service.
Configuring jobs for GE Proficy ME components¶
Info
For jobs for Emerson PAC Machine Edition, the access data is taken from the project and does not need to be configured in octoplant.
- Start the AdminClient and open the Jobs module.
- Select your Proficy Machine Edition component in the Project tree.
- Click on the Create button in the ribbon or drag and drop the component into the Jobs area.
- Check whether the GE Proficy Machine Edition upload type is displayed in the Job configuration area.
-
Configure the general sections General, Notification, Upload and compare and Create a version automatically after job run. The sections Notification and Create a version automatically after job run are only displayed if the required settings have been made.
Info
If the above requirements are not met in your use case, note the settings in the fields Upload agent and Compare agent.
-
In the GE Proficy Machine Edition Settings section, select the project for which the job is to be executed.
Info
Emerson PAC Machine Edition uses a central repository to manage projects. This results in some special features in the collaboration between Emerson PAC Machine Edition and octoplant. For example, there must not be a project in the central repository that has the same name as the project for which the job was created.
Info
If you only want to run the job for a specific target device of the project, you can also select this specifically. However, this is only recommended in individual cases. Proceed as follows:
-
Expand the list using the dropdown arrow.
-
Click on the arrow next to the desired project name.
- The list of target devices available for the project opens.
- Select the desired target device.
-
-
In the Include in Upload section, select which elements are to be copied from the controller.
Info
If warnings occur when uploading these elements, the upload is not canceled. The warnings are logged in the job's event display.
-
Save the job and execute it.
Info
You can implement further settings for jobs of this upload type in the AdminClient in the Global settings dialog and by using the INI files.
FAQ¶
Why is the Emerson PAC Machine Edition job failing?
Scenario 1
The following error message is displayed in the Event log (in the AdminClient Jobs module -> Home tab):
Upload terminated with errors
Error calling a COM method [Method: IProjects::OpenProject] [80010105]
Solution
-
Check whether octoplant is running under the Local System account and whether the Allow service to interact with desktop (user interactivity) option is enabled.
-
Run the CMD as an administrator and execute the command:
mmc comexp.msc /32
. If the entry below can’t be found, enter and executedcomcnfg
. -
A DCOM Configuration Warning dialog related to Emerson might appear.
- Select Yes to confirm.
-
Navigate to Component Services > Computers > My Computer > DCOM Config > CimplicityME Application and right-click on Properties.
-
If Allow service to interact with desktop is enabled, select The interactive user under Identity.
- If the agent or server is running with a service account, select This user, under Identity, and enter the service account credentials.
Scenario 2
The following error message is displayed in the Event log (in the AdminClient > Jobs module > Home tab): Upload terminated with errors
A successful upload could not be performed for any device [65200]
Error calling a COM method [Method: IPLCTarget::GenerateOnlineForceReportAsXML] [80040332]
Solution
This error message indicates that the target device cannot be reached. In Job configuration, in the GE Proficy Machine Edition Settings section, check whether you have selected the correct target device in the Project drop-down list and correct this if necessary.