Wonderware Intouch string issues

NJC123

Member
Join Date
Aug 2009
Location
various
Posts
38
Hello everyone, I’m after some advice with how Wonderware Intouch deals with strings and hopefully where I’m going wrong.

I’m trying to compare two strings in a Schneider Quantum 984 PLC. One entered via the SCADA and the other read from a RFID tag. The SCADA to PLC comms is Modbus TCP.

When the PLC reads the registers from the RFID tag any blanks in the sting are entered in the PLC as 0’s. When the same string is entered via the SCADA the blanks are entered as spaces (hex code 20).

For example:
The string is across 4 registers.
RFID I/O Message = 400001-400004 M
SCADA I/O Message = 400101-400104 M

RFID Read Tag
400001 = 3537 Hex (57 ASCII char)
400002 = 3333 Hex (33 ASCII char)
400003 = 0000 Hex ( ASCII char)
400004 = 0000 Hex ( ASCII char)

SCADA Entered Tag
400101 = 3537 Hex (57 ASCII char)
400102 = 3333 Hex (33 ASCII char)
400103 = 2020 Hex ([space,space] ASCII char)
400104 = 2020 Hex ([space,space] ASCII char)

When looking in the smc diagnostics the value coulomb shows the spaces added to the SCADA entry (R/H justified |).
RFID = 5733|
SCADA = 5733 |

Any idea how I stop the SCADA adding in the spaces?

Any advice would be greatly appreciated.
Thanks
 
Last edited:
Thanks for the reply.
I’ve just given it a go using the StringTrim function and it does remove the spaces on the mimic but when the data is transferred to the PLC registers the hex code 20 is still entered.
I’m beginning to think this is a “feature” of the DASMBTCP driver or it’s the way Wonderware deals with blanks in a message when it’s moved to a set of registers.
 

Similar Topics

Hello, I am using Scadapack 357 controller and Trimble Acutime 2000 GPS. I have to show the position of the GPS from the controller to the...
Replies
1
Views
1,838
Hi guys, I have experience with PLC to Excel etc...just starting on using intouch scada screens. I have an Excel sheet that uses mainly...
Replies
1
Views
134
Hola chicos. Tengo un problema con el driver de comucicacion dasabcip 5, y un plc controllogix v34, ya realice la comunicacion pero en ciertos...
Replies
2
Views
149
Hi, I am upgrading a Wonderware SCADA form version 9.5 to version 23. I am able to migrate all the graphic, but when to activate the runtime this...
Replies
8
Views
402
Hi all, I am using OI.GATEWAY.2 to communicate to the PLC using an OPC UA. I can see the tags using an OPC explorer connecting to the...
Replies
0
Views
176
Back
Top Bottom