- Set pull token and login with
docker
using the following command
$env:CR_PAT = "your_token"
$env:CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
- In
launch/conf/platform.env
, uncomment and setKAFKA_TAG=7.7.0
- In
launch/conf/apps.env
, uncomment and setDASHBOARD_TAG=wimera
- Launch platform with
docker compose --env-file launch/conf/platform.env -f launch/platform.yaml up -d
- Ensure
launch/conf/topics.env
hasPARTITION_COUNT=13
- Launch apps with
docker compose --env-file launch/conf/apps.env -f launch/apps.yaml up -d
- Check if all containers are up with
docker ps --format '{{.Names}}'
The output should look as below.
mitra-m001-output
mitra-m001-events
mitra-m001-inputs
mitra-m001-mqttpd
mitra-m001-alerts
mitra-m001-alarms
mitra-m001-limits
mitra-platform-ksqldb
mitra-platform-broker
mitra-platform-mqtt
If this output is not seen, bring down applications and platform and start again.
#Shut down
docker compose --env-file launch/conf/apps.env -f launch/apps.yaml down
docker compose --env-file launch/conf/platform.env -f launch/platform.yaml down
# Bring up again
docker compose --env-file launch/conf/platform.env -f launch/platform.yaml up -d
docker compose --env-file launch/conf/apps.env -f launch/apps.yaml up -d
- Install
curl
or Postman. - Set limits with
curl
as follows.
curl -X POST http://localhost:8083/limits -d @wimera-limts.json --header "Content-Type: application/json"
The JSON document with limits is defined below.
[
{
"key":"machinePos_axis01",
"lo": -999,
"hi": 999
},
{
"key":"machinePos_axis02",
"lo": -999,
"hi": 999
},
{
"key":"absolutePos_axis01",
"lo": -999,
"hi": 999
},
{
"key":"absolutePos_axis02",
"lo": -999,
"hi": 999
},
{
"key": "loadFor_Axis01",
"lo": 0,
"hi": 100
},
{
"key": "loadFor_Axis02",
"lo": 0,
"hi": 100
},
{
"key": "temperatureFor_Axis01",
"lo": 20,
"hi": 65
},
{
"key": "temperatureFor_Axis02",
"lo": 20,
"hi": 65
},
{
"key": "backlashFor_Axis01",
"lo": 0,
"hi": 20
},
{
"key": "backlashFor_Axis02",
"lo": 0,
"hi": 20
},
{
"key": "loadFor_Spindle01",
"lo": 0,
"hi": 100
},
{
"key": "temperatureFor_Spindle01",
"lo": 20,
"hi": 65
},
{
"key": "speedFor_Spindle01",
"lo": 0,
"hi": 5000
}
]
- Start the FANUC client and point it to
http://localhost:8084/data
- View dashboard at
http://localhost:8080/ui