POUs of TcNcDrive.lib
This library contains functions and functionblocks for SoE-drives. The access to the drive is done via NC-Axis-Reference (NC_TO_PLC).
The TcNcDrive.lib contains Wrapper-FBs around the FBs of the TcDrive.lib.
There are differences in the usage of the Drive libs in combination with AX5000 and with Bosch Rexroth IndraDriveCS. See samples.
TcNcDrive.lib
The TcNcDrive.lib should be used, if the drive is used with the NC via FBs of the libraries TcNc.lib or TcMc.lib. The FBs of the TcNcDrive.lib use the information of the NC-Axis structure (NC_TO_PLC), that are also used by the FBs of the TcNc.lib or TcMc.lib. The FBs determine via the Nc-AxisID of the NC_TO_PLC structure the access data to the drive (NetID, address and channel number). See samples of the FBs in the documentation of the TcNcDrive.lib.
The function blocks FB_SoERead and FB_SoEWrite can be used to access any parameter in the drive, that have no special acces FB. |
Functions
Name | Description |
---|---|
This function can be used to read the version information of the PLC library. | |
F_ConvWordToSTAX5000C1D | See documentation of TcDrive.lib
Converts the C1D-Word (S-0-0011) of an AX5000 to a structure ST_AX5000_C1D |
Functionblocks
Name | Description |
---|---|
Execute drive reset (S-0-0099) | |
Set drive password (S-0-0267) | |
|
|
Read diagnostic message (S-0-0095) | |
Read diagnostic number (S-0-0390) | |
Read diagnostic number list (up to 30 entries) (S-0-0375) | |
Read class 1 diag (S-0-0011) ... class 3 diag (S-0-0013) | |
|
|
Execute command | |
Set command control | |
Read command state | |
|
|
Read parameter | |
Write parameter | |
|
|
Read amplifier temperature (S-0-0384) | |
Read motor temperature (S-0-0383) | |
Read Dc-Bus-current (S-0-0381) | |
Read Dc-Bus-Voltage (S-0-0380) | |
|
|
Read main voltage (P-0-0200) | |
Set motor control word to override brake handling (P-0-0096) | |
Automatic firmware update of AX5000 |
Requirements
Component | Version |
---|---|
TwinCAT on the development PC | 2.10 Build 1335 or higher |
TwinCAT on the Windows CE-Image | 2.10 Build 1333 or higher |
TwinCAT on the Windows XP-Image | 2.10 Build 1333 or higher |