IDEC MICROSmart FC6A Series Ladder Programming Manual page 493

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

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 in the "RESULT" folder on the SD memory card every 10 seconds.
Output example
Time
2012/02/06 10:20:30
2012/02/06 10:20:40
2012/02/06 10:20:50
The sample user program described below operates as follows.
• M100 is turned on when the transfer of log data has finished transferring to the SD memory card is complete.
• 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. Create the ladder program.
TIM
T0
100
M0
T0
SOTU
M100
2. Configure the DLOG instruction.
Configure the Devices tab.
(1) Designate M0100 as D1 (Completion Output).
(2) Designate D0100 as D2 (Execution Status).
D0000
D0001
12345
0
12345
0
12345
0
DLOG
CMP<> (W)
S1 -
D100
(1)
(2)
FC6A S
MICROS
ERIES
D0002
D0003
0
56789
0
56789
0
56789
S1
D1
D2
RESULT
M100
D100
S2 -
D1 -
REP
0
Q0
L
P
MART
ADDER
ROGRAMMING
25: D
ATA
D0004
D0005
0
0
0
0
0
0
M
FC9Y-B1726
ANUAL
L
I
OG
NSTRUCTIONS
D0010
-3.402823E+38
-3.402823E+38
-3.402823E+38
25-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents