OPCRead
This block reads from a given node on an opc server.
Library
Communicate
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
hostname | Hostname | Defines the server's IP address | String | |
port | Port | Defines the port number to use | Scalar | |
username | Username | Defines the username for authentication. | String | |
password | Password | Defines the password for authentication. | Vector | |
tagname | Tag name | Defines the tag name, the value will be read from that tag. | String |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
outports | Output ports | Defines the data type and size for each output. | Structure | |
outports/rowsize | Row size | Defines the row size for each output. | Cell of scalars | |
outports/colsize | Column size | Defines the column size for each output. | Cell of scalars | |
outports/datatype | Data Type | Defines the data type for each output. | Cell of strings | 'double' |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | output | 1 | |
Port 2 | activation | input | 1 |