MLCamSwitch

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Switches the CAM ProfileClosed The position of a slave axis is mathematically linked to the position of a master axis. Example: A system where two rotating drums turn at a given ratio to each other. A more advanced case of electronic gearing is electronic camming. With electronic camming, a slave axis follows a profile that is a function of the master position. This profile need not be linear but it must be a mathematical function. in a selected CAM object.

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID number of an initialized CAM Pipe Block.

ProfileID

DINT

-2147483648 to 2147483647

N/A

No default

Name of the new CAM Profile which is assigned to the CAM Pipe Block.

It must be a declared profile object.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

 

 

Returns TRUE if the CAM Profile is changed.

See Pipe Network - General Rules.

Remarks

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Switch CAM Profile
MLCamSwitch(PipeNetwork.CAM, Profiles.Profile_B);

See Also