12
COMMON FUNCTIONS
12.1
External Signal Selection
This section describes a setting method of I/O signals which are used in each control.
The following indicates the functions that use external signal selection.
Page 159 Forced Stop
Page 289 Hardware Stroke Limit
Relevant variables
I/O signals are expressed by the TARGET_REF structure. Another structure which has the TARGET_REF structure as a
member may be defined depending on the function that uses I/O signals. For example, the MC_TRIGGER_REF structure has
the SIGNAL_SELECT structure that indicates the bit I/O data as a member, and furthermore, the SIGNAL_SELECT structure
includes the TARGET_REF structure.
Variable/Structure name
MC_TRIGGER_REF
Signal (SIGNAL_SELECT structure)
MC_INPUT_REF
Signal (SIGNAL_SELECT structure)
MC_OUTPUT_REF
Signal (SIGNAL_SELECT structure)
For the configuration of each structure, refer to the following.
Page 568 List of Variables
The following shows specifications of structures common for each function, the SIGNAL_SELECT structure and the
TARGET_REF structure.
SIGNAL_SELECT structure
This section describes SIGNAL_SELECT structure.
Variable/Structure name
SIGNAL_SELECT
Source
Detection
CompensationTime
FilterTime
The settings of the BOOL type I/O signals which are used in control are expressed by the SIGNAL_SELECT type structure
variables. Details of the SIGNAL_SELECT type structure are shown below.
Signal name
• Specify BOOL type signals which are used in control with the TARGET_REF structure. Data types of [VAR], [DEV], [ADDR],
and [OBJ] (mapped in the cyclic data) can be used.
• For operation when a signal which cannot be used is set, refer to each function.
12 COMMON FUNCTIONS
356
12.1 External Signal Selection
Name
Trigger signal
Input signal
Output signal
Name
Signal select
Signal
Signal detection method
Compensation time
Filter time