Files

25 lines
911 B
Smalltalk
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(*
===============================================================================
Project : PLC_Library
Device : -
Path : Structs
Name : AnalogValueState
Type : DUT
===============================================================================
*)
{attribute 'qualified_only'}
{attribute 'strict'}
TYPE AnalogValueState:
(
undefined := INT#0, (* 0 - не определено *)
fail_hi := INT#5, (* 5 - аварийный по верхнему уровню *)
warn_hi := INT#4, (* 4 - предупредительный по верхнему уровню, *)
normal := INT#1, (* 1 - норма *)
warn_low := INT#2, (* 2 - предупредительный по нижнему уровню *)
fail_low := INT#3, (* 3 - аварийный по нижнему уровню *)
no_signal := - INT#1 (* -1 - нет связи с датчиком *)
) := undefined;
END_TYPE