![]() |
ApossC SDK
V01.15
|
Declaration of the signal generator functions. More...
Go to the source code of this file.
Functions | |
| long | sdkSigGenAxisSetupMiniMACS6 (long axis, long encPortOut, long indexDistance) |
| Settings for a Signal Generator. More... | |
| long | sdkSigGenOpenloopSetupMiniMACS6 (long encPort, long indexDistance) |
| Settings for a Signal Generator. More... | |
| void | sdkSigGenEnable (long encPort, long enable) |
| Enable/Disable Signal Generator. More... | |
| void | sdkSigGenReset (long encPort) |
| Reset Signal Generator. More... | |
| void | sdkSigGenOpenloopAcceleration (long encPort, long acceleration) |
| Set acceleration of Signal Generator. More... | |
| void | sdkSigGenOpenloopDeceleration (long encPort, long deceleration) |
| Set acceleration of Signal Generator. More... | |
| void | sdkSigGenOpenloopVelocity (long encPort, long velocity) |
| Set velocity of Signal Generator. More... | |
Declaration of the signal generator functions.
Definition in file SDK_SignalGenerator.mh.
| long sdkSigGenAxisSetupMiniMACS6 | ( | long | axis, |
| long | encPortOut, | ||
| long | indexDistance | ||
| ) |
Settings for a Signal Generator.
With this function the settings can be made which are required for a signal generator. This is a closed loop signal generator which can generate encoder signals by running a virtual axis. The signal generator can also generate index signals with a defined index distance. This signal will be generated on a digital output. For signal generator 0 this will be digital output 1, for signal generator 1 digital output 2 and so on. The digital output can then not be controlled by normal output functions anymore.
The generated signal cannot be read back. A encoder signal connection to a different port has to be made to receive the generated signals.
| axis | Axis number 0-n |
| encPortOut | Encoder port number. Usually, module instance 0 is connected to X1 and so on. Please refer to product manual |
| indexDistance | Distance in increments between two index signals. |
Definition at line 41 of file SDK_SignalGenerator.mc.
| void sdkSigGenEnable | ( | long | encPort, |
| long | enable | ||
| ) |
Enable/Disable Signal Generator.
Disabling and Enabling the Signal Generator will reset the index distance counter. This means, an index signal will immediately generated. The next signal will be generated after index distance.
| encPort | Encoder port number. Usually, module instance 0 is connected to X1 and so on. Please refer to product manual |
| enable | 1 = enable, 0 = disable |
Definition at line 167 of file SDK_SignalGenerator.mc.
| void sdkSigGenOpenloopAcceleration | ( | long | encPort, |
| long | acceleration | ||
| ) |
Set acceleration of Signal Generator.
| encPort | Encoder port number. Usually, module instance 0 is connected to X1 and so on. Please refer to product manual |
| acceleration | The acceleration of the generated signal [Hz/s] |
Definition at line 195 of file SDK_SignalGenerator.mc.
| void sdkSigGenOpenloopDeceleration | ( | long | encPort, |
| long | deceleration | ||
| ) |
Set acceleration of Signal Generator.
| encPort | Encoder port number. Usually, module instance 0 is connected to X1 and so on. Please refer to product manual |
| acceleration | The acceleration of the generated signal [Hz/s] |
Definition at line 207 of file SDK_SignalGenerator.mc.
| long sdkSigGenOpenloopSetupMiniMACS6 | ( | long | encPort, |
| long | indexDistance | ||
| ) |
Settings for a Signal Generator.
With this function the settings can be made which are required for a signal generator. This is an open loop signal generator which can generate an encoder signal with a defined signal speed and and with a ramp of defined acceleration and deceleration. The signal generator can also generate index signals with a defined index distance. This signal will be generated on a digital output. For signal generator 0 this will be digital output 1, for signal generator 1 digital output 2 and so on. The digital output can then not be controlled by normal output functions anymore.
The generated signal cannot be read back. A encoder signal connection to a different port can be made to receive the generated signals.
| encPort | Encoder port number. Usually, module instance 0 is connected to X1 and so on. Please refer to product manual |
| indexDistance | Distance in increments between two index signals. |
Definition at line 117 of file SDK_SignalGenerator.mc.
| void sdkSigGenOpenloopVelocity | ( | long | encPort, |
| long | velocity | ||
| ) |
Set velocity of Signal Generator.
| encPort | Encoder port number. Usually, module instance 0 is connected to X1 and so on. Please refer to product manual |
| velocity | The velocity of the generated signal [Hz] |
Definition at line 219 of file SDK_SignalGenerator.mc.
| void sdkSigGenReset | ( | long | encPort | ) |
Reset Signal Generator.
This function will reset the index distance counter. This means, an index signal will immediately generated. The next signal will be generated after index distance.
| encPort | Encoder port number. Usually, module instance 0 is connected to X1 and so on. Please refer to product manual |
Definition at line 182 of file SDK_SignalGenerator.mc.