Get OPC DA Tag Value Integer

Retrieves the integer value associated with the specified tag from the SA OPC server’s address space.

 

Input Arguments

 

0

String

OPC Server DA Tag Name

The tag name associated with the data in the address space.

 

Return Arguments

 

1

Integer

Value

The value associated with the specified tag name.

 

Returned Status

 

SUCCESS

The value was retrieved successfully.

FAILURE

The OPC server is not running, or the specified tag does not exist in the server’s address space.

 

Remarks

If the address space does not contain a value with the specified tag, the command will fail.