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 (can be empty)true/false) |
Example:
View file | ||
---|---|---|
|
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
...