Hi
Greetings to everyone,
Can any one help me in getting the circuit Diagram to make RS232- TTY Converter for S5 PLC
Regards
Subbu
Page 1 of 1
TTY Cable For S5 PLC Siemens
#2
Posted 24 December 2006 - 05:34 AM
Try this simple diagram.
Attached File(s)
-
rs232_tty.pdf (65.78K)
Number of downloads: 10983
Is nice to be important, but is more important to be nice.
#3
Posted 24 December 2006 - 09:06 AM
#4
Posted 04 February 2007 - 03:38 PM
Hi .Subrahmanyam,
use this convertor for witch i will send the pictures for PCB.
Personaly I use this convertor for two years and is OK.
I dont fiind the righ document for drawing but 100% is working.
Few days ago i made one of this for a friend.
All the best
dekor
use this convertor for witch i will send the pictures for PCB.
Personaly I use this convertor for two years and is OK.
I dont fiind the righ document for drawing but 100% is working.
Few days ago i made one of this for a friend.
All the best
dekor
Attached image(s)
Is nice to be important, but is more important to be nice.
#5
Posted 07 February 2007 - 02:18 PM
I think you are not more interested about convertor.
But anyway i will post also the electrical drawing.(maybe later......? )
So, new you have the el. diagram, PCB drawing, PCB layout.
I think also is time to close this topic.
dekor.
But anyway i will post also the electrical drawing.(maybe later......? )
So, new you have the el. diagram, PCB drawing, PCB layout.
I think also is time to close this topic.
dekor.
Attached File(s)
-
Build_your_own_RS232_to_TTY_interface_to_communicate_with_STEP_5_PLC.doc (24K)
Number of downloads: 6182
Is nice to be important, but is more important to be nice.
#6
Posted 18 April 2009 - 02:05 AM
Hello,
I'm trying to make a RS232/TTY passive converter as it is in your drawing but with no luck. I would like to ask about IC's, is RS232ACPE is ok and which one of CNY17 (1,2,3,4?) is suitable for this drawing?
Kind regards.
I'm trying to make a RS232/TTY passive converter as it is in your drawing but with no luck. I would like to ask about IC's, is RS232ACPE is ok and which one of CNY17 (1,2,3,4?) is suitable for this drawing?
Kind regards.
This post has been edited by Arturas: 18 April 2009 - 02:08 AM
#7
Posted 21 April 2009 - 03:44 AM
Dear friend,
usually I use the MAX232 and CNY17.
It works fine. Just I had build 2 converters last week.
Both of them are good. Please verify one more time
the way how you have build the PCB, positions of parts...
connections on the plug....
Can you send some pictures with your converter?
What software you use for S5?
Is that soft working OK under XP environment ?
Maybe VISTA ???
On XP, I use different software to program S5 devices...
Step 5 is not working easy under XP.
With respect,
dekor
usually I use the MAX232 and CNY17.
It works fine. Just I had build 2 converters last week.
Both of them are good. Please verify one more time
the way how you have build the PCB, positions of parts...
connections on the plug....
Can you send some pictures with your converter?
What software you use for S5?
Is that soft working OK under XP environment ?
Maybe VISTA ???
On XP, I use different software to program S5 devices...
Step 5 is not working easy under XP.
With respect,
dekor
Is nice to be important, but is more important to be nice.
#8
Posted 22 April 2009 - 03:12 AM
Dear decor,
Thank you for your reply.
To make a printed circuit i have used this one:

For components i have used this one:

IC1 MAXIM MAX232ACPE
IC2 CNY17-2
T1 BC547C (i could not get BC107, but in the shop seller told me that BC547 is equivalent for BC107).
OS WindowsXP Pro SP2
Step5 V7.2
I had borrowed an original siemens cable to check the connection and it worked.
When i try to go online i get error:
AS interface in PG not ready.
Kind regards
Arturas
Thank you for your reply.
To make a printed circuit i have used this one:

For components i have used this one:

IC1 MAXIM MAX232ACPE
IC2 CNY17-2
T1 BC547C (i could not get BC107, but in the shop seller told me that BC547 is equivalent for BC107).
OS WindowsXP Pro SP2
Step5 V7.2
I had borrowed an original siemens cable to check the connection and it worked.
When i try to go online i get error:
AS interface in PG not ready.
Kind regards
Arturas
#9
Posted 24 April 2009 - 07:00 AM
Dear friend,
The CABLE from Siemens that you have use was connected to a Siemens PC (programing console) ?
The above diagram is for "active".
Sorry but this is not a "passive" converter.
The active converter is used for a standard PC with serial port to communicate with S5 PLC.
Is that your situation?
With respect,
dekor
The CABLE from Siemens that you have use was connected to a Siemens PC (programing console) ?
The above diagram is for "active".
Sorry but this is not a "passive" converter.
The active converter is used for a standard PC with serial port to communicate with S5 PLC.
Is that your situation?
With respect,
dekor
Is nice to be important, but is more important to be nice.
#10
Posted 24 April 2009 - 08:23 AM
dekor, on Apr 24 2009, 03:00 PM, said:
Dear friend,
The CABLE from Siemens that you have use was connected to a Siemens PC (programing console) ?
The above diagram is for "active".
Sorry but this is not a "passive" converter.
The active converter is used for a standard PC with serial port to communicate with S5 PLC.
Is that your situation?
With respect,
dekor
The CABLE from Siemens that you have use was connected to a Siemens PC (programing console) ?
The above diagram is for "active".
Sorry but this is not a "passive" converter.
The active converter is used for a standard PC with serial port to communicate with S5 PLC.
Is that your situation?
With respect,
dekor
For Step5 i am using IBM T30, because mine IBM T60 does not have COM port and that siemens cable that i have borrowed i did connect to IBM T30 as well.
Kind regards
Arturas
#11
Posted 25 April 2009 - 10:09 AM
Hi,
usually Siemens provide a CABLE , and this cable is used in conjunction with special laptop.
This laptop had inside the converter.
Have you tested the converter with same laptop that work?
It was the same PLC?
Was the same conditions?
Can you show us some detailed pictures of your converter?
PS.: also I use an USB RS232 converter for S5, but not with Step5 programing software.
Check on the web for other windows based soft to program S5 PLC.
dekor
usually Siemens provide a CABLE , and this cable is used in conjunction with special laptop.
This laptop had inside the converter.
Have you tested the converter with same laptop that work?
It was the same PLC?
Was the same conditions?
Can you show us some detailed pictures of your converter?
PS.: also I use an USB RS232 converter for S5, but not with Step5 programing software.
Check on the web for other windows based soft to program S5 PLC.
dekor
This post has been edited by dekor: 25 April 2009 - 10:12 AM
Is nice to be important, but is more important to be nice.
#12
Posted 27 April 2009 - 01:30 AM
Siemens cable worked good, i am trying to make this one working:

All i am worry about are IC1, IC2 and T1. I am not sure i am using the right ones. As you mentioned in your drawing IC1=MAX232, IC2=CNY17, T1=BC107, i can get :
for IC1 - MAX232CPE or MAX232ACPE (are they suitable for this circuit?)
for IC2 there are CNY17-1, CNY17-2, CNY17-3 and CNY17-4 and they all have different parameters.
for T1 i could not get BC107, but seller told me that equivalent for it is BC547 (but i am not 100% sure that he is correct).
So instead of MAX232 i am using MAX232ACPE, instead of CNY17 i am using CNY17-2, instead of BC107 i am using BC547B. If you find something wrong here please comment.
Kind regards.

All i am worry about are IC1, IC2 and T1. I am not sure i am using the right ones. As you mentioned in your drawing IC1=MAX232, IC2=CNY17, T1=BC107, i can get :
for IC1 - MAX232CPE or MAX232ACPE (are they suitable for this circuit?)
for IC2 there are CNY17-1, CNY17-2, CNY17-3 and CNY17-4 and they all have different parameters.
for T1 i could not get BC107, but seller told me that equivalent for it is BC547 (but i am not 100% sure that he is correct).
So instead of MAX232 i am using MAX232ACPE, instead of CNY17 i am using CNY17-2, instead of BC107 i am using BC547B. If you find something wrong here please comment.
Kind regards.
#13
Posted 14 July 2009 - 06:49 PM
dekor, on Dec 24 2006, 08:34 PM, said:
Try this simple diagram. rs232_tty.pdf ( 65.78K )
Hi Dekor. I made up the converter you posted the prited circuit board layout and for short distances it works fine I would also like to make up a powered unit as shown in the pdf drawing you also posted as I need to move the PC some distance away from the S5plc is it possible to get a printed circuit board laypout for the shematic in the PDF file
Kind regards Sandman
#14
Posted 16 July 2009 - 01:09 AM
Dear friend,
I am happy to hear you have succeeded to build your TTY converter.
For which reason you need to connect the PLC to computer at long distance?
How long is the distance?
Do you want to receive data from PLC, or you want to debug program with Step5 ?
If you use a windows based program (like S5-S7 for windows, or PG-2000) you can use
an Ethernet-RS232 + TTY adapter.
You will get a very small delay, but you can be even in other country.....
I have good results with MOXA converter model: DE311.
All the best,
dekor.
I am happy to hear you have succeeded to build your TTY converter.
For which reason you need to connect the PLC to computer at long distance?
How long is the distance?
Do you want to receive data from PLC, or you want to debug program with Step5 ?
If you use a windows based program (like S5-S7 for windows, or PG-2000) you can use
an Ethernet-RS232 + TTY adapter.
You will get a very small delay, but you can be even in other country.....
I have good results with MOXA converter model: DE311.
All the best,
dekor.
Attached File(s)
-
NPort_DE_211_311.pdf (333.6K)
Number of downloads: 4051
Is nice to be important, but is more important to be nice.
#15
Posted 16 July 2009 - 03:30 PM
Hi Dekor thanks for your reply when I posted I did not know if you were still around Its good to get a reply
The S5 unit is on a Sand Mouldability Controller attached to a Disa Sand Mill the output is a disply on a pc of what the machine is doing and Data. It runs on a dos screen from a win 98 platform when the machine was first installed the pc was about 800 meter away and was conected with a converter "stromchnittstelle PC/PG-AG Typ:IR-TTY 20mA" the computer was moved to colse by the SMC and when this converter failed I built one that was posted with the circuit board Diagram. We intend to move the PC away from the Sand mill to the lab some 800 meters again. I noticed in the pdf shematic this was a different unit but I do not have enough knowledge to be able to change the shematic into a circuit board that I can constuct the circuit board layout would be for this shematic (rs232_tty.pdf ( 65.78K ))
Regards Sandman
The S5 unit is on a Sand Mouldability Controller attached to a Disa Sand Mill the output is a disply on a pc of what the machine is doing and Data. It runs on a dos screen from a win 98 platform when the machine was first installed the pc was about 800 meter away and was conected with a converter "stromchnittstelle PC/PG-AG Typ:IR-TTY 20mA" the computer was moved to colse by the SMC and when this converter failed I built one that was posted with the circuit board Diagram. We intend to move the PC away from the Sand mill to the lab some 800 meters again. I noticed in the pdf shematic this was a different unit but I do not have enough knowledge to be able to change the shematic into a circuit board that I can constuct the circuit board layout would be for this shematic (rs232_tty.pdf ( 65.78K ))
Regards Sandman
This post has been edited by sandman: 16 July 2009 - 03:34 PM
#16
Posted 18 July 2009 - 03:57 AM
Dear friend,
I am not the author of the PCB that you see.
For your situation you can use as I said before the Ethernet converter.
It will create the RS232 port over the network.
Is like your computer is on the office and he have the COM port on the plant (800 m away).
I had tested also products from different manufacturer, but without good results.
dekor.
I am not the author of the PCB that you see.
For your situation you can use as I said before the Ethernet converter.
It will create the RS232 port over the network.
Is like your computer is on the office and he have the COM port on the plant (800 m away).
I had tested also products from different manufacturer, but without good results.
dekor.
Is nice to be important, but is more important to be nice.
#17
Posted 26 July 2009 - 06:42 PM
Hi Dekor. I thank you for taking the time to reply I am sorry for the delay in posting back but I've been on leave from work and my computer access. the S5 unit is part of a Sand mouldability unit attached to a Sand Mill and the output from that is what gets displayed on the pc screen when we need to make changes to the sand batch we can access the plc through the pc screens using F keys which can then change values of the mix such as set points the program runs on the win 98 platform so is getting old now
Its sad that the circuit is not your own at the moment the one I have built from your plans is working and giving me a signal so all is well at the moment I have a program that can draw up a pcb board from schematics so I will attemp to make one that way however there is a componant that is on that diagram that I do not understand what it is it is marked as "A1 L05" and is in yellow do you know what this is the rest of the componants I can work out
regards Sandman
Its sad that the circuit is not your own at the moment the one I have built from your plans is working and giving me a signal so all is well at the moment I have a program that can draw up a pcb board from schematics so I will attemp to make one that way however there is a componant that is on that diagram that I do not understand what it is it is marked as "A1 L05" and is in yellow do you know what this is the rest of the componants I can work out
regards Sandman
This post has been edited by sandman: 26 July 2009 - 06:51 PM
#18
Posted 30 July 2009 - 02:43 AM
Dear friend,
the component is LM7805, or equivalent .It is a compact IC 5v DC voltage regulator integrated circuit.
All the best.
dekor
the component is LM7805, or equivalent .It is a compact IC 5v DC voltage regulator integrated circuit.
All the best.
dekor
Is nice to be important, but is more important to be nice.
#19
Posted 05 August 2009 - 03:06 PM
Hi Dekor. Thanks for all your help it has been much appreciated
#20
Posted 07 August 2009 - 02:12 PM
Dear friend,
the reason of forums:
the reason of forums:
Is nice to be important, but is more important to be nice.
Share this topic:
Page 1 of 1
Sign In »
Register Now!
Help



Back to top









