Skip to content

Implements an OPC UA client Manufacturing Execution System to be used in the Azure Connectedfactory factory simulation.

License

Notifications You must be signed in to change notification settings

hansgschossmann/azure-iot-connected-factory-cfmes

Repository files navigation

azure-iot-connected-factory-cfmes

CfMes is an OPC UA client and implements a simple Manufacturing Exection System of a production line for the factory simulation in Connectedfactory. The MES controls three stations (Assembly, Test, Packaging) of the production line. To connect to these stations, the OPC UA endpoint URLs must be passed in via command line parameters. If they are ommited, then the MES expects the stations on different ports on the same host as the MES is running (Assembly: 51210, Test: 51211, Packaging: 51212).

The implementation of the station can be found here.

A docker container of this repository is available here.

The command line usage is:

    Usage: CfMes.exe [<options>]

    Options:
          --as, --assemblystation=VALUE
                                 the endpoint of the assemblystation.
                                   Default: 'opc.tcp://<assemblystation>:51210'
          --ts, --teststation=VALUE
                                 the endpoint of the teststation.
                                   Default: 'opc.tcp://<teststation>:51211'
          --ps, --packagingstation=VALUE
                                 the endpoint of the packagingstation.
                                   Default: 'opc.tcp://<packagingstation>:51212'
          --lf, --logfile=VALUE  the filename of the logfile to use.
                                   Default: '<hostname>-mes.log'
          --ll, --loglevel=VALUE the loglevel to use (allowed: fatal, error, warn,
                                   info, debug, verbose).
                                   Default: info
          --aa, --autoaccept     auto accept station server certificates
                                   Default: 'False'
          --to, --trustowncert   the cfmes certificate is put into the trusted
                                   certificate store automatically.
                                   Default: False
          --ap, --appcertstorepath=VALUE
                                 the path where the own application cert should be
                                   stored
                                   Default :'pki/own'
          --tp, --trustedcertstorepath=VALUE
                                 the path of the trusted cert store
                                   Default 'pki/trusted'
          --rp, --rejectedcertstorepath=VALUE
                                 the path of the rejected cert store
                                   Default 'pki/rejected'
          --ip, --issuercertstorepath=VALUE
                                 the path of the trusted issuer cert store
                                   Default 'pki/issuer'
      -h, --help                 show this message and exit

About

Implements an OPC UA client Manufacturing Execution System to be used in the Azure Connectedfactory factory simulation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published