Chapter 25 Remote Module Control API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 25-3
25.2 _DMC_01_set_rm_input_filter
FORMAT
I16 PASCAL _DMC_01_set_rm_input_filter(U16 CardNo, U16 NodeID,U16 SlotID ,
U16 port,U16 value)
Purpose
Sets software filter level for input port of the remote I/O module. (When the value of the
variable is 0, the software filter time becomes 1 ms. When the value is 1, the software filter
time becomes 2 ms, and so on.)
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
port U16 Selection
0: Port 0
1: Port 1
2: Port 2
3: Port 3
value U16 Number
Value of software filter. Value of 0 means filter
time of 1 ms.
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 Port=0;
U16 Value=2; // In this example, the value is 2, so software filter time is 3 ms.
/* Set software filter time of Port 0 on Remote digital input module to 3 ms */
I16 status = _DMC_01_set_rm_input_filter(CardNo, NodeID, SlotID, Port, Value);