10-3
10.2 Sampling Trance Function
10.2.1 Overview
The sampling trace function is available for the FP0R. Using this function enables to take samplings and
record (accumulate) the state of arbitrary data of 16 bits + 3 data registered in the PLC at an arbitrary
timing, and to examine the changes in the bit and data in details after stopping sampling at an arbitrary
timing.
The sampling trace function is used by [Time chart monitor] under the online menu of the FPWIN GR.
The instructions, functions, special relays and special registers related to the sampling trace
function are as below.
Number
Name
Operation
F155 (SMPL)
sampling instruction
F156 (STRG)
Sampling stop trigger instruction
R902C
Sample point flag
OFF = Sampling by instruction
ON = Sampling at regular time intervals
R902D
Sampling trace end flag
When sampling trace starts = 0 stops = 1
R902E
Sampling trigger flag
Turns on when sampling stop trigger is on.
R902F
Sampling enable flag
Turns on when sampling operation starts.
DT90028
Interval of sampling trace
K0 = For sampling by instruction
K1 to K3000 (10 ms to 30 seconds) For
sampling at regular time intervals
10.2.2 Details of Sampling Trace Function
No. of data collectable at one sampling: 16 bits + 3 data
Sampling capacity (No. of samples accumulable): 300 samples (C10, C14, C16)
1000 samples (C32, T32, F32)
Types of sampling timing (When an instruction is executed, or at regular time intervals)
1: Sampling at regular time intervals From 10 ms
2: Sampling by F155 (SMPL) instruction
Sampling for every scan can be executed by the instruction.
Also, more than one sampling can be executed in one scan.
Timing for the execution of the F155 (SMPL) instruction can be set by the ladder sequence.
It is not possible to activate the sampling at regular time intervals and the sampling by the F155 (SMPL)
instruction simultaneously.
How to stop sampling
Methods of the stop trigger (request): Following two methods are available.
1: Deactivate request by the tool software
2: Deactivate request by the F156 (STRG) instruction
If the stop trigger activates, the PLC will continue to take samplings for the specified number of delay,
and then stop the sampling operation.
Once the sampling operation stops, the data will be automatically retrieved by the tool software and will
be indicated in a time chart.
The number of samples before and after the trigger point can be adjusted by the number of delay. When
using the 32-point type with the initial settings (number of samples: 1000, number of delay: 100), the
number of samples before and after the trigger point is 900 and 1000 respectively.
Summary of Contents for FP0R Series
Page 1: ......
Page 6: ...iv ...
Page 14: ...xii ...
Page 15: ...Chapter 1 Functions and Restrictions of the Unit ...
Page 24: ...1 10 ...
Page 25: ...Chapter 2 Specifications and Functions of Control Unit ...
Page 38: ...2 14 ...
Page 39: ...Chapter 3 Expansion ...
Page 45: ...3 7 3 4 Terminal layout diagram Model No Terminal layout diagrams E8RS E8RM E16RS E16RM E8YRS ...
Page 48: ...3 10 ...
Page 49: ...Chapter 4 I O Allocation ...
Page 53: ...Chapter 5 Installation and Wiring ...
Page 73: ...Chapter 6 Preparation of USB Port ...
Page 77: ...6 5 5 Click Finish on the following screen to be displayed ...
Page 79: ...6 7 4 Double click on FP0R 5 Click Update Driver ...
Page 84: ...6 12 ...
Page 85: ...Chapter 7 Communication ...
Page 139: ...7 55 Sample program For Type II Use a program as below to directly specify a MODBUS address ...
Page 141: ...Chapter 8 High speed Counter Pulse Output and PWM Output Functions ...
Page 142: ...8 2 ...
Page 199: ...Chapter 9 Security Functions ...
Page 211: ...Chapter 10 Other Functions ...
Page 217: ...Chapter 11 Self Diagnostic and Troubleshooting ...
Page 227: ...Chapter 12 Precautions During Programming ...
Page 242: ...12 16 ...
Page 243: ...Chapter 13 Specifications ...
Page 254: ...13 12 ...
Page 255: ...Chapter 14 Dimensions and Others ...
Page 262: ...14 8 ...
Page 263: ...Chapter 15 Appendix ...
Page 344: ...15 82 15 7 ASCII Codes ...
Page 346: ......
Page 347: ......
Page 348: ......