# ********************************************************** # # Predefined (required) groups start here! These groups are: # # [Common] # [RS485] # [Control] # [SpindleRpmIn] # [SpindleRpmOut] # # ********************************************************** [Common] # HAL component name. Default value is 'vfdmod'. ;ComponentName=vfdmod # A maximum spindle speed shall be greater than zero. MaxSpeedRPM=24000 # A minimum spindle speed shall be greater than zero # and lower than (or equal to) MaxSpeedRPM. MinSpeedRPM=400 # A maximum allowed difference between command speed and output speed # to set HAL 'at-speed' output to TRUE. # 0.00 = 0% # 1.00 = 100% # Default value is 0.05 (5%). ;AtSpeedThreshold=0.05 [RS485] # VFD slave address. SlaveAddress=1 # Serial device system path. SerialDevice=/dev/rs485 # Communication speed. BaudRate=19200 # Data bits: always 8. DataBits=8 # Parity: 'N' for none (default), 'E' for even, 'O' for odd. Parity=N # Stop bits: 1 (default) or 2. StopBits=1 # Loop delay in milliseconds, default value is 200 ms. # Range: 0 ... 10000. ;LoopDelay=200 # Delay in characters at front of every MODBUS request. # MODBUS specification recommends at least 3.5 characters, # so default value must be 4. # Increase this value if communication errors happen. # Range: 0 ... 100. ;ProtocolDelay=4 # A minimum count of successfull requests to set HAL 'is-connected' output # to TRUE. Default value is 10. Range: 1 ... 100. ;IsConnectedDelay=10 # Comma separated critical errors that call reconnection event. # For example: error code 5 occures when SerialDevice has been # physically disconnected. ;ConnectionErrorList=5 # Delay in milliseconds between reconnection attempts, this parameter # is active when ConnectionErrorList is not empty. Default value is 1000 ms. # Range: 0 ... 10000. ;ConnectionDelay=1000 [Control] # Function code: # 0x06 - write single register (default). # 0x10 - write multiple registers. # 0x05 - write single coil. # 0x0F - write multiple coils. ;FunctionCode=0x06 # ********************************************************** # Values below are active when FunctionCode is 0x06 or 0x10. # ********************************************************** # An address of the control register. Address=0x2000 # A value to run spindle forward. RunForwardValue=0x0012 # A value to run spindle reverse. RunReverseValue=0x0022 # A value to reset a fault state. # If this parameter is commented then fault reset feature will be disabled. ;FaultResetValue=0x????? # A value to stop spindle. StopValue=0x0001 # ********************************************************** # Values below are active when FunctionCode is 0x05 or 0x0F. # ********************************************************** # An address of the coil that turns spindle on. ;RunCoil=0x???? # An address of the coil that sets spindle direction. ;DirectionCoil=0x???? # An address of the coil that resets a fault state. # If this parameter is commented then fault reset feature will be disabled. ;FaultResetCoil=0x???? [SpindleRpmIn] # Function code: # 0x06 - write single register (default). # 0x10 - write multiple registers. ;FunctionCode=0x06 # An address of the command speed (or frequency) register. Address=0x2001 # Multiplier and Divider are integer values to correct command speed value # before it will be written to command speed register. # Corrected command speed = (command speed) x Multiplier / Divider. # Use both (Multiplier & Divider) to reach float coefficient. Multiplier=1 Divider=6 [SpindleRpmOut] # An address of the output speed (or frequency) register. Address=0x200B # Multiplier and Divider are integer values to correct output speed value # after it has been read from output speed register. # Corrected output speed = (output speed) x Multiplier / Divider. # Use both (Multiplier & Divider) to reach float coefficient. Multiplier=6 Divider=1 # ********************************************************** # # User defined groups start here! # # Each user group can be named at user choice, spaces are # allowed. For example: # [User parameter 5] # [123] # [DC bus voltage] # [output-current] # # Please note: group names are case insensitive, it means # [My-Parameter] and [my-parameter] are the same. # # **********************************************************