T_ScopeParam

TYPE T_ScopeParam : STRUCT

Structure defining parameter list for VAL3 scope box library

Syntax

Definition:

TYPE T_ScopeParam :
STRUCT
    BoxIpAddress    : STRING(16) := '';
    Port            : UINT := 3209;
    RecRandomly     : BOOL := FALSE;
    RecStopOnStops  : BOOL := TRUE;
    MaintenanceHrs  : UDINT := 0;
    RecDurOnStop    : USINT := 0;
    RecMaxDuration  : USINT := 30;
    LoggerLevel     : eScopeDebugLevel := eScopeDebugLevel.INFO;
    MaintenanceDay  : STRING(10) := '';
END_STRUCT
END_TYPE

Parameters

Name

Type

Initial

Description

BoxIpAddress

STRING(16)

''

IP address of the scope box

Port

UINT

3209

Port number for connexion to scope box

RecRandomly

BOOL

FALSE

False->start recording as soon as recorder is available.
True->authorize random start of recording

RecStopOnStops

BOOL

TRUE

True->abort recording on stop condition(s).
False->do not abort recording when one stop condition occurs.
Stop conditions are:

  • Envelope Error.
  • Arm power OFF.
  • SS1 and SS2 stops.

MaintenanceHrs

UDINT

0

Power hours measured at the last maintenance operation.

RecDurOnStop

USINT

0

Duration (seconds) of ongoing recording after a stop condition.

RecMaxDuration

USINT

30

Maximum recording duration in seconds [1; 60].

LoggerLevel

eScopeDebugLevel

eScopeDebugLevel.INFO

Level to apply for the logger of the VAL3 scope box library.

MaintenanceDay

STRING(10)

''

Date of the last maintenance operation.Format is ISO: “YYYY-MM-DD”.
Only valid format will be accepted.