Element: Remote Call
Symbol:
Function: The element starts a new CODESYS instance and executes a test script in the new CODESYS instance and/or a local test script from the first (current) CODESYS instance. Both test scripts can run parallel.
The Remote call test element contains both the
<empty remote call> element and the
<empty local call> element.
When you select a Remote Call element in the test script, the Remote Call tab opens. On this tab, you configure the settings for the new CODESYS instance which contains the external script.
When you select <empty remote call> or
<empty local call> in the test script, the Call tab opens. For the remote call, you configure the call of the test script which runs in the new CODESYS instance. For the local call, you configure the call of the test script which runs in the current CODESYS instance.
Tab: Remote Call
Timeout for the remote script (seconds) | Maximum time span that the new CODESYS instance is allowed to run If this time span is exceeded, then the instance is ended automatically. Specified in seconds |
Profile of remote instance | Profile of the new CODESYS instance Specify the profile name exactly as it is displayed in the dialog of the development system or in the start menu on the computer.The profile is specified without quotation marks. If the field is blank, then the current profile is used. Example: |
Path of remote executable | Program path of If a path is specified here, then a value must be specified in Profile of remote instance. If a path is not specified, then the current installation of CODESYS is used. |
Remote executable arguments | Command-line parameter for calling the new CODESYS instance All command-line parameters of CODESYS are possible. Note: The command-line parameters can cause conflicts with the test script of the new CODESYS instance, for example when a project is opened by the command-line parameters and the test script also opens a project. |
Installation name of remote instance | Installation name as displayed in CODESYS Installer. This name has to be specified if the external installation was installed with the CODESYS Installer. |
Tab: Call
Test script to call | A test script can be called with the following information:
|
![]() | Copies the absolute path of a script selected on the Test Scripts tab of the Test Manager view to the input field |
![]() | Opens the test script specified in Test script to call to be edited |
Version (leave blank for newest) | Version of the test script which is called Example: If the field is blank, then the newest version is used automatically. |
![]() | Removes the entry of the Version (leave blank for newest) field |
Input parameter which acts as an interface between the calling test script and the called test script Hint: The input parameter name and variable name may be identical. | |
Name | Name of the input parameter Used in the test script to be called (internal variable of the subscript) This is also the declaration of the interface variables. Example: |
Variable |
|
Move Up | Moves the selected input parameter one line up |
Move Down | Moves the selected input parameter one line down |
Remove | Deletes all selected input parameters |
Output parameter that acts as an interface between the calling test script and the called subscript Hint: The output parameter name and variable name may be identical. | |
Name |
|
Variable | Name of the variable of the calling test script Gets a value from the subscript Hint: A value of the called script is passed to the variable (and specified in Name) by an output parameter, as an expression, or as a literal. |
Move Up | Moves the selected output parameter one line up |
Move Down | Moves the selected output parameter one line down |
Remove | Deletes all selected output parameters |