Professional Documents
Culture Documents
Tech Note 42
This Tech Note explains the cause of some of the most common Modicon Modbus and Modbus Plus error
messages that you may encounter when attempting to establish communications with the Wonderware
Modicon Modbus or Modicon Modbus Plus I/O Server and how to resolve them.
1/4
8/22/13
3. You should now see the Show Send and Show Receive menu options. Single-click each option and the
option All Topics (or a list of the current active topics defined in the I/O Server) will display to the right
of the Show Send or Show Receive menu option. Enable either All Topics or one or more of the topics for
which the problem is occurring.
4. Initiate communications to the slave device again.
With the Show Send and Show Receive menu options enabled, the I/O Server will log all Modbus protocol
messages in WWLogger when it attempts to communicates to the slave device, such as the following Send
request examples (those issued by the I/O Server to the slave device):
S: :0301005601683D\r\n
https://wdnresource.wonderware.com/support/kbcd/html/1/solving4.htm
2/4
8/22/13
S: :0101001101E20A\r\n
The Modbus and Modbus Plus I/O Servers use the standard Modbus protocol and here are the function codes
that the I/O Server will issue (which are tied to the protocol messages):
Control Code
Function Code
Read Coil
01
Read Contact
02
03
04
Force Coil
05
Load Register
06
15
16
20
21
For information on how to correctly read the Modbus Send requests in WWLogger and decipher the Modbus
function code that is listed as part of the message, see the document titled Interpreting the Modbus Protocol
which is part of the Wonderware Knowledge Base. Or, you may go to the Modicon Web site at
www.modicon.com.
Note The Show Send and Show Receive menu options will generate frequent writes to WWLogger, and
therefore, both should be enabled during troubleshooting only. If Show Send and Show Receive are left
activated during the normal operation of the I/O Server, then the performance of your computer will slow
considerably.
3/4
8/22/13
After you enter the manual step through execution mode, look for information that is displayed after the
Device= statement in which the Mbphost.sys file is executed. It should indicate that the SA85 device driver
was loaded correctly, as shown in this example:
SA85 Device Driver Version 3.4
<<PG-MBPL-500>>
Copyright (c) 1989-1994 Modicon In. All Rights Reserved.
set for polled mode, SW int:0x5D Memory at 0xD000. LAN adapter #0
node address = 31
This example shows that the SA85 Adapter card is:
Set for polled mode (which is required for the SA85 Adapter card);
Using interrupt 5D;
Using memory location D000;
Set to address 31 on the Modbus Plus network.. (Note that for both c) and d), the memory and node
address numbers must always match the Dip switch settings on the SA85 Adapter card.)
Following the procedure in this section, you will be able to help determine why the SA85 Adapter card did not
initialize properly, and thus, you will be able to resolve the error Card SA85:0 not found, bad NCB_LANA_NUM device not found.
back to top
2013 Wonderware C orporation. All rights reserved. Terms of Use.
https://wdnresource.wonderware.com/support/kbcd/html/1/solving4.htm
4/4