Cycle Time command - Manual - PLC Performance Info - Performance Info - Performance Info,

PLC Performance Info CLI Tool (perf-info)

Portfolio
SIMATIC AX
Product
PLC Performance Info
Software version
1.1.0
Edition
11/2023
Language
English (original)
Package Name
@ax/performance-info-docs
apax perf-info cycle-time -t targetIP

Retrieves information relating to cycle time from the target PLC.

The information attributes retrieved are:

  • Cycle_Time_Last_Actual – The actual time of the last cycle received
  • Cycle_Time_Min_Actual – The minimum cycle time recorded
  • Cycle_Time_Max_Actual – The maximum cycle time recorded
  • Cycle_Time_Min_Cycle_Config – The minimum cycle time configured
  • Cycle_Time_Max_Cycle_Config – The maximum cycle time configured
  • Task/OB_Cycle_Time: – The cycle time per Task/OB
    • #Task/OB name#
      • Cycle_Time_Last_Actual – The previously received OB's cycle time
      • Cycle_Time_Min_Actual – The minimum OB's cycle time recorded
      • Cycle_Time_Max_Actual – The maximum OB's cycle time recorded

Example:

PLC's_Cycle_Time_Information:
PLC_Timestamp_UTC:            08/03/2023 06:45:55.050 PM
Cycle_Time_Last_Actual:       0.05104 ms
Cycle_Time_Min_Actual:        0.04546 ms
Cycle_Time_Max_Actual:        4.29646 ms
Cycle_Time_Min_Cycle_Config:  0.00000 ms
Cycle_Time_Max_Cycle_Config:  1000.00000 ms

Task/OB Cycle Time:
  'Main'
    Cycle_Time_Last_Actual:   0.054 ms
    Cycle_Time_Min_Actual:    0.019 ms
    Cycle_Time_Max_Actual:    0.197 ms
  'Cyclic'
    Cycle_Time_Last_Actual:   1.383 ms
    Cycle_Time_Min_Actual:    0.672 ms
    Cycle_Time_Max_Actual:    1.508 ms

Continuous Flag:

The continuous flag will repeatedly obtain all the current cycle-time information until canceled with 'Ctrl+C'.

WARNING

When streaming results, only the CSV format is supported. The --continuous flag will default to using the CSV format.

apax perf-info cycle-time --continuous -t targetIP