Name
Data type
Address
(Instance
DB)
Default value
Comment
RES00
BOOL
26.0
FALSE
reserved
RES01
BOOL
26.1
FALSE
reserved
RES02
BOOL
26.2
FALSE
reserved
STS_CMP
BOOL
26.3
FALSE
Comparator Status *
Status bit
STS_CMP
indicates that the comparison
condition of the comparator is or was reached.
STS_CMP
also indicates that the output was set.
(
STS_DO
= TRUE).
RES04
BOOL
26.4
FALSE
reserved
STS_OFLW
BOOL
26.5
FALSE
Overflow status *
STS_UFLW
BOOL
26.6
FALSE
Underflow status *
STS_ZP
BOOL
26.7
FALSE
Status of the zero mark *
The bit is only set when counting without main
direction. Indicates the zero mark. This is also set
when the counter is set to 0 or if is start counting.
JOB_OVAL
DINT
28.0
Output value for read request.
RES10
BOOL
32.0
FALSE
reserved
RES11
BOOL
32.1
FALSE
reserved
RES_STS
BOOL
32.2
FALSE
Reset status bits:
Resets the status bits: STS_CMP, STS_OFLW,
STS_ZP.
The SFB must be twice called to reset the status bit.
*) Reset with RES_STS
Per channel you may call the SFB in each case with the same instance
DB, since the data necessary for the internal operational are stored here.
Writing accesses to outputs of the instance DB is not permissible.
To read/write counter registers the request interface of the SFB 47 may be used. So that
a new job may be executed, the previous job must have be finished with
JOB_DONE
=
TRUE.
Local data only in
instance DB
Counter request interface
VIPA System 300S
+
Deployment I/O periphery
Counter > SFB 47 - COUNT - Counter controlling
HB140 | CPU-SC | 313-5BF23 | en | 19-01
113