Pulse I/O Board
Programming
Note
100
2. This setting is only recognized when the CQM1H is started. To change the
setting, turn the power OFF and then ON again before executing the pro-
gram.
3. If DM 6611 is used to set ports 1 and 2 to Simple Positioning Mode, it is
possible to use the BCMP(68) instruction to check the contents of the PV
words of high-speed counters 1 and 2 (IR 232 to IR 235) and use this in-
formation in place of high-speed counter 1 and 2 interrupts. However, the
PV obtained using this method may vary slightly from the actual PV.
Port 1 and Port 2 Operation Settings
DM 6643 contains the settings for port 1, and DM 6644 contains the settings
for port 2. These settings determine the operating parameters for these high-
speed counters. Use settings that match the operating environment of each
port.
DM6643/DM 6644
Numeric Range
0: Linear Mode
1: Ring Mode
Reset Method
0: Z-phase and software reset
1: Software reset
Input Mode
0: Differential Phase Mode
1: Pulse/Direction Mode
2: Up/Down Mode
Default: 0000 (Linear Mode, Z-phase and software reset, Differential Phase)
Mode
Input Refresh Word Settings
DM 6634 and DM 6635 contain the input refresh word settings for high-speed
counters 1 and 2 respectively. Make these settings when it is necessary to
refresh inputs before interrupt execution.
Number of words (2-digit BCD)
Beginning word (2-digit BCD)
(Correspond to IR 000 to IR 015)
Default: 0000 (No input refresh)
Use the following steps to program high-speed counters 1 and 2.
1. High-speed counters 1 and 2 begin counting when the proper PC Setup
settings are made.
2. The PVs of high-speed counters 1 and 2 are reset to 0 when power is
turned ON, when operation begins, and when operation stops.
3. Comparison with the comparison table and interrupts will not be performed
using the count operation alone.
4. The PV of high-speed counter 1 is stored in IR 232 and IR 233, and the PV
of high-speed counter 2 is stored in IR 234 and IR 235.
15
0
Bit
−
15
Bit
DM 6634/DM 6635
00 to 16
00 to 15
Section 2-2
0
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?
Questions and answers