# ********************************************************** # # Predefined (required) groups start here! These groups are: # # [Common] # [RS485] # [Control] # [SpindleRpmIn] # [SpindleRpmOut] # halcmd show all spindle # ********************************************************** [Common] ComponentName=vfdmod MaxSpeedRPM=24000 MinSpeedRPM=6000 AtSpeedThreshold=0.05 [RS485] SlaveAddress=1 SerialDevice=/dev/ttyUSB0 BaudRate=9600 DataBits=8 Parity=N StopBits=1 LoopDelay=200 ProtocolDelay=4 IsConnectedDelay=10 ConnectionErrorList=5 ConnectionDelay=1000 [Control] FunctionCode=0x06 Address=0x7000 RunForwardValue=0x0001 RunReverseValue=0x0002 FaultResetValue=0x0008 StopValue=0x0007 [SpindleRpmIn] FunctionCode=0x06 Address=0x7001 Multiplier=1 Divider=1 [SpindleRpmOut] Address=0x1B00 Multiplier=1 Divider=1 [OutputCurrent] FunctionCode=0x03 Address=0x1B06 PinType=float Multiplier=1 Divider=1 PinName=output-current