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

Odczyt i wyświetlanie zmiennej TimeOfDay

Główne forum techniczne dla dyskusji dotyczących problemów przy wytwarzaniu aplikacji PROMOTIC oraz sposobach ich rozwiązania.

Odczyt i wyświetlanie zmiennej TimeOfDay

Postby MPolak » Tue 28. Nov 2023 11:06:23

Witam.
Mam problem jak odczytać, wyświetlić i edytować zmienną rodzaju TimeOfDay na sterownika S7-1200.

Pozdrawiam
Mirek
MPolak
 
Posts: 2
Joined: Wed 15. Nov 2023 9:48:13

Re: Odczyt i wyświetlanie zmiennej TimeOfDay

Postby Robert Siwek » Fri 01. Dec 2023 12:56:39

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
Robert Siwek
 
Posts: 94
Joined: Thu 13. Dec 2012 9:29:09


Return to Nie wiem jak zrobić...

Who is online

Users browsing this forum: No registered users and 11 guests