Taking IRB2400 industrial robot as example, structure and link parameters were analyzed. The D-H parameter method was applied in the analysis of forward kinematics and inverse kinematics and kinematical equations were established. In MATLAB environment, the Robotics Toolbox was used for modeling and simulation. The simulation results prove that the established models of the solutions of forward and inverse kinematics are reasonable and correct.