
Pro II: Multi-IO-Module
Pro II-MIO-D12 Rev. E
ADwin
50
ADwin-Pro II
Hardware, manual Dec. 2018
Programming in
TiCoBasic
The module can be programmed with
TiCoBasic
. The instructions are
described in
TiCoBasic
online help.
The include file
MIO-D12_TiCo.inc
contains instructions for the functions:
Use counter
P2_Cnt_Clear
,
P2_Cnt_Get_Status
P2_Cnt_Latch
,
P2_Cnt_Sync_Latch
P2_Cnt_Read
,
P2_Cnt_Read4
P2_Cnt_Read_Latch
P2_Cnt_Read_Latch4
Use PWM counter
P2_Cnt_PW_Enable
,
P2_Cnt_PW_Latch
P2_Cnt_Get_PW
,
P2_Cnt_Get_PW_HL
,
P2_Cnt_Read_Int_Register
SSI Decoder
Use SSI decoder
P2_SSI_Mode
,
P2_SSI_Set_Bits
P2_SSI_Set_Clock
P2_SSI_Set_Delay
,
P2_SSI_Read
P2_SSI_Start
,
P2_SSI_Status
General
Use LED
P2_Check_LED
,
P2_Set_LED
Synchronize
P2_Sync_All
,
P2_Sync_Enable
P2_Sync_Stat
Use interrupt and event inputs
P2_Event_Enable
,
P2_Event_Read
P2_Event_Config
Range
Instructions
Range
Instructions
Transistor Outputs
Set and reset output signals
MIO_Digout
,
MIO_Digout_Long
MIO_Get_Digout_Long
Use latch register
MIO_Dig_Latch
MIO_Dig_Write_Latch
Optocouple Inputs
Query input signals
MIO_Digin_Long
Use latch register
MIO_Dig_Latch
MIO_Dig_Read_Latch
Counter Block
Configure counter
Cnt_Enable
,
Cnt_Mode
Use counter
Cnt_Clear
,
Cnt_Get_Status
Cnt_Latch
,
Cnt_Read
Cnt_Read_Int_Register
Cnt_Sync_Latch
,
Cnt_Read_Latch
Use PWM counter
Cnt_PW_Enable
,
Cnt_PW_Latch
Cnt_Get_PW_HL
Cnt_PW_Enable
,
Cnt_PW_Latch
Cnt_Get_PW_HL
P2_Cnt_Read_Int_Register
SSI Decoder
Use SSI decoder
SSI_Mode
,
SSI_Set_Bits
SSI_Set_Clock
SSI_Set_Delay
,
SSI_Read
SSI_Start
,
SSI_Status