I-7088 and M-7088 User Manual, Rev: A1.2 7MH-026-A12
12
1.5. Quick Start
Refer to
http://www.icpdas.com/download/7000/manual.htm
and use the “DCON Utility” to control the module. Otherwise, use
“DCON Utility -> Terminal -> Command Line” and follow the
commands shown below.
DI Status and Counter
1. Type @01DI[Enter]
Receive => !01xx01
2. Type $01500[Enter]
Receive => !01
3. Type @01P200000000[Enter]
Receive => !01
4. Type $0132FFFFFFFF[Enter]
Receive => !01
5. Type $0162[Enter]
Receive => !01
6. Type #012[Enter]
Receive => >00000000
7. Type $01504[Enter]
Receive => !01
8. Type #012[Enter]
Receive => >xxxxxxxx
Step 1: Read the DI status channel 0 = 1, channel 1 = 0, etc.
Step 2: Disable the DI counter of channel 2
Step 3: Set the DI preset counter value (00000000) of channel 2
Step 4: Set the DI max. counter value (FFFFFFFF) of channel 2
Step 5: Reset the DI counter of channel 2
Step 6: Read the DI counter value (00000000) of channel 2
Step 7: Enable the DI counter of channel 2
Step 8: Read the DI counter value (xxxxxxxx) of channel 2