The text of a manual · part 50 of 68
Programmable Controllers C200HX-CPU-ZE, C200HG-CPU-ZE, C200HE-CPU-ZE Operation Manual: SECTION 7 Program Monitoring and Execution, pages 450 to 458
Pages 450 to 458 of 613, from Programmable Controllers C200HX-CPU-ZE, C200HG-CPU-ZE, C200HE-CPU-ZE Operation Manual
The original document is the PDF (3.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Omron C200H-SP001 and Omron C200HW-PA204
Page 450
Section
Programming Console Operations
7-2-5
7-2
Hex/ASCII Display Change This operation converts DM data displays from 4-digit hexadecimal data to ASCII and vice versa.
Key Sequence Word currently displayed.
Example
00000 00000 CH
DM
0000
Monitor the desired DM word.
D0000 4142
440
D0000 "AB"
Press TR to change the display to ASCII code.
D0000 4142
Press TR again to return the display to hexadecimal.
Page 451
Section
Programming Console Operations
7-2-6
7-2
4-digit Hex/Decimal Display Change This operation converts data displays from normal or signed 4-digit hexadecimal data to decimal and vice versa. Decimal values from 0 to 65,535 are valid when inputting normal 4-digit hexadecimal data, and decimal values from –32,768 to +32,767 are valid when inputting signed 4-digit hexadecimal data.
Key Sequence
Single word or 3-word monitor currently displayed.
[New data]
TR
TR
Clear new input data.
(NOT switches between normal and signed data.)
Specifies positive signed data. Specifies negative signed data.
Example cL01D000000001 CFC7 1234R OFF TR cL01 Ć12345 cL01 53191 cL01 Ć12345
Press SHIFT and TR to change the display to signed decimal.
Press NOT to switch back and forth between signed and normal data.
PRES VAL? cL01-12345
Press CHG to change the content of the displayed word.
PRES VAL? cL01+12345
Press PLAY/SET to specify positive signed data.
PRES VAL? cL01+32767
Input the new value.
cL01 +32767 TR
Monitor the desired word. (Leftmost word in 3-word monitor.)
cL01D000000001 7FFF 1234R OFF
Press WRITE to enter the new data to memory. Press SHIFT and TR to change the display back to hexadecimal.
441
Page 452
Section
Programming Console Operations
7-2-7
7-2
8-digit Hex/Decimal Display Change This operation converts data displays from normal or signed, 4 or 8-digit hexadecimal data to decimal and vice versa. Decimal values from 0 to 4,294,967,295 are valid when inputting normal 8-digit hexadecimal data, and decimal values from –2,147,483,648 to +2,147,483,647 are valid when inputting signed 8-digit hexadecimal data.
Key Sequence
3-word monitor currently displayed.
[New data]
TR
TR
Clear new input data.
Specifies positive signed data.
(NOT switches between normal and signed data.)
Specifies negative signed data.
Example cL01D000000001 8000 1234R OFF TR cL01 Ć32768
Press SHIFT and TR to change the display to signed decimal.
cL02 cL01 Ć0000098304
Press EXT to change the display to 8-digit signed decimal. (In this case, LR 02 contains FFFE.)
cL02 cL01 4294868992 cL02 cL01 Ć0000098304
[New data]
Press CHG to change the contents of the displayed words.
PRES VAL? cL02+0000098304
Press PLAY/SET to specify positive signed data.
PRES VAL? cL02+1234567890
Input the new value. (1234567890 in this case.)
cL01D000000001 02D2 1234R OFF Rightmost four digits
442
Press NOT to switch back and forth between signed and normal data.
PRES VAL? cL02-0000098304 cL02 cL01 +1234567890 TR
Monitor the first of the desired words. (Leftmost word in 3-word monitor.)
Press WRITE to enter the new data to memory. Press SHIFT and TR to change the display back to hexadecimal.
Page 453
Section
Programming Console Operations
7-2-8
7-2
Differentiation Monitor This operation can be used to monitor the up or down differentiation status of bits in the IR, SR, AR, LR, HR, and TC areas. To monitor up or down differentiation status, display the desired bit leftmost on the bit monitor display, and then press SHIFT and the Up or Down Arrow Key. A CLR entry changes the Differentiation Monitor operation back to a normal bit monitor display.
Key Sequence Bit monitor in progress
Example L000000108H2315 OFF OFF ON
Monitor the desired bit so that it is leftmost on the screen.
L000000108H2315 U@OFF OFF ON
Press SHIFT and Up Arrow to specify up differentiation (U@). (Press SHIFT and Down Arrow to specify down differentiation (D@). The buzzer will sound when up (U@) or down (D@) differentiation is detected.
L000000108H2315 OFF OFF ON
The original bit monitor display will return when differentiation monitoring is completed.
D0002 0123
Press CLR to cancel differentiation monitoring and return to the original bit monitor display.
443
Page 454
Section
Programming Console Operations
7-2-9
7-2
3-word Monitor To monitor three consecutive words together, specify the lowest numbered word, press MONTR, and then press EXT to display the data contents of the specified word and the two words that follow it. A CLR entry changes the Three-word Monitor operation to a single-word display.
Key Sequence Single-word monitor in progress
Example
00000 00000 CHANNEL
DM 0000
Specify the first of the 3 words you want to monitor.
D0000 89AB D0002D0001D0000 0123 4567 89AB D0003D0002D0001 ABCD 0123 4567
Press the Up and Down Arrow keys to change word addresses.
D0004D0003D0002 EF00 ABCD 0123 D0005D0004D0003 1111 EF00 ABCD D0004D0003D0002 EF00 ABCD 0123 D0002 0123
7-2-10 3-word Data Modification This operation changes the contents of a word during the 3-Word Monitor operation. The blinking square indicates where the data can be changed. After the new data value is keyed in, pressing WRITE causes the original data to be overwritten with the new data. If CLR is pressed before WRITE, the change operation will be cancelled and the previous 3-word Monitor operation will resume. This operation cannot be used to change SR 253 through SR 255. Only those words displayed on the 3-word Monitor display can be changed. Key Sequence
3 words currently displayed
444
[ Data ]
Page 455
Section
Programming Console Operations
7-2
Example D0002D0001D0000 0123 4567 89AB
3-word Monitor in progress.
D0002 3CH CHG? ~0123 4567 89AB
Stops in the middle of monitoring.
D0002 3CH CHG? ~0001 4567 89AB
Input new data.
D0002 3CH CHG? ~0001 4567 89AB D0002 3CH CHG? 0001~2345 89AB D0002D0001D0000 0001 2345 89AB D0002D0001D0000 0123 4567 89AB
7-2-11
Resumes previous monitoring.
Binary Monitor You can specify that the contents of a monitored word be displayed in binary by pressing SHIFT and MONTR after the word address has been input. Words can be successively monitored by using the up and down keys to increment and decrement the displayed word address. To clear the binary display, press CLR.
Key Sequence
[Word]
Binary monitor clear All monitor clear
(EM area)
(EM bank 0, 1, or 2.)
445
Page 456
Section
Programming Console Operations Example
00000 00000 CHANNEL
000 c000 MONTR 0000000000001111 c001 MONTR 0000010101010100 00000 CHANNEL
001
00000 00000 CHANNEL
DM 0000
D0000 FFFF D0000 MONTR 1111111111111111 D0000 FFFF 00000 CHANNEL
DM 0000
0000S0100R0110SR Indicates Force Reset in effect Indicates Force Set in effect
446
7-2
Page 457
Programming Console Operations
Section
7-2
7-2-12 Binary Data Modification This operation assigns a new 16-digit binary value to an IR, HR, AR, DM, EM, or LR word. The cursor, which can be shifted to the left with the up key and to the right with the down key, indicates the position of the bit that can be changed. After positioning to the desired bit, a 0 or a 1 can then be entered as the new bit value. The bit can also be Force Set or Force Reset by pressing SHIFT and either PLAY/SET or REC/RESET. An S or R will then appear at that bit position. Pressing the NOT key will clear the force status, S will change to 1, and R to 0. After a bit value has been changed, the blinking square will appear at the next position to the right of the changed bit. Key Sequence Word currently displayed in binary.
(Force Status Clear)
447
Page 458
Section
Programming Console Operations Example
7-2
00000 00000 CHANNEL
000
00000 CHANNEL
001 c001 MONTR 0000010101010101 c001 CHG? ~000010101010101 c001 CHG? 1~00010101010101 c001 CHG? 10~0010101010101 c001 CHG? 100~010101010101 c001 CHG? 100S~10101010101 c001 CHG? 100~010101010101 c001 CHG? 10~S010101010101 c001 CHG? 1~RS010101010101 c001 MONTR 10RS010101010101 IR bit 00115
IR bit 00100
7-2-13 Changing Timer/Counter SV There are two ways to change the SV of a timer or counter. It can be done either by inputting a new value; or by incrementing or decrementing the current SV. Either method can be used only in MONITOR or PROGRAM mode. In MONITOR mode, the SV can be changed while the program is being executed. Incrementing and decrementing the SV is possible only when the SV has been entered as a constant. To use either method, first display the address of the timer or counter whose SV is to be changed, presses the down key, and then press CHG. The new value can then be input numerically and WRITE pressed to change the SV or EXT can be pressed followed by the up and down keys to increment and decrement the current SV. When the SV is incremented and/or decremented, CLR can be pressed once to change the SV to the incremented or decremented value but remaining in the display that appeared when EXT was pressed or CLR can be pressed twice to return to the original display with the new SV. This operation can be used to change a SV from designation as a constant to a word address designation and visa verse.
448