I highly recommend you read "Recommended Practice for DMX512: A guide for users and installers, 2nd edition." This book is a practical guide to DMX and many industry experts consider this the DMX bible.