6-160
6.7.5 Function code
・ Configuring the function codes wrongly may lead to dangerous conditions. When data has been set or written,
be sure to confirm the data again.
Failure to observe this precaution could cause an accident.
6.7.5.1 Standard function code
Standard function codes accessible from CC-Link differ depending on profile selection (o32). They are as
shown in Table 6.7.6.
Note 1: When function codes are written via CC-Link, they are all written into volatile memory (RAM:
data in memory is erased by turning off the power supply). Turning OFF the control power to the inverter
therefore erases written data. Execute function code H02 "Save All Function", if necessary, to write data
into non-volatile memory (EEPROM: data in memory is not erased even by turning OFF the power
supply).
Table 6.7.6 Standard Function Codes Accessible from CC-Link
Profile selection (o32) Accessible standard function code
VG7 compatible mode (o32=0)
Only the function codes corresponding to link No
*1
in the function code
list can be referred to and changed.
VG1 mode (o32=1 to 4)
Function codes (almost all function codes
*2
) corresponding to 485No
*1
in the function code list can be referred to and changed.
*1 For 485No and link No, refer to Chapter 4, Section 4.2 "Function Code Tables."
*2 Excepting for writing H01 and P02, all function codes are accessible.
6.7.5.2 Communication dedicated function codes
Common data formats (S code and M code) are available as communication dedicated specifications.
Excepting standard function codes, command/monitor related data is defined. For details on the
communication dedicated function codes, refer to Chapter 4. However, when the following
communication dedicated codes are written via CC-Link, the restrictions shown in Table 6.7.7 are applied.
(They can be read.)
Table 6.7.7 Restrictions on Writing of Communication Dedicated Function Codes
Profile selection (o32) Restrictions on Writing of Communication Dedicated Function Codes
VG7 compatible mode (o32=0)
No data can be written into S01 speed command or S06 operation
command 1.
VG1 mode (o32=1 to 4) Restrictions on writing are not applied.
However, if speed command by writing S01/S06, operation command,
remote output, speed command by remote register, and operation command
are carried out simultaneously, priority is given to the remote output and
remote register.