Application note
Integrated Modbus support
AN00198
ABB Motion control products
19
new.abb.com/motion
Mint events
Mint events operate differently depending on the controller being used:
NextMove ESB-2: Comms events will be raised whenever the Modbus Client writes to Comms locations 1 to 5 (i.e. data does
not necessarily have to change for an event to be raised).
NextMove e100: Comms events will be raised whenever the Modbus Client writes
modified
data to Comms locations 1 to 10
(i.e. data must change for an event to be raised). Netdata events operate in the same manner and will only be raised whenever
the Modbus Client writes modified data to Netinteger / Netfloat locations 0 to 31.
Diagnostics
The ModbusParameter keyword provides two types of diagnostics.
1. Reading ModbusParameter (bus, _mpDROPPED_FRAMES) will return a counter indicating how many Modbus
packets have be
en rejected (e.g. invalid checksum, incomplete message……in summary, any message for which
neither a valid nor exception response has been generated)
2. Writing a terminal channel value to ModbusParameter (bus, _mpDEBUG) will reset diagnostic counters and setup
which terminal channel is to be used to display diagnostic information. Reading ModbusParameter (bus, _mpDEBUG)
will then return which terminal channel is being used for diagnostics and will display some summary information on the
selected terminal channel (e.g. last packet received, last packet transmitted, error counters etc..)
Example:
ModbusParameter (_busETHERNET, _mpDEBUG) = _Term2
? ModbusParameter (_busETHERNET, _mpDEBUG)
If these commands were entered on a NextMove e100 the controller would display diagnostic information about Modbus TCP
on the USB terminal (i.e. Workbench terminal window).
Example debug output:
Valid: 2
Dropped: 0. Exception: NO_EXCEPTION
Rx: 8 bytes
Node: 2 Fn code (hex): 03
Data (hex): 00 02 00 01
CRC (hex): f9 25
Tx: 7 bytes
Node: 2 Fn code (hex): 03
Data (hex): 02 00 00
CRC (hex): 44 fc
Contact us
For more information please contact your
local ABB representative or one of the following:
new.abb.com/motion
new.abb.com/drives
new.abb.com/drivespartners
new.abb.com/PLC
© Copyright 2016 ABB. All rights reserved.
Specifications subject to change without notice.