Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 17:35 01 May 2024
- 'Filming them filming us' - BBC on ship chased by Chinese in South China Sea
- Ex-Camelot boss named as new Post Office chairman
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 22/05/24 - WWRUG / TransWilts update
02/06/24 - Summer Timetable starts
17/08/24 - Bus to Imber
27/09/25 - 200 years of passenger trains

On this day
1st May (1964)
Helicopter service from Penzance to Scilly Isles starts

Train RunningCancelled
17:35 Exeter Central to Okehampton
18:08 London Paddington to Frome
20:16 Frome to Westbury
Short Run
15:59 Cheltenham Spa to London Paddington
16:13 Exeter Central to Barnstaple
16:50 London Paddington to Didcot Parkway
17:15 Exeter Central to Barnstaple
17:20 London Paddington to Didcot Parkway
21:02 London Paddington to Bristol Temple Meads
21:45 Penzance to London Paddington
Delayed
14:23 Portsmouth Harbour to Cardiff Central
15:55 Plymouth to Penzance
17:54 Cardiff Central to London Paddington
18:36 London Paddington to Plymouth
PollsThere are no open or recent polls
Abbreviation pageAcronymns and abbreviations
Stn ComparatorStation Comparator
Rail newsNews Now - live rail news feed
Site Style 1 2 3 4
Next departures • Bristol Temple MeadsBath SpaChippenhamSwindonDidcot ParkwayReadingLondon PaddingtonMelksham
Exeter St DavidsTauntonWestburyTrowbridgeBristol ParkwayCardiff CentralOxfordCheltenham SpaBirmingham New Street
May 01, 2024, 17:40:27 *
Welcome, Guest. Please login or register.

Login with username, password and session length
Forgotten your username or password? - get a reminder
Most recently liked subjects
[114] Train drivers "overwhelmingly white middle aged men"
[83] Visiting the pub on the way home.
[65] Infrastructure problems in Thames Valley causing disruption el...
[53] Where was I today, 29.04.24?
[34] Labour to nationalise railways within five years of coming to ...
[20] Clan Line - by Clan Line !
 
News: the Great Western Coffee Shop ... keeping you up to date with travel around the South West
 
   Home   Help Search Calendar Login Register  
Pages: [1] 2
  Print  
Author Topic: Headcodes and train IDs: ongoing discussion.  (Read 18896 times)
grahame
Administrator
Hero Member
*****
Posts: 40849



View Profile WWW Email
« on: February 17, 2013, 09:44:21 »

Under "Significant disruption" on Journey Checker ...

Quote
Avantix (Ticket Issuing System used on board trains) Failure on: 2J15 08:37 Reading to Basingstoke

Surprising thing to report widely as "Significant disruption", or is there something I don't know?

I do like to see train reporting numbers - as a programmer, it's a valuable unique key rather than having to work out that the 07:04 from Westbury and the 07:20 from Melksham are actually the same thing!
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
brizzlechris
Full Member
***
Posts: 57


View Profile
« Reply #1 on: February 17, 2013, 10:27:03 »

Although not as unique as one might hope...
Logged
Brucey
Global Moderator
Hero Member
*****
Posts: 2260


View Profile WWW
« Reply #2 on: February 17, 2013, 10:51:54 »

When issues are entered, staff are given the option of making the report public via JourneyCheck or just private on TyrellCheck.  I assume this message was intended to be private...!
Logged
bobm
Administrator
Hero Member
*****
Posts: 9843



View Profile
« Reply #3 on: February 17, 2013, 11:15:05 »


A few years ago I was lucky enough to be shown around Reading Panel Box and I talked to one of the signalmen about reporting numbers.  At that time the trains from Waterloo were class 1 trains and they had two trains in the space of 20 minutes at the end of the morning rush hour which were both 1C13.  One was from terminating from Waterloo, the other was from Paddington to Weston-super-Mare.
Logged
inspector_blakey
Hero Member
*****
Posts: 3574



View Profile
« Reply #4 on: February 17, 2013, 21:41:10 »

You'll note though that, as far as is humanly possible, trains with the same reporting number are either separated widely geographically or temporally.

For TRUST (Train Running System TOPS) reporting purposes, each train is actually allocated a ten-character identifier which includes the reporting number with various other bits and pieces of extra information including codes relating to the originating area, originating time, date, type of train... This will identify a train uniquely within a time period of one month.
Logged
EBrown
Hero Member
*****
Posts: 540


View Profile
« Reply #5 on: February 25, 2013, 03:32:44 »

I do like to see train reporting numbers - as a programmer, it's a valuable unique key rather than having to work out that the 07:04 from Westbury and the 07:20 from Melksham are actually the same thing!
Train reporting numbers (aka headcodes [slightly wrongly]) aren't completely unique. are only used for timetabling and aren't (really) used on the operating railway in their current form. This is why there can be an overlap between different operators. There shouldn't be an overlap between RSIDs.

As inspector_blakey says, trains are assigned a ten-character number, which is unique over around a 3 month period(citation needed, memory iffy), so for example the PNZ-PAD» (Paddington (London) - next trains) sleeper tonight is:
Train reporting number: 1A40
Headcode: 1276
Train ID: 851A40M724

A London Victoria to Brighton service tomorrow has the same TRN... but a different Train ID.
« Last Edit: March 02, 2013, 23:55:36 by EBrown » Logged

I am no longer an active member of this website.
inspector_blakey
Hero Member
*****
Posts: 3574



View Profile
« Reply #6 on: March 02, 2013, 22:07:59 »

As inspector_blakey says, trains are assigned a ten-character number, which is unique over around a 3 month period(citation needed, memory iffy), so for example the PNZ-PAD» (Paddington (London) - next trains) sleeper tonight is:
Train reporting number: 1A40
Headcode: 1276
Train ID: 851A40M724

Close, but not quite correct. Firstly, "reporting number" and "headcode" are used interchangeably on the operating railway to refer to the same thing, which is 1A40. In the example above, 1276 is most definitely not the headcode. Actually I have no idea what it is, unless it's derived from the number you see printed on the bottom of a seat reservation tag, in which case it's purely commercial (ticketing, seat reservations etc) and has absolutely no currency in terms of train operations.

For the sake of completeness, the ten-character ID is made up as follows:

Characters 1 and 2
Every railway location in the country used as a timing point (stations, junctions, sidings...) is allocated a five-digit number called, for reasons no-one has been able to explain to me, a Stanox (Station Number (5 digit code)). As a very coarse rule of thumb, Stanox numbers count up as you go down the country geopgraphically, NW-SE, with the lowest at Thurso and the highest at Dollands Moor. Characters 1 and 2 of the ten-character ID are the first two digits of the Stanox of the location at which the train originates.

Characters 3 - 6
Headcode/reporting number.

Character 7
A character denoting the type of train: M is used for passenger trains, with other letters/numbers used for different trains depending on whether they're passenger or freight, working timetable or short-term planned etc/

Character 8
A letter or number that denotes the scheduled starting time of the train. Every letter and number is used over the course of the day, although the way in which they are allocated isn't 100% logical as some refer to 60 min time periods and others to 30 min intervals, starts off counting 0 - 6, then A - Z, then 7 - 9. In the case of 1A40 the 7 refers to an originating time of 2100 - 2159.

Characters 9 and 10
The date on which the train originates (with a leading zero if it's a single digit), so the example above refers to a train originating on 24 Feb.

From this it will therefore be apparent that, assuming the timetable stays the same, a given ten-digit ID will uniquely identify a train within a period of one month, not three. This is overkill however, as the principal use of the ten-character codes is for identifying trains in TRUST (Train Running System TOPS), which only holds data for 9 days before it is archived.

Train reporting numbers (aka headcodes [slightly wrongly]) are only used for timetabling and aren't (really) used on the operating railway in their current form. This is why there can be an overlap between different operators.

I'm not sure what you mean by this but I would argue that that statement is very wrong: I can tell you've never set foot in a signalling centre. The four character headcodes are the basic currency in signal boxes, signalling centres and route controls: you're unlikely to hear ops staff (signallers, controllers, train crews) refer to a train by anything other than its headcode. Although there will in some cases be multiple trains running on the network with a given headcode on one day, great care is taken to separate these geographically and temporally to avoid any possible confusion.
Logged
IndustryInsider
Data Manager
Hero Member
******
Posts: 10122


View Profile
« Reply #7 on: March 02, 2013, 22:39:58 »


Characters 1 and 2
Every railway location in the country used as a timing point (stations, junctions, sidings...) is allocated a five-digit number called, for reasons no-one has been able to explain to me, a Stanox (Station Number (5 digit code)). As a very coarse rule of thumb, Stanox numbers count up as you go down the country geopgraphically, NW-SE, with the lowest at Thurso and the highest at Dollands Moor. Characters 1 and 2 of the ten-character ID are the first two digits of the Stanox of the location at which the train originates.

I used to think the first part of 'STANOX' stood for STAtion Number, but you also have the 9-characted STANME codes which are alpha based and not numeric, so the 'N' must stand for something else!
Logged

To view my GWML (Great Western Main Line) Electrification cab video 'before and after' video comparison, as well as other videos of the new layout at Reading and 'before and after' comparisons of the Cotswold Line Redoubling scheme, see: http://www.dailymotion.com/user/IndustryInsider/
inspector_blakey
Hero Member
*****
Posts: 3574



View Profile
« Reply #8 on: March 02, 2013, 22:49:02 »

I did ask our TOPS (Total Operations Processing System)/TRUST (Train Running System TOPS) guru who knows everything about the system, has years of experience and runs training sessions at head office, but even he didn't know how the Stanox (Station Number (5 digit code))/Stanme nomenclature came about!
Logged
JayMac
Data Manager
Hero Member
******
Posts: 18924



View Profile
« Reply #9 on: March 02, 2013, 22:56:43 »

STANOX.

Perhaps STA for Station, NO for Number, and the X to denote the plural. Maybe some reason why it was decided STANOS was not acceptable. Could simply be that STANOX sounds more technical.
Logged

"Build a man a fire and he'll be warm for the rest of the day. Set a man on fire and he'll be warm for the rest of his life."

- Sir Terry Pratchett.
SandTEngineer
Hero Member
*****
Posts: 3485


View Profile
« Reply #10 on: March 02, 2013, 22:59:37 »

From the Railway Group Standards website.
Stanox (Station Number (5 digit code)) = TOPS (Total Operations Processing System) Location Code. A five digit number representing a TOPS location.

A list of STANOXES can be found here: http://deaves47.zxq.net/CRS/CRS0.htm and somebody has already asked NR» (Network Rail - home page): http://www.whatdotheyknow.com/request/stanme_codes
« Last Edit: March 02, 2013, 23:21:06 by SandTEngineer » Logged
inspector_blakey
Hero Member
*****
Posts: 3574



View Profile
« Reply #11 on: March 02, 2013, 23:31:24 »

NR» (Network Rail - home page) make an updated list of Stanoces*/Stanmes available at https://datafeeds.networkrail.co.uk/.

*Yes, that is the plural that seems to be used generally
Logged
EBrown
Hero Member
*****
Posts: 540


View Profile
« Reply #12 on: March 02, 2013, 23:50:42 »

Close, but not quite correct.
Yes and no... Wink

Quote
Firstly, "reporting number" and "headcode" are used interchangeably on the operating railway to refer to the same thing, which is 1A40
That may well be the case in the operating railway, but is not the case within timetabling.

Quote
In the example above, 1276 is most definitely not the headcode.
I'm afraid in this instance you are incorrect. The headcode forms part of the RSID, made up from the ATOC» (Association of Train Operating Companies See - here) operator code, so for the above example, it is GW1276.

Quote
For the sake of completeness, the ten-character ID is made up as follows:

Characters 1 and 2
Every railway location in the country used as a timing point (stations, junctions, sidings...) is allocated a five-digit number called, for reasons no-one has been able to explain to me, a Stanox (Station Number (5 digit code)). As a very coarse rule of thumb, Stanox numbers count up as you go down the country geopgraphically, NW-SE, with the lowest at Thurso and the highest at Dollands Moor. Characters 1 and 2 of the ten-character ID are the first two digits of the Stanox of the location at which the train originates.

...

Characters 9 and 10
The date on which the train originates (with a leading zero if it's a single digit), so the example above refers to a train originating on 24 Feb.
Thanks for the info, certainly never knew that before.

Train reporting numbers (aka headcodes [slightly wrongly]) are only used for timetabling and aren't (really) used on the operating railway in their current form. This is why there can be an overlap between different operators.
There I am certainly wrong, I got myself in a pickle it seems. Original post modified suitably.
« Last Edit: March 02, 2013, 23:57:38 by EBrown » Logged

I am no longer an active member of this website.
inspector_blakey
Hero Member
*****
Posts: 3574



View Profile
« Reply #13 on: March 03, 2013, 11:34:19 »

Close, but not quite correct.
Yes and no... Wink

Quote
Firstly, "reporting number" and "headcode" are used interchangeably on the operating railway to refer to the same thing, which is 1A40
That may well be the case in the operating railway, but is not the case within timetabling.

Quote
In the example above, 1276 is most definitely not the headcode.
I'm afraid in this instance you are incorrect. The headcode forms part of the RSID, made up from the ATOC» (Association of Train Operating Companies See - here) operator code, so for the above example, it is GW1276.

Well, if what you've just said is correct then I think this may be an example of different functions within the rail industry using different terminology. An operator will never, never refer to the RSID as a headcode for the very simple reason that is isn't one. A headcode is exactly that: a code that was carried on the front end (head) of a train, originally to indicate to signallers what type of train it was and/or where it was going. Go far enough back and the headcode was indicated by lamps or discs in a particular position on the front of the locomotive. Later on these were replaced with the four-character headcode system which was displayed on the front of trains until the 1970s. At this point the practice was stopped, in large measure because signallers were much more concentrated in "panel" boxes than they used to be and wouldn't see most (or indeed any) of the trains under their control: because they weren't seeing the trains there wasn't much point in showing the headcode on the front, and the headcode blind equipment was a bit of a pain to maintain. Headcodes (1A40 etc) are now displayed instead on a train describer in every signal box that indicates to the signaller the location of the trains under their control at that moment.

I still stand by my assertion that the four digits of the RSID are most definitely not the headcode, at least by a unanimous opinion amongst the staff who actually run the trains and therefore ought to know, and that whoever is telling you that is using the term incorrectly; it's possible this is common practice with timetabling but in fact having spent a fair bit of time with train planners I've never heard them use the RSID in any context at all, and they have certainly never referred to the four digits therein as a headcode. Even if timetabling staff are doing this, it's absolutely not technically correct to do so.
Logged
EBrown
Hero Member
*****
Posts: 540


View Profile
« Reply #14 on: March 03, 2013, 13:29:05 »

I still stand by my assertion that the four digits of the RSID are most definitely not the headcode, at least by a unanimous opinion amongst the staff who actually run the trains and therefore ought to know, and that whoever is telling you that is using the term incorrectly; it's possible this is common practice with timetabling but in fact having spent a fair bit of time with train planners I've never heard them use the RSID in any context at all, and they have certainly never referred to the four digits therein as a headcode. Even if timetabling staff are doing this, it's absolutely not technically correct to do so.
I am telling you definitively that is what a headcode is within timetabling. I'm afraid you are wrong in this instance. If you wish to find out more I'd suggest you talk to ATOC» (Association of Train Operating Companies See - here)/Network Rail, perhaps Tom Cairns, Peter Higgs or, if you feel brave Rockshore.

An example of the RSID being used is retail with Virgin Trains. (Which probably means retail with thetrainline too - though I cannot back up that assertion).
Logged

I am no longer an active member of this website.
Do you have something you would like to add to this thread, or would you like to raise a new question at the Coffee Shop? Please [register] (it is free) if you have not done so before, or login (at the top of this page) if you already have an account - we would love to read what you have to say!

You can find out more about how this forum works [here] - that will link you to a copy of the forum agreement that you can read before you join, and tell you very much more about how we operate. We are an independent forum, provided and run by customers of Great Western Railway, for customers of Great Western Railway and we welcome railway professionals as members too, in either a personal or official capacity. Views expressed in posts are not necessarily the views of the operators of the forum.

As well as posting messages onto existing threads, and starting new subjects, members can communicate with each other through personal messages if they wish. And once members have made a certain number of posts, they will automatically be admitted to the "frequent posters club", where subjects not-for-public-domain are discussed; anything from the occasional rant to meetups we may be having ...

 
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
This forum is provided by customers of Great Western Railway (formerly First Great Western), and the views expressed are those of the individual posters concerned. Visit www.gwr.com for the official Great Western Railway website. Please contact the administrators of this site if you feel that the content provided by one of our posters contravenes our posting rules (email link to report). Forum hosted by Well House Consultants

Jump to top of pageJump to Forum Home Page