About basic definition of source code (main.c) please also refer to below description:
Definitions
DO_LEVEL_REVERSE
EXPLICIT_DEVICE_ID
SWITCH_ID_DEBUG
ADC _NEXT_TIMEOUT
DAC _NEXT_TIMEOUT
SWITCH_DBG_NEXT_TIMEOUT
Note: The SSC configuration file of this application already turn on the "EXPLICIT_DEVICE_ID".
If everything is fine, you should see Build Output window without errors after click "Rebuild" button.
The output binary file "AX58200_GpioAio.bin" in the directory
"YOUR_BSP_FOLDER\SampleCode\Ethercat_GPIO_AIO_Reference_Design\Keil\Objects"
Now you can download the firmware by click "LOAD" button. If the progress complete, the AX58200 will auto-
restart.
Copyright (C) 2019-2020 Reserved by ASIX Electronics Corporation, All Rights Reserved.
Description
Reference Design User Guide
Reverse the output level for LED of EXB-ADIO (low voltage = light up)
This field defined by "ecat_def.h" of Beckhoff SSC
Print current digit (8bit) of "Rotary_Dip_Switch" of EXB-ADIO
Duration for conversion of software for ADC
Conversion duration of software for DAC
Duration for print digit of "Rotary_Dip_Switch"
Table 5 - 1
Figure 5 - 17
Figure 5 - 18
30
GPIO / AIO User Guide
AX58200
Need help?
Do you have a question about the AX58200 and is the answer not in the manual?