Siemens SIMATIC ET 200AL System Manual page 1527

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200AL:
Table of Contents

Advertisement

Parameter
The table below shows the parameters of the TIO_DI instruction.
Parameter
Declaration
HWID*
Input
Channel*
Input
TIO_SYNC_
Input
Data*
EdgeSel
Input
TO*
Input
DI
Output
TimeStamp
Output
RE
TimeStampF
Output
E
EventCount
Output
RE
EventCount
Output
FE
LEC
Output
High-precision input/output with Time-based IO
Function Manual, 08/2014, A5E33454822-AB
Data type
Default
S7-1500
HW_IO
0
UInt
0
"TIO_SYNC_
Data"
UInt
3
LTime
LT#0ns
Bool
False
LTime
LT#0ns
LTime
LT#0ns
UInt
0
UInt
0
UInt
0
Description
Hardware identifier for TIO module from HWCN
Number (0 ... m) of the digital input of the connected
TM Timer DIDQ
System time provided for the TIO instructions of the TIO
modules by the TIO_SYNC instruction. See UDT
"TIO_SYNC_Data" (Page 57).
Connect this input parameter with the "TIO_SYNC_Data" output
parameter of the TIO_SYNC instruction.
Specify the edges for which time stamps are detected:
0
: Reserved
D
1
: Only at positive edges
D
2
: Only at negative edges
D
3
: Positive and negative edges (order depending on
D
occurrence)
4
: First positive, then negative edge
D
5
: First negative, then positive edge
D
6 bis 255
: Reserved
D
T
: Time for output of isochronous output data.
o
Apply T
from the ET 200 station (properties of the PROFINET
o
interface).
Status of digital input.
If an inversion of the digital input is configured, this parameter is
inverted as well.
Time stamp: Time at which a positive edge was detected.
Exception:
EdgeSel = 2
: Time at which a negative edge was detected.
D
Time stamp: Time at which a negative edge was detected.
Exception:
EdgeSel = 1
: Time at which a positive edge was detected.
D
Counter: Is incremented with each new, valid time stamp at a
positive edge. The counter is reset with each CPU startup.
Counter: Is incremented with each new, valid time stamp at a
negative edge. The counter is reset with each CPU startup.
Counter: Number of edges for which no time stamp could be
saved. The module can count a maximum of seven edges per
application cycle. The counter is reset with each new
application cycle.
Programming
4.3 Time-based IO
43

Advertisement

Table of Contents
loading

Table of Contents