Splash code removal ***SOLVED***

More
03 Oct 2019 19:24 - 03 Oct 2019 23:45 #147014 by Scot
Hello, folks,

I would really like to know how to either remove the splash code when LinuxCNC starts.

Has anyone done that? If so, how is it done?

Scot
Last edit: 03 Oct 2019 23:45 by Scot.

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 19:32 #147015 by pl7i92
Replied by pl7i92 on topic Splash code removal
what do you understand on Splash code we are international and i cand find what you mean

the loaded Prefiew file
or the Startup Gcodes
The following user(s) said Thank You: Scot

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 19:40 #147017 by Scot
Replied by Scot on topic Splash code removal
When I start up LinuxCNC a program comes up to be simulated or replaced. You can even run it when the machine is set up. Maybe in the language you're configured in, it doesn't have the path.

The code is found at this path in the configuration I have:

usr/share/axis/images/axis.ngc.

That's the code. But what makes the code come up is what I'd like to find so I can make that not happen.

Thanks for the reply,

Scot

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 19:43 #147019 by Scot
Replied by Scot on topic Splash code removal
It isn't the startup Gcodes, though. It's the loaded preview file.

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 19:44 #147020 by pl7i92
Replied by pl7i92 on topic Splash code removal
in the ini FILE
section Display
OPEN_FILE = yourfile.ngc


just use
G17 G54 G61
M2
that deletes the preview

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 19:56 #147023 by Scot
Replied by Scot on topic Splash code removal
That line, OPEN_FILE does not exist in my .ini file. I am running Pico-Systems PWM controller and Brushless Servo amps. The .ini file isn't set up the same way as typical.

This is it, below:

# EMC controller parameters for generic controller. Make these what you need
# for your system.

# General note: Comments can either be preceded with a # or ; - either is
# acceptable, although # is in keeping with most linux config files.


# General section
[EMC]

# Version of this INI file
VERSION = $Revision$

# Name of machine, for use with display, etc.
MACHINE = LinuxCNC-UNIVPWM-RATROD LATHE

# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
DEBUG = 0
# DEBUG = 0x00000007
# DEBUG = 0x7FFFFFFF

# Sections for display options
[DISPLAY]

# Name of display program, e.g., xemc
DISPLAY = axis
# DISPLAY = usrmot
# DISPLAY = tkemc
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.100

# Path to help file
HELP_FILE = tklinucnc.txt

# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE

# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL

# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.2

# Prefix to be used
PROGRAM_PREFIX = /home/scot/linuxcnc/nc_files

# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 2

# Enable popup balloon help
BALLOON_HELP = 1

# Task controller section
[TASK]

# Name of task controller program, e.g., milltask
TASK = milltask

# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010

# Part program interpreter section
[RS274NGC]

# File containing interpreter variables
PARAMETER_FILE = univpwm.var

# Motion control section
[EMCMOT]

EMCMOT = motmod

# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0

# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010

# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000

# Hardware Abstraction Layer section
[HAL]

# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
#

# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = univpwm_load.hal
HALFILE = univpwm_servo.hal
HALFILE = univpwm_motion.hal
HALFILE = univpwm_io.hal
#uncomment the following line to enable the pendant function
#HALFILE = pendant.hal
#uncomment the following line to enable the spindle speed display
#POSTGUI_HALFILE = spindle.hal
#You need to remove axis 3 or provide another path for a spindle encoder to
# feed into EMC for this to work.


# Trajectory planner section
[TRAJ]

AXES = 4
# COORDINATES = X Y Z R P W
COORDINATES = X Y
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = .2
MAX_VELOCITY = 6
DEFAULT_ACCELERATION = 20.0
MAX_ACCELERATION = 10.0

# Axes sections

# Scaling: The OUTPUT_SCALE should be the speed
# in UNITS/second (inches/sec or mm/sec) that would be
# reached if the PWM duty cycle was 100%. It depends on
# the power supply voltage, motor RPM/Volt factor, and
# gearing/screw pitch. For example:
#
# Power supply voltage 50V
# Motor RPM/V 1000RPM/24V
# Gearing: 2 motor revs per 1 screw rev
# Screw pitch: 0.2" per turn
#
# Max motor speed = 50V * 1000RPM/24V = 2083 RPM
# Max screw speed = 2083RPM * 1(screw)/2(motor) = 1041RPM
# Max table speed = 1041RPM * 0.2"/turn = 208 in/min
# Max table speed = 208 in/min / 60 seconds = 3.47 inches/sec
#
# Since max speed is reached at 100% duty cycle, OUTPUT_SCALE
# should be 3.47

# First axis
[AXIS_0]

TYPE = LINEAR
HOME = 0.
MAX_VELOCITY = 6
MAX_ACCELERATION = 50.0
PID_MAX_VEL = 1.5
BACKLASH = 0.00
INPUT_SCALE = 25400
OUTPUT_SCALE = 1
MIN_LIMIT = 0.0
MAX_LIMIT = 0.0
FERROR = 0.010
MIN_FERROR = 1
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0.0
HOME_LATCH_VEL = 0.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
DEADBAND = 0.000126
P = 24.75
I = 0
D = 0.545
BIAS = 0
FF0 = 0
FF1 = 0.135
FF2 = 0.001104011



# Second axis
[AXIS_1]

TYPE = LINEAR
HOME = 5.
MAX_VELOCITY = 6
MAX_ACCELERATION = 50.0
PID_MAX_VEL = 1.5
BACKLASH = 0.00
INPUT_SCALE = 25400
OUTPUT_SCALE = 1
MIN_LIMIT = -.15
MAX_LIMIT = 5.1
FERROR = 0.010
MIN_FERROR = 1
HOME_OFFSET = 5.
HOME_SEARCH_VEL = .5
HOME_LATCH_VEL = 0.2
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
DEADBAND = 0.000126
P = 24.75
I = 0
D = 0.545
BIAS = 0
FF0 = 0
FF1 = 0.135
FF2 = 0.001104011

# Third axis
[AXIS_2]

TYPE = LINEAR
HOME = 5.
MAX_VELOCITY = 6
MAX_ACCELERATION = 50.0
PID_MAX_VEL = 1.5
BACKLASH = 0.00
INPUT_SCALE = 25400
OUTPUT_SCALE = 1
MIN_LIMIT = -.15
MAX_LIMIT = 5.1
FERROR = 0.010
MIN_FERROR = 1
HOME_OFFSET = 5.
HOME_SEARCH_VEL = .5
HOME_LATCH_VEL = 0.2
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
DEADBAND = 0.000026
P = 24.75
I = 0
D = 0.545
BIAS = 0
FF0 = 0
FF1 = 0.135
FF2 = 0.001104011

# Fourth axis
[AXIS_3]

TYPE = ANGULAR
HOME = 0.0
MAX_VELOCITY = 65
MAX_ACCELERATION = 20.0
PID_MAX_VEL = 66
BACKLASH = 0.000
INPUT_SCALE = 11.11111
OUTPUT_SCALE = 5
MIN_LIMIT = -3600.0
MAX_LIMIT = 3600.0
FERROR = 0.010
MIN_FERROR = 0.001
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0.0
HOME_LATCH_VEL = 0.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
DEADBAND = 0.046
P = 150
I = 100
D = 0.1
BIAS = 0
FF0 = 0
FF1 = 1
FF2 = 0


# section for main IO controller parameters
[EMCIO]

# Name of IO controller program, e.g., io
EMCIO = io

# cycle time, in seconds
CYCLE_TIME = 0.100

# tool table file
TOOL_TABLE = univpwm.tbl

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 20:21 #147026 by tommylight
Replied by tommylight on topic Splash code removal
In the ini file under the Display section, write
open_file=
that should get rid of it.

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 20:56 #147030 by Scot
Replied by Scot on topic Splash code removal
My display section doesn't act the same way as a stepper system, a Mesa board system or anything out of the box. It's Pico gear. The OPEN_FILE line that exists in other configs doesn't exist in mine.

This is the display section of my .ini file:

# Name of display program, e.g., xemc
DISPLAY = axis
# DISPLAY = usrmot
# DISPLAY = tkemc
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.100

I've been poking around in the axis file but I can't seem to find the path that the splash code is derived from.

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 21:00 #147031 by tommylight
Replied by tommylight on topic Splash code removal
Add it to ini.
The following user(s) said Thank You: Scot

Please Log in or Create an account to join the conversation.

More
03 Oct 2019 21:04 #147033 by Scot
Replied by Scot on topic Splash code removal
I added it in two forms. One all lower case. The other all caps. Neither removed the file.

Please Log in or Create an account to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum