As I understand, here you configured protect-action as error-down, so when the mac-address reaches the limitation, the port will be error-down. in this case, the downstream device will not get power. could you check if the port is in error-down status?
one more thing, port-security has no relation with POE. POE function is enabled no matter what the port-security you configure.