pycomm3/clx.py
def _read_build_single_request(self, parsed_tag):
        """
        creates a single read_tag request packet
        """

        if parsed_tag.get('error') is None:
            return_size = _tag_return_size(parsed_tag)
            if return_size > self.connection_size:
                request = self.new_request('read_tag_fragmented')
            else:
                request = self.new_request('read_tag')

            request.add(parsed_tag['plc_tag'], parsed_tag['elements'], parsed_tag['tag_info'])

            return request

        self.__log.error(f'Skipping making request, error: {parsed_tag["error"]}')
        return None

        creates a single read_tag request packet
        
creates a single read_tag request packet
creates a single read_tag request packet
def _read_build_single_request(self, parsed_tag):
        if parsed_tag.get('error') is None:
            return_size = _tag_return_size(parsed_tag)
            if return_size > self.connection_size:
                request = self.new_request('read_tag_fragmented')
            else:
                request = self.new_request('read_tag')
            request.add(parsed_tag['plc_tag'], parsed_tag['elements'], parsed_tag['tag_info'])
            return request
        self.__log.error(f'Skipping making request, error: {parsed_tag["error"]}')
        return None
def _read_build_single_request ( self , parsed_tag ) : if parsed_tag . get ( 'error' ) is None : return_size = _tag_return_size ( parsed_tag ) if return_size > self . connection_size : request = self . new_request ( 'read_tag_fragmented' ) else : request = self . new_request ( 'read_tag' ) request . add ( parsed_tag [ 'plc_tag' ] , parsed_tag [ 'elements' ] , parsed_tag [ 'tag_info' ] ) return request self . __log . error ( f'Skipping making request, error: {parsed_tag["error"]}' ) return None
creates a single read_tag request packet
creates a single read_tag request packet
"""
        creates a single read_tag request packet
        """
self
parsed_tag