You not tell us if the drive is controlled by a PLC and with which field bus.
The active OFF2 generally means a lack of reset data exchange with fieldbus communication. Typically, when an emergency occours, for example with STO, after a reset of the emergency, a reset sequence must be sent to the drive (i use 1278 in decimal or 4FE in HEX) until the signal OFF2 disappears. If you have the master PLC, you can check the sequence to reset the drive.
Hope this help you, let us know about the results