312. If, at the time of attempting to commit robbery or dacoity, the offender is armed with any deadly weapon, the imprisonment with which such offender shall be punished shall not be less than seven years.
Section 311 Robbery, or dacoity, with attempt to cause death or grievous hurt
Section 312 Attempt to commit robbery or dacoity when armed with deadly weapon
Section 313 Punishment for belonging to gang of robbers, etc
Section 314 Dishonest misappropriation of property
Section 316 Criminal breach of trust