Applies to:
PcVue all versions. |
||
|
||
Summary:
This article gives some tips for communicating with a TWIDO programmable controller from Schneider Electric via the Modbus TCP/IP protocol. The tips are as follows:
|
||
|
||
Solution:
Allowing for added bits in TWIDO If the bit frame declared in PcVue is configured to read bits outside of the used zone in the TWIDO device, it returns an error to PcVue (code 701). Here are alternative solutions:
If the frame is developed further in Twido so as to use more bits, the Supervisors’s bit frame need not be redesigned since new data can be put in bits 24 to 31. Dealing with error code 2 This arises when the Supervisor is communicating with a TWIDO device via Modbus TCP/IP. When a word or bit frame is read, the protocol returns an error code 2 (complementary code). You can fix the problem by decreasing the frame size. Bug in TwidoSoft There appears to be a bug in the TWIDO programming tool, TwidoSoft from Schneider Electric. To work around it:
The Available Memory display does not show the internal variables of type %M. This number appears to be equal to 16x the number of words of type %MW. Reference Software A Schneider tool (Modbus Client TCP/IP NOETS) enables you to substitute for PcVue and could serve as reference software to diagnose a problem of communication. However it may not be publicly available. |
||
|
||
|
Created on: 15 Oct 2010 Last update: 13 May 2024