mtconnectR: Read Data from Delimited 'MTConnect' Data Files and Perform some Analysis
Version 1.1.0

Read data in the 'MTConnect' standard. You can use the package to read data from historical 'MTConnect logs' along with the 'devices.xml' describing the device. The data is organised into a 'MTConnectDevice' S4 data structure and some convenience methods are also provided for basic read/view operations. The package also includes some functions for analysis of 'MTConnect' data. This includes functions to simulate data (primarily position data, feed rate and velocities) based on the G code and visualisation functions to compare the actual and simulated data.

AuthorAlex Joseph [aut], Sainath Adapa [aut], Nitin Madasu [aut], Subramanyam Ravishankar [aut, cre]
Date of publication2017-03-27 14:07:22 UTC
MaintainerSubramanyam Ravishankar <subramanyam@systeminsights.com>
LicenseAGPL-3
Version1.1.0
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("mtconnectR")

Getting started

create_mtc_device
simulate_map_gcode

Popular man pages

convert_interval_to_ts: Convert Interval to Time Series
example_gcode_parsed: Example data set showing parsed G code data
example_mtc_data_item: Example data set showing a MTConnect DataItem
example_mtc_device: Example data set showing a MTConnect Device
example_mtc_device_2: A bigger example data set showing a MTConnect Device with...
example_mtc_device_3: Example data set showing a MTConnect Device
example_simulated_gcode_data: Example data set showing simulated G code data
See all...

All man pages Function index File listing

Man pages

add_data_item_to_mtc_device: Add a new data item to an existing MTC Device Class
calculated_feed_from_position: Calculate feed rate from the path position data items
clean_reduntant_rows: Removes Redundant Rows in a data frame assuming statefulness
convert_interval_to_ts: Convert Interval to Time Series
convert_ts_to_interval: Convert Time Series to Intervals
create_mtc_device_from_dmtcd: Create MTCDevice class from Delimited MTC Data and log file
create_mtc_device_from_ts: Create a MTC device object from a merged time series data...
example_dmtcd: Example data set showing MTC Log data
example_gcode_parsed: Example data set showing parsed G code data
example_mapped_plot: ggplot object showing mapping between simulated and actual...
example_mtc_data_item: Example data set showing a MTConnect DataItem
example_mtc_device: Example data set showing a MTConnect Device
example_mtc_device_2: A bigger example data set showing a MTConnect Device with...
example_mtc_device_3: Example data set showing a MTConnect Device
example_mtc_device_sim: MTCDevice object showing simulated G code data
example_mtc_sim_mapped: MTCDevice object containing actual and simulated data and the...
example_parsed_device_xml: Example dataset showing the parsed xml for a device
example_simulated_gcode_data: Example data set showing simulated G code data
example_xpath_info: Example data set showing Xpaths from a device XML
extract_param_from_xpath: Extract different parts of a xpath
filter_timestamps_mtc_device: Filter MTCDevice object based on time range
getData: Get data from the object in a data frame form
getDataItem: Get data on one or more data items from the class
getDataItem-MTCCycle-ANY-method: Get the first dataitem
getDataItem-MTCCycle-character-method: Get one or more data items from the MTCCycle or MTCDevice...
getDataItem-MTCCycle-numeric-method: Get one or more data items from the MTCCycle or MTCDevice...
getData-MTCCycle-method: Get Data from MTCDevice/MTCCycle Object as a data.frame
getData-MTCDataItem-method: Get Data from the Object as a data.frame
get_device_info_from_xml: Get info on all the devices in the xml file
get_xpaths_from_xml: Get XML xpath info
grep_subset: Subset a data frame using regex matching on the column name...
map_gcode_mtc: Create a mapping between simulated and actual data
merge-MTCCycle-ANY-method: Merge all data items from the MTCCycle or MTCDevice
merge-MTCCycle-character-method: Merge one or more data items from the MTCCycle or MTCDevice...
merge-MTCCycle-numeric-method: Merge one or more data items from the MTCCycle or MTCDevice...
mergeTS: Merges all the data.frames in the list into single data.frame
MTCCycle-class: An S4 class to represent the different data items of a device
MTCDevice-class: An S4 class to represent a device. It contains MTCCycle class...
mtconnectR: mtconnectR: A package to read analyze data in the 'MTConnect'...
parse_devicexml_for_a_device: Parse XML file for given device name
parse_gcode: Read the gcode and translate it as per the dictionary
plot_twoway: To plot the mapping between the simulated and actual versions
read_dmtcd_file: Function to load Log data into R as a data.frame
simulate_data_from_gcode: Simulate position,velocity and other data from G-code
summary-MTCCycle-method: Show a quick summary of the MTCCyle or MTCDevice Object
summary-MTCDataItem-method: Show a quick summary of the MTCDataItem

Functions

Files

inst
inst/extdata
inst/extdata/raw_gcode.NC
inst/extdata/raw_gcode_sample.NC
inst/extdata/Devices.xml
inst/extdata/data_truncated.bz2
inst/doc
inst/doc/simulate_map_gcode.Rmd
inst/doc/simulate_map_gcode.R
inst/doc/simulate_map_gcode.html
inst/doc/create_mtc_device.R
inst/doc/create_mtc_device.Rmd
inst/doc/create_mtc_device.html
inst/testdata
inst/testdata/dataExtraction
inst/testdata/dataExtraction/test_devices.xml
inst/testdata/dataExtraction/nist_test_bed_Devices.xml
inst/testdata/dataExtraction/GF_Agie_HPM600U-20OCT2015
inst/testdata/dataExtraction/test_dmtcd.log
inst/gcode_dict.csv
tests
tests/testthat.R
tests/testthat
tests/testthat/test-MTCDataItem.R
tests/testthat/test-parse_gcode.R
tests/testthat/test-simulate_gcode.R
tests/testthat/test-map_gcode_mtc.R
tests/testthat/test-common.R
tests/testthat/test-merge.R
tests/testthat/test-dataExtraction_mtc.R
tests/testthat/test-MTCDevice.R
tests/testthat/test-deviceXML.R
tests/testthat/test-MTCCycle.R
tests/testthat/test-mtconnectR_staging.R
NAMESPACE
data
data/example_mtc_sim_mapped.rda
data/example_mtc_device_sim.rda
data/example_dmtcd.rda
data/example_mapped_plot.rda
data/example_simulated_gcode_data.rda
data/example_mtc_device.rda
data/example_gcode_parsed.rda
data/example_mtc_device_3.rda
data/example_xpath_info.rda
data/example_mtc_device_2.rda
data/example_mtc_data_item.rda
data/example_parsed_device_xml.rda
R
R/parse_gcode.R
R/deviceXML.R
R/MTCDataItem.R
R/simulate_gcode.R
R/map_gcode_mtc.R
R/common.R
R/MTCDevice.R
R/mtconnectR.R
R/MTCCycle.R
R/dataExtraction_mtc.R
R/merge.R
R/zzz.R
vignettes
vignettes/simulate_map_gcode.Rmd
vignettes/create_mtc_device.Rmd
MD5
build
build/vignette.rds
DESCRIPTION
man
man/mergeTS.Rd
man/merge-MTCCycle-ANY-method.Rd
man/MTCCycle-class.Rd
man/parse_gcode.Rd
man/mtconnectR.Rd
man/summary-MTCDataItem-method.Rd
man/getDataItem-MTCCycle-character-method.Rd
man/example_mtc_device.Rd
man/getData-MTCCycle-method.Rd
man/getDataItem.Rd
man/create_mtc_device_from_dmtcd.Rd
man/getDataItem-MTCCycle-ANY-method.Rd
man/example_gcode_parsed.Rd
man/clean_reduntant_rows.Rd
man/grep_subset.Rd
man/example_mtc_sim_mapped.Rd
man/get_device_info_from_xml.Rd
man/convert_ts_to_interval.Rd
man/simulate_data_from_gcode.Rd
man/create_mtc_device_from_ts.Rd
man/example_xpath_info.Rd
man/calculated_feed_from_position.Rd
man/merge-MTCCycle-character-method.Rd
man/getDataItem-MTCCycle-numeric-method.Rd
man/example_mtc_device_3.Rd
man/parse_devicexml_for_a_device.Rd
man/getData-MTCDataItem-method.Rd
man/summary-MTCCycle-method.Rd
man/example_mtc_device_sim.Rd
man/example_mapped_plot.Rd
man/filter_timestamps_mtc_device.Rd
man/plot_twoway.Rd
man/merge-MTCCycle-numeric-method.Rd
man/extract_param_from_xpath.Rd
man/example_dmtcd.Rd
man/convert_interval_to_ts.Rd
man/read_dmtcd_file.Rd
man/add_data_item_to_mtc_device.Rd
man/example_parsed_device_xml.Rd
man/example_simulated_gcode_data.Rd
man/map_gcode_mtc.Rd
man/get_xpaths_from_xml.Rd
man/getData.Rd
man/example_mtc_device_2.Rd
man/MTCDevice-class.Rd
man/example_mtc_data_item.Rd
mtconnectR documentation built on May 20, 2017, 1:59 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.