Siemens SIMATIC ET 200AL System Manual page 2212

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

Advertisement

Programming
4.3 Time-based IO
Parameter
The table below shows the parameters of the TIO_DQ instruction.
Parameter
Declaration in
library version
< V2.0
REQ
Input
HWID*
Input
Channel*
Input
Out_Mode
Input
TimeStampRE
Input
TimeStampFE
Input
StatusDQ
Output
DONE
Output
BUSY
Output
Error
Output
Status
Output
TIO_SYNC
Input
_Data*
* Checked once at startup of the CPU
54
Data type
Default
≥ V2.0 S7-1500
Bool
False
HW_IO
0
UInt
0
UInt
2
LTime
LT#0ns
LTime
LT#0ns
Bool
False
Bool
False
Bool
False
Bool
False
DWord
16#0
InOut
"TIO_
SYNC_
Data"
Description
Starts the job at a positive edge.
Hardware identifier for TIO module from hardware
configuration
Number (0 ... m) of the digital output of the connected TIO
module
Specify the output mode for the edges at the digital output:
0: Only rising edge is output (TimeStampRE).
1: Only falling edge is output (TimeStampFE).
2: Both edges are output (TimeStampRE and
TimeStampFE).
3: Each edge is output directly if TimeStampRE = 0 or
TimeStampFE = 0 If both time stamps have the value "0" or
if no time stamp has the value "0", no edge is output.
4 to 255: Invalid
Time stamp: Time when a positive edge is to be output.
Time stamp: Time when a falling edge is to be output.
Actual status of the digital output.
If an inversion of the digital output is configured, StatusDQ
is inverted as well.
StatusDQ shows the internal state of the digital output
independent of the effect of any configured HW enable.
DONE = True is displayed for one cycle: The job was
completed without errors.
BUSY = True: The job has not yet been completed.
Error = True: An error has occurred. In this case, BUSY and
DONE are set to False. For detailed information see Status
parameter.
Error is reset as soon as the error is corrected.
Status of the instruction: see description of Status
parameter
System time provided for the TIO instructions of the TIO
modules by the TIO_SYNC instruction. See UDT
TIO_SYNC_Data (Page 58).
Connect this parameter with the TIO_SYNC_Data output
parameter of the TIO_SYNC instruction.
High-precision input/output with Time-based IO
Function Manual, 11/2019, A5E33454822-AC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents