![Melec C-875 Скачать руководство пользователя страница 66](http://html1.mh-extra.com/html/melec/c-875/c-875_instruction-manual_1767048066.webp)
- 66 -
9-3. PULSE COUNTER COMPARE REGISTER1 SET Command
COMMAND………
01
Function : Sets a specified value in COMPARE REGISTER1.
H
Execution sequence
COMPARE DATA is specified in COUNTER DATA1 PORT, COUNTER DATA2 PORT
and COUNTER DATA3 PORT.
(Note) COUNTER DATA1
PORT WRITE
The contents of COUNTER DATA1 PORT to COUNTER DATA3 PORT are as follows.
COUNTER DATA2
DATA1 PORT
DATA2 PORT
DATA3 PORT
7
0
7
0
7
0
PORT WRITE
D
D
D
D D
D
COUNTER DATA3
PORT WRITE
The order
may not
COMPARE DATA (0~FFFFFF )
H
COUNTER COMMAND
be observed.
01
WRITE
H
When COMPARE DATA is negative, it is represented in 2's complement form.
COMPARE DATA is 800000
at POWER ON/RESET.
H
Note: Note that the DATA and COMMAND PORTs described in this chapter are special ports for the counters
and their port addresses are different from that of the DRIVE PORTs.
For the port address, refer to 4-1.
9-4. PULSE COUNTER COMPARE REGISTER2 SET Command
COMMAND………
02
Function:
Sets a specified value in COMPARE REGISTER2.
H
The execution sequence is the same as that of the COMPARE REGISTER1 SET
command.
9-5. PULSE COUNTER COMPARE REGISTER3 SET Command
COMMAND………
03
Function:
Sets a specified value in COMPARE REGISTER3.
H
The execution sequence is the same as that of the COMPARE REGISTER1 SET
command.
9-6. PULSE COUNTER COMPARE REGISTER4 SET Command
COMMAND………
04
Function:
Sets a specified value in COMPARE REGISTER4.
H
The execution sequence is the same as that of the COMPARE REGISTER1 SET
command.
9-7. PULSE COUNTER COMPARE REGISTER5 SET Command
COMMAND………
05
Function:
Sets a specified value in COMPARE REGISTER5.
H
The execution sequence is the same as that of the COMPARE REGISTER1 SET
command.
9-8. DFL COUNTER PRESET Command
COMMAND………
06
Function : Modifies the DIFFERENTIAL COUNTER value to the specified one.
H
The execution sequence is the same as that of the PULSE COUNTER RESET
command.
At POWER ON/RESET, the counter value is set to 0.
Содержание C-875
Страница 98: ... 98 2 M TYPE 3 H TYPE ...