Programming

Programming 1:

Installation

Beginning with TwinCAT 2.11 Build 2229 (R3 and x64 Engineering), the library "TcDMX.lib" will be installed automatically.

Programming 2:

Name of the library

This library replaces the "TcEL6851.lib".

Hardware documentation in Beckhoff Information System: EL6851 - DMX Master/Slave Terminal

Further libraries are required

For PC systems (x86) and Embedded-PCs (CXxxxx):

For Bus Terminal Controller of BCxx00, BCxx50, BCxx20, BC9191 and BXxx00 series:

Programming 3:

Memory usage

By linking the library PLC program memory is already consumed. Depending on the application program the remaining memory cannot be sufficient.

The use of the TwinCAT libraries is recommended both for the RDM protocol and also for the transmission of the cyclic process data to the DMX slaves. Examples of both variants can be found in the appendix.

Description of the Library

Only one block is required for basic communication. The FB_EL6851CommunicationEx takes over communication with the EL6851. This block can be used to switch between the RDM and the DMX protocols. If the DMX protocol is in use, then no RDM communication can take place and vice versa.