62
DM Area Settings
Control data
Fixed at 0003.
Offset: 0
Read data length: 100 words
Write data length: 102 words
Offset: 0
0003
0000
0064
47
5C
4D
41
45
44
54
3A
44
53
56
2E
41
DM0000
DM0001
DM0002
DM0003
DM0004
DM0005
DM0006
DM0007
‘G’, ‘:’
‘\’, ‘D’
‘M’, ‘S’
‘A’, ‘V’
‘E’, ‘.’
‘D’, ‘A’
‘T’
0102
0000
Data
:
Data
DM0010
DM0011
DM0012
DM0098
DM0099
DM0100
DM0199
5-6
Debugging Ladder Programs
This section shows how to debug the ladder program, using the sample program
provided in 5-5 Sample Program as an example.
Procedure
The procedure for debugging a ladder program is outlined below. Each of these
steps is then explained in more detail.
1, 2, 3...
1. Start up the Support Software.
2. Allocate a function code to CMCR.
3. Create the ladder program.
4. Go online.
5. Transfer the program to the PC.
6. Prepare the system for debugging.
7. Execute the program.
8. Debug the program.
9. Check the write data.
Support Software Startup
From the drive in which the SYSMAC Support Software is installed, enter “SSS”
and then press the Enter key to start up the SYSMAC Support Software. Then,
from the System Setup menu, set the PC model, PC communications parame-
ters, and so on.
Expansion Instruction Setup Select “X:Set instructions” from the Utility Menu. Then use “E:Edit instructions”
to set a function code for the CMCR instruction in the instructions table. For
details, refer to the SYSMAC Support Software Operation Manual: C-series
PCs.
The settings can also be made using the Programming Console. For details,
refer to 4-1-3 Allocating a Function Code for CMCR.
Ladder Program Creation
Create the sample program.
Online Connection
Go online by pressing Ctrl+O followed by the F1 key (PC connection).
Program Transfer
Use “Monitoring/P:Transfer program/W:Computer
→
PC” to transfer the pro-
gram to the C200HX/HG/HE Programmable Controller.
Debugging Ladder Programs
Section 5-6
Summary of Contents for SYSMAC C200HW-PCS01-EV1
Page 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Page 4: ......
Page 6: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 34: ......
Page 38: ......
Page 60: ......
Page 80: ......
Page 82: ......
Page 88: ......
Page 120: ......
Page 148: ......
Page 178: ......
Page 214: ......
Page 220: ......
Page 232: ......
Page 234: ......
Page 236: ......
Page 238: ......
Page 240: ......