mbusm exccond e

*This is command is used when CTM200 is being used as a MODBUS Master*

Set the condition that will trigger MODBUS exception reports.

e = 0Disable the MODBUS exception reports (default)
e = 1 to 7FFF in hexMODBUS events and exceptions to be used

MODBUS Event and Exception Bitmap:

bit0Illegal Function Exception, Code 1 A master sends a Modbus function, which is not supported by the slave device.
bit1Illegal Address Exception, Code 2 A master queries an invalid or non-existing data address.
bit2Illegal Value Exception, Code 3 A master sends a data value, which is not an allowable value for the slave device.
bit3Slave Failure Exception, Code 4 An unrecoverable error occurs in the slave device. The length might exceed the allowable data size.
bit4Acknowledge Exception, Code 5 A long duration of time will be required to process the request. This is to prevent a timeout error.
bit5Slave Device Busy Exception, Code 6 A long–duration program command is running. The command should be retransmitted later.
bit6NAK Exception, Code 7 The slave cannot perform the program function received in the query.
bit7Memory Parity Error Exception, Code 8 A master attempted to read record file, but detected a parity error in the memory.
bit8Gateway Path Unavailable Exception, Code 10/0x0A The gateway is unable to establish a connection with the target device.
bit9Gateway Target Fail Exception, Code 11/0x0B The gateway is unable to receive a response from the target device. Usually means that the device is not present on the network.
bit10Reply Timeout Event, Code 12/0x0C The slave device does not reply in time or does not reply at all. The device ID might be wrong.
bit11Send Timeout Event, Code 13/0x0D The handshake lines are not properly set.
bit12Device Open Error Event, Code 14/0x0E The Modbus Master couldn't open a serial or TCP slave device. The network is down, or the serial port is already opened. The function code in $PMEX will be 0 for this event.
bit13TCPIP Connection Closed Event, Code 15/0x0F TCP/IP connection was closed by the remote slave device.
bit14Unknown Poll Error Event, Code 16/0x10 This event is for all other errors when polling slave devices.

At least one event or exception defined by e should be detected to trigger reports. The exception code 12 ~ 16 are defined by Cypress Solutions.


See also: MODBUS


Firmware revision 2.0.4.2702

Last modified 7 years ago Last modified on 12-12-06 02:29:22 PM