@ctron just for differentiation here - the functionblock mapping is for adding platform-specific attributes to a functionblock (design time), while the payload mapping maps device payload into a normalised format (runtime)
An example for the functionblock mapping is this one: https://vorto.eclipseprojects.io/#/details/org.apache.plc4x.examples:SimulatedPLC:1.0.0 (background information can be found here: https://github.com/JulianFeinauer/ditto-mqtt/blob/master/blog/blog.md)
For the payload mapping, I'd refer you to the basic tutorial: https://github.com/eclipse/vorto/blob/development/docs/tutorials/create_mapping_pipeline.md
There is no modbus specific example yet.
The models of the Vorto Repository (https://vorto.eclipseprojects.io) will be moved to a new repository structure. This structure will be a folder-structure on the Vorto Github (https://github.com/eclipse/vorto/tree/development/models).
All publicly released models will be automatically migrated to Github. The files on Github will be the Vortolang file, a JSON representation of the model and the image of the model.
The migration will be carried out on 31 March 2021.
The official Vorto Repository will be shut down by 30th June 2021. The transition period between 31/3/2021 and 30/6/2021 of 13 weeks will be granted so that users are able to adapt their applications that currently use the APIs of the Vorto Repository to use the Github APIs instead.
The source code and Docker container remain available for anyone, who wants to host an own instance of the Vorto Repository.
The migration will not include the private models in the Vorto Repository. Those models need to be made public before the migration so that they can be transferred.
Or they have to be saved manually following these few steps:
through the UI (see screenshot below)
through the API
Creating / editing models
To create or edit models on Github, you can follow the standard Github workflow by creating a fork and subsequently a pull request with your changes. If you want to use the Vorto tooling to write / edit a model, you can follow this manual here: https://github.com/eclipse/vorto/blob/development/models/Repository_As_Editor.md
Please let us know in case you need any support from the project committers.