Loading...
The Serial Link output node connects to a Serial Link device via TCP. Incoming values can be compared to send ASCII or Byte packets to any of the four serial ports of the connected Serial Link. All 24 GPI contact closures can be mapped and assigned to input values as well 0 is off, 1 is contact closed.
A TCP Connection to the Serial Link has to be established before using this node.
This node can be found under Nodes > Output > Connections > Serial Link
TCP Connection ID:
Enter the TCP Connection ID. The TCP Connections can be found and setup in the Connection Manager.
Update:
Choose if the output should be updated either On Change of Input Value Only or permanently. Please note that permanently updated values draw a lot of performance.
If:
Choose the first input node from the drop-down or enter a numeric value. This input will be compared to the second input.
Choose the Operator.
Choose the second input node from the drop-down or enter a numeric value.
Then send:
If the operation is True, the True script will be executed. You have the possibility to assign a different true send command for each Serial Link port. The topic Script Language explains commands and how to use them in more detail.
See here a list of all commands.
Else send:
If the operation is False, the Else script will be executed. You have the possibility to assign a different else send command for each Serial Link port.
GPI Outputs:
All 24 GPI contact closures can be mapped and assigned to input values as well 0 is off, 1 is contact closed.
With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).
Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).