Programming for an AB DL-50 display

DonPandon

Member
Join Date
Apr 2017
Location
Ontario
Posts
1
Greetings everyone,

I am working on a program (in C#) to interact with multiple GE PLCs and a DL-50 display, for a course at the college I work for. I encountered a very odd behavior from C# that I would like to address. If anyone knows what could be the cause, let me know!

The instruction manual for this device gives you some examples (in chapter 6) on how to transmit strings of information to the display. however, even though I am programming the equivalent code, the display doesn't seem to respond.

For example: one of the sample codes says to turn on the relay on a display with address 150, you have to transmit using BASIC: chr$(150) + chr$(48) + chr$(13). The equivalent code in C# would be: string.concat((char)150, (char)48, (char)13)). The display won't react.

What I found strange is that some examples indicate that, in the end, the whole transmission is done using ASCII; here's where I get confused and I am asking for suggestions: If all control characters, or slave addresses, will eventually be converted to ASCII, how does the display identifies when the input is a control string, and when it's a text string? is there something special on the transmission I am missing from the samples?

Or, if you have any suggested pseudo code (or code :D), that would be awesome!

For additional information, this is my setup:
PC: RS-232 ----> 232/485 converter: RS-485 ----> DL-50 Display

Baud Rate: 9600
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
Display mode: Simplex, Address 1 (0001). Passes initial tests and 2 LEDs are on in one corner (fixed light, not flashing).

I have a scope measuring the signal received at the display, so the differential wires are correctly installed.

::The original post was in the wrong section o_O ::
 

Similar Topics

Hello all, I am stumped about how to validate an expression in order to meeting the following conditions. Here's what I want to do: I have a...
Replies
4
Views
2,818
Hi, I have just bought one of these and am just needing advice as to what type of cable is required to program this with the computer. I made up...
Replies
3
Views
1,821
Dear All, I need help. I am new here & I don't know whether i join the right forum or not for asking this thing. My company...
Replies
14
Views
14,433
Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
17
Views
637
I need to pull the program off of an old 90-30 so I can convert it to Allen Bradley. This is my first time messing with GE and I don't have the...
Replies
2
Views
81
Back
Top Bottom