Yt_PN_VFD_AxisStructure
Data types that supports PLCopen motion functionality for ProfiNet VFDs.
Yt_PP_VFD_AxisArray: CONST
| Variable Name | Data Type | Description | Usage |
|---|---|---|---|
| Yt_PP_VFD_MaxCount | INT | Variable used in the Yt_PP_VFD_AxisArray array definition. Allows overwriting of the value. | Yt_PP_VFD_MaxCount := #10 |
Yt_PN_VFD_AxisStructure: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| AxisArray | Yt_PN_VFD_AxisArray | Axis information for up to Yt_PP_VFD_MaxCountVFD axes. | g_PN_VFD_AxisData.AxisArray[index] |
Yt_PN_VFD_AxisArray: Array
| Array Name | Data Type | Range | Description | Usage |
|---|---|---|---|---|
| Yt_PN_VFD_AxisArray | Yt_PN_VFD_AxisDetails | 1..Yt_PP_VFD_MaxCount |
Axis information for up to
Yt_PP_VFD_MaxCountaxes.
|
g_PN_VFD_AxisData.AxisArray[0] |
Yt_PN_VFD_AxisDetails: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| AxisInfo | Yt_AxisInfo |
General axis information like configuration values and actual status information.
|
g_PN_VFD_AxisData.AxisArray[index].AxisInfo
|
| PN_VFD_AxisInfo | Yt_PN_VFD_AxisInfo |
PROFINET Servo specific axis information like configuration values, actual values, set values, status information.
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo |
Yt_PN_VFD_AxisInfo: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| NodeID | DWORD |
PROFINET Node ID
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.NodeID |
| StationName | Yt_String32 |
PROFINET Station Name -reserved for future use
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
StationName
|
| IPAddress | Yt_String32 |
PROFINET IP Address -reserved for future use
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
IPAddress
|
| MaxOutputFrequency | UINT |
Max. output Frequency VFD parameter E1-04
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
MaxOutputFrequency
|
| MinOutputFrequency | UINT |
Min. output Frequency VFD parameter E1-09
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
MaxOutputFrequency
|
| UpperLimitFrequencyRef | UINT |
Upper Limit Frequency Reference VFD parameter D2-01
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
UpperLimitFrequencyRef
|
| InputData | Yt_PN_VFD_InputDataStructure |
Input data mapped to process data
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
InputData
|
| OutputData | Yt_PN_VFD_OutputDataStructure |
Output data mapped to process data
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
OutputData
|
| SystemCommand | Yt_PN_VFD_SystemCommand |
System Commands
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
SystemCommand
|
| CyclicCommand | Yt_PN_VFD_CommandBuffer |
Cyclic CommandBuffer containing all commands issues by the application and their status.
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
CyclicCommand
|
| ParamterCommand | Yt_PN_VFD_ParamterBuffer |
Acyclic parameter communication command buffer containing all acyclic parameter commands.
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
ParamterCommand
|
| DriveState | USINT |
DriveState:
0: SwitchingOnInhibited 1: ReadyForSwitchingOn 2: SwitchedOn 3: Operation 4: SwitchingOff 5: Fault 6: FaultReactionAcitve 255: UndefinedState |
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
DriveState
|
| DataIntegrity | BOOL |
Data Integrity
|
g_PN_VFD_AxisData.AxisArray[index].PN_VFD_AxisInfo.
DataIntegrity
|
Yt_PN_VFD_InputDataStructure: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| StatusWord | WORD |
Status word read cyclically from VFD.
|
g_PN_VFD_AxisData.AxisArray[index]. PN_VFD_AxisInfo. InputData.StatusWord |
| OutputFrequency | UINT | Actual out frequency read cyclically from the VFD. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
InputData.OutputFrequency
|
| AccelerationTime | UINT | Acceleration timeread cyclically from the VFD. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
InputData.AccelerationTime
|
| DecelerationTime | UINT | Deceleration timeread cyclically from the VFD. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
InputData.DecelerationTime
|
| DigitalInputStatus | WORD | Digital input statusread cyclically from the VFD. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
InputData.DigitalInputStatus
|
| CurrentFault | WORD | Current faultread cyclically from the VFD. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
InputData.CurrentFault
|
| Reserved1 | WORD | Reserved for future use. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
InputData.Reserved1
|
| DeviceStatus | BYTE | Status of the PROFINET device. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
InputData.DeviceStatus
|
| DataStatus | BYTE | Data status of the PROFINET device. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
InputData.DataStatus
|
Yt_PN_VFD_OutputDataStructure: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| ControlWord | WORD |
Control word written cyclically to the VFD.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
OutputData.ControlWord
|
| ReferenceFrequency | UINT | Reference frequencywritten cyclically to the VFD. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
OutputData.ReferenceFrequency
|
| AccelerationTime | UINT | Acceleration timewritten cyclically to the VFD. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
OutputData.AccelerationTime
|
| DecelerationTime | UINT | Deceleration timewritten cyclically to the VFD. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
OutputData.DecelerationTime
|
| Reserved1 | WORD |
Reserved for future use.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
OutputData.Reserved1
|
| Reserved2 | WORD |
Reserved for future use.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
OutputData.Reserved2
|
| Reserved3 | WORD |
Reserved for future use.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
OutputData.Reserved3
|
Yt_PN_VFD_SystemCommand
| Element | Data Type | Description | Usage |
|---|---|---|---|
| EnablePower | BOOL |
With MC_Power.Enable = TRUE the value of EnablePower is set to true and the
Y_MotionAxisDriverswitches the VFD to drive state operation.
|
g_PN_VFD_AxisData.AxisArray[index]. PN_VFD_AxisInfo. SystemCommand.EnablePower |
| Reset | BOOL |
Is set to true by
MC_Resetto reset a error on the axis and leave the PLCopen state ErrorStop.
Is set to false after resetting the drive error or after a time out time. The reset function is managed by Y_MotionAxisDriver. |
g_PN_VFD_AxisData.AxisArray[index]. PN_VFD_AxisInfo. SystemCommand.Reset |
| StopCommand | BOOL |
Is set to true by
MC_Stopwhen the input MC_Stop.Execute is set to true. The stop function is managed by
Y_MotionAxisDriver.
|
g_PN_VFD_AxisData.AxisArray[index]. PN_VFD_AxisInfo. SystemCommand.StopCommand |
Yt_PN_VFD_CommandStates
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Velocity | LREAL |
Target velocity of this command.
|
g_PN_VFD_AxisData.AxisArray[index]. PN_VFD_AxisInfo. CyclicCommand.CommandArray[index2].Velocity |
| Acceleration | LREAL |
Target acceleration of this command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].Acceleration
|
| Deceleration | LREAL | Target Deceleration of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].Deceleration
|
| ErrorID | UINT |
Error ID of this command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].ErrorID
|
| Execute | BOOL | Execution of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].Execute
|
| Done | BOOL | Done of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].Done
|
| Busy | BOOL | Busy of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].Busy
|
| Active | BOOL | Active of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].Active
|
| CommandAborted | BOOL | Command Aborted of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].CommandAborted
|
| Error | BOOL | Error of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].Error
|
| ExecuteLatch | BOOL |
Latched e
xecution of the command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].ExecuteLatch
|
| DoneLatch | BOOL |
Latched done
of the command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].DoneLatch
|
| BusyLatch | BOOL |
Latched busy
of the command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].BusyLatch
|
| ActiveLatch | BOOL |
Latched active
of the command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].ActiveLatch
|
| CommandAbortedLatch | BOOL | Latched command aborted of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].CommandAbortedLatch
|
| ErrorLatch | BOOL | Latched error of this command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].ErrorLatch
|
| CommandType | UINT |
Command type of this command. 0: No command 1: Move velocity 2: Stop |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2].CommandType
|
Yt_PN_VFD_CommandBufferArray:Array
| Array Name | Data Type | Range | Description | Usage |
|---|---|---|---|---|
| Yt_PN_VFD_CommandBufferArray | Yt_PN_VFD_CommandStates | 0..9 |
Array of command buffers.
|
g_PN_VFD_AxisData.AxisArray[index]. PN_VFD_AxisInfo. CyclicCommand.CommandArray[0] |
Yt_PN_VFD_CommandBuffer: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| CommandArray | Yt_PN_VFD_CommandBufferArray |
Array of command buffers.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.CommandArray[index2]
|
| UsePointer | INT |
Pointer to the active command buffer.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.UsePointer
|
| StorePointer | INT |
Pointer to the next free command buffer.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
CyclicCommand.StorePointer
|
Yt_PN_VFD_ParamterCommandStates: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| ReadValue | DINT |
Value read from the servo with this parameter command.
|
g_PN_VFD_AxisData.AxisArray[index]. PN_VFD_AxisInfo. ParamterCommand.CommandArray[index2].ReadValue |
| WriteValue | DINT |
Value to write to the servos with this parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].WriteValue
|
| Datatype | INT |
Data type of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].Datatype
|
| ParamterNumber | UINT |
Parameter number / Index of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].ParamterNumber
|
| DataTypeOverriede | INT |
Datatype override of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].DataTypeOverriede
|
| CommandType | UINT |
Command type of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].CommandType
|
| ErrorID | UINT |
Error ID of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].ErrorID
|
| Execute | BOOL |
Execution of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].Execute
|
| Done | BOOL |
Done of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].Done
|
| Busy | BOOL |
Busy of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].Busy
|
| Error | BOOL |
Error of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].Error
|
| ExecuteLatch | BOOL | Latched execution of the parameter command. |
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].ExecuteLatch
|
| DoneLatch | BOOL |
Latched done of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].DoneLatch
|
| BusyLatch | BOOL |
Latched busy of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].BusyLatch
|
| ErrorLatch | BOOL |
Latched error of the parameter command.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2].ErrorLatch
|
Yt_PN_VFD_ParamterBufferArray:Array
| Array Name | Data Type | Range | Description | Usage |
|---|---|---|---|---|
| Yt_PN_VFD_ParamterBufferArray | Yt_PN_VFD_ParamterCommandStates | 0..9 |
Array of parameter command buffers.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[0]
|
Yt_PN_VFD_ParamterBuffer: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| CommandArray | Yt_PN_VFD_ParamterBufferArray |
Array of parameter command buffers.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2]
|
| UsePointer | INT |
Pointer to the active command buffer.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2]
|
| StorePointer | INT |
Pointer to the next free command buffer.
|
g_PN_VFD_AxisData.AxisArray[index].
PN_VFD_AxisInfo.
ParamterCommand.CommandArray[index2]
|