skopiowana konfiguracja z expertia
This commit is contained in:
@@ -1,69 +1,127 @@
|
||||
{
|
||||
"Version": "1.0",
|
||||
"Communication": {
|
||||
"Type": "Ethernet",
|
||||
"IP": "10.10.10.10",
|
||||
"Port": 27182
|
||||
},
|
||||
"Hardware": {
|
||||
"Modules": [
|
||||
{
|
||||
"Type": "Stepgen",
|
||||
"Joint": 0,
|
||||
"Step Pin": "GP2",
|
||||
"Direction Pin": "GP3",
|
||||
"Enable Pin": "GP9"
|
||||
},
|
||||
{
|
||||
"Type": "Stepgen",
|
||||
"Joint": 1,
|
||||
"Step Pin": "GP4",
|
||||
"Direction Pin": "GP5",
|
||||
"Enable Pin": "GP10"
|
||||
},
|
||||
{
|
||||
"Type": "Stepgen",
|
||||
"Joint": 2,
|
||||
"Step Pin": "GP6",
|
||||
"Direction Pin": "GP7",
|
||||
"Enable Pin": "GP11"
|
||||
},
|
||||
{
|
||||
"Type": "Digital Input",
|
||||
"Pin": "GP13",
|
||||
"Mode": "PullUp",
|
||||
"Data Bit": 0
|
||||
},
|
||||
{
|
||||
"Type": "Digital Input",
|
||||
"Pin": "GP14",
|
||||
"Mode": "PullUp",
|
||||
"Data Bit": 1
|
||||
},
|
||||
{
|
||||
"Type": "Digital Input",
|
||||
"Pin": "GP15",
|
||||
"Mode": "PullUp",
|
||||
"Data Bit": 2
|
||||
},
|
||||
{
|
||||
"Type": "Digital Input",
|
||||
"Pin": "GP28",
|
||||
"Mode": "PullUp",
|
||||
"Data Bit": 3
|
||||
},
|
||||
{
|
||||
"Type": "Digital Input",
|
||||
"Pin": "GP27",
|
||||
"Mode": "PullUp",
|
||||
"Data Bit": 4
|
||||
},
|
||||
{
|
||||
"Type": "Digital Output",
|
||||
"Pin": "GP8",
|
||||
"Invert": true,
|
||||
"Data Bit": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
"Board": "W5500-EVB-Pico",
|
||||
"Threads": [
|
||||
{
|
||||
"Thread": "Base",
|
||||
"Frequency": 40000
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Frequency": 1000
|
||||
}
|
||||
],
|
||||
"Modules": [
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Blink",
|
||||
"Comment": "Blinky status LED",
|
||||
"Pin": "GP25",
|
||||
"Frequency": 2
|
||||
},
|
||||
{
|
||||
"Thread": "Base",
|
||||
"Type": "Stepgen",
|
||||
"Comment": "X - Joint 0 step generator",
|
||||
"Joint Number": 0,
|
||||
"Step Pin": "GP2",
|
||||
"Direction Pin": "GP3"
|
||||
},
|
||||
{
|
||||
"Thread": "Base",
|
||||
"Type": "Stepgen",
|
||||
"Comment": "Y - Joint 1 step generator",
|
||||
"Joint Number": 1,
|
||||
"Step Pin": "GP4",
|
||||
"Direction Pin": "GP5"
|
||||
},
|
||||
{
|
||||
"Thread": "Base",
|
||||
"Type": "Stepgen",
|
||||
"Comment": "Z - Joint 2 step generator",
|
||||
"Joint Number": 2,
|
||||
"Step Pin": "GP6",
|
||||
"Direction Pin": "GP7"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "X axis limit/home switch",
|
||||
"Pin": "GP13",
|
||||
"Mode": "Input",
|
||||
"Data Bit": 0,
|
||||
"Invert": "False"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "Y axis limit/home switch",
|
||||
"Pin": "GP14",
|
||||
"Mode": "Input",
|
||||
"Data Bit": 1,
|
||||
"Invert": "False"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "Z axis limit/home switch",
|
||||
"Pin": "GP15",
|
||||
"Mode": "Input",
|
||||
"Data Bit": 2,
|
||||
"Invert": "False"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "Emergency Stop switch",
|
||||
"Pin": "GP28",
|
||||
"Mode": "Input",
|
||||
"Data Bit": 3,
|
||||
"Invert": "False"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "Versaprobe tool probe input",
|
||||
"Pin": "GP27",
|
||||
"Mode": "Input",
|
||||
"Data Bit": 4,
|
||||
"Invert": "False"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "X axis driver enable pin",
|
||||
"Pin": "GP9",
|
||||
"Mode": "Output",
|
||||
"Data Bit": 0,
|
||||
"Invert": "False"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "Y axis driver enable pin",
|
||||
"Pin": "GP10",
|
||||
"Mode": "Output",
|
||||
"Data Bit": 1,
|
||||
"Invert": "False"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "Z axis driver enable pin",
|
||||
"Pin": "GP11",
|
||||
"Mode": "Output",
|
||||
"Data Bit": 2,
|
||||
"Invert": "False"
|
||||
},
|
||||
{
|
||||
"Thread": "Servo",
|
||||
"Type": "Digital Pin",
|
||||
"Comment": "Spindle On command relay",
|
||||
"Pin": "GP8",
|
||||
"Mode": "Output",
|
||||
"Data Bit": 3,
|
||||
"Invert": "True"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user