#MC_MovePath command

See also [MCP-P4// MC_MovePath]

A CNC program running in the commanding channel starts a job in another channel “agent” using the #MC_MovePath command.

Release Note

release_note

Available as of V3.1.3110

Syntax of the NC command:

#MC_MovePath [SYN] [ CH=.. JobID=.. FileName=.. @PL<1…20>=..
                                        [InitializeOnActualPosition=..]
                                        [SetDefaultConfig=..]
                                        [ReportSceneSampling=..]
                                        [ReportRunTimeMeasure=..]
                                        [ReportAxesPositionSample=.]. ]

SYN

Synchronous command execution of the ISO program. Before the command is executed, an implicit channel synchronisation takes place (implicit #FLUSH WAIT).

CH=..

Logical channel number of the channel in which the job is executed. The link between the CNC channel number and the CNC channels is specified in the start-up list. (See Parameter descriptions).

JobID=..

User-specific job identification number (job ID). Every number must be unique in the commanding program of the master channel.
For example, this ID is used in the #WAIT MC_Status command for job identification.

FileName=<filename>

Filename of the ISO program which is to be started.

@P<i>=..

Parameter transfer to the commanded ISO program. These parameters can be accessed in the called “main program” by @PL<i>.

InitializeOnActualPosition=..

Requests current positions at program start.

See Channel operation mode- SUPPRESS_POSITION_REQUEST

If InitializeOnActualPosition is not used, the current configuration specified applies.

ON

Request the position regardless of the current configuration.

OFF

“No position request” regardless of the current configuration.

USE_ACTUAL

The current configuration specified applies

SetDefaultConfig
=..

Initialises decoder working data at program start.

See Channel operation mode- SUPPRESS_PROG_START_INIT

If SetDefaultConfig is not used, the current configuration specified applies.

ON

Initialisedecoder working data.

OFF

Deselect initialisation of decoder working data.

USE_ACTUAL

The current configuration specified applies

ReportSceneSample=..

Enables the interface to log scene data.

See Channel operation mode- BEARB_MODE_SCENE

If ReportSceneSample is not used, the current configuration specified applies.

ON

Log scene data.

OFF

Disable scene data logging.

USE_ACTUAL

The current configuration specified applies

ReportRunTimeMeasure=..

Enables the interface to log time stamps.

See Channel operation mode - ONLINE_PROD_TIME

If ReportRunTimeMeasure is not used, the current configuration specified applies.

ON

Generate time stamp data.

OFF

Disable logging of time stamp data.

USE_ACTUAL

The current configuration specified applies

ReportAxesPositionSample=..

Enables the interface to log axis positions.

See Channel operation mode- ON_LINE

If ReportAxesPositionSample is not used, the current configuration specified applies.

ON

Generate log data of axis positions.

OFF

Disable logging of axis positions.

USE_ACTUAL

The current configuration specified applies.

Notice

notice

After reading in #MC_MovePath, the interpretation of the CNC program is not continued until the job commanded by the command is successfully stored in the job queue of the channel agent.

Programing Example

prg_example

Starting a program in another channel

The executed program starts the SlaveFile.nc program with the 3 listed parameters in channel 3. These parameters can be used in the SlaveFile.nc program (e.g. by G01 X@PL1).

%ExampleMC_MovePath

N010 "CH-Slave"= "3"

N020 "MC-Slave"= "633"

N030 #MC_MovePath SYN[ CH="CH-Slave" ID="MC-Slave" \

    FileName=”SlaveFile.nc” \
    @PL1=V.A.ACS.ABS.X @PL2=V.A.ACS.ABS.Y @PL3=V.A.ACS.ABS.Z ]

N040 M30