[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 214: htmlspecialchars(): charset `_order' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 216: htmlspecialchars(): charset `_order' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 87: htmlspecialchars(): charset `_order' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 129: htmlspecialchars(): charset `_order' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 130: htmlspecialchars(): charset `_order' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1685: htmlspecialchars(): charset `_order' not supported, assuming utf-8
PROMOTIC FORUM • View topic - Odczyt i wyświetlanie zmiennej TimeOfDay
Page 1 of 1

Odczyt i wyświetlanie zmiennej TimeOfDay

PostPosted: Tue 28. Nov 2023 11:06:23
by MPolak
Witam.
Mam problem jak odczytać, wyświetlić i edytować zmienną rodzaju TimeOfDay na sterownika S7-1200.

Pozdrawiam
Mirek

Re: Odczyt i wyświetlanie zmiennej TimeOfDay

PostPosted: Fri 01. Dec 2023 12:56:39
by Robert Siwek
Witam,

TimeOfDay (TOD) to 32 bitowa wartość DINT.
Proszę daną zmienną odczytać korzystając z typu D.
W ten sposób otrzyma Pan ilość milisekund danego dnia.

Robert