MPC2000 Reference Manual [JAPANESE] [ENGLISH]
yFunctionz   yIOz
yUSEz
M_SW

M_SW(192)
M_SW(10,193)
yFORMATz yFUNCTIONz
M_SW([n,]n)

SW function with the filter
yEXPLANATIONz
M_SW is the effective function for the input connected to the MECHANICAL SW or OPTICAL SENSORS.
Some times those inputs cause a-stable input value and those signals let the machinery works wrong.
M_SW function wait the same values 1msec interval defined by t times.
M_SW(t,IOn)
When t is ignored, M_SW retry to read 3 times in 1msec interval.
M_SW(IOn)
IOn means the IO-number of the real IO ports on a PCB.




[LASTMODIFY]2010-03-10 17:15:26 [CREATEDATE]2009-04-27 17:41:29
MPC2000 Reference Manual -R5.11-   (C)2007 ACCEL Corp. all right reserved.