26: D
ATA
L
OG
I
NSTRUCTIONS
26-6
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
Examples: DLOG
When M0 is turned on, the decimal values of D0 through D5 (data type W (word)) and D10 (data type F (floating point)) are saved
in a CSV file on the "RESULT" folder on the SD memory card every 10 seconds.
Output example
The sample user program described below operates as follows.
M100 is turned on when the writing log data to the SD memory card completes.
The DLOG instruction status code is stored in D100.
The status code saved in D100 is checked and Q0 is turned on if an error occurs.
Configuration Procedure
1. Insert the instructions in the Ladder editor.
2. Configure the DLOG instruction.
Configure the Devices tab.
Designate M100 as D1 (Completion Output) (1).
Designate D100 as D2 (Execution Status) (2).
Time
D0000
D0001
D0002
D0003
D0004
D0005
D0010
2012/02/06 10:20:30
12345
0
0
56789
0
0
-3.38
2012/02/06 10:20:40
12345
0
0
56789
0
0
-3.38
2012/02/06 10:20:50
12345
0
0
56789
0
0
-3.38
D1
M100
S1
RESULT
DLOG
D2
D100
M0
TIM
100
T0
T0
M100
REP
D1 -
Q0
S2 -
0
CMP<> (W)
S1 -
D100
SOTU
1.
2.
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...