|
@@ -1,385 +0,0 @@
|
|
|
-{
|
|
|
|
|
- "commands": {
|
|
|
|
|
- "get_temperature": {
|
|
|
|
|
- "payload_length": 0,
|
|
|
|
|
- "response": "TEMPERATURE_DATA",
|
|
|
|
|
- "type": "0x02"
|
|
|
|
|
- },
|
|
|
|
|
- "set_all": {
|
|
|
|
|
- "door_values": [
|
|
|
|
|
- 0,
|
|
|
|
|
- 1,
|
|
|
|
|
- 2
|
|
|
|
|
- ],
|
|
|
|
|
- "duty_range": [
|
|
|
|
|
- 0,
|
|
|
|
|
- 100
|
|
|
|
|
- ],
|
|
|
|
|
- "field_order": [
|
|
|
|
|
- "fan_chamber_1",
|
|
|
|
|
- "fan_chamber_2",
|
|
|
|
|
- "fan_chamber_3",
|
|
|
|
|
- "fan_chamber_4",
|
|
|
|
|
- "ptc_chamber_1",
|
|
|
|
|
- "ptc_chamber_2",
|
|
|
|
|
- "ptc_chamber_3",
|
|
|
|
|
- "ptc_chamber_4",
|
|
|
|
|
- "intake_door",
|
|
|
|
|
- "exhaust_x",
|
|
|
|
|
- "exhaust_y"
|
|
|
|
|
- ],
|
|
|
|
|
- "payload_length": 11,
|
|
|
|
|
- "response": "none",
|
|
|
|
|
- "type": "0x01"
|
|
|
|
|
- },
|
|
|
|
|
- "temperature_data": {
|
|
|
|
|
- "frame_length": 33,
|
|
|
|
|
- "payload_length": 27,
|
|
|
|
|
- "type": "0x82"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "limits": {
|
|
|
|
|
- "active_level": "high",
|
|
|
|
|
- "channels": [
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "B9",
|
|
|
|
|
- "name": "x_limit_raw"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "A11",
|
|
|
|
|
- "name": "y_limit_raw"
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
- "functional_use": true,
|
|
|
|
|
- "limit_count": 2,
|
|
|
|
|
- "runtime_use": false,
|
|
|
|
|
- "startup": {
|
|
|
|
|
- "additional_rising_edges_after_synchronized_limit": 0,
|
|
|
|
|
- "axis_order": [
|
|
|
|
|
- "x",
|
|
|
|
|
- "y"
|
|
|
|
|
- ],
|
|
|
|
|
- "burst_step_count": 450,
|
|
|
|
|
- "burst_step_rate_hz": 1000,
|
|
|
|
|
- "direction_meaning": "close",
|
|
|
|
|
- "direction_value": 1,
|
|
|
|
|
- "enabled": true,
|
|
|
|
|
- "inter_burst_ms": 50,
|
|
|
|
|
- "limit_stop_during_burst": true,
|
|
|
|
|
- "max_bursts": 10,
|
|
|
|
|
- "runtime_limit_use": false,
|
|
|
|
|
- "stop_semantics": "finish_current_high_pulse_then_no_next_rising_edge"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "motors": {
|
|
|
|
|
- "busy_wait_ms": 600,
|
|
|
|
|
- "close_dir_value": 1,
|
|
|
|
|
- "command_values": [
|
|
|
|
|
- 0,
|
|
|
|
|
- 1,
|
|
|
|
|
- 2
|
|
|
|
|
- ],
|
|
|
|
|
- "count": 2,
|
|
|
|
|
- "dir_setup_cycles": 25000,
|
|
|
|
|
- "enable_n": {
|
|
|
|
|
- "active_level": "low",
|
|
|
|
|
- "ball": "A10",
|
|
|
|
|
- "policy": "shared_constant_low"
|
|
|
|
|
- },
|
|
|
|
|
- "execution": "overlap",
|
|
|
|
|
- "fixed_steps": 450,
|
|
|
|
|
- "heartbeat_value": 0,
|
|
|
|
|
- "mapping": {
|
|
|
|
|
- "x": {
|
|
|
|
|
- "axis": "x",
|
|
|
|
|
- "dir_ball": "B12",
|
|
|
|
|
- "role": "exhaust",
|
|
|
|
|
- "step_ball": "C11"
|
|
|
|
|
- },
|
|
|
|
|
- "y": {
|
|
|
|
|
- "axis": "y",
|
|
|
|
|
- "dir_ball": "H14",
|
|
|
|
|
- "role": "exhaust",
|
|
|
|
|
- "step_ball": "D15"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "open_dir_value": 0,
|
|
|
|
|
- "order": [
|
|
|
|
|
- "x",
|
|
|
|
|
- "y"
|
|
|
|
|
- ],
|
|
|
|
|
- "role": "exhaust",
|
|
|
|
|
- "step_half_cycles": 12500,
|
|
|
|
|
- "step_rate_hz": 1000
|
|
|
|
|
- },
|
|
|
|
|
- "outputs": {
|
|
|
|
|
- "boot_targets": {
|
|
|
|
|
- "fan": 10,
|
|
|
|
|
- "ptc": 0
|
|
|
|
|
- },
|
|
|
|
|
- "chamber_ptc_count": 4,
|
|
|
|
|
- "chamber_ptc_pairs": [
|
|
|
|
|
- {
|
|
|
|
|
- "chamber": 1,
|
|
|
|
|
- "ptc_indices": [
|
|
|
|
|
- 0,
|
|
|
|
|
- 1
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "chamber": 2,
|
|
|
|
|
- "ptc_indices": [
|
|
|
|
|
- 2,
|
|
|
|
|
- 3
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "chamber": 3,
|
|
|
|
|
- "ptc_indices": [
|
|
|
|
|
- 4,
|
|
|
|
|
- 5
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "chamber": 4,
|
|
|
|
|
- "ptc_indices": [
|
|
|
|
|
- 6,
|
|
|
|
|
- 7
|
|
|
|
|
- ]
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
- "fan_board_inverts": true,
|
|
|
|
|
- "fan_channels": [
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "B1",
|
|
|
|
|
- "board_signal": "FAN_PWM3",
|
|
|
|
|
- "connector": "CON25",
|
|
|
|
|
- "connector_pin": 7,
|
|
|
|
|
- "index": 0,
|
|
|
|
|
- "name": "fan1",
|
|
|
|
|
- "polarity": "active_low",
|
|
|
|
|
- "signal": "fan_pwm_out[0]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "C4",
|
|
|
|
|
- "board_signal": "FAN_PWM1",
|
|
|
|
|
- "connector": "CON8",
|
|
|
|
|
- "connector_pin": 7,
|
|
|
|
|
- "index": 1,
|
|
|
|
|
- "name": "fan2",
|
|
|
|
|
- "polarity": "active_low",
|
|
|
|
|
- "signal": "fan_pwm_out[1]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "B5",
|
|
|
|
|
- "board_signal": "FAN_PWM2",
|
|
|
|
|
- "connector": "CON24",
|
|
|
|
|
- "connector_pin": 7,
|
|
|
|
|
- "index": 2,
|
|
|
|
|
- "name": "fan3",
|
|
|
|
|
- "polarity": "active_low",
|
|
|
|
|
- "signal": "fan_pwm_out[2]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "A14",
|
|
|
|
|
- "board_signal": "FAN_PWM4",
|
|
|
|
|
- "connector": "CON26",
|
|
|
|
|
- "connector_pin": 7,
|
|
|
|
|
- "index": 3,
|
|
|
|
|
- "name": "fan4",
|
|
|
|
|
- "polarity": "active_low",
|
|
|
|
|
- "signal": "fan_pwm_out[3]"
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
- "fan_connector_active_level": "high",
|
|
|
|
|
- "fan_count": 4,
|
|
|
|
|
- "fan_default": 10,
|
|
|
|
|
- "fan_polarity": "active_low",
|
|
|
|
|
- "ptc_channels": [
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "G16",
|
|
|
|
|
- "board_signal": "HEAT2",
|
|
|
|
|
- "connector": "CON18",
|
|
|
|
|
- "connector_pin": 3,
|
|
|
|
|
- "index": 0,
|
|
|
|
|
- "name": "ptc1",
|
|
|
|
|
- "polarity": "active_high",
|
|
|
|
|
- "signal": "ptc_pwm_out[0]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "F16",
|
|
|
|
|
- "board_signal": "HEAT1",
|
|
|
|
|
- "connector": "CON18",
|
|
|
|
|
- "connector_pin": 1,
|
|
|
|
|
- "index": 1,
|
|
|
|
|
- "name": "ptc2",
|
|
|
|
|
- "polarity": "active_high",
|
|
|
|
|
- "signal": "ptc_pwm_out[1]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "N1",
|
|
|
|
|
- "board_signal": "HEAT8",
|
|
|
|
|
- "connector": "CON27",
|
|
|
|
|
- "connector_pin": 3,
|
|
|
|
|
- "index": 2,
|
|
|
|
|
- "name": "ptc3",
|
|
|
|
|
- "polarity": "active_high",
|
|
|
|
|
- "signal": "ptc_pwm_out[2]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "M1",
|
|
|
|
|
- "board_signal": "HEAT7",
|
|
|
|
|
- "connector": "CON27",
|
|
|
|
|
- "connector_pin": 1,
|
|
|
|
|
- "index": 3,
|
|
|
|
|
- "name": "ptc4",
|
|
|
|
|
- "polarity": "active_high",
|
|
|
|
|
- "signal": "ptc_pwm_out[3]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "R16",
|
|
|
|
|
- "board_signal": "HEAT14",
|
|
|
|
|
- "connector": "CON28",
|
|
|
|
|
- "connector_pin": 3,
|
|
|
|
|
- "index": 4,
|
|
|
|
|
- "name": "ptc5",
|
|
|
|
|
- "polarity": "active_high",
|
|
|
|
|
- "signal": "ptc_pwm_out[4]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "P16",
|
|
|
|
|
- "board_signal": "HEAT13",
|
|
|
|
|
- "connector": "CON28",
|
|
|
|
|
- "connector_pin": 1,
|
|
|
|
|
- "index": 5,
|
|
|
|
|
- "name": "ptc6",
|
|
|
|
|
- "polarity": "active_high",
|
|
|
|
|
- "signal": "ptc_pwm_out[5]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "P9",
|
|
|
|
|
- "board_signal": "HEAT20",
|
|
|
|
|
- "connector": "CON29",
|
|
|
|
|
- "connector_pin": 3,
|
|
|
|
|
- "index": 6,
|
|
|
|
|
- "name": "ptc7",
|
|
|
|
|
- "polarity": "active_high",
|
|
|
|
|
- "signal": "ptc_pwm_out[6]"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "ball": "T9",
|
|
|
|
|
- "board_signal": "HEAT19",
|
|
|
|
|
- "connector": "CON29",
|
|
|
|
|
- "connector_pin": 1,
|
|
|
|
|
- "index": 7,
|
|
|
|
|
- "name": "ptc8",
|
|
|
|
|
- "polarity": "active_high",
|
|
|
|
|
- "signal": "ptc_pwm_out[7]"
|
|
|
|
|
- }
|
|
|
|
|
- ],
|
|
|
|
|
- "ptc_count": 8,
|
|
|
|
|
- "ptc_default": 0,
|
|
|
|
|
- "ptc_polarity": "active_high",
|
|
|
|
|
- "pwm_actual_frequency_hz": 19.993602047,
|
|
|
|
|
- "pwm_bits": 8,
|
|
|
|
|
- "pwm_frequency_hz": 20,
|
|
|
|
|
- "pwm_internal_width": 7,
|
|
|
|
|
- "pwm_max_duty": 100,
|
|
|
|
|
- "pwm_phase_count": 100,
|
|
|
|
|
- "pwm_slot_clks": 1042
|
|
|
|
|
- },
|
|
|
|
|
- "project_id": "prod2u-door-temp",
|
|
|
|
|
- "protocol": {
|
|
|
|
|
- "commands": {
|
|
|
|
|
- "get_temperature": 2,
|
|
|
|
|
- "set_all": 1,
|
|
|
|
|
- "temperature_data": 130
|
|
|
|
|
- },
|
|
|
|
|
- "crc": {
|
|
|
|
|
- "coverage": "type_length_payload",
|
|
|
|
|
- "initial": 65535,
|
|
|
|
|
- "name": "CRC-16/CCITT-FALSE",
|
|
|
|
|
- "polynomial": 4129,
|
|
|
|
|
- "reflect_input": false,
|
|
|
|
|
- "reflect_output": false,
|
|
|
|
|
- "wire_order": "little",
|
|
|
|
|
- "xor_output": 0
|
|
|
|
|
- },
|
|
|
|
|
- "header_hex": "A55A",
|
|
|
|
|
- "set_all": {
|
|
|
|
|
- "chamber_ptc_count": 4,
|
|
|
|
|
- "chamber_ptc_offset": 4,
|
|
|
|
|
- "door_values": [
|
|
|
|
|
- 0,
|
|
|
|
|
- 1,
|
|
|
|
|
- 2
|
|
|
|
|
- ],
|
|
|
|
|
- "duty_max": 100,
|
|
|
|
|
- "duty_min": 0,
|
|
|
|
|
- "exhaust_x_offset": 9,
|
|
|
|
|
- "exhaust_y_offset": 10,
|
|
|
|
|
- "fan_offset": 0,
|
|
|
|
|
- "intake_door_offset": 8,
|
|
|
|
|
- "legacy_payload_length_rejected": 14,
|
|
|
|
|
- "payload_length": 11,
|
|
|
|
|
- "response": "none"
|
|
|
|
|
- },
|
|
|
|
|
- "temperature_data": {
|
|
|
|
|
- "frame_length": 33,
|
|
|
|
|
- "payload_length": 27
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "schema": "prod2u-simple-host-contract-v1",
|
|
|
|
|
- "temperature": {
|
|
|
|
|
- "bus": "i2c",
|
|
|
|
|
- "conversion": {
|
|
|
|
|
- "profile": "ct7428-msb-integer",
|
|
|
|
|
- "raw_shift": 7,
|
|
|
|
|
- "raw_width": 9,
|
|
|
|
|
- "reject_sign_bit": true
|
|
|
|
|
- },
|
|
|
|
|
- "device": "CT7428",
|
|
|
|
|
- "device_addresses": [
|
|
|
|
|
- 73,
|
|
|
|
|
- 72,
|
|
|
|
|
- 75
|
|
|
|
|
- ],
|
|
|
|
|
- "invalid_value": 255,
|
|
|
|
|
- "maximum_celsius": 150,
|
|
|
|
|
- "registers": [
|
|
|
|
|
- 0,
|
|
|
|
|
- 1,
|
|
|
|
|
- 2,
|
|
|
|
|
- 3,
|
|
|
|
|
- 4,
|
|
|
|
|
- 5,
|
|
|
|
|
- 6,
|
|
|
|
|
- 7,
|
|
|
|
|
- 8
|
|
|
|
|
- ],
|
|
|
|
|
- "scl_ball": "M8",
|
|
|
|
|
- "sda_ball": "N9",
|
|
|
|
|
- "value_count": 27
|
|
|
|
|
- },
|
|
|
|
|
- "uart": {
|
|
|
|
|
- "baud": 115200,
|
|
|
|
|
- "clks_per_bit": 217,
|
|
|
|
|
- "data_bits": 8,
|
|
|
|
|
- "flow_control": "none",
|
|
|
|
|
- "inter_byte_timeout_ms": 10,
|
|
|
|
|
- "parity": "N",
|
|
|
|
|
- "rx_ball": "N11",
|
|
|
|
|
- "stop_bits": 1,
|
|
|
|
|
- "tx_ball": "M10"
|
|
|
|
|
- },
|
|
|
|
|
- "watchdog": {
|
|
|
|
|
- "target": {
|
|
|
|
|
- "fan": 20,
|
|
|
|
|
- "ptc": 0
|
|
|
|
|
- },
|
|
|
|
|
- "tick_clks": 12500,
|
|
|
|
|
- "tick_us": 500,
|
|
|
|
|
- "timeout_seconds": 10,
|
|
|
|
|
- "timeout_ticks": 20000
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|