{"id":"iec-gt","model_id":"GT","name":"CODESYS GT","summary":"GT is an IEC operator that performs the greater-than comparison. It returns TRUE if the first operand is greater than the second operand; otherwise it returns FALSE. The document shows an ST example with the result FALSE.","study_notes":["Permitted data types of the operands: any basic data type.","The example uses VAR1 := 20 > 30;.","The example is shown in ST and FBD representations."],"safety_notes":[],"sources":[{"url":"https://infosys.beckhoff.com/content/1033/tc3_plc_intro/2528982923.html","title":"Beckhoff Information System","accessed":"2026-10-26"},{"url":"https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_operator_gt.html","title":"CODESYS Group","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":3,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"iec_61131_3","code":"GT","syntax":"20 > 30","parameters":[],"dialect":"CODESYS","related":[],"standards":[]},"url":"https://machineschema.com/instruction/iec-gt","license":"https://creativecommons.org/licenses/by/4.0/"}