
Pro II: Digital-I/O Modules
Pro II-DIO-32/1-TiCo Rev. E
ADwin
114
ADwin-Pro II
Hardware, manual Dec. 2018
Programming TiCo
access
To access the
TiCo
processor from the ADwin CPU the following
ADbasic
instructions are defined in the include file
ADwinPro_All.inc
. The instruc-
tions are described in
ADbasic
online help and in the
TiCoBasic
manual.
Use LED
Digout_FIFO_Clear
Digout_FIFO_Empty
Digout_FIFO_Enable
Digout_FIFO_Read_Timer
Digout_FIFO_Start
Digout_FIFO_Write
Use interrupt and event inputs
Check_LED
,
Set_LED
Setting interrupts and event
input
Event_Enable
,
Trigger_Event
Event_Config
Function
Instructions
Function
Instructions
Data exchange with the
TiCo
processor via global variables
P2_TDrv_Init
P2_GetData_Long
,
P2_Get_Par
,
P2_Get_Par_Block
P2_SetData_Long
,
P2_Set_Par
,
P2_Set_Par_Block
P2_Get_TiCo_RingBuffer
,
P2_Set_TiCo_RingBuffer
P2_RingBuffer_Empty
P2_RingBuffer_Full
Control
TiCo
processor
P2_TiCo_Reset
,
P2_TiCo_Start
,
P2_TiCo_Stop
P2_Get_TiCo_Bootloader_
Status
P2_Get_TiCo_Status
,
P2_Workload
Control
TiCo
processes
P2_Process_Status
P2_TiCo_Get_Processdelay
P2_TiCo_Set_Processdelay
P2_TiCo_Start_Process
P2_Tico_Stop_Process
Transfer
TiCo
programs
P2_TiCo_Flash
,
P2_TiCo_Load