290
SYSMAC and SYSMAC-CPT Support Software Appendix D
Since the PC model is set to “CQM1,” a program that will run properly in the CQM1 will pass the program check
even if it won’t run properly in the CPM2C.
Monitoring, Online Editing, and Set Values
An error message will be displayed and the values will not be accepted if a data area address that exceeds the
range of a CPM2C data area is entered for monitoring, an instruction operand, or a timer/counter SV.
Available Program Memory
The program capacity of the CQM1 (7,200 words) is greater than that of the CPM2C (4,096 words), and so the
display will show more free space than is actually available. Be sure to keep the actual program capacity in
mind while programming.
Program Transfer
When the program is transferred from the PC to the CPT 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.
An error will occur if any instructions not supported by the CPT are transferred from the CPM2C.
When the program is transferred from the CPT to the PC, TKY, MCMP, DSW, and 7SEG will be displayed on
the CPT, but will not be executed in the CPU Unit. They will be treated as NOP(00).
If expansion instructions are transferred to the PC with DM 6602 is set to the “default settings” or if instructions
not supported by the CPM2C are transferred to the PC, 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.
Expansion Instructions
It will not be possible to transfer the program if the function codes assigned to expansion instructions (18
instructions) have been changed from their default settings. A message 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
following table before programming.
There are four CPM2C instructions (STUP(
−−), SYNC(−−), TIML(−−), and TMHH(−−)) that are not supported
by the CQM1 and cannot be used. If one of these instructions is used in the program, an error will occur when
the program is transferred from the PC to the computer.
The input word for the frequency for PWM must be between IR 000 and IR 049, or between IR 200 and IR 252.
Function code Default CPM2C Assignments Default CQM1 Assignments
17 ASFT ASFT
18 --- TKY
19 --- MCMP
47 RXD RXD
48 TXD TXD
60 CMPL CMPL
61 INI INI
62 PRV PRV
63 CTBL CTBL
64 SPED SPED
65 PULS PULS
66 SCL SCL
67 BCNT BCNT
68 BCMP BCMP
69 STIM STIM
87 --- DSW
88 --- 7SEG
89 INT INT