Emerson PAC Machine Edition: creating jobs

The versiondog system offers you the ability to create jobs that check when the project on the device matches the latest checked-in version of the project as well as the ability to copy live data from a device onto the versiondog server.

Requirement:

In order to execute jobs for Emerson PAC Machine Edition, ensure that versiondog is being run using the system account with the option Allow data exchange between service and deskop (user activity) activated.

Proceed as follows:

  1. Open the Windows start menu.
  2. In the search field, enter Execute and then click Enter.
  3. In the text field, enter Openservices.msc.
  4. Double click on VDogMasterService / VDogUploadAgent.
  5. Go to the Login tab.
  6. Accept the following settings if necessary:
  7. In the Windows Registry, in the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows, change the value for the entry NoInteractiveServices to 0.
  8. Restrart the service VDogMasterService / VDogUploadAgent.

How to configure jobs for GE Proficy ME components:

For Emerson PAC Machine Edition jobs, the access data is taken from the project and does not need to be configured in versiondog.

  1. Start the AdminClient and open the jobs module.
  2. In the project tree, select the Proficy Machine Edition component.
  3. In the menu tab, click on create or drag & drop the components into the jobs section.
  4. Check in the section job configuration, if the upload type GE Proficy Machine Edition is being displayed.
  5. Make sure the desired settings are in place for the following sections: General, Notification, Upload and compare, Create a version automatically after job run. The Notification and Create a version automatically after job run sections are only displayed if the necessary settings have been implemented. For more information on configuring the general sections, please refer to Jobs in the tutorial AdminClient.
  6. If the requirements are not met in your case, take a note of the settings in the Upload Agent and Compare Agent fields.

  7. In the section GE Proficy Machine Edition Settings, select the project for which you want to execute the job.
  8. Emerson PAC Machine Edition uses a central repository to manage projects. As a result of the cooperation between Emerson PAC Machine Edition and versiondog, certain peculiarities arise. For example, the central directory may not contain a project with the same name as the project for which the job was created.

    If you only want to execute the job for a specific target device of the project, you have the option to also select this device. This is only recommended in a handful of cases. Proceed as follows:

    1. Click on the drop-down arrow.
    2. Click on the arrow next to the project name.
    3. The list of target devices available for the project will open.
    4. Select the device.
  9. In the section Include in Upload, select which elements are to be copied from the controller.
  10. If warnings occur whilst uploading these elements, the upload will not be terminated. Warnings are logged in the job’s event log.

  11. Save the job and execute it.

Configuring a timeout

When uploading large amounts of data, a timeout may occur despite the default time being preset at 30 minutes. This timeout can be adjusted globally for all upload types or each upload type separately. To adjust the maximum time for job execution according to the upload type, proceed as follows:

  1. Start the AdminClient and open the Jobs module.
  2. In the menu, click on Job settings.
  3. The window Upload specific configuration will then open.
  4. Select the upload type in the navigation bar on the left.
  5. Select the checkbox Use specific timeout for this upload type.
  6. In the Maximum time for job execution field, enter the time period in minutes. The maximum possible value is 540 minutes.
  7. If you do not select the checkbox Use specific timeout for this upload type, the next time you change the global timeout, the value set here will be overwritten by the global one.

Alternatively you can adjust the timeout via the INI file Classes.ini (..\<vdArchive>\VD$A\Configuration\Upload\Classes.ini). For more information, see the INI files section, located in the AdminClient tutorial.

The value entered in the Upload type specific configuration window will then be copied into the INI file.

FAQ: Why did the GE Proficy job fail?

Scenario 1

In the Event log (located in the AdminClient > Jobs module > Start tab) the following error message will be displayed:

Upload ended with errors.

Error when calling a COM method [Method: IProjects::OpenProject] [80010105]

Solution

Ensure that versiondog is being run using the system account with the option Allow data exchange between service and deskop (user activity) activated. For more information, click here.

Scenario 2:

In the Event log (located in the AdminClient > Jobs module > Start tab) the following error message will be displayed:

Upload ended with errors.

No device could be successfully uploaded [65200].

Error when calling a COM method [Method: IPLCTarget::GenerateOnlineForceReportAsXML] [80040332]

Solution

This error message warns that versiondog cannot contact its target device. Check in the job configuration in the section GE Proficy Machine Edition Settings whether you have selected the correct target device from the Project drop-down list. If not, correct this.

To FAQ list

Related topics:
versiondog Upload & Compare Agents