OPCRead

This block reads from a given node on an opc server.

    OPCRead

Library

Communicate

Parameters

OPCRead_0

NameLabelDescriptionData TypeValid 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

OPCRead_1

NameLabelDescriptionData TypeValid 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'
'int32'
'int16'
'int8'
'uint32'
'uint16'
'uint8'
'boolean'

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

output

1

Port 2

activation

input

1