Beckhoff Read Int

Beckhoff Read Int 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_Req 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_Res 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

IndexGroupLowWord    :  ANALOG;
IndexGroupHighWord   :  ANALOG;
IndexOffsetLowWord   :  ANALOG;
IndexOffsetHighWord  :  ANALOG;
Timeout              :  ANALOG;

IndexGroupLowWord: The low-order word of the Index Group.

IndexGroupHighWord: The high-order word of the Index Group.

IndexOffsetLowWord: The low-order word of the Index Offset.

IndexOffsetHighWord: The high-order word of the Index Offset.

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