ADwin-Pro II
Hardware, manual Dec. 2018
117
Pro II: Digital-I/O Modules
Pro II-DIO-32-TiCo2 Rev. E
ADwin
Programming in ADbasic
The module is comfortably programmed with
ADbasic
instructions. The
instructions are described in
ADbasic
online help and 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
DIO32TiCo.inc
contains instructions for the following
functions:
Function
Instructions
Configure input/outputs
P2_DigProg
P2_DigProg_Set_IO_Level
Query input signals
P2_Digin_Long
Use latch register
P2_Dig_Latch
P2_Dig_Read_Latch
P2_Dig_Write_Latch
Monitor edges of input chan-
nels
P2_Digin_FIFO_Enable
P2_Digin_FIFO_Read
P2_Digin_Fifo_Read_Fast
P2_Digin_FIFO_Read_Timer
P2_Digin_FIFO_Clear
P2_Digin_FIFO_Full
Set spike filter
P2_Digin_Filter_Init
Query edges of input channels
P2_Digin_Edge
Set and read back output sig-
nals
P2_Digout
,
P2_Digout_Bits
P2_Digout_Long
P2_Get_Digout_Long
Set output signals automati-
cally
P2_Digout_FIFO_Clear
P2_Digout_FIFO_Empty
P2_Digout_FIFO_Enable
P2_Digout_FIFO_Read_Timer
P2_Digout_FIFO_Start
P2_Digout_FIFO_Write
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
Instructions
Configure input/outputs
DigProg
DigProg_Set_IO_Level
Query input signals
Digin_Long
Monitor edges of input chan-
nels
Digin_FIFO_Enable
Digin_FIFO_Read
Digin_FIFO_Read_Timer
Digin_FIFO_Clear
Digin_FIFO_Full
Set spike filter
Digin_Filter_Init
Query edges of input channels
Digin_Edge