SoMachine DATA LOGGING (part 1) TM251

Описание к видео SoMachine DATA LOGGING (part 1) TM251

If this video is helpful, please like and subscribe to my channel! Thank you.

PLC: TM251MESE
Record to: Either to “Internal Flash” OR “SD Card”
Data to be logged:
VAR_1, VAR_2, VAR_3, VAR_4: REAL;

Step 1: In “Devices”, “Application”→“Add Object”→ “DataLogManager…”→“Add Object” →“DataLog…”

Step 2: In “Application Tree”, “Add POU” → “Continuos Function Chart (CFC)”

Step 3: Convert all “data to be logged” to WSTRING then combine them into 1 WSTRING named “FINAL_STRING”
Instructions: REAL_TO_WSTRING; WCONCAT.

Step 4:
Special variable: PLC_R.i_x1sClk (data logged every 1 s)
Instruction: R_TRIG; LogRecord; LogRecord.Dump.

Step 5: Testing…
Set Controller Date and Time.
A/ Internal Flash; Save datalog file to C:\DATALOG_06_20
B/ SD Card.

Комментарии

Информация по комментариям в разработке