You need to soak the dried beans before cooking at least for 7-8 hours. Unsoaked beans will get cooked but will take hours to get cooked and will also be hard to digest.