Skip to Content
Documentation07 · AdministrationImport, export, copy & bulk configuration
On this page

Import, Export, Copy, and Batch Configuration

This guide is under Administration in the manual and covers configuration transfer and bulk maintenance across features. Open the corresponding business page in the product to perform an operation.

Choose the entry point

TaskProduct entry and scope
Import or export channels, devices, plugin properties and collection variablesDevelopment Configuration → Collection Configuration → Show More above the variable list: choose import, current export or full export.
Maintain memory workbooksImport, export variables or export all in Memory Calculation; see Memory.
Maintain forwarding targets and groupsUse the import/export actions in Data Forwarding; see Forwarding.
Import simulator channels and pointsUse Protocol Simulator, then map each channel to a new or overwritten destination; see Simulator.
Maintain synchronization mappingsUse the dedicated workbook and preview in Data Synchronization; see Data synchronization.
Maintain users, roles, menus and permissionsChoose a collection in System Management → Users / Roles / Menus; see Administration workbooks.
Copy or bulk edit existing collection configurationUse resource context menus, management drawers or the variable list; see Copy and Bulk editing.

Data-query exports contain records and cannot be imported as configuration. A complete project backup also includes project files, scripts and resources; follow Project delivery.

Collection configuration workbooks

Choose the export scope

OperationContents and purpose
Current collection configurationVariables matching the current device, name, address, quality, page, and page-size filters, plus their related devices, channels, and plugin properties. Use for a limited edit.
Export all collection configurationThe whole project’s collection configuration, including empty channels not referenced by variables. Use for backups and delivery.
Data Query exportQueried data records, subject to the rules in Data Query. This is not a configuration workbook.

With 1000 variables and 50 rows per page, exporting the current page returns its 50 variables. A different page exports a different set. Use the explicit full-export action for a complete backup.

Preserve workbook relationships

  1. Export a working device from the current software version and use that workbook as the template.
  2. Keep worksheets, headers, and type names. Edit only the required names, associations, addresses, and business fields.
  3. Check each device’s channel and the device names referenced by plugin properties and variables.
  4. Import a small sample, inspect every worksheet result, and verify collection before importing the full list.

Selecting a file creates an import preview without saving configuration. Check names, associations, and control permissions, then correct and confirm the preview as described below.

Worksheet contentsRelationship to check
ChannelsNames and transport settings referenced by devices.
DevicesChannel names and device settings.
Plugin propertiesDevice names and fields specific to each plugin.
VariablesDevice/name, address, type, permissions, unit, and expressions.

A validated device sheet does not establish that plugin properties or variables have passed. Keep the template’s name-based associations rather than adding database IDs. To append only variables to an existing device, retain the other sheet headers and clear their data rows. Identify columns by name, not a fixed position.

Names, empty cells and overwrites

ConfigurationIdentity and relationship
ChannelIdentified by channel name; device rows reference that name.
DeviceIdentified by device name; verify its channel and plugin. Names cannot contain . or use the reserved name Memory.
Plugin propertiesAssociated by device name. Keep the plugin’s own property-sheet name and fields.
VariableIdentified by device name plus variable name. Names must be unique within a device; different devices can use the same point name.

A new name creates an object rather than renaming the original. Objects outside the file remain. To rename, use the object’s editor and check scripts, rules and external name references.

Keep complete configuration rows. Empty cells use each field’s empty/default rules; they are not a general instruction to retain the old value. Start a limited update from a current export and review its preview. Preserve Boolean and enum spellings. Store long integers, precise decimals and values with leading zeros as text. Formulas and error cells are not supported.

Example: append two points to an existing device

  1. Verify one point, select its device and export the current collection configuration.
  2. Copy the complete sample variable row twice, preserving all columns. Change point names, addresses and intended business fields.
  3. For the Modbus example, keep the original and add the two rows below. This excerpt is not a replacement workbook template.
DeviceVariableAddressTypeArray length
Demo_Modbus_DeviceDemo_Modbus_Value40001Int160
Demo_Modbus_DeviceDemo_Modbus_Value_240002Int160
Demo_Modbus_DeviceDemo_Modbus_Value_340003Int160

The addresses must exist in the source device. Incrementing names does not increment addresses. This example keeps one row each in the channel, device and ModbusMaster sheets, and three variable rows. ModbusMaster stores plugin properties.

  1. Preview the file. Expect two added variables; the original point may be overwritten or unchanged depending on its actual differences. Check the other sheets for unintended changes.
  2. Confirm, refresh and verify all three names, addresses, types and new samples. In the introductory simulator, the first point is 1234 and uninitialized registers are 0; use actual source values for physical equipment.

Control interlock columns

Control interlocks use separate Excel columns rather than a JSON cell. Identify the guard using Interlock device name and Interlock variable name, without a database ID. The guard may already exist or be added in the same worksheet, in any row order.

Interlock columnEntry
Interlock device nameExact name of the guard’s device, either existing or imported.
Interlock variable nameGuard variable name within that device. Leave both names empty to disable the interlock.
Interlock allowed valueState that permits control; defaults to 1 when empty.
Interlock closed valueState written at expiry; defaults to 0 when empty.
Interlock reset enabledTRUE or FALSE; enabled when empty. FALSE actively reads the external state without timing or writing the guard.
Interlock timeout (s)From 0.1 to 86400 when automatic reset is enabled; defaults to 10 when empty.

An incomplete name pair, missing guard, or self-reference produces a row error and blocks the entire import batch. Format state cells as text to preserve leading zeros.

Preview, correct rows, and confirm

Collection configuration, memory variables, data-forwarding configuration, and simulator Excel imports use a preview before saving. Simulator imports also require a new-channel or overwrite mapping for each channel.

  1. Review each worksheet’s added, overwritten, and unchanged counts, candidate rows, and errors. Retained outside file counts existing configuration omitted from this upload; it is not an uploaded-row count. Candidates and errors have separate pagination; the first page is not the complete file.
  2. Locate issues by worksheet and original row number. Use Edit on a row to change fields under the original Excel headers. Use the offered enum and Boolean options, and preserve the structure of JSON fields.
  3. Choose Save and revalidate. This updates only the preview. Recheck related sheets after changing names or relationships. Uploading a revised workbook replaces the previous preview.
  4. Once every sheet passes validation and there are records to import, choose Confirm import. Closing the preview or leaving the page before confirmation discards its corrections without saving configuration.
  5. Review the final result, then check the list, relationships, and live collection. Validation alone does not establish that a field address can be read or written.

Collection import preview with per-sheet counts and candidate rows

Editing a channel row under its original Excel headers before revalidation

The batch is saved together on confirmation. Any remaining worksheet validation error blocks the whole batch. If configuration changed after preview, follow the prompt to preview again.

If configuration was saved but runtime refresh failed, candidates become read-only and the action changes to Retry refresh. Resolve the fault and retry in the same window; this only refreshes runtime configuration without writing the configuration again. Closing at this stage does not undo the saved configuration.

Choose the next action from the result

ResultAction
Invalid sheet, header or cell formatCorrect the current template in Excel and upload again.
Missing name or relationshipCorrect the reported sheet and row, then recheck every related sheet.
Unexpected added countCheck whether an intended update changed its identity name. Correct before confirming.
Preview expired or configuration changedGenerate a fresh preview against current configuration.
Saved, but runtime refresh incompleteResolve the fault and use Retry refresh in the same window; avoid saving another copy.
Success, but a stale list remainsRefresh resources and lists and reopen by name before deciding whether another import is needed.

Row corrections belong to the current preview and do not rewrite the original Excel file on your computer. Export again after success for an updated archive. Before leaving an unconfirmed preview, record any corrections you need to retain in your own workbook.

Copy channels, devices and variables

  1. Right-click the source channel or device in the collection resource panel and choose its copy action. Use the variable row’s copy action for a point.
  2. Check Source name and enter a Copy count from 1 to 10000. A count of 2 adds two copies and retains the original.
  3. Choose Confirm copy, wait for the result and find names ending in _Copy1, _Copy2, and so on. Occupied suffixes are skipped, so verify the actual generated names.
  4. Check the relationships below and verify new connections and samples. Copies inherit enablement and may start immediately; prepare independent destinations and an appropriate maintenance window first.
SourceIncluded configurationCheck afterward
ChannelChannel, all child devices and their variables. Copied devices use the new channel; child variable names remain unchanged.Endpoints, listening ports, serial ports, certificates and device station IDs. Duplicate listeners or serial ownership may conflict.
DeviceDevice and all its child variables, retaining child names under the new device.The copy still uses the original channel. Follow Channel requirements for independent ordinary-device connections, and verify protocol properties and station IDs.
VariableIndependent point configuration under the same device.Address, type, unit, transforms, alarms and interlock references. Addresses do not increment automatically.

Copies are maintained independently; later source edits do not propagate. The dialog provides a count, without an address step or naming pattern. Generate continuous point lists in Excel. System-managed internal devices and automatic status variables cannot be copied as ordinary objects.

Device copy dialog with source, count and child-variable reminder

Bulk edit existing configuration

Bulk editing updates existing objects without creating copies. Use it to unify enablement, timing, units or descriptions. Use Excel or individual editing for different station IDs or incrementing addresses.

  1. Filter and select rows in the channel manager, device manager or variable list. Resource context-menu bulk actions use that resource’s descendants; check the dialog’s count.
  2. The form starts from the first object’s values. This does not mean all selected objects have equal values. Only fields changed relative to that initial form are applied to the batch; untouched fields retain each object’s own value.
  3. Change the intended fields and inspect their modified markers. Returning a field to its initial value removes that change. An unchanged first-row value does not unify different values in the other rows.
  4. Confirm to save. Cancel discards an unsubmitted draft. Saving can rebuild collection tasks; wait for new runtime status and samples.
  5. Reopen two selected objects that originally differed: verify changed fields are unified and untouched fields remain individual. Check an unselected object as well.
ObjectBoundary
ChannelUses the common enable, connection/frame timeout, concurrency, logging, heartbeat and DTU fields actually shown. Edit names, channel types, endpoints, SSL certificates and serial connection settings individually.
DeviceUses offered timing, enablement, logging, method-call permission, descriptions, remarks and redundancy fields. Names, channels, plugins and dynamic plugin properties are excluded.
VariableApplies to selected points without renaming or moving them. A changed address applies the same address to every selected point; it is not an increment. Cross-plugin address changes are validated.
Automatic status variableOnly supported groups, description, unit, enablement, interval, alarm and remark settings; system sources, types and read/write chains remain managed. See Status variables.

Variable bulk editor showing count, initial values and modified fields

For example, if three units are A, B and C, changing only the description preserves those units. Changing the first unit from A to V applies V to all selected rows. Use a workbook for different per-row units or addresses.

Excel configuration for users, roles, and menus

The toolbars in System Management → User Management, Role Management, and Menu Management provide a configuration collection selector and Import / Export. These workbooks identify existing objects by ID; collection point lists use name-based relationships.

Page and collectionImport behavior
Users: User profilesUpdates existing users’ username, display name, email, and avatar URL by ID. Passwords, enable state, and roles are outside this collection.
Users: New usersCreates local users with optional initial roles. Import only; see User workbooks for the format.
Users: User rolesReplaces the complete role set of each user listed in the main sheet.
Roles: Role basicsA blank ID creates an ordinary role; an existing ID updates basic fields without changing permissions.
Roles: Role permissionsReplaces the complete menu, button, and API permissions of each role listed in the main sheet.
Menus: Menus and buttonsAdds or updates menus and buttons, parent relationships, and localized menu names.
  1. Choose a collection. User and role exports include selected items, or all matching filter results when nothing is selected, across pages. Menu exports include the currently filtered menus and their buttons. Check the export button’s scope tooltip.

  2. Start from an .xlsx exported for that collection. Keep Metadata, all business sheets, and every header; follow Guide. Keep IDs as complete text, use true / false and the specified enum names, and avoid formulas or error cells. The file limit is 512 MiB, with at most 100000 object and relationship rows combined.

  3. Choose Import and inspect worksheet, original row, field, and reason code. Filter by sheet and added, overwritten, or unchanged action, then use View changes to compare original and imported configuration. Correct this workbook in Excel and upload it again.

    Role basics preview with one added row, one overwritten row, and retained counts, shown in the Chinese interface

    View changes comparing the original and imported description field in the Chinese interface

  4. Review added, overwritten, unchanged, and retained counts. Choose Confirm import after validation passes; overwrites require confirmation of their count. Wait for the result after submission. Closing the panel or losing connectivity does not undo saved configuration.

  5. If the outcome is uncertain, use Query commit result for the original plan. If configuration was saved but refresh is incomplete, use Retry refresh. Avoid submitting another copy of the file. Verify the resulting list and test affected accounts’ menus and operations.

For User roles and Role permissions, an object listed in the main sheet with no relationship details has its relationships cleared; objects outside the file are retained. Omitted menus and buttons are retained, but omitted localized names for a listed menu are removed. See Users, Roles, and Menus.

Imports require the corresponding operation permissions and enforce built-in administrator, system-menu, and recovery-account protections. Re-export and preview if objects, references, or the permission catalog changed. Keep the exported permission version in role-permission workbooks.

Verify a large point list

  1. Establish the target channel/device and verify one point.
  2. Use unique names and correctly incremented addresses in the current template.
  3. Check totals and every worksheet error; page one only shows its own records.
  4. Check first, middle, and last points for addresses, real values, and new sample times.
  5. Check name, address, and quality filters, then archive a full export.

For Modbus Int16, one element occupies one register, so addresses can increment from 40101 by one. Wider types such as Float need the appropriate span. Incrementing names does not increment addresses. A deliberately invalid association in an isolated sample can verify rejection; confirm totals before importing the corrected file.

Changing units or descriptions does not convert source values. Old values can remain after disabling; wait for new online samples after enabling again.

Troubleshooting

SymptomAction
Only fifty exported rowsCheck page size; use full export for a backup.
Devices validate but variables failCorrect device names, types, and addresses at the reported rows and revalidate. Every sheet must pass before confirmation.
Unexpected new objectsCheck whether intended updates used new names.
Copies have identical readingsCheck endpoints, station numbers, and addresses.
Unexpected disabled objectsCheck selection, enable fields, and parent channel state; restore the verified configuration.

See Channels, Devices, Collection variables, Collection Debugging, and Project Delivery.