EasyManua.ls Logo

turck BL67 - Internal Registers - Read and Write Operations

turck BL67
507 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
D300529 0115 - BL67 I/O modules
12-89
BL67-1CNT/ENC
12.5.11 Internal registers - read and write operations
This module is provided with a universal register interface that enables access to up to 128 registers.
These are accessed via the process data. For write access, it must be ensured beforehand that the reg-
ister write interface is in the default status and that a write access operation is therefore not currently
active.
This is ensured if REG_WR = 0 in the process output data, and is confirmed in the process input data with
REG_WR_AKN = 0.
Write access is then possible. The following values must be transferred with the process output data for
this:
REG_WR_ADR = register address,
REG_WR_DATA = value to be written (32 bit)
REG_WR = 1 (write command)
The module acknowledges the processing of the write command via the process input data by signal-
ing REG_WR_AKN = 1.
REG_WR_ACCEPT = 1 in the process input data confirms whether the write operation to the register
was successfully completed. If the register could not be written (no access authorization, out of value
range, …), this is indicated by REG_WR_ACCEPT = 0. The write operation must then be terminated by
REG_WR = 0 in order to resume the default state.
The address specified at REG_RD_ADR of the process output data is used for read access. The read reg-
ister content is entered in REG_RD_DATA (bytes 4-7) if the address at REG_RD_ADR was accepted in the
process input data and if REG_RD_ABORT = 0 confirms that the register was read error-free.
Gate function 000 = Counter permanently
inactive
Selection of the hardware gate
or activation of the software
gate.
001 = DI0 is HW gate
010 = DI1 is HW gate
011 = DI2 is HW gate
100 = DI3 is HW gate
101 = Z is gate
110 = only SW gate
A
111 = reserved
REG_AUX_ADR 0 to 127
Default: 48
Definition of the register num-
ber from the register interface
(REG_PARA;
REG_COUNTER_VALUE,
REG_LOWER_LIMIT etc., see
page 12-92), whose content
should be mapped into byte 8 -
11 of the process input data (see
page 12-79).
Table 12-12:
Parameters of the
BL67-1CNT/ENC
Parameter name Value Meaning

Table of Contents

Other manuals for turck BL67

Related product manuals