29
Comparison with the CPM1A and CPM2A Section 1-5
!Caution Before using a CPM1A program containing one or more of the instructions in
the table above, check the program to be sure that it will operate properly and
edit the program if necessary. The CPM2C may not operate properly if a
CPM1A program with these instructions is transferred and executed
unchanged.
Added Function Code
Allocations
The following three instructions are allocated function codes that were not
used in the CPM1A.
Differences in I/O Memory
SR Area Differences The following table shows differences in the SR area. (PV is the abbreviation
for present value.)
AR Area Differences The following table shows differences in the AR area.
Note CPM1A programs that use AR 10 (the Power OFF Counter) cannot be used in
the CPM2C without editing the program. In the CPM2C, the Power OFF
Counter is in AR 23.
Instruction CPM2C CPM1A
RXD(47) RECEIVE Not allocated. (NOP(00))
TXD(48) TRANSMIT
SCL(66) SCALING
Function CPM2C CPM1A
Pulse output 0 PV SR 228 to SR 229 Not sup-
ported.
Pulse output 1 PV SR 230 to SR 231
Pulse output 0 PV Reset Bit SR 25204
Pulse output 1 PV Reset Bit SR 25205
RS-232C Port Reset Bit SR 25209
Battery Error Flag SR 25308
Changing RS-232C Port Setup Flag SR 25312
Function CPM2C CPM1A
Clock/calendar data AR 17 to AR 21 Not sup-
ported.
RS-232C Communications Error Code AR 0800 to AR 0803
RS-232C Error Flag AR 0804
RS-232C Transmission Enabled Flag AR 0805
RS-232C Reception Completed Flag AR 0806
RS-232C Reception Overflow Flag AR 0807
Peripheral Port Reception Completed Flag AR 0814
Peripheral Port Reception Overflow Flag AR 0815
RS-232C Reception Counter AR 09
High-speed Counter Comparison Flag AR 1108
High-speed Counter Overflow/Underflow Flag AR 1109
Pulse Output 0 Output Condition AR 1111
Pulse Output 0 PV Overflow/Underflow Flag AR 1112
Pulse Output 0 Pulse Quantity Set Flag AR 1113
Pulse Output 0 Output Completed Flag AR 1114
Pulse Output 1 PV Overflow/Underflow Flag AR 1212
Pulse Output 1 Pulse Quantity Set Flag AR 1213
Pulse Output 1 Output Completed Flag AR 1214
Pulse Output 1 Output Status AR 1215
Power OFF Counter AR 23 (See note.) AR 10