Programming
Installation Beginning with TwinCAT 2.11 Build 2229 (R3 and x64 Engineering), the library "TcDMX.lib" will be installed automatically. |
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):
- Standard.lib
- TcBase.lib
- TcSystem.lib
- TcUtilities.lib
For Bus Terminal Controller of BCxx00, BCxx50, BCxx20, BC9191 and BXxx00 series:
- not available
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.
- Overview function blocks
- FB_DMXDiscovery
- FB_DMXDiscovery512
- FB_DMXSendRDMCommand
- FB_EL6851Communication
- FB_EL6851CommunicationEx
- FB_DMXGetIdentifyDevice
- FB_DMXSetIdentifyDevice
- FB_DMXSetResetDevice
- FB_DMXDiscMute
- FB_DMXDiscUniqueBranch
- FB_DMXDiscUnMute
- FB_DMXGetLampHours
- FB_DMXGetLampOnMode
- FB_DMXSetLampHours
- FB_DMXSetLampOnMode
- FB_DMXGetDeviceInfo
- FB_DMXGetDeviceLabel
- FB_DMXGetDeviceModelDescription
- FB_DMXGetManufacturerLabel
- FB_DMXGetProductDetailIdList
- FB_DMXGetSoftwareVersionLabel
- FB_DMXSetDeviceLabel
- FB_DMXClearStatusId
- FB_DMXGetStatusIdDescription
- FB_DMXGetStatusMessages
- FB_DMXGetParameterDescription
- FB_DMXGetSupportedParameters
- FB_DMXGetSensorDefinition
- FB_DMXGetSensorValue
- FB_DMXGetDMX512PersonalityDescription
- FB_DMXGetDMX512StartAddress
- FB_DMXGetSlotDescription
- FB_DMXGetSlotInfo
- FB_DMXSetDMX512StartAddress
- Data types
- Error codes