CTH200 Series PLC User Manual
B Using CTH200 CPU Expansion Program Space
B.1 Function Introduction
The dynamic library function block is a special function provided by CTH200 CPU to expand the
user programming program space and increase program privacy. It is an independent program
block which is downloaded to PLC in advance and compiled to the program when the application
is downloaded.
B.2 Instruction
【Usable range of Dynamic Library】
CTH200CPU can load up to two dynamic libraries (" ct_lib1 "and" ct_lib2 "). The dynamic libraries
different CPUs support and their sizes are shown in table below:
【Create Dynamic Library】
In the project, create all the program blocks used as dynamic library, name it as ct_lib1 or ct_lib2,
download to the PLC, in the PLC will generate library function including all the subroutine blocks
in the project of the dynamic connection library.
【Download Dynamic Library】
Download dynamic library program that edited well to the PLC (as shown in the figure below), in
the PLC will generate a library function including all the subroutines in the project block dynamic
connection library.
Every time download a new dynamic library, the PLC original library and program block is
completely cleared. A dynamic library named ct_lib1 is generated in the PLC.