Change of Identity: Difference between revisions

From Open Rail Data Wiki
Added details of Change of Identity messages
 
m categorisation
Line 51: Line 51:
|-
|-
|}
|}
[[Category:Train Movement Data]]

Revision as of 08:57, 20 May 2013

Overview

NOTE - Change of Identity messages are only sent for freight trains.

One or more Change of Identity messages may be sent for a freight train, after activation, where the class of the train is to change. This will happen if the train will run without wagons (i.e. a Class 6 service runs as a Class 0), or if the train is carrying a wagon with a defect and must run at a slower speed.

Data structure

Header

Field Description
msg_type Set to '0007' for an change of identity message
source_dev_id Set to the device ID of the terminal that issued the request
source_system_id Set to "TRUST" for a change of identity message
original_data_source Set to "TOPS" for an change of identity message

Body

Field Description
train_id The 10-character unique identity for this train at TRUST activation time
current_train_id If this is the second or subsequent change of identity for a train, this field will contain the revised_train_id field from the previous change of identity message
revised_train_id The new 10-character unique identity for this train
train_file_address The TOPS train file address, if applicable
train_service_code Train service code as per schedule
event_timestamp The time, in milliseconds, when the train's identity was changed