ADwin-Pro II
Hardware, manual Dec. 2018
95
Pro II: Analog Output Modules
Pro II-AOut-4/16 Rev. E
ADwin
Programming
The module is comfortably programmed with
ADbasic
instructions. The
instructions are described in
ADbasic
online help and in the Pro II Software
manual.
The include file
ADwinPro_All.inc
contains instructions for the following
functions:
Programming in
TiCoBasic
The module can be programmed with
TiCoBasic
instructions. The instructions
are described in
TiCoBasic
online help.
The include file
AOut_TiCo.inc
contains instructions for the following
functions:
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.
Function
Instructions
Output values
P2_DAC
,
P2_DAC4
,
P2_DAC4_Packed
Output values step by step
P2_Write_DAC
,
P2_Write_DAC4
P2_Write_DAC4_Packed
P2_Write_DAC32
P2_Start_DAC
Synchronize
P2_Sync_All
,
P2_Sync_Enable
P2_Sync_Stat
Use LED
P2_Check_LED
,
P2_Set_LED
Use interrupt and event inputs
P2_Event_Enable
,
P2_Event_Read
P2_Event_Config
Function
Instruction
Output values
DAC
Output values step by step
Write_DAC
,
Write_DAC32
,
Start_DAC
Use LED
Check_LED
,
Set_LED
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