Arrays and Buffers

Capture Machine Readings

easy

Captures eight live readings and holds the snapshot until the next request.

What it teaches

A troubleshooting report needs readings from one capture, not values that keep following the machine. Keep the live array separate from the snapshot the rest of the program reads.

Parameters

TagDirectionTypeDefaultDescription
In_CaptureInputBOOL0Request a new snapshot
Sts_CapturedOutputBOOL0One-scan confirmation
Ref_LiveInOutREAL[8]Read-only live measurements
Ref_SnapshotInOutREAL[8]Snapshot written only on a capture

Required behavior