The text of a manual · part 44 of 60
C200HX/C200HG/C200HE Programmable Controllers Operation Manual, pages 424 to 433
Pages 424 to 433 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 424
Section 7-2
Programming Console Operations
7-2-9
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
406
[ Data ]
Page 425
Section 7-2
Programming Console Operations 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? 00014567 89AB D0002 3CH CHG? 00012345 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.)
407
Page 426
Section 7-2
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
408
Page 427
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)
409
Page 428
Section 7-2
Programming Console Operations Example
00000 00000 CHANNEL
000
00000 CHANNEL
001 c001 MONTR 0000010101010101 c001 CHG? 000010101010101 c001 CHG? 100010101010101 c001 CHG? 100010101010101 c001 CHG? 100010101010101 c001 CHG? 100S10101010101 c001 CHG? 100010101010101 c001 CHG? 10S010101010101 c001 CHG? 1RS010101010101 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.
410
Page 429
Section 7-2
Programming Console Operations Key Sequence
Example Inputting New SV and Changing to Word Designation
The following examples show inputting a new constant, changing from a constant to an address, and incrementing to a new constant. 00000 00000 TIM
000
00201SRCH TIM
000
00201 TIM DATA #0123 00201 TIM DATA T000 #0123 #???? 00201 TIM DATA T000 #0123 #0124 00201 TIM DATA #0124 00201 DATA? T000 #0123 c??? 00201 DATA? T000 #0123 c010 00201 TIM DATA 010
411
Page 430
Section 7-2
Programming Console Operations Incrementing and Decrementing
00000 00000 TIM
000
00201SRCH TIM
000
00201 TIM
DATA #0123
00201 TIM DATA T000 #0123 #???? 00201DATA ? U/D T000 #0123 #0123 Current SV (during change operation) SV before the change
00201DATA ? T000 #0123 #0122 00201DATA ? T000 #0123 #0123 00201DATA ? T000 #0123 #0124 00201DATA ? T000 #0124 #???? 00201 TIM
412
DATA #0124
Returns to original display with new SV
Page 431
Section 7-2
Programming Console Operations
7-2-14 Expansion Instruction Function Code Assignments This operation is used to read or change the function codes assigned to expansion instructions. There are 18 function codes that can be assigned to expansion instructions: 17, 18, 19, 47, 48, 60 to 69, and 87 to 89. More than one function code can be assigned to an expansion instruction. Note Function Code Assignments can be read in any mode, but can be changed in PROGRAM mode only. The function code assignments become possible only when the DIP switch pin 1 is OFF and pin 4 is ON. Key Sequence
Example
00000 INST TBL READ FUN17:ASFT INST TBL READ FUN18:SCAN
Press CLR to bring up the initial display. Press EXT to begin displaying function code assignments. Press the Up and Down Arrow keys to scroll through the function code assignments.
INST TBL READ FUN17:ASFT
The Up Arrow key displays function codes in ascending order: 17, 18, ... , 89, 17, 18, ...
INST TBL READ FUN18:SCAN
The Down Arrow key displays function codes in descending order: 17, 89, 88, ... 17, 89, ...
INST TBL CHG? FUN18:SCAN→????
Press CHG to change the displayed function code assignment.
INST TBL CHG? FUN18:SCAN→MCMP
Press the Up and Down Arrow keys to scroll through the instructions.
INST TBL CHG? FUN18:SCAN→PID INST TBL READ FUN18:PID 00000
Press WRITE to enter the change into memory. Press CLR to return to the initial display.
413
Page 432
Section 7-2
Programming Console Operations
7-2-15 UM Area Allocation This operation is used to allocate part of the UM Area for use as expansion DM. It can be performed in PROGRAM mode only. Memory allocated to expansion DM is deducted from the ladder program area. The amount of memory available for the ladder program depends on the amount of RAM in the CPU Unit. About 15.2 KW of memory is available with the16-KW RAM and about 31.2 KW is available with the 32-KW RAM. This operation cannot be used to allocate UM to the I/O comment area. UM can be allocated to the I/O comment area only with a host computer equipped with SYSMAC Support Software. Key Sequence Clear memory when changing allocation
FUN
VER
CHG
[New data]
PLAY SET
B
9
7
D
1
3
WRITE
CLR
Example 00000
VER
DM CM 00 00
Clear memory completely if the UM Area allocation will be changed.
LAD 15.2
UMAREA CHG? INI DM SIZ:00KW
Press CHG to change the UM Area allocation.
UMAREA CHG? INI DM SIZ:02KW
Expansion DM can be set to 00, 01, 02, or 03 KW.
UMAREA SET: UMAREA SET: DM CM 02 00 00000
414
The current UM Area allocation will be displayed. “??” will be displayed if the allocation information has been lost.
LAD 13.2
CHG ???? CHG 9713
Enter the password by pressing PLAY/SET and 9713.
The new UM Area allocation will be displayed. UM allocated to expansion DM is deducted from the ladder program. Press CLR to return to the initial display.
Page 433
Section 7-2
Programming Console Operations
7-2-16 Reading and Setting the Clock This operation is used to read or set the CPU Unit’s clock. The clock can be read in any mode, but it can be set in MONITOR or PROGRAM mode only. The CPU Unit will reject entries outside of the acceptable range, i.e., 01 to 12 for the month, 01 to 31 for the day of the month, 00 to 06 for the day of the week, or 00 to 60 for the seconds, but it will not recognize non-existent dates, such as 2/31.
Example 00000
FUN
Press CLR to bring up the initial display.
0:TIM TIM 94-04-10 14:25:58 FRI(5)
The display will monitor the current date and time.
TIM CHG?94-04-10 14:25:58 FRI(5)
Press CHG to change the date and/or time.
TIM CHG?94-04-10 14:25:58 FRI(5) TIM CHG?94-04-10 14:25:58 FRI(5) TIM CHG?94-04-10 14:25:50 FRI(5)
The “9” in “94” will blink, indicating that it can be changed. Press the Up and Down Arrow keys to move the cursor through the data and time settings. Input new values to change settings if necessary.
In this case, a “0” was input to replace the “8.”
0:TIM 00000
Press CLR to return to the initial display.
7-2-17 Expansion Keyboard Mapping This operation is used to control the ON/OFF status of bits SR 27700 through SR 27909 by pressing keys on the Programming Console’s keyboard. The C200HX/HG/HE also supports the Keyboard Mapping operation, which controls the status of bits in AR 22. These operations can be performed in any PC mode, but the Programming Console must be in TERMINAL or expansion TERMINAL mode.
415