Name Declaration Data type Address
(Inst.-DB)
Default
value
Comment
SW_GATE INPUT BOOL 4.0 FALSE Enables the Software gate
JOB_REQ INPUT BOOL 4.3 FALSE Initiates the job (edge 0-1)
JOB_ID INPUT WORD 6.0 0 Job ID
JOB_VAL INPUT DINT 8.0 0 Value for write jobs
STS_GATE OUTPUT BOOL 12.0 FALSE Status of the internal gate
MEAS_VAL OUTPUT DINT 14.0 0 Evaluated frequency
JOB_DONE OUTPUT BOOL 22.0 TRUE New job can be started.
JOB_ERR OUTPUT BOOL 22.1 FALSE Job error
JOB_STAT OUTPUT WORD 24.0 0 Job error ID
Local data only in instance DB
Name Data type Address
(Instance DB)
Default Comment
JOB_OVAL DINT 28.0 - Output value for read
request.
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 the registers of the frequency meter the request inter-
face of the SFB 48 may be used.
So that a new job may be executed, the previous job must have be
finished with JOB_DONE = TRUE.
The deployment of the request interface takes place at the following
sequence:
Frequency meter
request interface
Proceeding
VIPA System 300SDeployment I/O periphery
Frequency measurement > SFB 48 - FREQUENC - Frequency measurement
HB140 | CPU-SC | 312-5BE13 | GB | 15-50 124