This paper research the hydraulic control system of pipe storage and handling system. The pipe storage and handling system (PSHS) is the key parts on rig to handle the drilling pipe and it can improve the efficiency during the drilling works. The hydraulic system of pipe storage and handling system have designed according to automatic round-trip operation in drilling engineering. The mathematical modeling of hydraulic components in PSHS have established and analyzed. The simulation model of hydraulic system of PSHS is also built and simulated to analysis the characteristics of reversal valve operation, Hydraulic pressure adjusting operation, piston speed control and state of accumulator based on the AMESim. The results prove that the operations of pipe storage and handle such as pipe storage, pipe clamping, pipe lifting, pipe transfer and pipe joint can be accomplished drive by hydraulic system. Meanwhile, AMESim have great views to research the geosciences equipment.