Mitsubishi Electronics MR-J3 ユーザーズマニュアル

ページ / 668
 
 
3 -  23 
3. CC-LINK COMMUNICATION FUNCTIONS 
 
3.5.4 Instruction codes (RWwn+2 RWwn+3) 
Refer to section 3.6.2 for the instruction code timing charts. 
 
(1) Read instruction codes 
The word data requested to be read with the instruction code 0000h to 0AFFh is read by Read code 
(RWrn+3). 
Set the command code No. corresponding to the item to RWrn+2. The codes and answer data are all 4-
digit hexadecimal numbers. 
Setting any command code No. that is not given in this section will set the error code (
1 ) to respond 
code (RWrn+2). At this time, "0000" is set to Reading data (RWrn+3). 
 
Code No. 
Item/Function 
Reading data (RWrn 3) contents 
(Servo amplifier   Programmable controller) 
0000h Operation 
mode 
Reads the current operation mode. 
0000: CC-Link operation mode 
0001: Test operation mode 
0002h Travel 
multiplying 
factor 
Reads the multiplying factor of the position 
data in the point table set in parameter No. 
PA05. 
Travel multiplying factor
0300:    1000
0200:    100
0100:    10
0000:    1
 
0010h 
Current alarm (warning) reading 
Reads the alarm No. or warning No. occurring 
currently. 
0
Occurring alarm No./warning No.
0
 
0020h 
Alarm number in alarm history  
(most recent alarm) 
0021h 
Alarm number in alarm history  
(first recent alarm) 
0022h 
Alarm number in alarm history  
(second recent alarm) 
0023h 
Alarm number in alarm history  
(third recent alarm) 
0024h 
Alarm number in alarm history  
(fourth recent alarm) 
0025h 
Alarm number in alarm history  
(fifth recent alarm) 
0
Alarm No. that occurred in past
0
 
0030h 
Alarm occurrence time in alarm history  
(most recent alarm) 
0031h 
Alarm occurrence time in alarm history  
(first recent alarm) 
0032h 
Alarm occurrence time in alarm history  
(second recent alarm) 
0033h 
Alarm occurrence time in alarm history  
(third recent alarm) 
0034h 
Alarm occurrence time in alarm history  
(fourth recent alarm) 
0035h 
Alarm occurrence time in alarm history  
(fifth recent alarm) 
Occurrence time of alarm that occurred in past