Download Print this page

Omron CPM2C Operation Manual page 100

Hide thumbs Also See for CPM2C:

Advertisement

Transferring and
Verifying DM Area Data
Available Program
Memory
Program Transfer
Expansion Instructions
DM Area addresses not supported by the CPM2C cannot be transferred or mon-
itored. DM 1024 to DM 6143 are not checked for DM Area verification.
Since the program capacity of the CQM1 (7,200 words) is greater than that of the
CPM2C (4,096 words), the display will show more free space than is actually
available. Be sure to keep the actual program capacity in mind while program-
ming.
When the program is transferred from the PC to the SSS with the default function
code assignments, FUN18, FUN19, FUN87, and FUN88 will be displayed as
TKY, MCMP, DSW, and 7SEG. The instructions, however, will be transferred
correctly.
"???" will be displayed if any instructions not supported by the SSS are trans-
ferred from the CPM2C. Mnemonics will be displayed, however, if any have
been defined for the specified function code.
When the program is transferred from the SSS to the PC, TKY, MCMP, DSW,
and 7SEG will be displayed on the SSS, but will not be executed in the CPU Unit.
They will be treated as NOP.
If expansion instructions are transferred to the PC with DM 6602 is set to the "de-
fault settings," a message saying that expansion instructions cannot be written
because DIP switch pin 4 is OFF will be displayed. Change the setting of
DM 6602 to enable user settings to use expansion instructions. If instructions
not supported by the CPM2C are transferred to the PC, a message saying to set
expansion instructions will be displayed, and transfer will not be possible.
It will not be possible to transfer the program if the function codes assigned to
expansion instructions have been changed from their default settings. A mes-
sage to turn ON the DIP switch of the PC and execute again will be displayed.
Change the function code assignments to the CQM1 defaults shown in the fol-
lowing table before programming.
Function code
Default CPM2C Assignments
17
ASFT
18
---
19
---
47
RXD
48
TXD
60
CMPL
61
INI
62
PRV
63
CTBL
64
SPED
65
PULS
66
SCL
67
BCNT
68
BCMP
69
STIM
87
---
88
---
89
INT
If a CQM1 instruction that is not supported by the CPM2C is used in the program,
an error will occur when the program is transferred from the computer to the PC.
There are three CPM2C instructions (SYNC(----), TIML(----), and TMHH(----)) that
are not supported by the CQM1. These instructions can be used by transferring
the expansion instructions from the CPM2C to the SSS. This procedure is out-
lined in the following.
Section
Default CQM1 Assignments
ASFT
TKY
MCMP
RXD
TXD
CMPL
INI
PRV
CTBL
SPED
PULS
SCL
BCNT
BCMP
STIM
DSW
7SEG
INT
4-2

Advertisement

loading