Programming
4.3 Time-based IO
High-precision input/output with Time-based IO
Function Manual, 11/2019, A5E33454822-AC
33
Parameter
Declaration in
library version
Data type Default
Description
< V2.0
≥ V2.0
S7-1500
OperatingState
Static
Int
0
Internal operating state of the instruction:
•
0: Input parameters are checked
•
1: Optional parameters are read out
•
2: Read-out parameters are checked
•
3: Normal operation (all parameters OK, TIO modules
synchronized)
As soon as operating state 3 is reached, time stamps can
be read in and edges can be output. If you want to repeat
the synchronization of the TIO modules and the readout of
the optional parameters, you can set the operating state to
0.
SendClock
Input
Static
LTime
LT#0ns
Send clock of the sync domain.
Apply the send clock from the PROFINET configuration.
AppCycle-
Factor
Static
UInt
0
Application cycle factor:
•
Range of values: 0 <= AppCycleFactor <= 85
•
0: SendClock, AppCycleFactor and ToTimes are read
in automatically
The application cycle T
APP
is calculated as follows:
T
APP
= AppCycleFactor × SendClock
ToTimes
Static
LTime
array
[1...8]
LT#0ns
T
o
for each TIO module: Time for output of isochronous
output data.
* Checked once at startup of the CPU
** The IPO model (PIP_Mode = 2) provides the shortest response times, but it also places the highest demands on system
performance. Processing of all TIO instructions and other program sections must be completed within one send clock.
Select the OIP model (PIP_Mode = 0) only if you use only
one
instance of the TIO_SYNC instruction per process image
partition so that the SYNC_PI and SYNC_PO instructions are not called more than once in the isochronous OB. In
addition, do not call SYNC_PI and SYNC_PO in the other program sections in the OIP model.
Note
The TIO instructions must be called in an "MC-PreServo" OB.
If you use an OB of the "MC-PostServo" type, you can decide separately for each TIO model
whether it is used with Motion Control technology objects or with TIO instructions.
If you call TIO_SYNC in an "MC-PostServo" type OB, you need to use PIP_Mode = 2 and
also cannot use any reduction ratio.
Содержание SIMATIC ET 200AL
Страница 2: ......
Страница 143: ......
Страница 218: ......
Страница 250: ......
Страница 296: ......
Страница 337: ......
Страница 365: ......
Страница 392: ......
Страница 419: ......
Страница 451: ......
Страница 483: ......
Страница 597: ......
Страница 648: ......
Страница 702: ......
Страница 739: ......
Страница 781: ......
Страница 804: ......
Страница 828: ......
Страница 853: ......
Страница 880: ......
Страница 906: ......
Страница 996: ...Diagnostics ...
Страница 1121: ......
Страница 1565: ......