VFS11_VFD

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
PINS
PARAMETERS
USAGE
AUTHOR
LICENSE

NAME

vfs11_vfd - HAL non-realtime component for Toshiba-Schneider VF-S11 Variable Frequency Drives

SYNOPSIS

vfs11_vfd [OPTIONS]

DESCRIPTION

This manual page explains the vfs11_vfd component. This component reads and writes to the vfs11 via a Modbus connection.

vfs11_vfd is for use with LinuxCNC.

OPTIONS

-n --name <halname>

set the HAL component name

-d --debug

Turn on debugging messages. Also toggled by sending a USR1 signal to the vfs11_vfd process.

-m --modbus-debug

Turn on Modbus debugging messages. This will cause all Modbus messages to be printed in hex on the terminal. Also toggled by sending a USR2 signal to the vfs11_vfd process.

-I --ini <INI file>

takes configuration from this INI file. Defaults to environment variable INI_FILE_NAME.

-S --section <section name>

take configuration from this section in the INI file. Defaults to VFS11.

-r --report-device

Reports device propertiers on console at startup.

PINS

<name>.acceleration-pattern (bit, in)

when true, set acceleration and deceleration times as defined in registers F500 and F501 respectively. Used in PID loops to choose shorter ramp times to avoid oscillation.

<name>.alarm-code (s32, out)

non-zero if drive is in alarmed state. Bitmap describing alarm information (see register FC91 description). Use err-reset (see below) to clear the alarm.

<name>.at-speed (bit, out)

when drive is at commanded speed (see speed-tolerance below)

<name>.current-load-percentage (float, out)

Reported from the VFD.

<name>.dc-brake (bit, in)

Engage the DC brake. Also turns off spindle-on.

<name>.enable (bit, in)

Enable the VFD. If false, all operating parameters are still read but control is released and panel control is enabled (subject to VFD setup).

<name>.err-reset (bit, in)

Reset errors (alarms a.k.a Trip and e-stop status). Resetting the VFD may cause a 2-second delay until it’s rebooted and Modbus is up again.

<name>.estop (bit, in)

Put the VFD into emergency-stopped status. No operation possible until cleared with err-reset or powercycling.

<name>.frequency-command (float, out)

Current target frequency in Hz as set through speed-command (which is in RPM), from the VFD.

<name>.frequency-out (float, out)

Current output frequency of the VFD.

<name>.inverter-load-percentage (float, out)

Current load report from VFD.

<name>.is-e-stopped (bit, out)

The VFD is in emergency stop status (blinking "E" on panel). Use err-reset to reboot the VFD and clear the e-stop status.

<name>.is-stopped (bit, out)

True when the VFD reports 0 Hz output

<name>.jog-mode (bit, in)

1 for ON and 0 for OFF, enables the VF-S11 jog mode. Speed control is disabled, and the output frequency is determined by register F262 (preset to 5 Hz). This might be useful for spindle orientation.

<name>.max-rpm (float, R)

Actual RPM limit based on maximum frequency the VFD may generate, and the motors nameplate values. For instance, if nameplate-HZ is 50, and nameplate-RPM_ is 1410, but the VFD may generate up to 80Hz, then max-rpm would read as 2256 (80*1410/50). The frequency limit is read from the VFD at startup. To increase the upper frequency limit, the UL and FH parameters must be changed on the panel. See the VF-S11 manual for instructions how to set the maximum frequency.

<name>.modbus-ok (bit, out)

True when the Modbus session is successfully established and the last 10 transactions returned without error.

<name>.motor-RPM (float, out)

Estimated current RPM value, from the VFD.

<name>.output-current-percentage (float, out)

from the VFD

<name>.output-voltage-percentage (float, out)

from the VFD

<name>.output-voltage (float, out)

from the VFD

<name>.speed-command (float, in)

Speed sent to VFD in RPM. It is an error to send a speed faster than the Motor Max RPM as set in the VFD.

<name>.spindle-fwd (bit, in)

1 for FWD and 0 for REV, sent to VFD.

<name>.spindle-on (bit, in)

1 for ON and 0 for OFF sent to VFD, only on when running.

<name>.spindle-rev (bit, in)

1 for ON and 0 for OFF, only on when running.

<name>.max-speed (bit, in)

Ignore the loop-time parameter and run Modbus at maximum speed, at the expense of higher CPU usage. Suggested use during spindle positioning.

<name>.status (s32, out)

Drive Status of the VFD (see the TOSVERT VF-S11 Communications Function Instruction Manual, register FD01). A bitmap.

<name>.trip-code (s32, out)

Trip code if VF-S11 is in tripped state.

<name>.error-count (s32, RW)

Total number of transactions returning a Modbus error.

PARAMETERS

<name>.frequency-limit (float, RO)

Upper limit read from VFD setup.

<name>.loop-time (float, RW)

How often the Modbus is polled (default interval 0.1 seconds)

<name>.nameplate-HZ (float, RW)

Nameplate Hz of motor (default 50). Used to calculate target frequency (together with nameplate-RPM) for a target RPM value as given by speed-command.

<name>.nameplate-RPM (float, RW)

Nameplate RPM of motor (default 1410)

<name>.rpm-limit (float, RW)

Do-not-exceed soft limit for motor RPM (defaults to nameplate-RPM).

<name>.tolerance (float, RW)

Speed tolerance (default 0.01) for determining whether spindle is at speed (0.01 meaning: output frequency is within 1% of target frequency)

USAGE

The vfs11_vfd driver takes precedence over panel control while it is enabled (see _.enable‘ pin), effectively disabling the panel. Clearing the .enable pin re-enableds the panel. Pins and parameters can still be set, but will not be written to the VFD untile the .enable pin is set. Operating parameters are still read while bus control is disabled.

Exiting the vfs11_vfd driver in a controlled will release the VFD from the bus and restore panel control.

See the LinuxCNC Integrators Manual for more information. For a detailed register description of the Toshiba VFD’s, see the "TOSVERT VF-S11 Communications Function Instruction Manual" (Toshiba document number E6581222) and the "TOSVERT VF-S11 Instruction manual" (Toshiba document number E6581158).

AUTHOR

Michael Haberler; based on gs2_vfd by Steve Padnos and John Thornton.

LICENSE

GPL