Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 51 of 68

Programmable Controllers C200HX-CPU-ZE, C200HG-CPU-ZE, C200HE-CPU-ZE Operation Manual: SECTION 7 Program Monitoring and Execution, pages 459 to 467

Pages 459 to 467 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 459

Section

Programming Console Operations

7-2

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

449

Page 460

Section

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

450

DATA #0124

Returns to original display with new SV

7-2

Page 461

Section

Programming Console Operations

7-2

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 49 function codes that can be assigned to expansion instructions: 17, 18, 19, 47, 48, 60 to 69, 87 to 89, 114 to 116, 180 to 184, 190, 194, 195, 210 to 214, 235, 236, 269, 280, 480 to 487, and 494. 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.

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

451

Page 462

Section

Programming Console Operations

7-2

RAM, about 31.2 KW is available with the 32-KW RAM, and about 63.2 KW is available with the 64-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-CPT 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

The current UM Area allocation will be displayed. “??” will be displayed if the allocation information has been lost.

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

CHG ???? CHG 9713

LAD 13.2

00000

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.

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

452

Page 463

Programming Console Operations

Section

7-2

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.

453

Page 464

Section

Programming Console Operations

7-2

To enable expansion keyboard mapping, pin 6 of the CPU Unit’s DIP switch and AR 0709 must be ON and AR 0708 must be OFF. Bits turned ON with this operation can be turned OFF by toggling AR 0708. Turn AR 0709 OFF to stop expansion keyboard mapping and switch the Programming Console from Expansion TERMINAL mode to CONSOLE mode. TERMINAL Mode

The Programming Console can be put into TERMINAL mode by pressing CHG or executing TERM(048) in the program. Pin 6 of the CPU Unit’s DIP switch must be OFF.

PROGRAM

BZ

<MESSAGE> NO MESSAGE PROGRAM

Expansion TERMINAL Mode

CONSOLE mode

Switch the Programming Console to TERMINAL mode by pressing CHG or executing TERM(048).

BZ

Press CHG again to return to CONSOLE mode.

The Programming Console can be put into Expansion TERMINAL mode by turning ON AR 0709. Pin 6 of the CPU Unit’s DIP switch must be ON.

PROGRAM

BZ

<MESSAGE> NO MESSAGE PROGRAM

CONSOLE mode

Switch the Programming Console to Expansion TERMINAL mode by turning AR 0709 ON.

BZ

Turn AR 0709 OFF to return to CONSOLE mode.

7-2-18 Keyboard Mapping The C200HX/HG/HE supports the expansion keyboard mapping as well as normal keyboard mapping. Expansion keyboard mapping controls the status of the 41 bits SR 27700 through SR 27909, while normal keyboard mapping controls only the 16 bits in AR 22. The status of these bits can be controlled by pressing the corresponding Programming Console keys when the Programming Console is in TERMINAL mode or expansion TERMINAL mode. The following diagram shows how to switch the Programming Console between CONSOLE mode (normal operating mode) and TERMINAL or expansion TERMINAL mode. Press the CHG Key or execute TERM(048). TERMINAL mode (DIP switch pin 6 OFF)

CONSOLE mode Press the CHG key.

TERMINAL Mode

454

Turn ON AR 0709. Expansion TERMINAL mode (DIP switch pin 6 ON) Turn OFF AR 0709 or turn OFF DIF switch pin 6.

The Programming Console can be put into TERMINAL mode by pressing CHG or executing TERM(048) in the program. Pin 6 of the CPU Unit’s DIP switch must be OFF. Press the CHG key again to return to CONSOLE mode. When the Programming Console is in TERMINAL mode it can perform normal keyboard mapping and display messages output by MSG(046) or LMSG(047).

Page 465

Section

Programming Console Operations

7-2

With keyboard mapping, bits 00 to 15 of AR 22 will be turned ON when keys 0 to F are pressed on the Programming Console’s keyboard. A bit will remain ON after the Programming Console’s key is released. All bits in AR 22 will be turned OFF when AR 0708 is turned ON. Keyboard mapping inputs are disabled when AR 0708 is ON. In addition to the keyboard mapping function, TERMINAL mode allows messages output by MSG(046) and LMSG(047) to be displayed on the Programming Console. These messages will be erased if the Programming Console is switch back to CONSOLE mode. Expansion TERMINAL Mode

The Programming Console can be put into Expansion TERMINAL mode by turning ON AR 0709. Pin 6 of the CPU Unit’s DIP switch must be ON. Turn OFF AR 0709 or pin 6 of the CPU Unit’s DIP switch to return to CONSOLE mode. When the Programming Console is in TERMINAL mode it can perform expansion keyboard mapping and display messages output by MSG(046) or LMSG(047). With expansion keyboard mapping, bits SR 27700 through SR 27909 will be turned ON when the corresponding key is pressed on the Programming Console’s keyboard. A bit will remain ON after the Programming Console’s key is released. All bits from SR 27700 through SR 27909 will be turned OFF when AR 0708 is turned ON. Expansion keyboard mapping inputs are disabled when AR 0708 is ON. In addition to the keyboard mapping function, expansion TERMINAL mode allows messages output by MSG(046) and LMSG(047) to be displayed on the Programming Console. These messages will be erased if the Programming Console is switch back to CONSOLE mode. The following diagram shows the correspondence between the position of Programming Console keys and bits in the SR Area. Each key corresponds 1 to 1 with a bit. Shifted inputs are not recognized. Keys 0 to 15 correspond to bits SR 27700 to SR 27715, keys 16 to 31 correspond to bits SR 27800 to SR 27815, and keys 32 to 41 correspond to bits SR 27900 to SR 27909. FUN key

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

The following table shows the correspondence between the actual Programming Console keys and bits SR 27700 to SR 27909. SR word 277

Bit

Corresponding key(s)

00 FUN

01 02

455

Page 466

Section

Programming Console Operations SR word 277

Bit 03

*1

04

*2

05 06 07 08 09 10 11 12 13 14 15 278

00 01 02 03 04 05 06 07 08 09 10

456

Corresponding key(s)

7-2

Page 467

Section

Programming Console Operations SR word 278

Bit

7-2

Corresponding key(s)

11 12 13 14 15

279

00 01 02 03 04 05

*3

06 07 VER

08 09

457