function PIDDATA2 = pidstd2(SSDATA,varargin)
% Converts to PID2 data object 

%   Copyright 2015 MathWorks, Inc.

% error out if time delay exists
if hasdelay(SSDATA)
    error(message('Control:ltiobject:pidNoConversionWithTimeDelay'))
else
    try
        PIDDATA2 = pidstd2(zpk(SSDATA),varargin{:});
    catch E
        throw(E)
    end
end