System task info type – BECKHOFF BC3150 User Manual

Page 72

Advertising
background image

Safety Instructions

70

Fieldbus Components

System task info type

TYPE SYSTEMTASKINFOTYPE

STRUCT

active

:

BOOL;

taskName

:

STRING(16);

firstCycle

:

BOOL;

cycleTimeExceeded

:

BOOL;

cycleTime

:

UDINT;

lastExecTime

:

UDINT;

priority

:

BYTE;

cycleCount

:

UDINT;

END_STRUCT

END_TYPE

Key
active: This variable indicates whether the task is active.
taskName: the task name.
firstCycle: during the first PLC task cycle, this variable has the value TRUE.
cycleTimeExceeded: this variable indicates whether the set task cycle time was exceeded.
cycleTime : set task cycle time in multiples of 100 ns.
lastExecTime: cycle time required for the last cycle in multiples of 100 ns.
priority: set task priority.
cycleCount: cycle counter.

Development environment

Target system type

PLC libraries to be linked

TwinCAT v2.9.0

BCxx50 Controller

TcBaseBCxx50.lbx

Advertising