If everyting comes from emptyness than what is energy Buddha tells that everything originates from nothingness, emptyness, sunyata. but how can that be possible. how can something come from nothing. what is logical meaning of this? he says that space, time and matter/energy is just and illusion because everything originates from sunyata by our conciousness, what is that?
Emptiness doesn't mean 'vacuum' or 'nothingness' (this view is refered to as nihilism sometimes in Buddhism). It means empty of self, or 'self-existence'.

In other words things are what they appear to be, and nothing else. The names you give to things, the thoughts, opinions you have about them, woven by your desires, fears, speculations etc. are transitory fabrications of your mind.

These fabrications are useful for remembering where you left your car keys, but become troublesome if you begin to believe in them as reality. So the Buddha reminds us that everything is in fact empty.