Libraries overview

The TwinCAT automation software provides various libraries for Bus Terminal Controllers (Bus Couplers with PLC functionality) of the BC9050, BC9020 and BC9120 series (see Beckhoff Information System).

Download

The libraries are also included in this documentation. To extract the libraries, left-click on the link and copy the libraries to directory TwinCAT\PLC\LIB.

 

Libraries overview 4:

Use the library that matches the firmware

Always use the latest libraries in conjunction with the latest BC firmware. If you update the firmware of your Bus Terminal Controller, please also update the libraries. Copy the new libraries into the LIB folder, remove them from your project and re-insert them.

tcsystembcxx50
tcbasebcxx50
chrascbx

TcSystemBCxx50

ADS

Version

Firmware

BC9050

BC9020

BC9120

-

-

ADSREAD

 

B0

B0

B1

-

-

ADSWRITE

 

B0

B0

B1

-

ADSRDWRT

 

B0

B0

B1

-

-

ADSWRTCTL

 

B0

B0

B1

-

-

ADSRDSTATE

 

B0

B0

B1

-

-

ADSRDDEVINFO

 

B0

B0

B1

-

-

Bit Functions

Version

Firmware

BC9050

BC9020

BC9120

-

-

CLEARBIT32

 

B0

B0

B1

-

-

CSETBIT32

 

B0

B0

B1

-

-

GETBIT32

 

B0

B0

B1

-

-

SETBIT32

 

B0

B0

B1

-

-

Controller

Version

Firmware

BC9050

BC9020

BC9120

-

-

FB_BasicPID

-

B0

B0

B1

-

-

-

-

-

-

-

-

-

File Access

Version

Firmware

BC9050

BC9020

BC9120

-

-

FB_ReadFromFile

 

-

-

-

-

-

FB_WriteToFile

 

-

-

-

-

-

FB_ReadWriteFile

 

-

-

-

-

-

Memory Functions

Version

Firmware

BC9050

BC9020

BC9120

-

-

MEMCMP

 

B0

B0

B1

-

-

MEMCYP

 

B0

B0

B1

-

-

MEMMOVE

 

B0

B0

B1

-

-

MEMSET

 

B0

B0

B1

-

-

NOVRAM Functions

Version

Firmware

BC9050

BC9020

BC9120

-

-

-

-

-

-

-

-

-

SFC

Version

Firmware

BC9050

BC9020

BC9120

-

-

AnalyzeExpression

 

-

-

-

-

-

AppendErrorString

 

-

-

-

-

-

SFCActionControl

 

-

-

-

-

-

System / Time / TBus

Version

Firmware

BC9050

BC9020

BC9120

-

-

DRAND

 

B0

B0

B1

-

-

SYSTEMTIME_TO_DT

 

B0

B0

B1

-

-

DT_TO_SYSTEMTIME

 

B0

B0

B1

-

-

GetSysTick

 

B0

B0

B1

-

-

PresetSysTick

 

B0

B0

B1

-

-

Reboot

 

B0

B0

B1

-

-

Debug

Version

Firmware

BC9050

BC9020

BC9120

-

-

F_ReadDebugTimer

 

B0

B0

B1

-

-

F_StartDebugTimer

 

B0

B0

B1

-

-