Import/Export problems
In PackOS besides adding problems manually we've got the possibility to import them from a prepared csv file. This allows you to speed up your configuration work with machines.
Schema:
WorkStateName (required) | Name (required) | RuleType | RuleBody (can be empty) | RulePriority (can be empty) | IsDefault (true/false) |
Example:
Column name | Type/values | Description |
---|---|---|
WorkStateName | One of: work, off, nolivedata, failure, idle, lack, holdup, inactive, stop, changeover | Required |
Name | text | Required |
RuleType | One of: event, csharp-event, csharp-event-timed, | Optional column Optional value In version: 3.14 and later Default: event Determines a format of the RuleBody:
|
RuleBody | text
| PackOS rule or C# expression as determined by RuleType. See above links. If there are multiple rows with the same Name and different RuleBody a single Problem will be created or updated and each listed rule will be added to the Problem |
RulePriority | number (integer) |
|
IsDefault | true/false |
|
Path: Plant configuration → Problems → select Line
Normal usage:
1. Export problems
2. Based on exported file, change or add The problem file (one or more records)
3. Import the new file
4. Import problems are being added
System will recognize if the problem exists already (then it will present an “updated“ message and replace the old data) or if it’s the new one, will add it to the direct problem list.