[Common] #ComponentName=fc051 ComponentName=vfdmod MaxSpeedRPM=1014 MinSpeedRPM=10 ;AtSpeedThreshold=0.05 [RS485] SlaveAddress=2 #SerialDevice=/dev/ttyUSBPort0 SerialDevice=/dev/ttyUSB0 BaudRate=9600 # Parity: 'N' for none (default), 'E' for even, 'O' for odd. Parity=N StopBits=1 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. #060 ProtocolDelay=5 # 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. # 50000-1 Address=0xC34F # A value to run spindle forward. RunForwardValue=0x047C # A value to run spindle reverse. RunReverseValue=0x847C # A value to reset a fault state. # If this parameter is commented then fault reset feature will be disabled. FaultResetValue=0x04A8 # A value to stop spindle. StopValue=0x042C # ********************************************************** # 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. # 50010-1 Address=0xC359 # 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=16384 Divider=1014 [SpindleRpmOut] # An address of the output speed (or frequency) register. Address=0xC421 # 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=1014 Divider=16384 [User parameter 1] Address=0x3F0B # HAL pin type: 'bit', 'float', 's32' or 'u32'. PinType=float Multiplier=1 Divider=100 PinName=output-current #[User parameter 2] #Address=0x4203 #PinType=u32 #Multiplier=1 #Divider=1 #PinName=fault-code