namespace IndustrialRoboticsControl

features
    RoboticArm {abstract}
        mandatory
            JointMovement
                or
                    Linear
                    Rotational
            ControlTechnology
                alternative
                    EtherCAT
                    CANopen
                    Profibus
        optional
            SafetyFeature
                alternative
                    CollisionAvoidance
                    EmergencyStop
            TeachPendant
                alternative
                    Handheld
                    Desktop

constraints
    (EtherCAT & Linear) => !Rotational
    (CANopen & Rotational) => !Linear
    (Profibus & Handheld) => !Desktop
    CollisionAvoidance <=> EmergencyStop
    ((EtherCAT | CANopen) & !Profibus) => true
    TeachPendant => !Handheld
    !SafetyFeature => TeachPendant
    (Linear & RotorDesign) => !Rotational
    (Rotational & ArmLength) => !Linear
    CollisionAvoidance => !TeachPendant
    TeachesProgramming => !(EtherCAT & CANopen)
    (TeachPendant & EthernetInterface) => false
    SafetyFeature => TeachPendant
    (Linear & ShortArmLength) => !Rotational
    (Rotational & WideJointMovement) => !Linear
    EtherCAT => !CANopen