{"id":"iec-lt","model_id":"LT","name":"CODESYS LT","summary":"LT is an IEC comparison operator that performs the \"less than\" function. If the first operand is less than the second operand, the operator yields TRUE; otherwise it yields FALSE. The operands may be of any basic data type.","study_notes":["Permitted data types of the operands: any basic data type.","The operator result is boolean: TRUE when the first operand is less than the second, otherwise FALSE.","Source example in ST: Var1 := 20 < 30; where 20 < 30 yields TRUE."],"safety_notes":[],"sources":[{"url":"https://infosys.beckhoff.com/content/1033/tc3_plc_intro/2528988299.html","title":"Beckhoff Information System","accessed":"2026-10-26"},{"url":"https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_operator_lt.html","title":"CODESYS Group","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":2,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"iec_61131_3","code":"LT","parameters":[],"dialect":"CODESYS","related":[],"standards":[]},"url":"https://machineschema.com/instruction/iec-lt","license":"https://creativecommons.org/licenses/by/4.0/"}