MVI46-GSC
You need to be logged in to get access to the forums. You can do so here
|
srugg
|
Thursday 28 July 2005 2:06:20 am |
|
|
MVI46-GSC
I'm attempting to print to a Toshiba TEC B-SX4 printer from an Allen-Bradley SLC-504. Any code suggestions for the SLC?
|
|
jsanders
|
Thursday 28 July 2005 5:25:11 am |
|
|
RE:MVI46-GSC
The sample ladder for that module includes logic to write ASCII strings out either port. It's usually just a matter of putting the string in the P1 Write or P2 Write table, two characters per word, starting at Word 1, then putting the length of the string in Word 0. The logic will then see the non-zero value in Word 0 and send the string to the module's output image, where the module will then grab it and send it out the port.
The only special ladder you will need is whatever is required to create the strings you want to send and then COPy them over to the P1 or P2 Write tables.
|