man charged with illegal weapons