Sie sind auf Seite 1von 12

Documentation and ASCII Archives

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.1

SITRAIN Training for


Automation and Drives

Target
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
*)

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.2

SITRAIN Training for


Automation and Drives

Documentation Basis

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.3

SITRAIN Training for


Automation and Drives

Print Range, General Settings

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.4

SITRAIN Training for


Automation and Drives

Application Settings, Print Setting Tab

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.5

SITRAIN Training for


Automation and Drives

Print Preview: Overview

Sequencer comment (up to 2048 characters)


Initial step

Transition with transition name (up to 24 characters)


Step with step name (up to 24 characters )

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.6

SITRAIN Training for


Automation and Drives

Print Preview: Single Page Display

Next page

Next page

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.7

SITRAIN Training for


Automation and Drives

Storing a Sequencer as ASCII


Sequencer as
ASCII archive file

Exported ASCII source

Archiving

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
*)

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.8

SITRAIN Training for


Automation and Drives

Exporting GRAPH Source

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.9

SITRAIN Training for


Automation and Drives

Importing GRAPH Source

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.10

SITRAIN Training for


Automation and Drives

Example: ASCII Archive as GRAPH Source


FUNCTION_BLOCK FB1
(*$_COM Sequencer Assembly Line
(Example)
*)

INITIAL_STEP Ground_State (*$_NUM 1*):


(*$_COM Step Comment*)

INTERLOCK
(*$_CMPSET
CONDITION := (NOT "INI1" AND NOT "INI2" AND NOT "INI3" AND "LB1" )
S7Graph-Version: 5000
END_INTERLOCK
WarningLevel: None
"M_H1" (NC)
FBInterface: UserDefined
END_STEP
SSBLevel: Array
ASMsgLevel: No
STEP Part_finished (*$_NUM 2*):
TargetMachine: AS300
(*$_COM Step comment*)
RuntimeBlock: FC
CritAvail: F
SUPERVISION
SSkipOn: F
CONDITION := (I0.7 )
AckReq: F
END_SUPERVISION
SyncAvail: F
"Horn" (L T#2S)
PermILMan: F
END_STEP
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 := 0.000000E+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

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.11

SITRAIN Training for


Automation and Drives

Exercise: Documentation, Storage as Text File

SIMATIC S7

Siemens AG 2000. All rights reserved.

Date:
File:

28.07.16
GRAPH_05e.12

SITRAIN Training for


Automation and Drives

Das könnte Ihnen auch gefallen