![Tecomat TC600 Series Manual Download Page 66](http://html1.mh-extra.com/html/tecomat/tc600-series/tc600-series_manual_1072620066.webp)
Tecomat TC600
TXV 138 08.02
66
Binary inputs of BM, EM and EM/2 occupy in the inputs image in the
scratchpad 1 to 3 bytes depending on the module type (parameter of the di-
rective
#unit POC_IN = 1, 2 or 3
). State of signals at the PLC inputs
is overwritten in the cycle loop in the scratchpad zone with the initial ad-
dress defined by the parameter
Z_IN
of directive
#unit
.
Zone of binary inputs in the scratchpad has the following structure:
bit
.7
.6
.5
.4
.3
.2
.1
.0
DI7
DI6
DI5
DI4
DI3
DI2
DI1
DI0
Z_IN
DI15 DI14 DI13 DI12 DI11 DI10 DI9
DI8
Z_IN+1
DI19 DI18 DI17 DI16
Z_IN+2
Besides the way given above, binary inputs are accessible by direct
reading of instructions LD with the operand U and the physical input ad-
dress. For structure of the physical address see item 10.5.12.
10.5.4 Servicing of Binary Outputs
Binary outputs are assigned to the scratchpad memory together with bi-
nary inputs by the directive
#unit
with general structure according to
10.5.2. For examples of declaration see 10.5.3.
Binary outputs of BM, EM and EM/2 occupy in the outputs image in the
scratchpad 1, 2 or 3 bytes depending on the module type (parameter of the
directive
#unit POC_OUT = 1, 2 or 3
). Setting of the outputs is done
in the cycle loop according to the state of the outputs image with the initial
address defined by the parameter
Z_OUT
of directive
#unit
.
Zone of binary outputs in the scratchpad has the following structure:
bit
.7
.6
.5
.4
.3
.2
.1
.0
DO7
DO6
DO5
DO4
DO3
DO2
DO1
DO0
Z_OUT
DO15
DO14
DO13 DO12
DO11 DO10
DO9
DO8
Z_OUT+1
DO19 DO18
DO17 DO16
Z_OUT+2
Besides the way of outputs control given above, binary outputs are ac-
cessible by direct writing of instructions WR with the operand U and the
physical output address. For structure of the physical address see item
10.5.12.
PLC's of the TC600 series allows for program-checking of outputs over-
load. This state is signalled at bit S35.1:
S35.1 = 0
- outputs are in correct state
S35.1 = 1
- overload of outputs
When S35.1 = 1, the soft PLC error is also evoked with the code
40 00 50 A0, signalled in S34 and S48 to S51.
10.5.5 Servicing of Analog Inputs
Analog inputs of BM, EM and EM/2 are assigned to the scratchpad
memory by the directive
#unit
with general structure according to 10.5.2.
Parameter
INITAB
of the directive is mandatory. In the case that the BM is
fitted with the piggyback OT-13 or OT-14, analog inputs are declared to-
gether with the BM analog outputs.
Servicing of binary
inputs
Structure of binary
inputs zone
Declaration of binary
outputs
Servicing of binary
outputs
Structure of binary
outputs zone
Checking of overload
of binary outputs
Declaration of analog
inputs