
ADwin-Pro II
Hardware, manual Dec. 2018
51
Pro II: Multi-IO-Module
Pro II-MIO-D12 Rev. E
ADwin
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.
General
Use LED
Check_LED
,
Set_LED
Use interrupt and event inputs
Event_Enable
,
Event_Read
Event_Config
,
Trigger_Event
Range
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