Programming Example; Hex-Ascii Display Change; Displaying The Cycle Time; Preparatory Operations - Omron Sysmac CPM1 Operation Manual

Hide thumbs Also See for Sysmac CPM1:
Table of Contents

Advertisement

Programming Example

4-3-25 Hex-ASCII Display Change

1, 2, 3...

4-3-26 Displaying the Cycle Time

1, 2, 3...
4-4

Programming Example

4-4-1 Preparatory Operations

78
Note If you mistakenly press the wrong key, press CLR and start again
from the beginning.
3. Press the NOT Key to clear the force-set/reset status of bits in all data areas.
This operation is used to convert word data displays back and forth between
4-digit hexadecimal data and ASCII. It is possible in any mode.
RUN
OK
OK
1. Monitor the status of the desired word(s) according to the procedure
described in 4-3-11 Bit, Digit, Word Monitor.
(Multiple address monitor)
2. Press the TR Key to switch to ASCII display. The display will toggle between
hexadecimal and ASCII displays each time the TR Key is pressed.
This operation is used to display the current average cycle time (scan time).
It is possible only in RUN or MONITOR mode while the program is being
executed.
RUN
OK
OK
1. Press the CLR Key to bring up the initial display.
2. Press the MONTR Key to display the cycle time.
MONTR
There might be differences in displayed values when the MONTR Key is
pressed repeatedly. These differences are caused by changing execution
conditions.
This section demonstrates all of the steps needed to write a program with the
Programming Console.
When writing a program to the CPM1 for the first time, use the following proce-
dure up to step 3 (clearing memory).
00000FORCE RELE
NOT
END
MONITOR
PROGRAM
OK
D0000 D0001
4142
3031
D0000 D0001
TR
"AB"
3031
D0000 D0001
TR
4142
3031
MONITOR
PROGRAM
No
00000SCAN TIME
012.1MS
Section 4-4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cpm1-30cdr-d-v1

Table of Contents