
6. Command execution by the ladder program
It can be done that reading and writing the parameters of the AS-i slave unit, changing the
address, reading I/O configuration and ID code from the ladder program.
6.1 Commands that can be executed from the ladder program
Command code
(HEX)
Command Parameters
byte length
reply data
byte length
0AH Writing the parameter value of the specified
slave to EEPROM of AS-i master
2 0
0BH Reading the parameter value of the specified
slave from EEPROM of AS-i master
1 1
0CH Writing the parameter value to the slave 2 1
0DH Reading the parameter value from the slave 1 1
12H Reading I/O configuration and ID code from the
slave
1 2
17H Change the address of the specified slave 2 0
29H * Reading the analog value from the slave 1 8
2AH * Writing the analog value to the slave 9 0
* : These command are only available in AS-i ver. 2.1.
6.2 Command interface of ladder program
DO (ladder program -> converter)
address name contents
Y+16 Command flag Command execution request flag, list output
mode setting
Y+17 Command code Command code
Y+18 Command parameters 1 Parameters if it exists
Y+19 Command parameters 2 "
Y+20 Command parameters 3 "
Y+21 Command parameters 4 "
Y+22 Command parameters 5
Y'+18 Command parameters 6
Y'+19 Command parameters 7
Y'+20 Command parameters 8
Y'+21 Command parameters 9
"
(These area are only used in AS-i ver. 2.1.)
DI (converter -> ladder program)
address name contents
X+24 Command status
end flag、 list output mode status
X+25 Command error status error code of the executed command
X+26 Command reply data 1 reply data if it exists
X+27 Command reply data 2 "
X+28 Command reply data 3 "
X+29 Command reply data 4 "
X'+26 Command reply data 5
X'+26 Command reply data 6
X'+28 Command reply data 7
X'+29 Command reply data 8
"
(These area are only used in AS-i ver. 2.1.)
EDIT
SHEET
DRAW. NO.
CUST
TITLE
19/33
DESCRIPTION DESIG. DATE
02 02.11.22 Yamana Out of frame #2 is added
FANUC I/O Link-AS-i Converter
Connecting manual
-80906E
#2
#2
#2