Specifications

Application note Connecting CP600 to motion products via Modbus RTU AN00200-003
ABB Motion control products 9
www.abb.com/motion
If we now click OK the software allows us to enter a name for our newly created Tag…
We can now click on the “+” button again to continue to add Tags to the project.
Using
UsingUsing
Using
Modbus Data in Mint Programs on ABB Motion Products
Modbus Data in Mint Programs on ABB Motion ProductsModbus Data in Mint Programs on ABB Motion Products
Modbus Data in Mint Programs on ABB Motion Products
The table below shows how various data types are likely to be used by a Mint program:
Data Type Comms Array NetData Array
Boolean CommsInteger NetInteger
Byte (signed or unsigned) CommsInteger NetInteger
Short (signed or unsigned) CommsInteger NetInteger
Int (signed or unsigned) CommsInteger NetInteger
String CommsInteger NetInteger
Float Comms NetFloat
The simplest way to access data with widths less than 32 bits (i.e. bits, bytes and words) in a Mint program is via the Mint BITFIELD
keyword (only supported by firmware using compiler Target Format 14 or greater – i.e. NextMove ES / ESB-2 running 5454 or later
or e100/e150 products).
If we use our previous example where we configured an HMI tag related to Bit 19 of NetData location 2, our Mint program could
contain the following code to read this bit from the HMI…
Bitfield BitData
DoubleWord As 0 to 31
Bit0 As 0
Bit1 As 1
Bit2 As 2
Bit3 As 3
Etc…
Bit19 As 19
Bit20 As 20
Etc…