151
SECTION 4
Using a Programming Console
This section outlines the operations possible with the Programming Consoles. Actual CPT operating procedures are
provided in the CPT User Manual. Operations for the WS02-CXPC1-E CX-Programmer are provided in the WS02-
CXPC1-E CX-Programmer Operation Manual (W437).
Refer to 3-4-10 Programming Device Connections and 4-1-1 Connecting the Programming Console for details on
connecting a Programming Console or personal computer to the CPM2C.
4-1 Using a Programming Console. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
4-1-1 Connecting the Programming Console . . . . . . . . . . . . . . . . . . . . . . 152
4-1-2 Compatible Programming Consoles . . . . . . . . . . . . . . . . . . . . . . . . 154
4-1-3 Changing the CPM2C’s Mode with the Mode Switch. . . . . . . . . . . 157
4-1-4 Preparation for Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
4-1-5 Entering the Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
4-2 Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
4-2-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
4-2-2 Clearing Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
4-2-3 Memory All Clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
4-2-4 UM Allocation Information Read . . . . . . . . . . . . . . . . . . . . . . . . . . 162
4-2-5 Reading/Clearing Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 163
4-2-6 Buzzer Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
4-2-7 Assigning Expansion Instruction Function Codes . . . . . . . . . . . . . . 164
4-2-8 Setting and Reading a Program Memory Address and Monitoring
I/O Bit Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
4-2-9 Entering or Editing Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
4-2-10 Instruction Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
4-2-11 Bit Operand Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
4-2-12 Inserting and Deleting Instructions . . . . . . . . . . . . . . . . . . . . . . . . . 170
4-2-13 Checking the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
4-2-14 Bit, Digit, Word Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
4-2-15 Differentiation Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
4-2-16 Binary Monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
4-2-17 Three-Word Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
4-2-18 Signed Decimal Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
4-2-19 Unsigned Decimal Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
4-2-20 Three-Word Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
4-2-21 Changing Timer, Counter SV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
4-2-22 Hexadecimal, BCD Data Modification . . . . . . . . . . . . . . . . . . . . . . 178
4-2-23 Binary Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
4-2-24 Signed Decimal Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . 180
4-2-25 Unsigned Decimal Data Modification . . . . . . . . . . . . . . . . . . . . . . . 181
4-2-26 Force Set, Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
4-2-27 Clear Force Set/Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
4-2-28 Hex-ASCII Display Change. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
4-2-29 Displaying the Cycle Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
4-2-30 Reading and Setting the Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
4-3 Programming Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
4-3-1 Preparatory Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
4-3-2 Example Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
4-3-3 Programming Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
4-3-4 Checking the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
4-3-5 Test Run in MONITOR Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190