Patent attributes
A controlling device includes a controlling device main unit, a terminal block removably attached to the controlling device main unit, and a lock mechanism. The terminal block attached to the controlling device main unit is locked through the movement of a slide member provided with the controlling device main unit. The slide member includes a permanent magnet disposed in a specific position. The controlling device main unit includes a magnetism detecting portion that detects magnetism of the permanent magnet, located in a location in proximity to the permanent magnet, disposed in the slide member, in a state wherein terminal block is locked through movement of the slide member, and a lock status confirming portion that confirms whether or not the terminal block is in a locked state, based on a detection signal from the magnetism detecting portion indicating whether or not magnetism is present.