n8n-nodes-modbus-fccomplete
Version:
n8n nodes for industrial automation with complete Modbus support (FC1-FC4) and intuitive data conversion with scaling options
49 lines • 1.49 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModbusApi = void 0;
class ModbusApi {
constructor() {
this.name = 'modbusApi';
this.displayName = 'MODBUS API';
this.documentationUrl = 'https://github.com/lostedz/n8n-nodes-modbus';
this.properties = [
{
displayName: 'Protocol',
name: 'protocol',
type: 'options',
options: [
{
name: 'modbus',
value: 'tcp',
},
],
default: 'modbus',
},
{
displayName: 'Host',
name: 'host',
type: 'string',
default: '',
},
{
displayName: 'Port',
name: 'port',
type: 'number',
default: 502,
},
{
displayName: 'Unit ID',
name: 'unitId',
type: 'number',
default: 1,
description: 'The Modbus unit/slave ID for the device (0-255)',
typeOptions: {
maxValue: 255,
minValue: 0,
},
},
];
}
}
exports.ModbusApi = ModbusApi;
//# sourceMappingURL=ModbusApi.credentials.js.map