Creating jobs¶
Jobs for the backup of e!COCKPIT projects are created with the upload type CODESYS using CODESYS V3.
The job result (backup) is not suitable for disaster recovery.
- Start the AdminClient and open the Jobs module.
- Select your e!COCKPIT component in the Project tree.
- Click on the Create button in the menu bar or drag the component to the Jobs area using drag and drop.
- Check that the CODESYS 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 settings required for this have been made.
-
Make the following settings in the CODESYS settings section:
- In the Project dropdown menu, select the project for which the upload is to take place. Only projects that are contained in the selected component and are checked in on the server are displayed here.
- In the Interface Type dropdown menu, select one of the Gateway V3 or ARTI V3 entries. Alternatively, you can also enter the entry "interfacetype=..." in the Access parameters input field.
- Enter the connection data for the Gateway in the Gateway IP, Gateway port and Gateway password fields. If no port is specified here and in the Access parameters field, the default port 1217 is used.
- In the Device, PLC IP and PLC port fields, enter the connection data of the device. If no port is specified here or in the Access parameters field, the default port 11740 is used.
- Enter your access data for the device in the User account and User password fields.
-
the access data that you can enter in the fields above can also be listed in the field Access parameters.
Info
If data is entered both above in the individual fields and below in the Access parameters field and these differ, the entries in the field Access parameters are preferred for reasons of backward compatibility.
Example of access parameters for WAGO 750-849
interfacetype=GATEWAY active=1 logevents=0 motorola=0 nologin=0 timeout=10000 precheckidentity=0 tries=3 waittime=30 reconnecttime=20 buffersize=1500 gateway=Tcp/Ip gatewayaddress=10.0.50.86 Address of octoplant server with 3S CoDeSys Gateway gatewayport=1210 Gateway Port device=Tcp/Ip (Level 2) instance=WAGO parameters=4 In this configuration 4 parameters follow (index 0-3) parameter0=Address value0=10.0.50.63 WAGO Address 750-849 parameter1=Port value1=2455 Set communications port parameter2=Blocksize value2=128 parameter3=Motorola byteorder value3=No The type and number of parameters displayed or to be used may differ from the above example. Special importance must always be attached to the following parameters:
- value0={IP address of the PLC}
- value1={Port Nr.}
-
Save the job and test it with Execute selected jobs once.
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.