TwinCAT3 库功能块与函数大全 百晓生知识引擎整理

更详细的库、功能块介绍文件,找BestMrRight交流。
ST程序自动校注工程
在这里插入图片描述

\TwinCAT_3_PLC_Lib_Tc2_DALI_EN.txt
4.1 POUs
4.1.1 High-Level commands
4.1.2 Low-Level commands
4.1.3 Third-party function blocks
4.1.4 Error codes
4.1.5 [obsolete]
4.2 DUTs
4.2.1 Enums
4.2.2 Structures
4.2.3 [Obsolet]
4.3 Integration into TwinCAT
4.3.1 KL6821 with PC system (CX5120)
5.1 Support and Service
在这里插入图片描述

\TwinCAT_3_PLC_Lib_Tc2_DataExchange_EN.txt
3.1 FB_ReadAdsSymByName
3.2 FB_WriteAdsSymByName
3.3 FB_WriteBoolOnDelta
3.4 FB_WriteByteOnDelta
3.5 FB_WriteWordOnDelta
3.6 FB_WriteDWordOnDelta
3.7 FB_WriteRealOnDelta
3.8 FB_WriteLRealOnDelta
4.1 FB_CheckWatchdog
4.2 FB_WriteWatchdog
5.1 E_AdsComMode
6.1 Library version

\TwinCAT_3_PLC_Lib_Tc2_DMX_EN.txt
4.1 POUs
4.1.1 High Level
4.1.2 Low Level
4.1.3 Error codes
4.2 DUTs
4.2.1 Enums
4.2.2 Structures
4.3 Integration into TwinCAT
4.3.1 EL6851 with CX5120
5.1 Example: Configuration by RDM
5.2 Example: DMX master
5.3 Example: DMX slave
5.4 Support and Service

\TwinCAT_3_PLC_Lib_Tc2_EtherCAT_EN.txt
3.1 FB_EcCoeSdoRead
3.2 FB_EcCoeSdoReadEx
3.3 FB_EcCoeSdoWrite
3.4 FB_EcCoeSdoWriteEx
3.5 FB_CoERead_ByDriveRef
3.6 FB_CoEWrite_ByDriveRef
4.1 FB_EcPhysicalReadCmd
4.2 FB_EcPhysicalWriteCmd
4.3 FB_EcLogicalReadCmd
4.4 FB_EcLogicalWriteCmd
5.1 FB_EcGetAllSlaveAbnormalStateChanges
5.2 FB_EcGetAllSlaveAddr
5.3 FB_EcGetAllCrcErrors
5.4 FB_EcGetAllSlavePresentStateChanges
5.5 FB_EcGetConfSlaves
5.6 FB_EcGetLastProtErrInfo
5.7 FB_EcGetMasterDevState
5.8 FB_EcGetScannedSlaves
5.9 FB_EcGetSlaveCount
5.10 FB_EcGetSlaveCrcError
5.11 FB_EcGetSlaveCrcErrorEx
5.12 FB_EcGetSlaveIdentity
5.13 FB_EcGetSlaveTopologyInfo
5.14 FB_EcMasterFrameCount
5.15 FB_EcMasterFrameStatistic
5.16 FB_EcMasterFrameStatisticClearCRC
5.17 FB_EcMasterFrameStatisticClearFrames
5.18 FB_EcMasterFrameStatisticClearTxRxErr
5.19 F_CheckVendorId
6.1 FB_EcGetAllSlaveStates
6.2 FB_EcGetMasterState
6.3 FB_EcGetSlaveState
6.4 FB_EcReqMasterState
6.5 FB_EcReqSlaveState
6.6 FB_EcSetMasterState
6.7 FB_EcSetSlaveState
7.1 FB_EcFoeAccess
7.2 FB_EcFoeClose
7.3 FB_EcFoeLoad
7.4 FB_EcFoeOpen
8.1 FB_EcSoeRead
8.2 FB_EcSoeWrite
8.3 FB_SoERead_ByDriveRef
8.4 FB_SoEWrite_ByDriveRef
9.1 F_ConvBK1120CouplerStateToString
9.2 F_ConvMasterDevStateToString
9.3 F_ConvProductCodeToString
9.4 F_ConvSlaveStateToString
9.5 F_ConvSlaveStateToBits
9.6 F_ConvSlaveStateToBitsEx
9.7 F_ConvStateToString
10.1 DCTIME32
10.1.1 ConvertDcTimeToPos
10.1.2 ConvertPosToDcTime
10.1.3 ConvertDcTimeToPathPos
10.1.4 ConvertPathPosToDcTime
10.2 DCTIME64
10.2.1 DCTIME_TO_DCTIME64
10.2.2 DCTIME64_TO_DCTIME
10.2.3 DCTIME64_TO_DCTIMESTRUCT
10.2.4 DCTIME64_TO_FILETIME
10.2.5 DCTIME64_TO_STRING
10.2.6 DCTIME64_TO_SYSTEMTIME
10.2.7 DCTIMESTRUCT_TO_DCTIME64
10.2.8 FILETIME_TO_DCTIME64
10.2.9 STRING_TO_DCTIME64
10.2.10 SYSTEMTIME_TO_DCTIME64
10.2.11 FB_EcDcTimeCtrl64
10.3 DCTIME64 and ULINT
10.3.1 F_ConvExtTimeToDcTime64
10.3.2 F_ConvTcTimeToDcTime64
10.3.3 F_ConvTcTimeToExtTime64
10.3.4 F_GetActualDcTime64
10.3.5 F_GetCurDcTaskTime64
10.3.6 F_GetCurDcTickTime64
10.3.7 F_GetCurExtTime64
10.3.8 FB_EcExtSyncCalcTimeDiff64
10.3.9 FB_EcExtSyncCheck64
10.4 [outdated DCTIME]
10.4.1 DCTIME_TO_DCTIMESTRUCT
10.4.2 DCTIME_TO_FILETIME
10.4.3 DCTIME_TO_STRING
10.4.4 DCTIME_TO_SYSTEMTIME
10.4.5 DCTIMESTRUCT_TO_DCTIME
10.4.6 FILETIME_TO_DCTIME
10.4.7 STRING_TO_DCTIME
10.4.8 SYSTEMTIME_TO_DCTIME
10.4.9 FB_EcDcTimeCtrl
10.5 [outdated DCTIME and T_LARGE_INTEGER]
10.5.1 F_ConvExtTimeToDcTime
10.5.2 F_ConvTcTimeToDcTime
10.5.3 F_ConvTcTimeToExtTime
10.5.4 F_GetActualDcTime
10.5.5 F_GetCurDcTaskTime
10.5.6 F_GetCurDcTickTime
10.5.7 F_GetCurExtTime
10.5.8 FB_EcExtSyncCalcTimeDiff
10.5.9 FB_EcExtSyncCheck
12.1 F_GetVersionTcEtherCAT
13.1 E_EcAdressingType
13.2 E_EcFoeMode
13.3 E_EcMbxProtType
13.4 ST_EcCrcError
13.5 ST_EcCrcErrorEx
13.6 ST_EcLastProtErrInfo
13.7 ST_EcMasterStatistic
13.8 ST_EcSlaveConfigData
13.9 ST_EcSlaveIdentity
13.10 ST_EcSlaveScannedData
13.11 ST_EcSlaveState
13.12 ST_EcSlaveStateBits
13.13 ST_EcSlaveStateBitsEx
13.14 ST_PortAddr
13.15 ST_TopologyDataEx
13.16 DCTIMESTRUCT
13.17 T_DCTIME32
13.18 T_DCTIME64
13.19 T_DCTIME
13.20 T_HFoe
14.1 Global constants
14.2 Library version
14.3 EtherCAT mailbox protocol error codes

\TwinCAT_3_PLC_Lib_Tc2_GENIbus_EN.txt
3.1 Device addressing
4.1 Integration into TwinCAT
4.1.1 KL6041 with CX5120
4.2 POUs
4.2.1 Base
4.2.2 Basic commands
4.2.3 Pumps
4.2.4 Error codes
4.3 DUTs
4.3.1 Enums
4.3.2 Structures
5.1 Support and Service

\TwinCAT_3_PLC_Lib_Tc2_IoFunctions_EN.txt
3.1 General IO FBs
3.1.1 IOF_DeviceReset
3.1.2 IOF_GetBoxAddrByName
3.1.3 IOF_GetBoxAddrByNameEx
3.1.4 IOF_GetBoxCount
3.1.5 IOF_GetBoxNameByAddr
3.1.6 IOF_GetBoxNetId
3.1.7 IOF_GetDeviceCount
3.1.8 IOF_GetDeviceIDByName
3.1.9 IOF_GetDeviceIDs
3.1.10 IOF_GetDeviceInfoByName
3.1.11 IOF_GetDeviceName
3.1.12 IOF_GetDeviceNetId
3.1.13 IOF_GetDeviceType
3.2 ASI master terminal
3.2.1 Overview
3.2.2 FB_ASI_Addressing
3.2.3 FB_ASI_SlaveDiag
3.2.4 FB_ASI_ReadParameter
3.2.5 FB_ASI_WriteParameter
3.2.6 FB_ASI_Processdata_digital
3.2.7 FB_ASI_ParameterControl
3.2.8 FB_ReadInput_analog
3.2.9 FB_WriteOutput_analog
3.3 AX200x Profibus
3.3.1 Overview
3.3.2 FB_AX2000_AXACT
3.3.3 FB_AX2000_JogMode
3.3.4 FB_AX2000_Parameter
3.3.5 FB_AX2000_Reference
3.3.6 FB_AX200X_Profibus
3.4 Beckhoff Lightbus
3.4.1 IOF_LB_BreakLocationTest
3.4.2 IOF_LB_ParityCheck
3.4.3 IOF_LB_ParityCheckWithReset
3.5 Beckhoff UPS (configured with Windows UPS Service
3.5.1 FB_GetUPSStatus
3.6 Bus Terminal configuration
3.6.1 FB_KL1501Config
4 Version: 1.4 PLC Lib: Tc2_IoFunctions
3.6.2 FB_KL27x1Config
3.6.3 FB_KL320xConfig
3.6.4 FB_KL3208Config
3.6.5 FB_KL3228Config
3.7 CANopen
3.7.1 IOF_CAN_Layer2Command
3.8 NOV/DP-RAM
3.8.1 FB_NovRamReadWrite
3.8.2 FB_NovRamReadWriteEx
3.8.3 FB_GetDPRAMInfo
3.8.4 FB_GetDPRAMInfoEx
3.9 Profibus DPV1 (Sinamics)
3.9.1 F_CreateDpv1ReadReqPkg
3.9.2 F_CreateDpv1WriteReqPkg
3.9.3 F_SplitDpv1ReadResPkg
3.9.4 F_SplitDpv1WriteResPkg
3.9.5 FB_Dpv1Read
3.9.6 FB_Dpv1Write
3.10 Profinet DPV1 (Sinamics)
3.10.1 F_CreateDpv1ReadReqPkgPNET
3.10.2 F_CreateDpv1WriteReqPkgPNET
3.10.3 F_SplitDpv1ReadResPkgPNET
3.10.4 F_SplitDpv1WriteResPkgPNET
3.10.5 FB_Dpv1ReadPNET
3.10.6 FB_Dpv1WritePNET
3.11 RAID Controller
3.11.1 FB_RAIDFindCntlr
3.11.2 FB_RAIDGetInfo
3.11.3 FB_RAIDGetStatus
3.12 SERCOS
3.12.1 IOF_SER_GetPhase
3.12.2 IOF_SER_SaveFlash
3.12.3 IOF_SER_ResetErr
3.12.4 IOF_SER_SetPhase
3.12.5 IOF_SER_IDN_Read
3.12.6 IOF_SER_IDN_Write
3.12.7 IOF_SER_DRIVE_Backup
3.12.8 IOF_SER_DRIVE_BackupEx
3.12.9 IOF_SER_DRIVE_Reset
3.13 Third party devices
3.13.1 Phoenix IBS SC/I-T
3.13.2 ads-tec
4.1 [Obsolete]
4.1.1 F_GetVersionTcIoFunctions
4.1.2 F_GetVersionRAIDController
PLC Lib: Tc2_IoFunctions Version: 1.4 5
5.1 E_PD_Dpv1Error
5.2 E_BatteryStatus
5.3 E_PD_Datatype
5.4 E_RAIDDriveStatus
5.5 E_RAIDDriveUsage
5.6 E_RAIDStatus
5.7 E_RAIDType
5.8 E_SercosAttribLen
5.9 E_SercosAttribType
5.10 E_UpsCommStatus
5.11 E_UpsPowerStatus
5.12 IODEVICETYPES
5.13 ST_AdsTecSysData
5.14 ST_Dpv1ParamAddrEx
5.15 ST_Dpv1ValueHeaderEx
5.16 ST_NovRamAddrInfo
5.17 ST_NovRamAddrInfoEx
5.18 ST_Parameter_IN
5.19 ST_Parameter_OUT
5.20 ST_ParameterBuffer
5.21 ST_PD_Dpv1Error
5.22 ST_PNET_CCDSTS
5.23 ST_PNIOConfigRecord
5.24 ST_PNIORecord
5.25 ST_PNIOState
5.26 ST_PZD_IN
5.27 ST_PZD_OUT
5.28 ST_RAIDCntlrFound
5.29 ST_RAIDConfigReq
5.30 ST_RAIDDriveStatus
5.31 ST_RAIDInfo
5.32 ST_RAIDStatusRes
5.33 ST_SercosParamAttrib
5.34 ST_SercosParamErrList
5.35 ST_SercosParamList
5.36 ST_UPSStatus
5.37 ST_KL1501InData
5.38 ST_KL1501OutData
5.39 ST_KL27x1InData
5.40 ST_KL27x1OutData
5.41 ST_KL320xInData
5.42 ST_KL320xOutData
5.43 ST_KL3208InData
5.44 ST_KL3208OutData
5.45 ST_KL3228InData
5.46 ST_KL3228OutData
6.1 Library version
7.1 SERCOS file format of the backup file
7.2 AX200x Profibus Parameter Number
7.3 Errorcodes
7.4 ADS Return Codes

\TwinCAT_3_PLC_Lib_Tc2_MBus_EN.txt
3.1 Topology
3.2 Bulletin
3.2.1 Functionality of the function block
3.2.2 Long set
3.2.3 Primary address
3.2.4 Secondary address
4.1 POUs
4.1.1 FB_MBUSKL6781
4.1.2 ABB overview
4.1.3 Actaris overview
4.1.4 Aquametro overview
4.1.5 Berg overview
4.1.6 Brunata overview
4.1.7 Carlo Gavazzi overview
4.1.8 Cynox
4.1.9 Elster overview
4.1.10 elvaco overview
4.1.11 EMH overview
4.1.12 EMU overview
4.1.13 Engelmann overview
4.1.14 General device blocks
4.1.15 Gossen Metrawatt overview
4.1.16 GWF overview
4.1.17 Hydrometer overview
4.1.18 ista overview
4.1.19 Itron
4.1.20 Janitza overview
4.1.21 Kamstrup overview
4.1.22 Kundo overview
4.1.23 Landis & Gyr overview
4.1.24 Metrima overview
4.1.25 NZR overview
4.1.26 OPTEC overview
4.1.27 Relay overview
4.1.28 Saia-Burgess overview
4.1.29 Schlumberger overview
4.1.30 Schneider Electric
4.1.31 Sensus overview
4.1.32 Sontex overview
4.1.33 TIP
4.1.34 Zenner overview
4.1.35 Error codes
4.2 DUTs
4.2.1 Enums
4.2.2 Structures
4.3 GLVs
4.3.1 Globale_Variablen_MBUS
4.4 Integration into TwinCAT
4.4.1 KL6781 with CX5120
5.1 Support and Service

\TwinCAT_3_PLC_Lib_Tc2_MC2_Drive_EN.txt
3.1 General SoE
3.1.1 FB_SoEReset
3.1.2 FB_SoEWritePassword
3.1.3 FB_SoESetDataAccessMode
3.1.4 Function blocks for command
3.1.5 Function blocks for diagnostics
3.1.6 Function blocks for determining current values
3.2 General CoE
3.2.1 Function blocks for determining current values
3.2.2 Function blocks for command
3.3 AX5000 SoE
3.3.1 FB_SoEAX5000ReadActMainVoltage
3.3.2 FB_SoEAX5000SetMotorCtrlWord
3.3.3 FB_SoEAX5000FirmwareUpdate
3.3.4 FB_SoEAX5000SetPositionOffset
3.3.5 FB_SoEAX5000DeletePositionOffset
3.4 F_GetVersionTcMc2Drive
3.5 AX8000 CoE
3.5.1 FB_CoEAX8000SetPositionOffset
3.5.2 FB_CoEAX8000DeletePositionOffset
3.6 EL72xx CoE
3.6.1 FB_CoEEL72xxSetPositionOffset
3.6.2 FB_CoEEL72xxDeletePositionOffset
4.1 E_FwUpdateState
4.2 E_PositionOffsetMemory
4.3 E_PositionOffsetFeedback
4.4 E_DriveErrorCodes
5.1 SoE Parameter Access

\TwinCAT_3_PLC_Lib_Tc2_MC2_EN.txt
5.1 Axis functions
5.1.1 MC_Power
5.1.2 MC_Reset
5.1.3 MC_SetPosition
5.2 Status and parameter
5.2.1 MC_ReadActualPosition
5.2.2 MC_ReadActualVelocity
5.2.3 MC_ReadAxisComponents
5.2.4 MC_ReadAxisError
5.2.5 MC_ReadBoolParameter
5.2.6 MC_ReadParameter
5.2.7 MC_ReadParameterSet
5.2.8 MC_ReadStatus
5.2.9 MC_WriteBoolParameter
5.2.10 MC_WriteParameter
5.2.11 MC_WriteBoolParameterPersistent
5.2.12 MC_WriteParameterPersistent
5.3 Touch probe
5.3.1 MC_TouchProbe
5.3.2 MC_AbortTrigger
5.4 External set value generator
5.4.1 MC_ExtSetPointGenEnable
5.4.2 MC_ExtSetPointGenDisable
5.4.3 MC_ExtSetPointGenFeed
5.5 Special extensions
5.5.1 MC_OverrideFilter
5.5.2 MC_SetOverride
5.5.3 MC_SetEncoderScalingFactor
5.5.4 MC_ReadDriveAddress
5.5.5 MC_PositionCorrectionLimiter
5.5.6 MC_SetAcceptBlockedDriveSignal
5.5.7 MC_SelectControlLoop
6.1 Point to point motion
6.1.1 MC_MoveAbsolute
6.1.2 MC_MoveRelative
6.1.3 MC_MoveAdditive
6.1.4 MC_MoveModulo
6.1.5 Notes on modulo positioning
6.1.6 MC_MoveVelocity
6.1.7 MC_MoveContinuousAbsolute
6.1.8 MC_MoveContinuousRelative
6.1.9 MC_Halt
6.1.10 MC_Stop
6.2 Superposition
6.2.1 MC_MoveSuperimposed
6.2.2 Application examples for MC_MoveSuperimposed
6.2.3 MC_AbortSuperposition
6.3 Homing
6.3.1 MC_Home
6.4 Manual motion
6.4.1 MC_Jog
6.5 Axis coupling
6.5.1 MC_GearIn
6.5.2 MC_GearInDyn
6.5.3 MC_GearOut
6.5.4 MC_GearInMultiMaster
6.6 Phasing
6.6.1 MC_HaltPhasing
6.6.2 MC_PhasingAbsolute
6.6.3 MC_PhasingRelative
7.1 Axis interface
7.1.1 AXIS_REF
7.1.2 NCTOPLC_AXIS_REF
7.1.3 NCTOPLC_AXIS_REF_OPMODE
7.1.4 NCTOPLC_AXIS_REF_STATE
7.1.5 NCTOPLC_AXIS_REF_STATE2
7.1.6 NCTOPLC_AXIS_REF_STATE2_FLAGS
7.1.7 NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE
7.1.8 PLCTONC_AXIS_REF
7.1.9 PLCTONC_AXIS_REF_CTRL
7.2 Motion
7.2.1 E_JogMode
7.2.2 E_SuperpositionMode
7.2.3 MC_AxisStates
7.2.4 MC_BufferMode
7.2.5 MC_Direction
7.2.6 MC_HomingMode
7.2.7 ST_AxisOpModes
7.2.8 ST_SuperpositionOptions
7.2.9 ST_MoveOptions
7.3 Status and parameter
7.3.1 E_ReadMode
7.3.2 MC_AxisParameter
7.3.3 ST_AxisParameterSet
7.3.4 ST_AxisStatus
7.3.5 ST_DriveAddress
7.3.6 ST_PowerStepperStruct
7.3.7 E_AxisPositionCorrectionMode
7.4 External set value generator
7.4.1 E_PositionType
7.5 Touch probe
7.5.1 TRIGGER_REF
7.5.2 MC_TouchProbeRecordedData
8.1 Library version
10.1 Support and Service

\TwinCAT_3_PLC_Lib_Tc2_MDP_EN.txt
4.1 Generic
4.1.1 Advanced
4.1.2 FB_MDP_ReadElement
4.1.3 FB_MDP_ReadModule
4.1.4 FB_MDP_ReadModuleContent
4.1.5 FB_MDP_ReadModuleHeader
4.1.6 FB_MDP_ScanModules
4.1.7 FB_MDP_SplitErrorId
4.2 Specific
4.2.1 FB_MDP_CPU_Read
4.2.2 FB_MDP_Device_Read_DevName
4.2.3 FB_MDP_IdentityObj_Read
4.2.4 FB_MDP_NIC_Read
4.2.5 FB_MDP_NIC_Write_IP
4.2.6 FB_MDP_SiliconDrive_Read
4.2.7 FB_MDP_SW_Read_MdpVersion
4.2.8 FB_MDP_TwinCAT_Read
5.1 General data types
5.1.1 E_MDP_AddrArea
5.1.2 E_MDP_ModuleType
5.1.3 ST_MDP_Addr
5.1.4 ST_MDP_ModuleHeader
5.2 Structures specific MDP modules
5.2.1 ST_MDP_CPU
5.2.2 ST_MDP_IdentityObject
5.2.3 ST_MDP_NIC_Properties
5.2.4 ST_MDP_SiliconDrive
5.2.5 ST_MDP_TwinCAT
6.1 Global_Version
7.1 Error codes overview
7.2 E_MDP_ErrGroup
7.3 E_MDP_ErrCodesPLC

\TwinCAT_3_PLC_Lib_Tc2_MPBus_EN.txt
3.1 Topology
4.1 POUs
4.1.1 Function blocks
4.1.2 Functions
4.1.3 Error codes
4.2 DUTs
4.2.1 Enums
4.2.2 Structures
4.3 Integration into TwinCAT
4.3.1 KL6771 with CX5120
5.1 Support and Service

\TwinCAT_3_PLC_Lib_Tc2_SMI_EN.txt
3.1 Device addressing
4.1 POUs
4.1.1 Base
4.1.2 Basic commands
4.1.3 Addressing commands
4.1.4 System commands
4.1.5 Error codes
4.2 DUTs
4.2.1 Enums
4.2.2 Structures
4.3 Integration into TwinCAT
4.3.1 KL6831 with CX5120
5.1 Example: Configuration of SMI devices
5.2 Manufacturer codes
5.3 Support and Service

\TwinCAT_3_PLC_Lib_Tc2_SUPS_EN.txt
4.1 CB3011
4.1.1 FB_S_UPS_CB3011
4.2 CX50x0
4.2.1 FB_S_UPS
4.3 CX51x0
4.3.1 FB_S_UPS_CX51x0
4.4 CX9020-U900
4.4.1 FB_S_UPS_CX9020_U900
4.5 BAPI
4.5.1 FB_S_UPS_BAPI
4.6 FB_NT_QuickShutdown
5.1 [Obsolete]
5.1.1 F_GetVersionTcSUPS
6.1 E_S_UPS_Mode
6.2 E_S_UPS_State
7.1 Library version

\TwinCAT_3_PLC_Lib_Tc2_System_EN.txt
3.1 General function blocks
3.1.1 DRAND
3.1.2 FB_IecCriticalSection
3.1.3 FB_SetLedColor_BAPI
3.1.4 GETCURTASKINDEX
3.2 ADS function blocks
3.2.1 ADSREAD
3.2.2 ADSREADEX
3.2.3 ADSWRITE
3.2.4 ADSRDWRT
3.2.5 ADSRDWRTEX
3.2.6 ADSRDSTATE
3.2.7 ADSWRTCTL
3.2.8 ADSRDDEVINFO
3.3 Expanded ADS function blocks
3.3.1 Overview
3.3.2 ADSREADIND
3.3.3 ADSWRITEIND
3.3.4 ADSRDWRTIND
3.3.5 ADSREADRES
3.3.6 ADSWRITERES
3.3.7 ADSRDWRTRES
3.4 File function blocks
3.4.1 FB_EOF
3.4.2 FB_FileOpen
3.4.3 FB_FileClose
3.4.4 FB_FileLoad
3.4.5 FB_FileGets
3.4.6 FB_FilePuts
3.4.7 FB_FileRead
3.4.8 FB_FileWrite
3.4.9 FB_FileSeek
3.4.10 FB_FileTell
3.4.11 FB_FileDelete
3.4.12 FB_FileRename
3.4.13 FB_CreateDir
3.4.14 FB_RemoveDir
3.5 EventLogger function blocks
3.5.1 ADSLOGEVENT
3.5.2 ADSCLEAREVENTS
3.5.3 FB_SimpleAdsLogEvent
3.6 IEC steps / SFC flags function blocks
3.6.1 AnalyzeExpression
3.6.2 AnalyzeExpressionTable
3.6.3 AnalyzeExpressionCombined
3.6.4 AppendErrorString
3.6.5 SFCActionControl
3.7 Watchdog function blocks
3.7.1 FB_PcWatchdog
3.7.2 FB_PcWatchDog_BAPI
3.8 Time function blocks
3.8.1 GETCPUACCOUNT
3.8.2 GETCPUCOUNTER
4.1 General functions
4.1.1 F_CheckMemoryArea
4.1.2 F_CmpLibVersion
4.1.3 F_CreateIPv4Addr
4.1.4 F_ScanIPv4AddrIds
4.1.5 F_GetCpuCoreIndex
4.1.6 F_GetCpuCoreInfo
4.1.7 F_GetMappingPartner
4.1.8 F_GetMappingStatus
4.1.9 F_GetStructMemberAlignment
4.1.10 F_GetTaskTotalTime
4.1.11 F_SplitPathName
4.1.12 SETBIT32
4.1.13 CSETBIT32
4.1.14 GETBIT32
4.1.15 CLEARBIT32
4.1.16 GETCURTASKINDEXEX
4.1.17 LPTSIGNAL
4.1.18 TestAndSet
4.2 ADS functions
4.2.1 ADSLOGDINT
4.2.2 ADSLOGLREAL
4.2.3 ADSLOGSTR
4.2.4 F_CreateAmsNetId
4.2.5 F_ScanAmsNetIds
4.3 Character functions
4.3.1 F_ToCHR
4.3.2 F_ToASC
4.4 I/O port access
4.4.1 F_IOPortRead
4.4.2 F_IOPortWrite
4.5 Memory functions
4.5.1 MEMCMP
4.5.2 MEMCPY
4.5.3 MEMMOVE
4.5.4 MEMSET
4.6 Time functions
4.6.1 F_GetSystemTime
4.6.2 F_GetTaskTime
4.7 [Obsolete]
4.7.1 F_GetVersionTcSystem
4.7.2 GETSYSTEMTIME
4.7.3 GETTASKTIME
5.1 E_IOAccessSize
5.2 E_OpenPath
5.3 E_SeekOrigin
5.4 E_TcEventClass
5.5 E_TcEventClearModes
5.6 E_TcEventPriority
5.7 E_TcEventStreamType
5.8 E_TcMemoryArea
5.9 E_UsrLED_Color
5.10 EPlcMappingStatus
5.11 ST_AmsAddr
5.12 ST_CpuCoreInfo
5.13 SYSTEMINFOTYPE
5.14 SYSTEMTASKINFOTYPE
5.15 T_AmsNetId
5.16 T_AmsNetIdArr
5.17 T_AmsPort
5.18 T_IPv4Addr
5.19 T_IPv4AddrArr
5.20 T_MaxString
5.21 TcEvent
6.1 Constants
6.2 Library version
7.1 Example with AdsReadInd /AdsReadRes function blocks
7.2 Example with AdsWriteInd/AdsWriteRes function blocks
7.3 Example with AdsRead function block
7.4 Example with AdsWrite function block
7.5 Sending/acknowledging EventLogger signals from the PLC
7.6 File access from the PLC
8.1 ADS Return Codes

\TwinCAT_3_PLC_Lib_Tc3_BA_Common_EN.txt
4.1 POUs
4.1.1 Controller
4.1.2 Universal
4.2 DUTs
4.2.1 Structures
4.2.2 Enums
4.3 GVLs
4.3.1 Parameter
5.1 Support and Service

\TwinCAT_3_PLC_Lib_Tc3_DriveMotionControl_EN.txt
5.1 Axis functions
5.1.1 MC_Power
5.1.2 MC_Reset
5.1.3 MC_SetPosition
5.2 Touch probe
5.2.1 MC_AbortTrigger
5.2.2 MC_TouchProbe
6.1 Homing
6.1.1 MC_Home
6.2 Manual motion
6.2.1 MC_Jog
6.3 Point to point motion
6.3.1 MC_Halt
6.3.2 MC_MoveAbsolute
6.3.3 MC_MoveModulo
6.3.4 Modulo positioning
6.3.5 MC_MoveRelative
6.3.6 MC_MoveVelocity
6.3.7 MC_Stop
7.1 Axis interface
7.1.1 AXIS_REF
7.1.2 DRIVETOPLC_INFODATA
7.1.3 DRIVETOPLC_WCSTATE
7.2 Homing
7.2.1 E_EncoderReferenceMode
7.2.2 MC_HomingMode
7.2.3 ST_HomingOptions
7.3 Motion
7.3.1 MC_Direction
7.3.2 ST_MoveOptions
7.4 Status and parameter
7.4.1 MC_AxisStates
7.4.2 ST_AxisParameters
7.4.3 ST_AxisStatus
7.5 Touch probe
7.5.1 E_SignalEdge
7.5.2 E_SignalSource
7.5.3 E_TouchProbe
7.5.4 MC_TouchProbeRecordedData
7.5.5 TRIGGER_REF
8.1 Library version

\TwinCAT_3_PLC_Lib_Tc3_EventLogger_EN.txt
3.1 Asynchronous text requests
3.1.1 FB_AsyncStrResult
3.1.2 FB_RequestEventClassName
3.1.3 FB_RequestEventText
3.1.4 F_GetEventClassName
3.1.5 F_GetEventText
3.2 EventEntry conversion
3.2.1 AdsErr_TO_TcEventEntry
3.2.2 HRESULTAdsErr_TO_TcEventEntry
3.2.3 TcEventEntry_TO_AdsErr
3.2.4 TcEventEntry_TO_HRESULTAdsErr
3.3 FB_ListenerBase2
3.3.1 Execute
3.3.2 OnAlarmCleared
3.3.3 OnAlarmConfirmed
3.3.4 OnAlarmDisposed
3.3.5 OnAlarmRaised
3.3.6 OnMessageSent
3.3.7 Subscribe
3.3.8 Unsubscribe
3.4 FB_TcAlarm
3.4.1 Clear
3.4.2 Confirm
3.4.3 Create
3.4.4 CreateEx
3.4.5 Raise
3.4.6 SetJsonAttribute
3.5 FB_TcArguments
3.5.1 IsEmpty
3.6 FB_TcEvent
3.7 FB_TcEventBase
3.7.1 EqualsTo
3.7.2 EqualsToEventClass
3.7.3 EqualsToEventEntry
3.7.4 EqualsToEventEntryEx
3.7.5 GetJsonAttribute
3.7.6 Release
3.7.7 RequestEventClassName
3.7.8 RequestEventText
3.7.9 ipArguments
3.7.10 ipSourceInfo
3.8 FB_TcEventLogger
3.8.1 ClearAllAlarms
3.8.2 ConfirmAllAlarms
3.8.3 GetAlarm
3.8.4 GetAlarmEx
3.8.5 IsAlarmRaised
3.8.6 IsAlarmRaisedEx
3.8.7 SendMessage
3.8.8 SendMessageEx
3.9 FB_TcMessage
3.9.1 Create
3.9.2 CreateEx
3.9.3 SetJsonAttribute
3.10 FB_TcSourceInfo
3.10.1 Clear
3.10.2 ExtendName
3.10.3 ResetToDefault
4.1 I_TcArguments
4.1.1 AddBlob
4.1.2 AddBool
4.1.3 AddByte
4.1.4 AddDint
4.1.5 AddDWord
4.1.6 AddEventReferencId
4.1.7 AddEventReferenceIdGuid
4.1.8 AddInt
4.1.9 AddLInt
4.1.10 AddLReal
4.1.11 AddReal
4.1.12 AddSInt
4.1.13 AddString
4.1.14 AddUDint
4.1.15 AddUInt
4.1.16 AddULInt
4.1.17 AddUSInt
4.1.18 AddWord
4.1.19 AddWString
4.1.20 Clear
4.2 I_TcEventBase
4.2.1 EqualsTo
4.2.2 EqualsToEventClass
4.2.3 EqualsToEventEntry
4.2.4 EqualsToEventEntryEx
4.2.5 GetJsonAttribute
4.2.6 RequestEventClassName
4.2.7 RequestEventText
4.3 I_TcMessage
4.3.1 Send
4.4 I_TcSourceInfo
4.4.1 EqualsTo
5.1 TcEventEntry
5.2 TcEventSeverity
5.3 TcEventConfirmationState
6.1 Global_Constants
6.2 GVL
6.3 Parameter list
6.4 Global_Version
7.1 Tutorial
7.2 Example ResultMessage
7.3 Example Listener

\TwinCAT_3_PLC_Lib_Tc3_JsonXml_EN.txt
3.1 FB_JsonDomParser
3.1.1 AddArrayMember
3.1.2 AddBase64Member
3.1.3 AddBoolMember
3.1.4 AddDateTimeMember
3.1.5 AddDcTimeMember
3.1.6 AddDoubleMember
3.1.7 AddFileTimeMember
3.1.8 AddHexBinaryMember
3.1.9 AddInt64Member
3.1.10 AddIntMember
3.1.11 AddJsonMember
3.1.12 AddNullMember
3.1.13 AddObjectMember
3.1.14 AddStringMember
3.1.15 AddUint64Member
3.1.16 AddUintMember
3.1.17 ArrayBegin
3.1.18 ArrayEnd
3.1.19 ClearArray
3.1.20 CopyDocument
3.1.21 CopyJson
3.1.22 CopyString
3.1.23 FindMember
3.1.24 FindMemberPath
3.1.25 GetArraySize
3.1.26 GetArrayValue
3.1.27 GetArrayValueByIdx
3.1.28 GetBase64
3.1.29 GetBool
3.1.30 GetDateTime
3.1.31 GetDcTime
3.1.32 GetDocument
3.1.33 GetDocumentLength
3.1.34 GetDocumentRoot
3.1.35 GetDouble
3.1.36 GetFileTime
3.1.37 GetHexBinary
3.1.38 GetInt
3.1.39 GetInt64
3.1.40 GetJson
3.1.41 GetJsonLength
3.1.42 GetMaxDecimalPlaces
3.1.43 GetMemberName
3.1.44 GetMemberValue
3.1.45 GetString
3.1.46 GetStringLength
3.1.47 GetType
3.1.48 GetUint
3.1.49 GetUint64
3.1.50 HasMember
3.1.51 IsArray
3.1.52 IsBase64
3.1.53 IsBool
3.1.54 IsDouble
3.1.55 IsFalse
3.1.56 IsHexBinary
3.1.57 IsInt
3.1.58 IsInt64
3.1.59 IsISO8601TimeFormat
3.1.60 IsNull
3.1.61 IsNumber
3.1.62 IsObject
3.1.63 IsString
3.1.64 IsTrue
3.1.65 IsUint
3.1.66 IsUint64
3.1.67 LoadDocumentFromFile
3.1.68 MemberBegin
3.1.69 MemberEnd
3.1.70 NewDocument
3.1.71 NextArray
3.1.72 ParseDocument
3.1.73 PushbackBase64Value
3.1.74 PushbackBoolValue
3.1.75 PushbackDateTimeValue
3.1.76 PushbackDcTimeValue
3.1.77 PushbackDoubleValue
3.1.78 PushbackFileTimeValue
3.1.79 PushbackHexBinaryValue
3.1.80 PushbackInt64Value
3.1.81 PushbackIntValue
3.1.82 PushbackJsonValue
3.1.83 PushbackNullValue
3.1.84 PushbackStringValue
3.1.85 PushbackUint64Value
3.1.86 PushbackUintValue
3.1.87 RemoveAllMembers
3.1.88 RemoveArray
3.1.89 RemoveMember
3.1.90 RemoveMemberByName
3.1.91 SaveDocumentToFile
3.1.92 SetArray
3.1.93 SetBase64
3.1.94 SetBool
3.1.95 SetDateTime
3.1.96 SetDcTime
3.1.97 SetDouble
3.1.98 SetFileTime
3.1.99 SetHexBinary
3.1.100 SetInt
3.1.101 SetInt64
3.1.102 SetJson
3.1.103 SetMaxDecimalPlaces
3.1.104 SetNull
3.1.105 SetObject
3.1.106 SetString
3.1.107 SetUint
3.1.108 SetUint64
3.2 FB_JsonDynDomParser
3.3 FB_JsonSaxReader
3.3.1 DecodeBase64
3.3.2 DecodeDateTime
3.3.3 DecodeDcTime
3.3.4 DecodeFileTime
3.3.5 DecodeHexBinary
3.3.6 GetLastParseResult
3.3.7 IsBase64
3.3.8 IsHexBinary
3.3.9 IsISO8601TimeFormat
3.3.10 Parse
3.3.11 ParseValues
3.4 FB_JsonSaxWriter
3.4.1 AddBase64
3.4.2 AddBool
3.4.3 AddDateTime
3.4.4 AddDcTime
3.4.5 AddDint
3.4.6 AddFileTime
3.4.7 AddHexBinary
3.4.8 AddKey
3.4.9 AddKeyBool
3.4.10 AddKeyDateTime
3.4.11 AddKeyDcTime
3.4.12 AddKeyFileTime
3.4.13 AddKeyLreal
3.4.14 AddKeyNull
3.4.15 AddKeyNumber
3.4.16 AddKeyString
3.4.17 AddLint
3.4.18 AddLreal
3.4.19 AddNull
3.4.20 AddRawArray
3.4.21 AddRawObject
3.4.22 AddReal
3.4.23 AddString
3.4.24 AddUdint
3.4.25 AddUlint
3.4.26 CopyDocument
3.4.27 EndArray
3.4.28 EndObject
3.4.29 GetDocument
3.4.30 GetDocumentLength
3.4.31 GetMaxDecimalPlaces
3.4.32 ResetDocument
3.4.33 SetMaxDecimalPlaces
3.4.34 StartArray
3.4.35 StartObject
3.5 FB_JsonReadWriteDataType
3.5.1 AddJsonKeyPropertiesFromSymbol
3.5.2 AddJsonKeyValueFromSymbol
3.5.3 AddJsonValueFromSymbol
3.5.4 CopyJsonStringFromSymbol
3.5.5 CopyJsonStringFromSymbolProperties
3.5.6 GetDataTypeNameByAddress
3.5.7 GetJsonFromSymbol
3.5.8 GetJsonStringFromSymbol
3.5.9 GetJsonStringFromSymbolProperties
3.5.10 GetSizeJsonStringFromSymbol
3.5.11 GetSizeJsonStringFromSymbolProperties
3.5.12 GetSymbolNameByAddress
3.5.13 SetSymbolFromJson
3.6 FB_XmlDomParser
3.6.1 AppendAttribute
3.6.2 AppendAttributeAsBool
3.6.3 AppendAttributeAsDouble
3.6.4 AppendAttributeAsFloat
3.6.5 AppendAttributeAsInt
3.6.6 AppendAttributeAsLint
3.6.7 AppendAttributeAsUint
3.6.8 AppendAttributeAsUlint
3.6.9 AppendAttributeCopy
3.6.10 AppendChild
3.6.11 AppendChildAsBool
3.6.12 AppendChildAsDouble
3.6.13 AppendChildAsFloat
3.6.14 AppendChildAsInt
3.6.15 AppendChildAsLint
3.6.16 AppendChildAsUint
3.6.17 AppendChildAsUlint
3.6.18 AppendCopy
3.6.19 AppendNode
3.6.20 Attributes
3.6.21 AttributeAsBool
3.6.22 AttributeAsDouble
3.6.23 AttributeAsFloat
3.6.24 AttributeAsInt
3.6.25 AttributeAsLint
3.6.26 AttributeAsUint
3.6.27 AttributeAsUlint
3.6.28 AttributeBegin
3.6.29 AttributeFromIterator
3.6.30 AttributeName
3.6.31 Attributes
3.6.32 AttributeText
3.6.33 Begin
3.6.34 BeginByName
3.6.35 Child
3.6.36 ChildByAttribute
3.6.37 ChildByAttributeAndName
3.6.38 ChildByName
3.6.39 Children
3.6.40 ChildrenByName
3.6.41 Compare
3.6.42 CopyAttributeText
3.6.43 CopyDocument
3.6.44 CopyNodeText
3.6.45 CopyNodeXml
3.6.46 FirstNodeByPath
3.6.47 GetAttributeTextLength
3.6.48 GetDocumentLength
3.6.49 GetDocumentNode
3.6.50 GetNodeTextLength
3.6.51 GetNodeXmlLength
3.6.52 GetRootNode
3.6.53 InsertAttributeCopy
3.6.54 InsertAttribute
3.6.55 InsertChild
3.6.56 InsertCopy
3.6.57 IsEnd
3.6.58 LoadDocumentFromFile
3.6.59 NewDocument
3.6.60 Next
3.6.61 NextAttribute
3.6.62 NextByName
3.6.63 NextSibling
3.6.64 NextSiblingByName
3.6.65 Node
3.6.66 NodeAsBool
3.6.67 NodeAsDouble
3.6.68 NodeAsFloat
3.6.69 NodeAsInt
3.6.70 NodeAsLint
3.6.71 NodeAsUint
3.6.72 NodeAsUlint
3.6.73 NodeName
3.6.74 NodeText
3.6.75 ParseDocument
3.6.76 RemoveChild
3.6.77 RemoveChildByName
3.6.78 SaveDocumentToFile
3.6.79 SetAttribute
3.6.80 SetAttributeAsBool
3.6.81 SetAttributeAsDouble
3.6.82 SetAttributeAsFloat
3.6.83 SetAttributeAsInt
3.6.84 SetAttributeAsLint
3.6.85 SetAttributeAsUint
3.6.86 SetAttributeAsUlint
3.6.87 SetChild
3.6.88 SetChildAsBool
3.6.89 SetChildAsDouble
3.6.90 SetChildAsFloat
3.6.91 SetChildAsInt
3.6.92 SetChildAsLint
3.6.93 SetChildAsUint
3.6.94 SetChildAsUlint
3.7 FB_JwtEncode
4.1 ITcJsonSaxHandler
4.1.1 OnBool
4.1.2 OnDint
4.1.3 OnEndArray
4.1.4 OnEndObject
4.1.5 OnKey
4.1.6 OnLint
4.1.7 OnLreal
4.1.8 OnNull
4.1.9 OnStartArray
4.1.10 OnStartObject
4.1.11 OnString
4.1.12 OnUdint
4.1.13 OnUlint
4.2 ITcJsonSaxValues
4.2.1 OnBoolValue
4.2.2 OnDintValue
4.2.3 OnLintValue
4.2.4 OnLrealValue
4.2.5 OnNullValue
4.2.6 OnStringValue
4.2.7 OnUdintValue
4.2.8 OnUlintValue
5.1 Tc3JsonXmlSampleJsonDataType
5.2 Tc3JsonXmlSampleJsonSaxReader
5.3 Tc3JsonXmlSampleJsonSaxWriter
5.4 Tc3JsonXmlSampleJsonDomReader
5.5 Tc3JsonXmlSampleXmlDomReader
5.6 Tc3JsonXmlSampleXmlDomWriter

\TwinCAT_3_PLC_Lib__Tc2_Coupler_EN.txt
3.1 ReadWriteTerminalReg
3.2 CouplerReset
3.3 FB_ReadCouplerDiag
3.4 FB_ReadCouplerRegs
3.5 FB_WriteCouplerRegs
4.1 F_GetVersionTcPlcCoupler
5.1 PLCINTFSTRUCT
5.2 E_CouplerErrType
5.3 ST_CouplerDiag
5.4 ST_CouplerReg
5.5 ST_CouplerTable
5.6 ST_FlashCode
6.1 Library version

\TwinCAT_3_PLC_Lib__Tc2_Drive_EN.txt
1.1
PLC Lib: Tc2_Drive Version: 1.1 3
4.1 General SoE
4.1.1 FB_SoEReset_ByDriveRef
4.1.2 FB_SoEWritePassword_ByDriveRef
4.1.3 FB_SoEExecuteCommand_ByDriveRef
4.1.4 Function blocks for commands
4.1.5 Function blocks for diagnostics
4.1.6 Function blocks for determining current values
4.2 AX5000 SoE
4.2.1 Conversion functions
4.2.2 FB_SoEAX5000ReadActMainVoltage_ByDriveRef
4.2.3 FB_SoEAX5000SetMotorCtrlWord_ByDriveRef
4.2.4 FB_SoEAX5000FirmwareUpdate_ByDriveRef
4.3 IndraDrive Cs
4.3.1 Conversion functions
4.4 F_GetVersionTcDrive
5.1 General SoE
5.1.1 ST_SoE_String
5.1.2 ST_SoE_StringEx
5.1.3 List types
5.2 AX5000 SoE
5.2.1 E_FwUpdateState
5.2.2 ST_AX5000_C1D for Class 1 diagnosis
5.2.3 ST_AX5000DriveStatus
5.2.4 E_AX5000_DriveOpMode
5.3 IndraDrive Cs
5.3.1 E_IndraDriveCs_DriveOpMode
5.3.2 ST_IndraDriveCs_C1D for Class 1 diagnosis
5.3.3 ST_IndraDriveCsDriveStatus
5.4 SERCOS
5.4.1 E_SoE_AttribLen
5.4.2 E_SoE_CmdControl
5.4.3 E_SoE_CmdState
5.4.4 E_SoE_Type

\TwinCAT_3_PLC_Lib__Tc2_Math_EN.txt
3.1 FLOOR
3.2 FRAC
3.3 LMOD
3.4 LTRUNC
3.5 MODABS
3.6 MODTURNS
4.1 F_GetVersionTcMath
5.1 Library version

\TwinCAT_3_PLC_Lib__Tc2_MC2_Drive_EN.txt
3.1 General SoE
3.1.1 FB_SoEReset
3.1.2 FB_SoEWritePassword
3.1.3 FB_SoESetDataAccessMode
3.1.4 Function blocks for command
3.1.5 Function blocks for diagnostics
3.1.6 Function blocks for determining current values
3.2 General CoE
3.2.1 Function blocks for determining current values
3.2.2 Function blocks for command
3.3 AX5000 SoE
3.3.1 FB_SoEAX5000ReadActMainVoltage
3.3.2 FB_SoEAX5000SetMotorCtrlWord
3.3.3 FB_SoEAX5000FirmwareUpdate
3.3.4 FB_SoEAX5000SetPositionOffset
3.3.5 FB_SoEAX5000DeletePositionOffset
3.4 F_GetVersionTcMc2Drive
3.5 AX8000 CoE
3.5.1 FB_CoEAX8000SetPositionOffset
3.5.2 FB_CoEAX8000DeletePositionOffset
3.6 EL72xx CoE
3.6.1 FB_CoEEL72xxSetPositionOffset
3.6.2 FB_CoEEL72xxDeletePositionOffset
4.1 E_FwUpdateState
4.2 E_PositionOffsetMemory
4.3 E_PositionOffsetFeedback
4.4 E_DriveErrorCodes

\TwinCAT_3_PLC_Lib__Tc2_MC2_EN.txt
5.1 Axis functions
5.1.1 MC_Power
5.1.2 MC_Reset
5.1.3 MC_SetPosition
5.2 Status and parameter
5.2.1 MC_ReadActualPosition
5.2.2 MC_ReadActualVelocity
5.2.3 MC_ReadAxisComponents
5.2.4 MC_ReadAxisError
5.2.5 MC_ReadBoolParameter
5.2.6 MC_ReadParameter
5.2.7 MC_ReadParameterSet
5.2.8 MC_ReadStatus
5.2.9 MC_WriteBoolParameter
5.2.10 MC_WriteParameter
5.2.11 MC_WriteBoolParameterPersistent
5.2.12 MC_WriteParameterPersistent
5.3 Touch probe
5.3.1 MC_TouchProbe
5.3.2 MC_AbortTrigger
5.4 External set value generator
5.4.1 MC_ExtSetPointGenEnable
5.4.2 MC_ExtSetPointGenDisable
5.4.3 MC_ExtSetPointGenFeed
5.5 Special extensions
5.5.1 MC_OverrideFilter
5.5.2 MC_SetOverride
5.5.3 MC_SetEncoderScalingFactor
5.5.4 MC_ReadDriveAddress
5.5.5 MC_PositionCorrectionLimiter
5.5.6 MC_SetAcceptBlockedDriveSignal
5.5.7 MC_SelectControlLoop
6.1 Point to point motion
6.1.1 MC_MoveAbsolute
6.1.2 MC_MoveRelative
4 Version: 2.0 TwinCAT 3 PLC Lib: Tc2_MC2
6.1.3 MC_MoveAdditive
6.1.4 MC_MoveModulo
6.1.5 Notes on modulo positioning
6.1.6 MC_MoveVelocity
6.1.7 MC_MoveContinuousAbsolute
6.1.8 MC_MoveContinuousRelative
6.1.9 MC_Halt
6.1.10 MC_Stop
6.2 Superposition
6.2.1 MC_MoveSuperimposed
6.2.2 Application examples for MC_MoveSuperimposed
6.2.3 MC_AbortSuperposition
6.3 Homing
6.3.1 MC_Home
6.4 Manual motion
6.4.1 MC_Jog
6.5 Axis coupling
6.5.1 MC_GearIn
6.5.2 MC_GearInDyn
6.5.3 MC_GearOut
6.5.4 MC_GearInMultiMaster
6.6 Phasing
6.6.1 MC_HaltPhasing
6.6.2 MC_PhasingAbsolute
6.6.3 MC_PhasingRelative
7.1 Axis interface
7.1.1 AXIS_REF
7.1.2 NCTOPLC_AXIS_REF
7.1.3 NCTOPLC_AXIS_REF_OPMODE
7.1.4 NCTOPLC_AXIS_REF_STATE
7.1.5 NCTOPLC_AXIS_REF_STATE2
7.1.6 NCTOPLC_AXIS_REF_STATE2_FLAGS
7.1.7 NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE
7.1.8 PLCTONC_AXIS_REF
7.1.9 PLCTONC_AXIS_REF_CTRL
7.2 Motion
7.2.1 E_JogMode
7.2.2 E_SuperpositionMode
7.2.3 MC_AxisStates
7.2.4 MC_BufferMode
7.2.5 MC_Direction
7.2.6 MC_HomingMode
7.2.7 ST_AxisOpModes
7.2.8 ST_SuperpositionOptions
7.2.9 ST_MoveOptions
TwinCAT 3 PLC Lib: Tc2_MC2 Version: 2.0 5
7.3 Status and parameter
7.3.1 E_ReadMode
7.3.2 MC_AxisParameter
7.3.3 ST_AxisParameterSet
7.3.4 ST_AxisStatus
7.3.5 ST_DriveAddress
7.3.6 ST_PowerStepperStruct
7.3.7 E_AxisPositionCorrectionMode
7.4 External set value generator
7.4.1 E_PositionType
7.5 Touch probe
7.5.1 TRIGGER_REF
7.5.2 MC_TouchProbeRecordedData
8.1 Library version
10.1 Support and Service

\TwinCAT_3_PLC_Lib__Tc2_NcDrive_EN.txt
3.1 General SoE
3.1.1 FB_SoEReset
3.1.2 FB_SoEWritePassword
3.1.3 Function blocks for commands
3.1.4 Function blocks for diagnostics
3.1.5 Function blocks for determining current values
3.2 General CoE
3.2.1 Function blocks for determining current values
3.3 AX5000 SoE
3.3.1 FB_SoEAX5000ReadActMainVoltage
3.3.2 FB_SoEAX5000SetMotorCtrlWord
3.3.3 FB_SoEAX5000FirmwareUpdate
3.4 F_GetVersionTcNcDrive

\TwinCAT_3_PLC_Lib__Tc2_Standard_EN.txt
3.1 Trigger
3.1.1 F_TRIG
3.1.2 R_TRIG
3.2 Bistable
3.2.1 RS
3.2.2 SR
3.3 Counter
3.3.1 CTD
3.3.2 CTU
3.3.3 CTUD
3.4 Timer
3.4.1 TOF
3.4.2 TON
3.4.3 TP
3.5 Timer (LTIME)
3.5.1 LTOF
3.5.2 LTON
3.5.3 LTP
4.1 CONCAT
4.2 DELETE
4.3 FIND
4.4 INSERT
4.5 LEFT
4.6 LEN
4.7 MID
4.8 REPLACE
4.9 RIGHT
5.1 WCONCAT
5.2 WDELETE
5.3 WFIND
5.4 WINSERT
5.5 WLEFT
5.6 WLEN
5.7 WMID
5.8 WREPLACE
5.9 WRIGHT
6.1 Library version

\TwinCAT_3_PLC_Lib__Tc2_SystemCX_EN.txt
3.1 FB_CxGetDeviceIdentification
3.2 FB_CxGetDeviceIdentificationEx
3.3 FB_CXProfiler
3.4 FB_CXSetTextDisplay
3.5 FB_CXSetTextDisplayUSB
3.6 FB_CXGetTextDisplayUSB
3.7 FB_CXSimpleUps
3.8 FB_CX1010SetWatchdog
3.9 FB_CX1020SetWatchdog
3.10 FB_CX1030SetWatchdog
3.11 FB_CX5010SetWatchdog
3.12 FB_CX5020SetWatchdog
4.1 F_CXNaviSwitch
4.2 F_CXNaviSwitchUSB
4.3 F_CXSubTimeStamp
4.4 F_CX1000SetWatchdog
4.5 F_CX9000SetWatchdog
4.6 F_CX9010SetWatchdog
5.1 F_GetVersionTcCXSystem
5.2 F_GetVersionTcSystemCX1000
5.3 F_GetVersionTcSystemCX1010
5.4 F_GetVersionTcSystemCX1020
5.5 F_GetVersionTcSystemCX1030
5.6 F_GetVersionTcSystemCX5010
5.7 F_GetVersionTcSystemCX5020
5.8 F_GetVersionTcSystemCX9000
5.9 F_GetVersionTcSystemCX9010
6.1 ST_CX_DeviceIdentification
6.2 ST_CxDeviceIdentificationEx
6.3 ST_CX_ProfilerStruct
7.1 Library version

\TwinCAT_3_PLC_Lib__Tc3_MC2_AdvancedHoming_EN.txt
2.1 Requirements
2.2 Homing procedures
2.3 Function blocks
2.4 Structure of custom homing sequences
3.1 Parameter
3.2 Finalizing functions
3.2.1 MC_FinishHoming
3.2.2 MC_HomeDirect
3.2.3 MC_AbortHoming
3.3 Referencing functions
3.3.1 MC_AbortPassiveHoming
3.3.2 MC_StepReferenceFlyingRefPulse
3.3.3 MC_StepReferenceFlyingSwitch
3.4 Step functions
3.4.1 MC_StepAbsoluteSwitch
3.4.2 MC_StepAbsoluteSwitchDetection
3.4.3 MC_StepBlock
3.4.4 MC_StepBlockDetection
3.4.5 MC_StepBlockLagBased
3.4.6 MC_StepBlockLagBasedDetection
3.4.7 MC_StepLimitSwitch
3.4.8 MC_StepLimitSwitchDetection
3.4.9 MC_StepReferencePulse
3.4.10 MC_StepReferencePulseDetection
4.1 General
4.1.1 E_HomingErrorCodes
4.1.2 MC_Home_Direction
4.1.3 MC_Ref_Signal_Ref
4.1.4 MC_Switch_Mode
4.1.5 ST_Home_Options
4.1.6 ST_Home_Options2
4.1.7 ST_Home_Options3
4.1.8 ST_Home_Options4
4.2 Parameter
4.2.1 MC_HomingParameter
4.2.2 MC_HomingParameterCtrlMode
4.2.3 MC_HomingParameterDrive
4.2.4 MC_HomingParameterDriveGeneral
4.2.5 MC_HomingParameterNc
4.2.6 MC_HomingParameterNcGeneral
5.1 Sample

\TwinCAT_3_PLC_Lib__Tc3_Module_EN.txt
3.1 TcBaseModuleRegistered
3.1.1 TcAddRef
3.1.2 TcGetObjectId
3.1.3 TcGetObjectName
3.1.4 TcGetObjPara
3.1.5 TcGetObjState
3.1.6 TcQueryInterface
3.1.7 TcRelease
3.1.8 TcSetObjId
3.1.9 TcSetObjectName
3.1.10 TcSetObjPara
3.1.11 TcSetObjState
4.1 FW_ObjMgr_CreateAndInitInstance
4.2 FW_ObjMgr_CreateInstance
4.3 FW_ObjMgr_DeleteInstance
4.4 FW_ObjMgr_GetObjectInstance
4.5 FW_SafeRelease
4.6 FAILED
4.7 SUCCEEDED
4.8 ITCUNKNOWN_TO_PVOID
4.9 PVOID_TO_ITCUKNOWN
4.10 GuidsEqual
5.1 GVL
5.2 Global_Version
6.1 ADS Return Codes
7.1 TcCOM_Sample01_PlcToPlc
7.1.1 Creating an FB which provides its functionality globally in the first PLC
7.1.2 Creating an FB which likewise offers this functionality there as a simple proxy in the second
7.1.3 Execution of the sample project
7.2 TcCOM_Sample02_PlcToCpp
7.2.1 Instantiating a TwinCAT++ class as a TwinCAT TcCOM Object
7.2.2 Creating an FB in the PLC which offers as a simple proxy the functionality of the C++ object
7.2.3 Execution of the sample project
7.3 TcCOM_Sample03_PlcCreatesCpp
7.3.1 Provision of a TwinCAT C++ driver and its classes
7.3.2 Creating an FB in the PLC that creates the C++ object and offers its functionality
7.3.3 Execution of the sample project
PLC Lib: Tc3_Module Version: 1.1 3
7.4 TcCOM_Sample13_CppToPlc
7.4.1 Implementation of the sample
8.1 TcCOM Technology
8.1.1 The TwinCAT Component Object Model (TcCOM) concept
8.2 Interfaces
8.2.1 Interface ITComObject
8.2.2 Interface ITcUnknown

  • 5
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 20
    评论
在TwinCAT 3 PLC中,可以使用以下功能块来实现TCP/IP通信: 1. Tc2_TcpServer:用于创建TCP服务器并监听客户端连接请求。 2. Tc2_TcpClient:用于创建TCP客户端并连接到服务器。 3. Tc2_TcpSend:用于向已连接的TCP客户端或服务器发送数据。 4. Tc2_TcpReceive:用于从TCP客户端或服务器接收数据。 下面是一个简单的示例代码,演示如何使用TwinCAT 3 PLC中的功能块实现TCP/IP通信: ```st PROGRAM MAIN VAR tcpServer : Tc2_TcpServer; tcpClient : Tc2_TcpClient; tcpSend : Tc2_TcpSend; tcpReceive : Tc2_TcpReceive; buffer : ARRAY[0..255] OF BYTE; connected : BOOL := FALSE; receivedBytes : UDINT := 0; END_VAR (* 创建TCP服务器并监听客户端连接请求 *) tcpServer( bEnable := TRUE, wPort := 5000, dwTimeout := TIME#5S, bConnected => connected, abData => buffer); (* 创建TCP客户端并连接到服务器 *) tcpClient( bEnable := TRUE, szAddress := '192.168.1.100', wPort := 5000, dwTimeout := TIME#5S, bConnected => connected, abData => buffer); (* 向已连接的TCP客户端或服务器发送数据 *) tcpSend( bEnable := TRUE, hConnection := tcpClient.hConnection, abData := buffer, dwLength := 10); (* 从TCP客户端或服务器接收数据 *) tcpReceive( bEnable := TRUE, hConnection := tcpClient.hConnection, abData => buffer, dwMaxLength := 255, dwReceivedBytes => receivedBytes); END_PROGRAM ``` 在上面的示例中,首先使用Tc2_TcpServer功能块创建TCP服务器并监听客户端连接请求。然后使用Tc2_TcpClient功能块创建TCP客户端并连接到服务器。接着,使用Tc2_TcpSend功能块向已连接的TCP客户端或服务器发送数据。最后,使用Tc2_TcpReceive功能块从TCP客户端或服务器接收数据。 需要注意的是,上面的示例代码仅供参考,实际使用时需要根据具体应用场景进行修改和完善。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 20
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值