8/23/2022 7:01 AM | |
Joined: 3/17/2017 Last visit: 9/30/2024 Posts: 39 Rating: (3) |
Dear Experts, I am wondering if any of you have had experience with CP525 (or CP524) installed with 944B (or 943B) CPU and its IF1 connected to a dot matrix printer using the active TTY module. I need to create an S5 program for 943B/944B CPU which would enable the CP525/CP524 card to output certain text to a printer. To my understanding that there are 2 parts needed: 1) the CP 525/CP524 module needs to be programmed using the COM525 and PROM525 software 2) the S5 PLC program itself that calls FB244 SEND with some parameters to transmit data from the CPU to CP and then to the printer. Do you know if there are any additional parts (steps/details) needed to achieve my goal? In fact, I have a copy of the EPROM from the CP525 card which has a program with What I need is any help (links, screenshots, even partial .S5D files) on how to write the S5 PLC side of the code. Can someone give me a hint, please? Thanks a lot in advance. s4gia PS. I have looked at the manuals here, but I wasn't able to figure out the proper procedure. |
Last edited by: Jen_Moderator at: 08/23/2022 11:34:19Link optimized. |
|
8/25/2022 6:50 AM | |
Joined: 10/16/2007 Last visit: 9/11/2024 Posts: 629 Rating: (45) |
So far, I only established a communication between to CP's, sorry. |
8/26/2022 10:07 AM | |
Joined: 4/28/2015 Last visit: 10/11/2024 Posts: 21 Rating: (20) |
Hello S4gia, you have an EPROM-Module from that CP 525. To read the content of that Eprom, you need the PROM 525 of the COM 525 software package. Do you have an Programmer like PG720, PG740 or an Field PG to do that? You said there is a dot matrix printer connected to IF1 of the CP 525 and you also mentioned the special driver S5D000 (which was made for the CP 525-2 and CP 524). That special driver, called "open driver" was made for display units and printers (3rd-party). With the "open driver" it was possible to send/receive data of any structure, for example the ASCII characters, or all the other characters from 00hex to FFhex. There is no software handshake with this driver (no secured transfer). The S5 user has to prepare the complete send telegram with all control characters (incl. possible start or end characters). If you want to extend the content on the Eprom, you have to read the eprom, enhance the content, delete the eprom (do you have an UV-erasor?) and reprogram it. Or, you take the original Eprom as backup and use an RAM-Modul instead. To go online to the CP 525 you have to choose the IF2 and therefore you need a special adaptor cable. That adapter cable has to be used between the standard cable (6ES5734-2xxx0) of a Field PG or PG 720/740 to the IF2 of the CP 525. With suitable SUB-D plug material you can create the adapter yourself. See attachement with the pinout of that adaptor. In the software package COM 525, basic mask, when you enter F1 [Select Program] you get into a mask where you have to enter program name, component, and so on. If you enter the PG date & time, make shure to use a number between 81 and 99 for the year (to prevent the error message "ERR.717 invalid date"). I think without documentation of the "open driver" is is hard to get your job done. You have to contact the technical support and ask for the documentation of the "open driver" S5D000. Because it is such an old product, they handle those service requests not free of charge anymore. You need a SISC Premium - Card with at least "1 case" to get support for mature products. More about this SISC see following URL: Best Regards, Christian |
Last edited by: LC7032 at: 09/30/2022 08:16:30 |
|
This contribution was helpful to1 thankful Users |
Follow us on