Skip to main content
Version: 3.0

Opto 22 Nodes

Read and write Opto 22 points from a pipeline, using the functions saved on an Opto 22 connection.

Needs
Saved Opto 22 connection
Output
Typed values by point name
Limits
Uncertain writes are not repeated

Parameters Tab​

Select a saved Opto 22 connection and function. Configure addresses and values in the connection guide. Writes require current inputs; uncertain writes are not automatically repeated.

Settings Tab​

The Settings tab holds the node's Description, Timeout (seconds), Retry on Timeout, Retry on Fail and On Error (Pipeline Default, Stop Pipeline or Continue Execution). All execution settings default to the pipeline-level values.

Opto 22 Read Node​

Node type: connected.opto22.read. Runs opto22.read.

{"result":{"count":2,"values":{"pump":true,"level":512},"quality":"good","totalDataPoints":2,"totalReads":1}}
FieldMeaning
result.countNumber of decoded points
result.valuesTyped values by point name; LINT values are decimal strings
result.qualitygood; a failed read fails the node
result.totalDataPointsRequested point count
result.totalReadsRead requests made

Opto 22 Write Node​

Node type: connected.opto22.write. Runs opto22.write.

{"result":{"address":"SPB7","dataType":"BIT","value":true}}
FieldMeaning
result.addressAddress written
result.dataTypeType of the address
result.valueValue written; LINT values are decimal strings