![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|||||||
![]() |
If you're really looking to learn about PLCs, you NEED our book... "Your Personal PLC Tutor - A Guide to Understanding PLCs" Easy to read and uses 'plain' language!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|
Hi!
Before I post too much detail... is anyone familiar with the programming structure of TSX17 programs? I have a print-out of the 'ladder' and it appears to be segregated into 'tasks'... FAST MASTER/PRL CHART MASTER/POST I also need to understand the Fast Counter, and it's relationship to the task called 'FAST' The PLC has an encoder connected to it's dedicated connection, which I believe drives the Fast Counter (FC31?) There is no user comments etc so I'm not clear what it's doing yet. I am required to convert to AB Micrologix. Any help / comments appreciated. I'll leave it at that for now! Rich |
|
|
|
#2 | |
|
Member
![]() Join Date: Apr 2002
Location: WI
Posts: 1,132
|
Quote:
Your TSX17 is programmed in a Sequential Flow Chart (SFC) style of programming. FAST is a subroutine that is called on a time basis. This timed execution allows you to predict when this logic will be executed rather than having it change with based on scan time (which can really vary with SFC). Tasks that are time dependent should be located in this area even if they are not "FAST". MASTER/PRL is a portion of the program that is always scan prior to executing the SFC it often contains interlocks and permissives but, it can be left empty. CHART is the actual SFC program MASTER/POST is the portion of the program that is always scanned after the SFC. This area usually contains the actual "output" coils which are controlled by step bits from inside the SFC. Many times the interlocks are included in this section because it is programmed in ladder logic. |
|
|
|
|
#3 |
|
Member
|
Thanks Jim!
Very enlightening. What does anyone know about the 'Fast Counter'? (FC31) Rich
__________________
________________________________________________ "He who makes no mistakes cannot be making anything!" (So I must be making loads of stuff!) |
|
|
|
#4 |
|
Member
|
Oh dear! Not much known about this issue then?
That's reassuring! Shall I shoot myself now <LOL> Rich. |
|
|
|
#5 |
|
Member
![]() Join Date: Aug 2004
Location: Kent
Posts: 710
|
Found this in the manual...don't know if it's what you're looking for though:
|
|
|
|
#6 |
|
Member
|
Thanks KRK that looks very useful, will study that.
Here's a section of the code I have to convert, it's to do with the Fast Counter, any comments regarding anything anyone recognises in there will be very welcome! Theres also a small Fast Task to do with it. Rich |
|
|
|
#7 |
|
Member
|
By the way KRK, is that a complete TSX17 manual you have there?
Rich. |
|
|
|
#8 |
|
Member
![]() Join Date: Aug 2004
Location: Kent
Posts: 710
|
Its from the PL7-2 V5 languages reference manual which can be found towards the bottom of this page:
PL7 Software Documentation Other random TSX17 documentation can be found here: TSX 17 Technical Documentation |
|
|
|
#9 |
|
Member
|
Thanks krk, those links are very helpful.
Any comments on the posted code anyone? Rich |
|
|
|
#10 |
|
Member
|
Even with the helpful links from KRK I am struggling to find the wiring information for the I/O Extension Rack TSX DMF 342A Does anyone have a drawing and specs for this please? I believe it's 22 inputs and 12 relay outputs.
|
|
|
|
#11 | |
|
Member
|
Quote:
__________________
Regards Dave "When you are courting a nice girl an hour seems like a second. When you sit on a red-hot cinder a second seems like an hour. That's relativity." Albert Einstein (1879-1955) |
|
|
|
|
#12 | |
|
Member
|
Quote:
Although it is mentioned in the 'specs' there appears to be no drawing for it? Must assume it is the same as this connection drawing towards the end of the document... TSX 172 2028/172 3428 PLCs c 110…240 V power supply, 12 (or 22) a 24 V isolated inputs, 8 (or 12) relay outputs Will have to visit plant again and have a better look! Rich
__________________
________________________________________________ "He who makes no mistakes cannot be making anything!" (So I must be making loads of stuff!) |
|
|
|
|
#13 | |
|
Member
![]() Join Date: Aug 2004
Location: Kent
Posts: 710
|
Rich,
Had a (very) quick look at your posted code and have a couple of comments. (Bear in mind that although I worked on a lot of TSX systems in the 80's I haven't done much with them since.) Quote:
It's difficult to reverse engineer this type of thing knowing absolutely nothing about the process it's controlling so the following comments are mostly WAG's.... * In Labels 110 to 112, W8 is compared to constant values which are 2x, 1x and 0x (well <1) the maximum theoretical count value, this in turn writes a corresponding value of 2, 1 or 0 to W10. Is the fast counter wired to an encoder? * The first rung of Label 150 and Labels 160 to Label 191 are not relevant to the fast counter code. These look to be generating various fault codes which are then converted to ASCII, embedded in a string and squirted out of the programming port to some peripheral device - a display or a serial printer maybe? Kevin H Last edited by krk; March 1st, 2008 at 11:23 AM. |
|
|
|
|
#14 |
|
Member
|
Thanks Kevin.
Yes, the Fast Counter is connected to an encoder, which is mounted on the wheel of a crane that taverses to numerous stacking positions where it lifts or lowers product, the encoder is 200 Impulses/Rev and I believe direct driven on a 12" dia traverse wheel (size guessed from brief visit at the moment!) As for the other code which you mentioned as not relevent to the counter, yes, there is an XBT A801010 Telemec HMI on board, where I'm told they can preset a retrieval and stacking positions sequence for the product. There is no documentation for any of the Telemec gear PLC / HMI ! So struggling a bit. Thanks, Rich. |
|
|
|
#15 |
|
Member
|
Without the original supporting docs, is it possible to establish which PLC memory locations the XBT HMI writes to?
Also, the TSX 17 has it's 'Fast Inputs' 24 and 25 connected, I read that if one of these changes state, this also 'calls' the 'FAST' task. Is this correct? I am confused about the fact that the Fast Counter also 'calls' the same FAST task. There's not much code programmed in this FAST code (see previous post attachment) There was also mention in one of the Telemec documents that the 'Fast Inputs' must be configured as such? Where can this be seen to establish if they are configured as 'Fast'? So many questions! Sorry... Rich. Last edited by rlmts; March 3rd, 2008 at 06:43 AM. Reason: forgot something |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Telemecanique TSX17 PLC | rlmts | LIVE PLC Questions And Answers | 9 | March 8th, 2010 03:14 PM |
| Telemecanique with Siemens HMI-OP17 | ccsPLCGuy | LIVE PLC Questions And Answers | 1 | October 6th, 2005 02:26 AM |
| plc tsx17 telemecanique | merci | LIVE PLC Questions And Answers | 1 | August 21st, 2005 08:52 PM |
| plc Telemecanique TSX17 | jlsd | LIVE PLC Questions And Answers | 6 | May 26th, 2005 09:18 AM |
| Deleting Tasks in CL5k | jimdi4 | LIVE PLC Questions And Answers | 1 | May 10th, 2005 11:30 AM |