beckhoff TF6281 — 5.9 Data Table Read and Write

Configuration | Data Table Read and Write Writing a TwinCAT variable from the Allen-Bradley controller A similar procedure must be followed when writing. In this case, the MSG command must describe the Data Table Write. The source element is the variable in the Allen-Bradley controller. The Destination Element is the TwinCAT variable. Again, select the TwinCAT controller under Communication . The variable Test (on the AB side) is copied to the variable Test2 (on the Beckhoff side). Transferring STRING variables A STRING has a different data format on the Rockwell controller than on the TwinCAT controller.

The library Tc2_EthernetIP features a data structure called RSL5K_STRING , which facilitates the use of STRING. You must use this in order to be able to use STRING. The corresponding conversions are also available in the library. Only STRING with 82 characters or less may be used. Data Table READ/WRITE from the Beckhoff controller The PLC function block FB_CIP_DATA_TABLERDWR [ } 56] is used for DataTableRead/Write from the library Tc2_EthernetIP (see DataTableRDWR). The usage is very similar to that of the AB controller and is shown here as an example: TF6281 40 Version: 1.9.0