Beckhoff Read Int By Name

Beckhoff Read Int By Name 1:

This block reads an 16-bit variable from a TwinCAT PLC and makes it available as an analog signal at the output.

Inputs

Command_Res         :  SERIAL;
Read            :  DIGITAL;

Command_Res: This signal is connected to the Command_Res output of the Beckhoff Communication or Beckhoff Communication 400 block. It is used for transferring feedback.

Read: The read command is activated via a rising edge at this input.

Outputs

Command_Req  :  SERIAL;
Busy         :  DIGITAL;
ErrorId      :  ANALOG;
Output       :  ANALOG;

Command_Req: This signal is connected to the Command_Req input of the Beckhoff Communication or Beckhoff Communication 400 block. It is used for transferring commands.

Busy: During the transfer the output is set and remains active until the signal has been read. During this time no further read commands can be activated via this block.

ErrorId: This analog signal contains the error code that may occur during command execution. If no error has occurred, this signal has the value 0.

Output: The value that was read is output via this analog signal.

Parameters

VariableName  :  SERIAL;
Timeout       :  ANALOG;

VariableName: Specifies the name of the variable to be read in the TwinCAT rPLC.

Timeout: Specifies the interval for awaiting a response. The unit is ms.

Development environment

Target platform

MP2E V4.001.1012(Feb 17 2009) Build 7

2 -Series with network interface