You don't say what system you are/will use, but you can do this with the NCE system advanced consisting, no macros needed.? Far as I know DCC itself does not have this function. ? ?Maybe someone who knows macros will have a work around for other systems.
Rick
In a message dated 8/2/2018 4:42:20 PM Mountain Standard Time, crusader2752939@... writes:
I have a question related to operating in a consist using CV19.
Assume that the consist has the lead and trailing loco coupled in opposite directions, no matter how many locos are in the consist. ? The issue/question is how do you operate the consist when you want to operate the consist in the opposite direction, specificall concerning CV21-22 which defines which function keys are supposed to respond to the consist address. Obviously, the 'new' lead loco function keys would need to operate differently than when it was a traling loco.