The text of a manual · part 43 of 60
C200HX/C200HG/C200HE Programmable Controllers Operation Manual, pages 414 to 423
Pages 414 to 423 of 586
The original document is the PDF (3.4 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.
For the Omron C200HE-CPU42-E
Page 414
Section 7-2
Programming Console Operations Bit Monitor
00000 00000 LD
00001
00001 ^ ON 00000 CONT
00001
Note The status of TR bits SR flags SR 25503 to 25507 (e.g., the arithmetic flags), cleared when END(01) is executed, cannot be monitored. Word Monitor
00000 00000 CHANNEL 00000 CHANNEL
000 LR
01 cL01 FFFF cL00 0000
EM Area Word Monitor
00000 00000 CHANNEL e0-0000
00000 CHANNEL e1-0100 e0100 10000
396
Specify the EM bank and address to be monitored. The specified EM word and its contents are displayed.
Page 415
Section 7-2
Programming Console Operations Multiple Address Monitoring 00000 00000 TIM
000
T000 0100 00000 T000 0100 00001 T000 0100 00001 T000 OFF 0100 D000000001 T000 ^OFF 0100 D000000001 T000 10FF^ OFF 0100 T000D000000001 0100 10FF^ OFF D000000001 10FF^ OFF
Cancels monitoring of leftmost address
00001 ^ OFF 00000 CONT 00000 CHANNEL
00001 DM 0000
Monitor operation is cancelled
0000000001 S ONR OFF Indicates Force Reset in operation. Indicates Force Set in operation.
7-2-2
Forced Set/Reset When the Bit/Digit Monitor operation is being performed and a bit, timer, or counter address is leftmost on the display, PLAY/SET can be pressed to turn ON the bit, start the timer, or increment the counter and REC/RESET can be pressed to turn OFF the bit or reset the timer or counter. Timers will not operate in PROGRAM mode. SR bits cannot be turned ON and OFF with this operation.
397
Page 416
Section 7-2
Programming Console Operations
Bit status will remain ON or OFF only as long as the key is held down; the original status will return as soon as the key is released. If a timer is started, the completion flag for it will be turned ON when SV has been reached. SHIFT and PLAY/SET or SHIFT and REC/RESET can be pressed to maintain the status of the bit after the key is released. The bit will not return to its original status until the NOT key is pressed, or one of the following conditions is met. 1, 2, 3...
1. The Force Status Clear operation is performed. 2. The PC mode is changed. (See note.) 3. Operation stops due to a fatal error or power interruption. 4. The I/O Table Registration operation is performed. This operation can be used in MONITOR mode to check wiring of outputs from the PC prior to actual program execution. This operation cannot be used in RUN mode.
Note The forced set/reset bit status will be maintained when switching from PROGRAM to MONITOR mode if the Force Status Hold Bit is ON and DM 6601 of the PC Setup has been set maintain the bit’s status. Refer to 3-6-4 PC Setup for details. Key Sequence
Example
The following example shows how either bits or timers can be controlled with the Force Set/Reset operation. The displays shown below are for the following program section. 00100 TIM 000 #0123 TIM 000 00500
398
Address
Instruction
00200
LD
00100
00201
TIM
000
00202
LD
00203
OUT
Data
#
0123
TIM
000 00500
012.3 s
Page 417
Section 7-2
Programming Console Operations
The following displays show what happens when TIM 000 is set with 00100 OFF (i.e., 00500 is turned ON) and what happens when TIM 000 is reset with 00100 ON (i.e., timer starts operation, turning OFF 00500, which is turned back ON when the timer has finished counting down the SV). (This example is performed in MONITOR mode.)
0010000500 ^ OFF^ OFF
Monitoring 00100 and 00500.
0010000500
ON^ OFF
Force set bit status.
Indicates that force set/reset is in progress.
0010000500 OFF^ OFF
Reset the force-set bit.
T0000010000500 ^ OFF^ OFF T0000010000500 0123^ OFF^ OFF
Monitoring TIM 000.
T0000010000500 0000^ OFF^ ON
Force setting TIM 000 turns ON 00500.
T0000010000500 0123^ OFF^ OFF T0000010000500 o0000^ ON^ ON T0000010000500 0123^ ON^ OFF T0000010000500 0122^ ON^ OFF T0000010000500 o0000^ ON^ ON
TIM 000 returns to its original status when PLAY/SET is released.
Display with 0010 originally ON.
Timer starts timing, turning 00500 OFF.*
When the time is up, 00500 goes ON again.
Indicates that the time is up. *Timing not done in PROGRAM mode.
7-2-3
Forced Set/Reset Cancel This operation restores the status of all bits in the I/O, IR, TIM, CNT, HR, AR, or LR areas which have been force set or reset. It can be performed in PROGRAM or MONITOR mode.
Key Sequence
When the PLAY/SET and REC/RESET keys are pressed, a beeper will sound. If you mistakenly press the wrong key, then press CLR and start again from the beginning.
399
Page 418
Section 7-2
Programming Console Operations Example
The following example shows the displays that appear when Restore Status is carried out normally. 00000 00000 00000FORCE RELE? 00000FORCE RELE END
7-2-4
Hexadecimal/BCD Data Modification When the Bit/Digit Monitor operation is being performed and a BCD or hexadecimal value is leftmost on the display, CHG can be input to change the value. SR words cannot be changed. If a timer or counter is leftmost on the display, the PV will be displayed and will be the value changed. See 7-2-13 Changing Timer/Counter SV for the procedure to change SV. PV can be changed in MONITOR mode only when the timer or counter is operating. To change contents of the leftmost word address, press CHG, input the desired value, and press WRITE
Key Sequence Word currently monitored on left of display.
400
[ Data ]
Page 419
Section 7-2
Programming Console Operations Example
The following example shows the effects of changing the PV of a timer. This example is in MONITOR mode
00000 00000 TIM
000
Monitor status of timer PV that will be changed.
T000 0122 Timing
PRES VAL? T000 0119 ????
PV decrementing
Timing
PRES VAL? T000 0100 0200 Timing
T000 0199
PV changed. Timer/counter PVs can be changed even when the timer/counter is operating. Timing
401
Page 420
Section 7-2
Programming Console Operations
7-2-5
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 4412
402
D0000 "AB"
Press TR to change the display to ASCII code.
D0000 4142
Press TR again to return the display to hexadecimal.
Page 421
Section 7-2
Programming Console Operations
7-2-6
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.
403
Page 422
Section 7-2
Programming Console Operations
7-2-7
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
404
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 423
Section 7-2
Programming Console Operations
7-2-8
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.
405