Skip to content

On PanaCIM Request#

This Task is specific to be used with the PanaCIM Driver.

This Task receives request messages of a specific type, which can be configured in the Task's settings.

The Task's static and dynamic outputs are updated after each event received.

onpanacimrequest_parameters

Inputs#

Name Data Type Description
Activate Boolean Activates the task

Outputs#

Name Data Type Description
requestId string The RequestId of the message received
timestamp DateTime The timestamp for when the event is triggered
eventRawData any The raw automation event object
Success Boolean If there was no problem emits a true
Error Error Error that occurred during the processing of this task

Settings#

On the General Tab, you have the usual settings and the following settings:

Name Data Type Values Default Description
Auto Activate Boolean true If the event is activated by the register of an event of that type or if it is only activated by the activate input
Message Full Name string Identifier of the selected message in the PanaCIM specification, that is, the device ID of the event in the Automation Driver Definition, for example 500. It is filled automatically when you select the Message.
Message enum PCB-ID Request Specifies the behavior of the task

onpanacimrequest_settings

Behavior#

When activated, this Task subscribes to a specific request message, configured in the settings.

Every time a message is received (via request) it emits the respective results to its outputs.

When you select the Message in the settings, the Task generates one dynamic output for each property of the selected event, as defined in the Automation Driver Definition. The Property Name of each output is the device ID of the property, that is, the path of the value in the message XML (for example, Body.Pcb.Barcode). The driver uses the Property Name to retrieve the value from the request message. The event-specific path of the event property is not copied to the outputs, so to read a value from a different path, change the Property Name of the output. For the path resolution rule, see Connect IoT - PanaCIM.

Remarks#

None.