HEX/ASCII PC <--->PLC

Marcuss

Member
Join Date
Jul 2008
Location
Calgary
Posts
5
Hello fellow programmers!

Looking for some help, or shed some light on the following application.

We've got an application, that requires interface to a garden variety PC via it's serial port (RS-232). This PC is running a third party, custom developed, kiosk software (water dispenser).

Said PC needs to read/write data to a local Twido controller, which is setup to read/control the associated instruments & end devices.

Sample Data:
Credit Card Processing: Kiosk ---> PLC 02,31,31,31,03
Authorization Fail: Kiosk ---> PLC
02,31,31,32,03

Transaction Amount: PLC ---> Kiosk
02,31,32,31,XX,XX,XX,XX,XX, 03

XX= Price, Dollar amounts are zero based with 5 characters ($10.00 = 01000)

Thanks in advance & cheers!!
Marc
 
tragically1969 said:
So whats your issue ?

You have not stated what the problem is !!

Good point! I'm not sure how to go about messaging between the devices. As I've not done this before, it's a bit of a mystery to me.

Regards,
Marc
 
Hi,
Just a quick suggestion since I know nothing about twido and you are new to the forum. At the top of the page is a search button that you can enter a keyword, Type "twido" (without the quotes) in it to find posts that others have made. There may or may not be anything that applies to your situation but then again maybe so. Don't be discouraged, there are many good programmers on the forum, I'm sure someone will help.
 
I've searched rather throughly, here and abroad.... next step is to call Telemecanique Tech. Support I suppose.

Thanks!
 
I have no idea of Twido but I have used serial into a Momentum.

You us the MSTR instruction to read the port buffer into a table of registers. You then need to search the registers for data.

Usually the device sending data will have included header and tail sections and a checksum to validate the data.

The data will usually be in ASCII so you would have to convert it.

Sorry I have no idea what instructions a twido has.
 

Similar Topics

Hi there, How to do HEX conversion to ASCII in Rockwell software? In Siemens there is HTA instruction. Any advice's? I have RFID scanner I...
Replies
2
Views
2,180
Hi, Guys I'm trying to upgrade a device witch comms is thru a RS232. The PLC is a Compactlogix L16ER to a remote PIO 1734-AENT then on this PIO a...
Replies
22
Views
8,215
Hi All, have a quick one new enough to this type of programming, I am using a Allen Bradley point IO with 1734-232ASC card to send out data, I...
Replies
5
Views
2,550
Hey, i've been working on getting some add-on instructions defaulted in the company i work in. i am currently trying to create a string which...
Replies
7
Views
3,031
Hello everyone, I'm working in RSLogix 5000. I have an ASCII string of letters & numbers (call it String_3) which I have used INSERT to add a...
Replies
3
Views
2,312
Back
Top Bottom