6
FUNCTIONS
6.14 Sampling Trace Function
6
- 105
1
O
verv
iew
2
Per
fo
rma
nce
S
p
ecifica
tio
n
3
S
equ
en
ce P
ro
g
ra
m
Co
nfig
ura
tio
n a
nd
E
xecut
io
n Co
nd
iti
o
ns
4
I/O N
unb
er
Assig
n
m
e
nt
5
Me
mor
ie
s a
nd
File
s
Ha
nd
led
by CP
U Mo
du
le
6
Func
tions
7
Co
mmu
nic
a
tion
us
in
g
bu
ilt
-i
n E
th
e
rne
t po
rt
s o
f
CP
U mod
u
le
8
Co
mm
un
icatio
n
w
ith
Int
e
lli
ge
nt
Fun
ction
Mo
du
le
POINT
1. The sampling trace file can be stored into only the standard RAM or SRAM
card. (
2. When the sampling trace file is stored into the standard RAM, check the
version of CPU module and GX Developer.(
Appendix 4)
(a) When sampling trace is executed
The execution status of the sampling trace function is stored in the special relay
(SM800, SM802, SM804 and SM805).
If an error occurs while the sampling trace function is used, SM826 turns on. By
using special relays in a sequence program, the execution status of the sampling
trace function can be checked.
1) Preparations for sampling trace
After writing [Trace data conditions] and [Trace condition settings] that are set
using GX Developer to the CPU module is completed, SM800 (sampling trace
ready) is turned ON. SM800 indicates whether the sampling trace can be
executed or not.
2) Start of sampling trace
When a sampling trace start request is accepted, the sampling trace starts and
SM802 (sampling trace executing) turns on. SM802 indicates whether the
sampling trace is executed or not.
• A trace from GX Developer starts.
• SM801 is turned on.
• Sampling trace auto start (
3) Checking the trigger conditions
When a next trigger condition is satisfied, SM804 (after sampling trace trigger)
turns on. SM804 indicates whether the trigger conditions are satisfied or not.
• A trigger from GX Developer executed.
• The TRACE instruction is executed.
• SM803 is turned on.
• Detailed setting. (Device No. and step No.)