RIS Plugin [PickMaster 3]

I am trying to configure RIS on serial to run Pickmaster. I am using hyperterminal to test the application. According to the manual I have to send the commands in two bytes, eg to start i need to send decimal 13 so I enter into hyperterminal 13,0 this however does not start the project. I have tested the serial link by running hyperterminal on both computers and get data transfer ok. Any ideas?

Mike,

RIS expects to receive any command in 2 bytes. If one byte is sent, it will be ignored. Also, sending three bytes will cause the RIS to ignore the last byte.

When pressing a key in Hyperterminal the corresponding character will be sent over the serial line. Pressing “a” on the keyboard will casue one byte to be sent over serial line, thus it will be ignored by RIS. Therefore, it is not possible to use Hyperterminal. A program that can send 2 bytes at the same time is required.

Kind Regards,

Erik

Thanks for the reply Erik,

I have fired up a telnet program to try and send the commands, eg for status I have sent 15,0 but had no results. The Telnet program connected ok.

Do I have to send the data as decimal or hex?

Do I send it without a comma in the middle?

Any help would be appreciated

Mike,

RIS expects 2 bytes transmitted together. Using Hyperterminal will send the first character when you press “a”. The same thing is also true for telnet. The first character is sent when it is pressed, if any more character is pressed, it will be sent in another data package to RIS/PickMaster. (They are not sent within the same TCP-package.) Thus, a telnet client can not be used.

Kind Regards,

Erik

Hello again Erik,

The telnet program that I am using does not send anything untill I hit the send button. It also only sends what I type, eg if I type 15,0 it sends 15,0 in text format. Do I need to type it in hex or decimal, do I need a comma in between the numbers?:frowning:

Mike.

Mike,

When sending telnet commands, the characters that are typed will be translated into their corresponding ASCII values (assuming that you are using ASCII characters set, usually default in telnet).

The ASCII table translates your text string as:

1 - 49

5 -53

, - 44

0 - 48

For the complete ASCII table please see:

http://www.asciitable.com/

Thus the text string “15,0” will be sent as four bytes. Also, packages sent by the telnet client can not contain any telnet specific control codes before or after the bytes sent to the RIS plugin. Please use a network analyzer in order to verify the content of the package sent over the network.

Kind Regards,

Erik