P 
11. 
TROUBLESHOOTING 
MELSECIA 
L. 
-4 
c 
11. 
TROUBLESHOOTING 
This  chapter  describes  errors  which  can  occur  with  the  AJ71C24  proce- 
dures. 
L 
11.1 
NAK 
Error 
Codes 
with 
Dedicated  Protocols 
i- 
r 
L. 
I 
Table 11.1 gives  the  error  codes  and  their  descriptions when the NAK code 
is  transmitted  between the  computer  and  the  PC  CPU  as  2-digit ASCII 
(hexadecimal) between 
OOH 
and 
FFH. 
If 
several errors  occur  simultaneously,  the  code  with  the  lowest number takes 
precedence  and is transmitted. 
If 
any  of  the  following  errors  occur,  the  transmission  sequences are initial- 
ized and LEDs  2-N3U and 4-NEU (LED Nos.  4 and 7)  are turned ON. 
P 
L- 
P 
L 
.. 
Table 
11.1 
Error 
Code  List 
corr~~ 
~1) 
Start  communication88 
after  turning 
ON 
SW22. 
:2) Write  parameters  after ret- 
ting  the PC CPU to 
STOP. 
Check control  protocol, 
change  the SW  retting or 
data. 
Chock data  tranrmitted  from 
computor and  rum chock 
result.  Correct invalid data. 
Check and  correct  the mode 
retting  mitch  podtion and 
control  protocol  and  restart 
data communiutionr. 
Change  the retting of 
SWl8 
or 
tho  control  protoool. 
Decrease tho  data  transmis- 
sion aped and  restart  data 
communic.tionr. 
(1) 
Check and  correct  the  char- 
acter  area A,B,  or C and ror- 
tart  data  communications. 
(2) 
See 
the  functions  list  in Soc. 
tion 
3.3.1 
and  the ACPU 
Uwr’s Manual to correct 
the  designated  commandr, 
and  restart  data communica. 
tions. 
(3) 
See 
Section 
8.7.1 
to correct 
the  number 
of 
setting  char- 
acters of the device num- 
ber,  and  restart  data 
communications. 
Error 
Dacripkn 
Invalid access  ha8  boon made during RUN. 
(1) 
Data ha8 been  written to  a PC  CPU  with 
(2)  Sequence program  and  parameters have 
Parity  error 
tho 
SW22 
OFF  (write diublo during RUN). 
boon  written. 
With  the 
SW1S 
ON 
(parity  enablod),  the 
state of 
SW17 
(oddleven  parity). 
parity  check  result does not  match  the 
Sum  check  orror 
With  the 
SW21 
ON 
(sum  check  enabled), 
the sum  chock result 
of 
received d.ta 
does  not match the rum check 
cod. 
of 
transmitted data, 
Le., 
send  data is dif- 
ferent  from  received data. 
Communications  protocol not valid. 
Communications have  been  made with  a 
protocol  different  from  the one  set by  the 
mode setting  switch. 
Framing  error 
Data  does not match the  setting of 
SW18 
(stop  bit). 
Overrun  error 
AJ71 
C24 
recoives all the  preceding data. 
New data haa been  transmitted  before 
Character area 
A, 
B, 
or 
C error,  or  designated 
command does not  exist. 
(1) 
The  designation of tho character  area 
A, 
8, 
or 
C  for  the  control  protocol 
set 
with  the 
mode retting switch is not  correct. 
(2) 
A 
command  used with  the  protocol does 
not exist. 
The number of processing  points 
is 
outside 
the  allowable range, or  the  dorignatod 
device number  does  not  exist in the  desig- 
nated PC  CPU. 
The  set  device  number  does  not  exist in the 
set PC CPU. 
quired  number 
of 
characters. 
(ACPU  common  command:  5  characters, 
AnACPU dedicated command: 
7 
characters) 
(3) The  device  number 
is 
not  set  with  the re- 
11 
-1 
P 
Disable 
during 
RUN 
OOH 
c. 
P 
~ 
01 
H 
Parity 
error 
L. 
~~ 
Sum 
check 
error 
Protocol 
error 
Framing 
error 
WeD’71 
2-PE 
(LED 
No.21) 
02H 
03H 
04H 
L 
.- 
P 
.A 
c 
Overrun 
error 
05H 
06H 
L. 
P- 
L-. 
P 
2PRo 
(LED 
No.18) 
4-PRO 
(LED 
No.22) 
i. 
P 
P 
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com