Documentation

MbusDataTableInterfacewriteEnronRegistersTable Method

Implement this function only if your slave device has to process register ranges as Daniel/ENRON 32-bit registers.

Namespace:  FieldTalk.Modbus.Slave
Assembly:  FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntax
protected virtual bool writeEnronRegistersTable(
	int startRef,
	int[] regArr
)

Parameters

startRef
Type: SystemInt32
Start register (Range: 1 - 65536)
regArr
Type: SystemInt32
Buffer which contains the received data (Length: 0 - 62)

Return Value

Type: Boolean
true indicates a successful access. The Server Engine will send a positive reply to the master.

false indicates that access has been denied or is out of range. The Server Engine will reply to the master with an exception reply message

Remarks
If a register range is processed as Daniel/ENRON register then this range is not available as normal Holding Register range.

Required: No

Default Implementation: Returns 0 which indicates that the requested register range is processed as standard Modbus registers by a subsequent call to writeHoldingRegistersTable().

Note: Daniel/ENRON is a prorietary 32-bit format which uses a non-standard Modbus frame and not understood by most master devices.
See Also