First Release: September 2018 (KN)
- 2 mm Allen wrench
- Computer running Putty or Terminal
Section 1: Beaglebone Board Replacement
Section 1.1: Removing the Beaglebone Board
- Power down the Pocket NC V2 and unplug it from the computer and the power supply. Remove the USB from the Beagle Bone since the Beagle Bone will be removed.
- Remove the side panel that says “Pocket NC” by taking out the 5 cap head screws.
Figure 1: Side panel removed
- Then remove the beagle board (board with arrow pointing to it), to do this use tweezers or a small tool to carefully prop up each corner and continue loosening around the four edges until the beagle board comes out. Carefully guide the parts that extend through the chassis of the machine out of the side pocket.
Section 1.2: Re-Installing the Beaglebone Board
- When installing the beagle board first fit the USB into the slot, so point the board down and towards the side of the chassis.
Figure 2: Installation of beagle board
- Carefully set the beagle board into the main board.
- Re-install the ground cable on the side panel.
- Re-set the side panel and install the five screws to hold it in place.
- Connect the power and USB and power on the machine.
Section 2: Troubleshooting Beaglebone Board
Issue: Software UI indicates Connecting… No red light comes on the E-Stop button
Symptoms: If the software UI shows connecting instead of connected, and you suspect that the memory on the Beaglebone Board is full, follow these steps.
- If you have a Mac open the terminal, if you have a PC, download or open the Putty program onto your computer.
- Enter the host/IP address 192.168.7.2, port should not matter, just use the default listed.
- When the GUI opens up type in the user name ‘pocketnc’ and password ‘pocketnc’ also.
- Type ‘ls’ (lower case L not a capital I) and hit enter.
- There should be a ncfiles directory, type ‘cd ncfiles’ and enter.
- Again type ‘ls’ and enter.
- To remove specific files type ‘rm filename’ or to remove everything ‘rm *.ngc’ enter. Note that this will delete these files completely, so make sure you have a copy elsewhere.
- Reboot the machine.
- If you still have the issue of connecting vs connected, then type in the command lines:
du –h /var/log
ls -lh /var/log/kern.log
ls -lh /var/log/messages
You may get something like the below:
While there are several permission denied errors, note that the /var/log file is 1.4GB, which is very large.
If you have any files that are GB or larger try the following commands:
sudo truncate -s 0 /var/log/kern.log
sudo truncate -s 0 /var/log/messages
du -h /var/log
Total file size should now be less than 500MB.
To prevent this error, make sure that you delete programs as you go. To delete programs that you are not using next to the Upload Files there is a drop down, click the X on programs you are no longer using. It is recommended to keep no more than 3 programs that are 5MB each on the Beaglebone Board.You may still need to empty out the kern.log and messages periodically as those can sometimes get filled even when programs are deleted. If these errors start to repeat often, please contact us.
Section 3: Re-Installing the Tool Table
The process described in section 2 may remove the tool table, to reinstall the tool table:
Type 'cp pocketnc/Settings/tool.tbl.default pocketnc/Settings/tool.tbl'
Then restart the machine.