Mitsubishi Electric MELSEC iQ-R Series User Manual page 502

Motion module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Environmental variables
The path includes environmental variables. The format of environmental variables is specified with %Environmental variable
name%. Environmental variables are defined with system and users and those can be set by the pathset command of the file
transfer function. Refer to the following for details.
Page 505 File Transfer Function
The environmental variables defined with system are as follows.
Environmental variable
PROJECT_ROOT
CALC_PROFILE_DIR
Ex.
When the environmental variable MY_DIR defined by user is set to /sdc/my_data by the pathset command and the following
path is specified
The path including MY_DIR: %MY_DIR%/file.csv
The actual accessed file is as follows.
/sdc/my_data/file.csv
■Drive No.
To access the file in the motion system with the SLMP communication, use the path combined with the "File name" part to the
drive identifier corresponding to the "Drive No." part of the SLMP message.
The following shows the correspondence of drive Nos. and drive identifiers.
Drive No.
0000H
0001H
0002H
0003H
0004H
0005H
0006H
0007H
0008H
0009H
000AH
000BH
000CH
000DH
Ex.
When setting as follows and the root path is set to /sdc/$MOTPRJ$/
Drive No.: 0000H (root)
File name: calc_profile/cam0002.csv
The actual accessed file is as follows.
/sdc/$MOTPRJ$/calc_profile/cam0002.csv
Ex.
When setting as follows
Drive No.: 0002H (SD memory card)
File name: $MOTPRJ$/calc_profile/cam0002.csv
The actual accessed file is as follows.
/sdc/$MOTPRJ$/calc_profile/cam0002.csv
19 FILE CONTROL
500
19.1 Memory and File
Overview
Root directory
Operation profile storage location
Motion system
Root <./>
SD memory card </sdc>
User drive </rom>
System drive </sys>
RAM drive </ram>
Latch drive </latch>
Default value
/rom/$MOTPRJ$
(Changed depending on the module extended parameter storage
location setting)
%PROJECT_ROOT%/calc_profile

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents