logo top-img
blank

Support Overview

Knowledge Base
Search Site
Request a Feature
Report a Bug
Remote Support
 
NEW!
Database Connectivity Demo
OPC/PLC Connectivity Demo
 

Contact Support

E-Mail Support
Call 1-800-407-0458
left
   
 

Synopsis

When writing data to certain data types via the Kepware OPC Server, the associated tag will be set to zero.

Summary

There is a known issue with the Kepware OPC Server writing to certain data types. When attempting to write to certain data types with the DTU, the tag in the PLC would be set to zero. This behavior has been seen with GE Fanuc and Allen-Bradley PLCs, though it could apply to others.

Discussion

The fix for this issue is to convert the data type of the affected tags from unsigned to a comparable signed data type. To modify the data types, please follow the table below:

Data TypeStatusDescription
BooleanWorksSingle bit data On or Off
CharN/ASigned 8 bit data
ByteFails Unsigned 8 bit data
ShortWorksSigned 16 bit data
WordFailsUnsigned 16 bit data
LongWorksSigned 32 bit data
DWordFailsUnsigned 32 bit data
FloatWorks32 bit real value IEEE format
DoubleN/A64 bit real value IEEE format
StringWorksNull terminated ASCII string
BCDFails (interpreted as Word)Two byte-packed BCD value range is 0-9999
LBCDFails (interpreted as DWord)Four byte-packed BCD value range is 0-99999999

Additional Information

Posted: 3/13/2008