Drive programming using PC tools
31
Function blocks
The application program uses three types of function blocks: firmware function
blocks, standard function blocks and technology function blocks.
Firmware function blocks
Most of the firmware functions are represented as function blocks in the DriveSPC
tool. Firmware function blocks are part of the drive control firmware, and used as an
interface between the application and firmware programs. Drive parameters in
groups 10…99 are used as function block inputs and parameters in groups 1…9 as
function block outputs. Firmware function blocks are presented in chapter
Parameters and firmware blocks
Standard function blocks (library)
Standard function blocks (e.g. ADD, AND) are used to create an executable
application program. Blocks are based on the IEC-61131 standard. Standard
function blocks are presented in chapter
Standard function block library is always included in the drive delivery.
Technology function blocks
Several technology function block libraries are available for different types of
applications. One technology library can be used at a time. Technology blocks are
used in a similar way as the standard blocks.
Program execution
The application program is loaded to the permanent memory (non-volatile) of the
memory unit (JMU). The execution of the downloaded program starts after the next
reset of the drive control board. The program is executed in real time on the same
Central Processing Unit (CPU of the drive control board) as the drive firmware. The
program is executed with two cyclical tasks. The time level for these tasks can be
defined by the programmer (> 1ms).
Note:
Because the firmware and application programs use the same CPU, the
programmer must ensure that the drive CPU is not overloaded. See parameter
.
Summary of Contents for ACSM1 Series
Page 1: ...ACSM1 Firmware Manual ACSM1 Speed and Torque Control Program...
Page 2: ......
Page 4: ......
Page 12: ...Table of contents 12...
Page 49: ...Drive control and features 49...
Page 282: ...Standard function blocks 282...
Page 306: ...Application program template 306...
Page 312: ...Control chain block diagrams 312...
Page 331: ...331...
Page 332: ...332...
Page 333: ......