
.. _file_torque_control_executable.cpp:

File torque_control_executable.cpp
==================================


Example code for Simple Open EtherCAT master with Synapticon SOMANET servo drive. 



.. contents:: Contents
   :local:
   :backlinks: none

Definition (``torque_control_executable.cpp``)
----------------------------------------------


.. toctree::
   :maxdepth: 1

   program_listing_file_torque_control_executable.cpp.rst



Detailed Description
--------------------

Usage : simple_test_50 [ifname1] ifname is NIC interface, f.e. eth0

This is a minimal test, programmed based on the simple_test of SOEM, driving a motor with SOMANET (v4.2 firmware) in CSV mode at 100RPM.

Du Jin 2023 




Includes
--------


- ``ethercat.h``

- ``inttypes.h``

- ``stdio.h``

- ``string.h``






Classes
-------


- :ref:`exhale_struct_structin__somanet__50t`

- :ref:`exhale_struct_structout__somanet__50t`


Functions
---------


- :ref:`exhale_function_torque__control__executable_8cpp_1acdee3bb2f946acb8f8febb8706dc76f9`

- :ref:`exhale_function_torque__control__executable_8cpp_1a81ce304348a420752ee080480d2b3095`

- :ref:`exhale_function_torque__control__executable_8cpp_1a97314a69b5118a468952c202a1e0f1ae`


Defines
-------


- :ref:`exhale_define_torque__control__executable_8cpp_1a984397379b1b2255a13470ac600ae679`


Variables
---------


- :ref:`exhale_variable_torque__control__executable_8cpp_1ab70420f3258d99639f12667adc46ac1a`

- :ref:`exhale_variable_torque__control__executable_8cpp_1ab60b608e97ebe19c7eba7d0cfcdd6fc0`

- :ref:`exhale_variable_torque__control__executable_8cpp_1aaf1ab5178db6176b2175a1697ebe3ee8`

- :ref:`exhale_variable_torque__control__executable_8cpp_1abd49ea7d1a34c36e74ff633f727a6260`

- :ref:`exhale_variable_torque__control__executable_8cpp_1a902cd563ff7e274d2902d62fe1f575de`

- :ref:`exhale_variable_torque__control__executable_8cpp_1ac0a74031f4386ef30c224dd261dc5a75`

- :ref:`exhale_variable_torque__control__executable_8cpp_1a5553012bcf0ae2767dfb8e45d1a11293`

