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

The text of a manual · part 55 of 60

SYSMAC CQM1/CPM1/CPM1A/SRM1 Programmable Controllers Programming Manual, pages 486 to 490

Pages 486 to 490 of 520: Appendix D Using the Clock Function; Appendix E I/O Assignment Sheet; Appendix F Program Coding Sheet

The original document is the PDF (2.1 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 CQM1-CPU21

Page 486

Appendix D Using the Clock Function The CQM1 can be provided with a clock function by installing a Memory Cassette equipped with a clock. This appendix explains how to use the clock. The following two Memory Cassettes are equipped with a clock: CQM1-ME04R (EPROM) and CQM1-ME08R (EEPROM).

Data Area Words Used with the Clock This following illustration shows the configuration of the words (AR 17 through AR 21) that are used with the clock. These words can be read and used as required. AR 17 is provided so that the hour and minute can be accessed quickly. AR17 AR18 AR19 AR20 AR21

15 8 7 0 Hour Minute Minute Second Date Hour Year Month Day of week

2 digits BCD each. (Only the last 2 digits of the year are displayed.) 00 to 06: Sunday to Saturday

AR2115 Clock Set Bit AR2114 Clock Stop Bit AR2113 30-Second Adjustment Bit

Setting the Time To set the time, use a peripheral device as follows: When Setting Everything 1, 2, 3...

1. Turn ON AR 2114 (Clock Stop Bit) to stop the clock. 2. Using a peripheral device, set AR 18 through AR 20 (minute/second, date/hour, and year/month) and AR 2100 through AR 2107 (day of week). 3. Turn ON AR 2115 (Clock Set Bit) when the time set in step 2 is reached. The clock will start operating from the time that is set, and the Clock Stop Bit will turn OFF automatically. When the time setting is complete, AR 2115 will also turn OFF automatically. When Setting Only the Seconds It is also possible, by using AR 2113, to simply set the seconds to “00” without going through a complicated procedure. When AR 2113 is turned ON, the clock time will change as follows: If the seconds setting is from 00 to 29, the seconds will be reset to “00” and the minute setting will remain the same. If the seconds setting is from 30 to 59, the seconds will be reset to “00” and the minute setting will advance by one. When the time setting is complete, AR 2113 will turn OFF automatically. Note The time can be set easily using menu operations from a Programming Console or SSS. Refer to the CQM1 Operation Manual for the Programming Console procedure or to the SSS Operation Manual: C-series PCs for the SSS procedure. ! Caution

The clock will stop and the current date and time information will be lost if the Memory Cassette is removed from the PC.

469

Page 487

Appendix E I/O Assignment Sheet Name of system PC model IR_____

Unit no.:

Model:

IR_____

00

00

01

01

02

02

03

03

04

04

05

05

06

06

07

07

08

08

09

09

10

10

11

11

12

12

13

13

14

14

15

15

IR_____

Produced by

Verified by

Unit no.:

Model:

Unit no.:

Model:

Authorized by

Sheet no.

Unit no.:

Model:

IR_____

00

00

01

01

02

02

03

03

04

04

05

05

06

06

07

07

08

08

09

09

10

10

11

11

12

12

13

13

14

14

15

15

471

Page 488

Appendix F Program Coding Sheet Name of system

Produced by

PC

Verified by

Authorized by

Chart no. Address

Instruction

0

0

0

1

0

2

0

3

0

4

0

5

0

6

0

7

0

8

0

9

1

0

1

1

1

2

1

3

1

4

1

5

1

6

1

7

1

8

1

9

2

0

2

1

2

2

2

3

2

4

2

5

2

6

2

7

2

8

2

9

3

0

3

1

3

2

3

3

Function code

Operands

473

Page 489

Appendix F

Program Coding Sheet Address

474

Instruction

3

4

3

5

3

6

3

7

3

8

3

9

4

0

4

1

4

2

4

3

4

4

4

5

4

6

4

7

4

8

4

9

5

0

5

1

5

2

5

3

5

4

5

5

5

6

5

7

5

8

5

9

6

0

6

1

6

2

6

3

6

4

6

5

6

6

6

7

6

8

6

9

7

0

7

1

7

2

Function code

Operands

Page 490 read from a scan by OCR; it may hold reading errors

Program Coding Sheet

Appendix F

Address

Instruction

Function code

Operands

O}]O}] O;};N]| OD] oO} BR] ©

=e

O;]O; O]N] OD] oO}; BR} WwW] P

=e oO} O;/O]O]O!]O}] OO] OO] O}] OW} CO} CO} C} C}] CO] MO] WM] @O] WO] O|NINININI NI NIN

OO; O);NI ODO] oO}; BR} Ww] Ph

475