internal:proddocs:3155
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| internal:proddocs:3155 [2021/09/22 12:32] – chrissy | internal:proddocs:3155 [2023/11/27 10:16] (current) – kacper | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 3155 Build Instructions ====== | + | ======3155/9011 Build Instructions ====== |
| ====== Programming ====== | ====== Programming ====== | ||
| | | ||
| - | Connect the Modbus | + | Connect the Modbus to the NMEA Network and STM32 Programmer |
| - | {{: | + | {{: |
| - | The Pink Stripe | + | Turn on 12V NMEA Power. |
| - | Connect the CAN Power source 12volt from the power supply | + | |
| - | Open AVR Studio 5.1 | + | {{: |
| - | {{: | + | Open STM32CubeProgrammer and open the programming tab |
| - | Upon opening of AVR Studio 5.1 you will be greeted with these two screens | + | {{: |
| - | After the program has loaded click “Tools” then “AVR Programming” | + | |
| - | | + | |
| - | {{: | + | |
| - | You will then see this screen | + | Connect to the Unit and select the file path: S: |
| - | Select the tool you wish to use for programming your device, in this case we need to use the “AVRISP mkII” so make sure this is selected from the drop down menu. | + | {{: |
| - | Select the device you wish to use, in this case we are using the “Atmel AT90CAN64” so make sure this is selected from the drop down menu. | + | click 'Start Programming' |
| - | The interface we will to use is “ISP” (in system programming) | + | Open Monex and click "Get Serial" |
| - | Then Click the Apply button. | + | {{: |
| - | | + | Now go to the Programming tab |
| - | After you have clicked Apply this window should now appear. | + | {{: |
| - | Set the ISP Clock frequency to 125khz if not already set. | + | |
| - | {{: | + | Make sure the Target Device Instance matched the switch on the unit and click 3155 |
| + | {{: | ||
| + | |||
| + | Press Reprogram! and select S: | ||
| + | |||
| + | The unit will start to program, wait until " | ||
| + | |||
| + | Go into Monex and press 'Get ProdInfo' | ||
| + | |||
| + | {{: | ||
| ====== Test Procedure ====== | ====== Test Procedure ====== | ||
| Line 57: | Line 61: | ||
| Connect the USB to RS-485 Converter to the 3155 screw in terminal blocks as shown, tighten with flat head screwdriver (**not too hard**). | Connect the USB to RS-485 Converter to the 3155 screw in terminal blocks as shown, tighten with flat head screwdriver (**not too hard**). | ||
| - | {{: | + | {{: |
| ==== Step 2 ==== | ==== Step 2 ==== | ||
| Line 86: | Line 90: | ||
| Modbus Mode: RTU | Modbus Mode: RTU | ||
| + | |||
| Slave Address: 16 | Slave Address: 16 | ||
| + | |||
| Scan Rate: 1000 | Scan Rate: 1000 | ||
| + | |||
| Function Code: Read Input Registers (0x04) | Function Code: Read Input Registers (0x04) | ||
| - | Start Address: | + | |
| + | Start Address: | ||
| Number of Registers: 1 | Number of Registers: 1 | ||
| + | |||
| Data Format: Hex | Data Format: Hex | ||
| + | |||
| {{: | {{: | ||
| Line 101: | Line 112: | ||
| ==== Step 7 ==== | ==== Step 7 ==== | ||
| + | |||
| + | Open Monex, then from the transmit controls on the left, press the "Tx Enable" | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Step 8 ==== | ||
| Click the Scan Button | Click the Scan Button | ||
| {{: | {{: | ||
| - | A 4 digit number should appear in the big white box below, it should | + | A 4 digit number should appear in the big white box below, it should |
| {{: | {{: | ||
| - | **If a Value is receive succesfully and keeps changing value then testing is completed** | + | Now test the modbus configuration by setting the Hex switch on the 3155 to ' |
| + | |||
| + | Set Qmodbus master settings again to 4,800 Baudrate, Odd Parity, 1 stop bit | ||
| + | |||
| + | {{: | ||
| + | |||
| + | the hex switch should have been left on ' | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Request the data again and the data shown should be the same as above | ||
| + | |||
| + | **If a Values are received successfully | ||
| + | |||
| + | ==== Packaging ==== | ||
| + | |||
| + | Use RPT112 | ||
| + | |||
| + | {{: | ||
| + | |||
| + | --- // | ||
internal/proddocs/3155.1632313955.txt.gz · Last modified: 2023/07/12 14:11 (external edit)