TARGET_REF structure
This section describes the TARGET_REF structure.
Variable/Structure name
TARGET_REF
uIO
Target
Specify a signal which is used in the control in Target of the TARGET_REF structure with the following character string format.
[Classification](Type)Data name.Bit position@Target modification
or
[Classification](Type)WSTRING type label^
Up to 643 characters can be stored in Target. When specifying more than 643 characters string format,
specify with the following method.
(1) Declare the WSTRING type global label in the motion system, and store the part of Data name.Bit
position@Target modification.
(2) Specify the label name of (1) as the WSTRING type label of TARGET_REF. (To the end, add "^" that
indicates reference.)
Classification and data name
Specify the data type in [Classification] and the target data in Data name. The specifying method of the data name varies
depending on the classification.
Classific
Target
ation
[OBJ]
CANopen object of the slave
device
[VAR]
Label of the motion system
[AXIS]
Axis data
[DEV]
Device in the motion system
(Including buffer memory and link
device of the module itself)
[CONST]
Constant
*1 POU: Program Organization Unit
12 COMMON FUNCTIONS
358
12.1 External Signal Selection
Name
Input signal
IO No.
Target
Specifying method of data name
[OBJ]0xXXXXYYZZ
XXXX: Specify the object index.
YY: Specify the object sub index.
ZZ: Specify the object size (Number of byte).
Specifying the target device may be required in @Target modification.
Check the specification of the function.
[VAR]Label name
Specify a label in the motion system includes in Label name.
When specifying the local label, specify the POU
modification. For whether the local label can be set or not and the
conditions that the setting is enabled, check the specification of the
function.
[AXIS]MC_SOURCE
Specify a MC_SOURCE enumeration type enumerator in
MC_SOURCE.
Specifying the target data may be required in @Target modification.
Check the specification of the function.
[DEV]Device name
Specify a device in the module itself in Device name. For devices that
can be specified, refer to the following.
Page 594 Variables
@Target modification cannot be specified. (It is ignored.)
[CONST]Constant
[CONST]0xConstant
Specify Constant as floating decimal (E format is also available)/
decimal integer/hexadecimal integer.
Example
[OBJ]0x607A0004
[VAR]ADunit10.OutputEnable
*1
name in @Target
[AXIS]mcSetValue
[DEV]RWr10.5
[DEV]G10000.1
[CONST]1000
[CONST]0x100