597
Trial Operation and Debugging
Section 10-2
Note
Use the CX-Programmer to turn ON the Sampling Start Bit (A508.15). Never
turn ON this bit from the user program.
The following traces can be executed.
Scheduled Data Trace
A scheduled data trace will sample data at fixed intervals. Specified sampling
interval is 10 to 2,550 ms in 10-ms units. Do not use the TRSM(045) instruc-
tion in the user program and be sure to set the sampling period higher than 0.
One-cycle Data Trace
A one-cycle data trace will sample I/O refresh data after the end of all cyclic
tasks. Do not use the TRSM(045) instruction in the user program and be sure
to set the sampling period higher than 0.
Data Trace via TRSM(045)
A sample will be taken once each time the TRACE MEMORY SAMPLING
instruction (TRSM(045)) instruction is executed. When more than one
TRSM(045) instruction is used in the program, a sample will be taken each
time TRSM(045) is executed after the trace trigger condition has been met
until trace memory is full.
Data Trace Procedure
Use the following procedure to execute tracing.
1,2,3...
1.
Use the CX-Programmer to set trace parameters (select
PLC - Data Trace
and then select
Operation - Configure
):
Addresses of the sampled words/bits, sampling period, delay time, and
trigger conditions.
2.
Use the CX-Programmer to start sampling or turn ON the Sampling Start
Bit (A508.15).
3.
Put the trace trigger condition into effect.
4.
End tracing.
5.
Use CX-Programmer to read the trace data.
a) Select
Data Trace
from the PLC Menu.
b) Select
Select
from the Operation Menu.
c)
Select
Execute
from the Operation Menu.
d) Select
Read
from the Operation Menu.
Sampling Start Bit
Trace Start Bit
Trace Trigger Monitor Flag
Trace Busy Flag
Trace Completed Flag
Sampling
Содержание Sysmac CP1H
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 76: ...42 Function Blocks Section 1 5...
Страница 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Страница 372: ...338 Analog I O XA CPU Units Section 5 5...
Страница 578: ...544 Trouble Shooting Section 8 7...
Страница 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 668: ...634 Standard Models Appendix A...
Страница 669: ...635 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Страница 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Страница 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Страница 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Страница 808: ...774 Revision History...
Страница 809: ......