Device Master Communcating with Zebra Printer

drip

Member
Join Date
Jan 2009
Location
canada
Posts
59
Hello,

I have a customer with a:

- Device Master DB9M 2 Port 1E
- S7 Controller CPU 315-2PN/DP
- Ethernet Profinet IO system
- Using Step7 V5.4 / WinCC Flexible 2008
- Zebra 140XiiiPlus Printer

I have setup the Device master as Outputs in the range from

PQW1152 - PQW 1375

I made a structure in the step7 program that will send out 35 different characters to the first 35 outputs. The structure is sending each of the characters off a counter, when the last character is sent the character is incremented so that a new structure containing a different set of characters can be sent.

I am using a Zebra 140XiiiPlus and the printer is receiving data, but is not spitting anything out. I replaced the printer with a computer to see what was going on in hyper terminal, these are the characters I am sending and this is what I have received back from the hyper terminal.


Struct - Print Code 1
Print_String_1 - ^ moves into PQW 1152
Print_String_2 - x moves into PQW 1154
Print_String_3 - a moves into PQW 1156.....
Print_String_4 - ^
Print_String_5 - 1
Print_String_6 - h
Print_String_7 - 0
Print_String_8 - ^
Print_String_9 - f
Print_String_10 - o
Print_String_11 - 1
Print_String_12 - 9
Print_String_13 - 0
Print_String_14 - ,
Print_String_15 - 3
Print_String_16 - 5
Print_String_17 - ''...... up to Print_String_35




Struct - Print Code 2
Print_String_1 - ^ moves into PQW 1152
Print_String_2 - b moves into PQW 1154
Print_String_3 - x moves into PQW 1156.....
Print_String_4 - n
Print_String_5 - ,
Print_String_6 - 3
Print_String_7 - ,
Print_String_8 - 2
Print_String_9 - 0
Print_String_10 - 0
Print_String_11 - ^
Print_String_12 - f
Print_String_13 - d
Print_String_14 - ,
Print_String_15 - 3
Print_String_16 - 5
Print_String_17 - ''...... up to Print_String_35


Struct - Print Code 3
Print_String_1 - 1 moves into PQW 1152
Print_String_2 - T moves into PQW 1154
Print_String_3 - E moves into PQW 1156.....
Print_String_4 - S
Print_String_5 - T
Print_String_6 - ''
Print_String_7 - ''
Print_String_8 - ''
Print_String_9 - ''
Print_String_10 - ''
Print_String_11 - ''
Print_String_12 - ''
Print_String_13 - ''
Print_String_14 - ''
Print_String_15 - ''
Print_String_16 - ''
Print_String_17 - ''...... up to Print_String_35


Struct - Print Code 4
Print_String_1 - ^ moves into PQW 1152
Print_String_2 - F moves into PQW 1154
Print_String_3 - S moves into PQW 1156.....
Print_String_4 - ^
Print_String_5 - x
Print_String_6 - z
Print_String_7 - ''
Print_String_8 - ''
Print_String_9 - ''
Print_String_10 - ''
Print_String_11 - ''
Print_String_12 - ''
Print_String_13 - ''
Print_String_14 - ''
Print_String_15 - ''
Print_String_16 - ''
Print_String_17 - ''...... up to Print_String_35


In the hyper terminal everything comes out, except for the "^" character and the following 3 characters after. I tried adding to the strings and put in a "\" before each "^", but then I get absolutely nothing back to the hyper terminal.

Any help would be great. Thanks!
 
Just a guess, but sometimes for "special' characters you need to double them up i.e. Print_String_4 - ^^ or add quotes, i.e. Print_String_4 - "^"
 

Similar Topics

Hi, I need to read from my PLC which is Modbus TCP/IP Master one Siemens S7-1200 PLC which is configured as Profinet IO Device. I know what are...
Replies
11
Views
3,138
Hello Guys, I have s7-315-2 PN/DP with integrated DP. I have no CP module. PLC should be DP master. ON other side there is basler device DECS250...
Replies
6
Views
3,473
Greetings! I am curious if there is an easy and simple Profibus master device to check Profibus devices and cabling for operation. Obviously...
Replies
3
Views
1,915
Hi All, Currently I'm working on a project which requires establish the comms link between ComBox-E and ABB AC800M PLC. We have many ABB AC800M...
Replies
0
Views
5,977
Hi, I'm trying to use the IO Device Library (Product Versions) which is configured to work with the 1756-EN4TR & 1756-EN2TR but my system uses...
Replies
0
Views
30
Back
Top Bottom