5.3 Description of Function Codes 5.3.9 d codes (Applied functions 2)
Input terminal functions
Table 5.3-47 Input terminal function list
Home position limit switch
After detecting the “LS” valid edge during homing operation,
the motor moves from the first PG Z-phase by the homing
shift and stops, and homing is performed.
Speed regulator P operation
By turning “P-SEL” ON, the speed regulator integration term
is canceled, and P operation is performed. If the machine
brake is applied during position control, the motor will not be
able to rotate even if a positional displacement exists, and
as a result, the integration term accumulates, possibly
causing an overload trip. This function is used in cases such
as this.
Travel/absolute position
switching
Positioning data is set as the relative position from the
current point when this signal turns ON, and is set as the
absolute position from the home position when the signal
turns OFF.
Position control/speed
control switching
The mode changes to position control mode when this
signal turns ON. The mode changes to speed control mode
when the signal turns OFF. Operation is also possible while
the motor is running.
The servo lock is applied after positioning with position
control. (under vector control)
DC braking is applied under V/f control.
The mode changes to homing mode when this signal turns
ON.
Inputs a plus direction overtravel detection signal. This
setting is enabled (contact b) when OFF. This is used for
emergency stops and homing.
Inputs a minus direction overtravel detection signal. This
setting is enabled (contact b) when OFF. This is used for
emergency stops and homing.
Clears the current position to 0 when ON.
Sets the current position to the preset position (d240, d241)
when ON.
Stores the current position in position data 1 to 8 when ON
(teaching operation). The position data 1 to 8 selection is
made at d216.
Positioning data change
command
The target position is changed, and the motor starts moving
to the new target position when ON.
Positioning data selection 1
Positioning data selection 2
Positioning data selection 4
“POS-SEL1”
“POS-SEL2”
“POS-SEL4”
Select position data 1 to 8 with a combination of these.