Date: File:GRAPH_05e.1 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Документирование и архивы ASCII
Date: File:GRAPH_05e.2 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives FUNCTION_BLOCK FB1 (*$_COM Sequencer Assembly Line (Example) *) (*$_CMPSET S7Graph version: 5000 WarningLevel: None FBInterface: UserDefined SSBLevel: Array ASMsgLevel: No TargetMachine: AS300 RuntimeBlock: FC CritAvail: F SSkipOn: F AckReq: F SyncAvail: F PermILMan: F SWMLocked: F InitVarStat: 4401 *) FUNCTION_BLOCK FB1 (*$_COM Sequencer Assembly Line (Example) *) (*$_CMPSET S7Graph version: 5000 WarningLevel: None FBInterface: UserDefined SSBLevel: Array ASMsgLevel: No TargetMachine: AS300 RuntimeBlock: FC CritAvail: F SSkipOn: F AckReq: F SyncAvail: F PermILMan: F SWMLocked: F InitVarStat: 4401 *) Цель
Date: File:GRAPH_05e.3 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Основы документирования
Date: File:GRAPH_05e.4 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Диапазон печати, общие установки
Date: File:GRAPH_05e.5 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Настройки приложения, страница установок принтера
Date: File:GRAPH_05e.6 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Начальнй шаг Переход и его имя (до 24 символов) Шпг и его имя (до 24 символов) Комментарий последовательности (до 2048 символов) Предварительный обзор печати: Обзор
Date: File:GRAPH_05e.7 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Следующая страница Предварительный обзор печати: Вывод простой страницы
Date: File:GRAPH_05e.8 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Последовательность как архивный файл ASCII Последовательность как архивный файл ASCII Экспортированный исходник ASCII Экспортированный исходник ASCII Архивация FUNCTION_BLOCK FB1 (*$_COM Sequencer Assembly Line (Example) *) (*$_CMPSET S7Graph-Version: 5000 WarningLevel: None FBInterface: UserDefined SSBLevel: Array ASMsgLevel: No TargetMachine: AS300 RuntimeBlock: FC CritAvail: F SSkipOn: F AckReq: F SyncAvail: F PermILMan: F SWMLocked: F InitVarStat: 4401 *) FUNCTION_BLOCK FB1 (*$_COM Sequencer Assembly Line (Example) *) (*$_CMPSET S7Graph-Version: 5000 WarningLevel: None FBInterface: UserDefined SSBLevel: Array ASMsgLevel: No TargetMachine: AS300 RuntimeBlock: FC CritAvail: F SSkipOn: F AckReq: F SyncAvail: F PermILMan: F SWMLocked: F InitVarStat: 4401 *) Сохранение последовательности в кодах ASCII
Date: File:GRAPH_05e.9 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Экспорт исходников GRAPH
Date: File:GRAPH_05e.10 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Импорт исходника GRAPH
Date: File:GRAPH_05e.11 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives FUNCTION_BLOCK FB1 (*$_COM Sequencer Assembly Line (Example) *) (*$_CMPSET S7Graph-Version: 5000 WarningLevel: None FBInterface: UserDefined SSBLevel: Array ASMsgLevel: No TargetMachine: AS300 RuntimeBlock: FC CritAvail: F SSkipOn: F AckReq: F SyncAvail: F PermILMan: F SWMLocked: F InitVarStat: 4401 *) VAR_INPUT OFF_SQ : Bool := FALSE;(*Turn sequencer off (OFF_SEQUENCE)*) INIT_SQ : Bool := FALSE;(*Set sequencer to initial state (INIT_SEQUENCE)*) ACK_EF : Bool := FALSE;(*Acknowledge all errors and disturbances (ACKNOWLEDGE_ERROR_FAULT)*) SW_AUTO : Bool := FALSE;(*Set automatic mode (SWITCH_MODE_AUTOMATIC)*) SW_TAP : Bool := FALSE;(*Set inching mode 'T and T_PUSH' (SWITCH_MODE_TRANSITION_AND_PUSH)*) SW_MAN : Bool := FALSE;(*Set manual mode (SWITCH_MODE_MANUAL)*) S_SEL : INT := 0;(*Select step for display in S_NO (STEP_SELECT)*) S_ON : Bool := FALSE;(*Activate step displayed in S_NO (STEP_ON)*) S_OFF : Bool := FALSE;(*Deactivate step displayed in (STEP_OFF)*) T_PUSH : Bool := FALSE;(*Enable transition to switch in SW_TAP and SW_TOP (PUSH_TRANSITION)*) anal_addr : int := 0; frequency : Bool := FALSE; upper_limit : Real := E+000; threshold_high : int := 0; threshold_low : int := 0; END_VAR VAR_OUTPUT S_NO : INT := 0;(*Step number (STEP_NUMBER)*) ERR_FLT : Bool := FALSE;(*Group error interlocks or supervisions (IL_ERROR_OR_SV_FAULT)*) AUTO_ON : Bool := FALSE;(*SW_AUTO mode is active (AUTOMATIC_IS_ON)*) TAP_ON : Bool := FALSE;(*SW_TAP mode is active (T_AND_PUSH_IS_ON)*) MAN_ON : Bool := FALSE;(*SW_MAN mode is active (MANUAL_IS_ON)*) weight_bcd : Bool := FALSE; END_VAR INITIAL_STEP Ground_State (*$_NUM 1*): (*$_COM Step Comment*) INTERLOCK CONDITION := (NOT "INI1" AND NOT "INI2" AND NOT "INI3" AND "LB1" ) END_INTERLOCK "M_H1" (NC) END_STEP STEP Part_finished (*$_NUM 2*): (*$_COM Step comment*) SUPERVISION CONDITION := (I0.7 ) END_SUPERVISION "Horn" (L T#2S) END_STEP Пример: Архив ASCII как исходник GRAPH
Date: File:GRAPH_05e.12 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Упражнение: Документирование, сохранение в текстовом виде