4 two counters 32 bits, 24 v dc - epm-s603, Two counters 32 bits, 24 v dc − epm−s603, Profibus communication – Lenze I/O system 1000 System Manual User Manual
Page 450: Read data: 12 bytes
PROFIBUS communication
Parameterising the counter
Two counters 32 bits, 24 V DC − EPM−S603
l
450
EDSIO1000 EN 7.0
9.7.4
Two counters 32 bits, 24 V DC − EPM−S603
By integration of the GSE file VI010C19.gse you can specify all counter parameters via a
hardware configuration.
The following functions can be parameterised:
Counting functions
Description
Counting
continuously
The counter counts from 0 to the counting limit, then skips to the opposite counting limit
and continues to count from there.
Signal evaluation
Description
Single rotary
transducer
Connection to input "A/pulse" and "B/direction"
Double rotary
transducer
Quadruple rotary
transducer
Direction
Pulse at input "A/pulse" and direction at "B/direction"
Additional functions Description
Gate function
The gate function serves to start, stop, and interrupt a counting function. In the case of
this counter the internal gate (I−gate) is conform to the software gate (SW gate) which
you control via your user program (status word in the output area).
Read data: 12 bytes
Input area in the process image
Addr.
Access
Assignment
+0
Double word
Counter 1: count value
+4
Double word
Counter 2: count value
+8
Word
Counter 1: status word (see following table)
+10
Word
Counter 2: status word (see following table)
EPM−S603 status word
Bit
Designation
Function
0
−
Reserved
1
−
Reserved
2
STS_SW−GATE
Software gate status (set if SW gate active)
3
−
Reserved
4
−
Reserved
5
STS_GATE
Status of internal gate (set if internal gate active)
6
−
Reserved
7
STS_C_DN
Status set for counter direction backwards
8
STS_C_UP
Status set for counter direction forwards
9
−
Reserved
10
−
Reserved
11
STS_OFLW*
Status set in the case of overflow
12
STS_UFLW*
Status set in the case of underflow
13
STS_ZP*
Status set in the case of zero crossing
14
−
Reserved
15
−
Reserved
*
The bits are set until reset with RES_SET (bit 6 control word)