Descriptions Of The Control Registers; Operation Of A Counter - Delta AH500 Manual

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH5 00 Mod ule Manua l
will be valid if AH02HC-5A/AH04HC-5A stops counting. If the users want to write parameters by
means of TO, the maximum data length is 128 words. If the users want to write parameters by
means of DTO, the maximum data length is 64 double words.
7.9

Descriptions of the Control Registers

7.9.1

Operation of a Counter

CH0
High word Low word High word Low word High word Low word High word Low word
-
#0
*1: CR0, CR28, CR56, and CR84 can only be used as normal exchange registers. They can not be
set by means of the instruction TO.
[Description]
Bit 0~bit 15 are described below.
bit#
0
Starting the count
Resetting the sampling register/accumulation register/pulse input register
1
Resetting bit 1 in CR19/CR47/CR75/CR103
2
Resetting bit 2 in CR19/CR47/CR75/CR103
3
Resetting bit 3 in CR19/CR47/CR75/CR103
4-5
Reserved
6
Clearing the error flag
7~15
Reserved
*. Bit 1~bit3 and bit6 will be turned OFF automatically after the related functions are fulfilled.
1. Bit 0 in CR0/CR28/CR56/CR84: ON: Starting the count; OFF: Stopping the count
a. Starting the count: If bit 0 in CR0/CR28/CR56/CR84 is turned from OFF to ON, and the
parameters are set correctly, the system will start the count. If the parameters are set
incorrectly, bit 0 in CR0/CR28/CR56/CR84 will be turned OFF immediately, and bit 6 in
CR19/CR47/CR75/CR103 will be turned ON. Users can read the error code in
CR26/CR54/CR82/CR110.
b. Stopping the count: If bit 0 in CR0/CR28/CR56/CR84 is turned from ON to OFF, the
system will stop the count.
7 - 1 8
CH*1
-
#28
Description
CH2
-
#56
CH3
-
#84

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents