MceStateMonitoringData

0.1.0

Datatype containing data for state machine monitoring.

Version history

0.1.0

  Rioual

Changes

Added:
  • first version

Overview

nametypedefaultcomment
nStateStoredDINTstored state for detecting change
nStatePreviousDINTprevious state
nStateTimeUsDINTelapsed time [µs]
nStateTimeDINTelapsed time [ms]
nStateTimePreviousDINTelapsed time previous state [ms]
tStoredLTIMEstored plc clock

Details

nStateStored

DINT

Stored state for detecting change.

nStatePrevious

DINT

Previous state.

nStateTimeUs

DINT

Elapsed time [µs].

nStateTime

DINT

Elapsed time [ms].

nStateTimePrevious

DINT

Elapsed time previous state [ms].

tStored

LTIME

Stored plc clock.

Source code

Declarations

(*Datatype for PosTable entry*)
TYPE MceStateMonitoringData : 

(*
 * -----------------------------------------------------------------------------
 * Name               : MceStateMonitoringData
 * Version            : 0.1.0
 * Date               : 2024-02-06
 * Author             : Rioual
 * Family             : YaskawaMce
 * Organisation       : github.com/YaskawaEurope/mlx-examples
 * 
 * -----------------------------------------------------------------------------
 * Datatype for PosTable entry
 * -----------------------------------------------------------------------------
 *)

STRUCT
  nStateStored : DINT; (*stored state for detecting change*)
  nStatePrevious : DINT; (*previous state*)
  nStateTimeUs : DINT; (*elapsed time [µs]*)
  nStateTime : DINT; (*elapsed time [ms]*)
  nStateTimePrevious : DINT; (*elapsed time previous state [ms]*)
  tStored : LTIME; (*stored plc clock*)
END_STRUCT
END_TYPE

Pages built with Hugo - 23 Apr 2024 11:54 CEST