Siemens U3585-J-Z125-8-76 1, SM2 monitoring system Attributes of the user-specific SM2 output file

Models: SM2 monitoring system U3585-J-Z125-8-76 1

1 500
Download 500 pages 4.26 Kb
Page 193
Image 193

SM2 operation

 

Activating user task monitoring

 

Attributes of the user-specific SM2 output file

 

 

 

 

 

 

Operand for file

FILE =*STD

FILE =*BY-LINK-NAME

 

creation

 

 

 

 

 

 

 

Definition of file

 

 

 

attributes

Predefined

Optional

 

 

 

 

 

File name

$userid.SM2.

 

 

 

TASKSTATISTIK.nnnn1)

filename

 

Block length

BUFFER-LENGTH =

BUFFER-LENGTH =

 

 

*STD(SIZE=16)

*STD(SIZE=number) 3)

 

Storage space

SPACE = *RELATIVE

SPACE = *RELATIVE

 

allocation

(PRIMARY-ALLOCATION=48,

(PRIMARY-ALLOCATION=number1,

 

 

SECONDARY-ALLOCATION=48)

SECONDARY-ALLOCATION=

 

 

 

number2) 2),3)

 

Access method

SAM

No selection option,

 

 

 

SAM format is mandatory.

 

 

 

 

 

Open mode

EXTEND

No selection option, the existing file is

 

 

 

always extended

 

 

 

 

 

Format of the data

BLOCK-CONTROL-INFO

BLOCK-CONTROL-INFO =

 

blocks

is defined by the corresponding

*PAMKEY/ *WITHIN-DATA-BLOCK/

 

 

(class 2) system parameter

*NO 4)

1)nnnn = TSN of the task to be monitored

2)PRIMARY-ALLOCATION and SECONDARY-ALLOCATION each 48 unless defined otherwise by the user.

3)In the case of an SM2 output file assigned using link names, the BUFFER-LENGTH and SPACE

4)attributes are taken from the standard file, unless specified otherwise by the user.

4)The BLOCK-CONTROL-INFO=*NO operand is treated like BLOCK-CONTROL-INFO= *WITHIN-DATA-BLOCK, because only SAM format is permitted for the file.

Notes

To generate module-related program counter and SVC statistics, the load information (the load address and length) of each module is required for each module which has been linked into the monitored program or is to be loaded by the monitored program. When the program or measurement is terminated by means of the /STOP-TASK- MEASUREMENT command, SM2 determines this module information and writes it to the SM2 output file.

U3585-J-Z125-8-76

193

Page 193
Image 193
Siemens U3585-J-Z125-8-76 1 manual Attributes of the user-specific SM2 output file, File =*STD File =*BY-LINK-NAME