ReadMaster()

ReadMaster() 1:

This method finds a master value that corresponds to the specified slave value.

Syntax:

METHOD ReadMaster : HRESULT
VAR_INPUT
    fSlave:     LREAL;
    fMaster:    REFERENCE TO LREAL;
END_VAR

ReadMaster() 2: Return value

Name

Type

Description

ReadMaster

HRESULT

Return value with feedback on the success of the execution.

ReadMaster() 3: Inputs

Name

Type

Description

fSlave

LREAL

The specified slave value.

fMaster

REFERENCE TO LREAL

A reference to the variable to be updated with the master position.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher