| ApossC SDK V01.15

SDK_VirtualModule_AxisSetup.mc
Go to the documentation of this file.
1
8 #pragma once
9
10 #include "SDK_VirtualModule_AxisSetup.mh"
11
22 long sdkSetupAxisSimulation(long axis)
23 {
24 VIRTCOUNTIN_PARAM(axis, VIRTCNTIN_PISRC_COUNTER) = AXE_PROCESS_SRCINDEX(axis, REG_COMPOS);
25 VIRTCOUNTIN_PARAM(axis, VIRTCNTIN_MODE) = VIRTCNTIN_MODE_SIMULATION_SLAVE;
26 VIRTLATCH_PARAM(axis, VIRTLATCH_MODE) = VIRTLATCH_MODE_SIMULATOR;
27 VIRTLATCH_PARAM(axis, VIRTLATCH_PISRC_COUNTER) = AXE_PROCESS_SRCINDEX(axis, REG_ACTPOS);
28
29 return(1);
30 }
VIRTCNTIN_MODE
#define VIRTCNTIN_MODE
Counter mode.
Definition: SdoDictionary.mh:5003
VIRTCOUNTIN_PARAM
#define VIRTCOUNTIN_PARAM(modno, parno)
Virtual Counter Inputs parameters: Setter.
Definition: SdoDictionary.mh:4985
sdkSetupAxisSimulation
long sdkSetupAxisSimulation(long axis)
Start a simulated axis.
Definition: SDK_VirtualModule_AxisSetup.mc:22
VIRTLATCH_MODE
#define VIRTLATCH_MODE
Latch mode.
Definition: SdoDictionary.mh:5122
SDK_VirtualModule_AxisSetup.mh
Declaration of the virtual axis setup functions.
REG_ACTPOS
#define REG_ACTPOS
Actual position value.
Definition: SdoDictionary.mh:3199
VIRTLATCH_PARAM
#define VIRTLATCH_PARAM(modno, parno)
Virtual Latch Inputs Parameters: Setter.
Definition: SdoDictionary.mh:5111
REG_COMPOS
#define REG_COMPOS
Set-point position value.
Definition: SdoDictionary.mh:3207
AXE_PROCESS_SRCINDEX
#define AXE_PROCESS_SRCINDEX(modno, parno)
Axis Process Data: Source Index.
Definition: SdoDictionary.mh:3181
VIRTCNTIN_MODE_SIMULATION_SLAVE
#define VIRTCNTIN_MODE_SIMULATION_SLAVE
Definition: SdoDictionary.mh:5082
VIRTLATCH_MODE_SIMULATOR
#define VIRTLATCH_MODE_SIMULATOR
Definition: SdoDictionary.mh:5252
VIRTCNTIN_PISRC_COUNTER
#define VIRTCNTIN_PISRC_COUNTER
Index/subindex of counter source.
Definition: SdoDictionary.mh:5030
VIRTLATCH_PISRC_COUNTER
#define VIRTLATCH_PISRC_COUNTER
Index/subindex of counter source (attached)
Definition: SdoDictionary.mh:5147

Data Sheets | Released Software | Software Manuals | Hardware Manuals | Maxon Shop

Maxon Support Center