-

Y_CamFileSelect

Image
Y_CamFileSelectloads a cam table from a CSV file into the motion memory.

Parameters

* Parameter Data Type Description Default
VAR_INPUT
V File STRING File name of cam table. See Notes and Example for supported format. See "Memory area available for user files in ic92xx" for path where cam file can be stored. Additional information is available in the notes and example below. (Empty String)
B Execute BOOL The Execute input on the Y_CamFileSelect block should be interlocked with the busy output so that the Execute input will not see a rising edge while the busy output is set. FALSE
VAR_OUTPUT
B Done BOOL Set high when the commanded action has completed successfully. If another block takes control before the action is completed, the Done output will not be set. This output is reset when Execute goes low.
B Busy BOOL Set high upon the rising edge of the Execute input, and reset when Done, CommandAborted, or Error is true. In the case of a function block with an Enable input, a Busy output indicates the function is operating, but not ready to provide Valid information. (No Error)
B Error BOOL Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low.
E ErrorID UINT If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low.
B CamTableID UINT A reference to the cam memory in the motion engine.
V MasterCycle LREAL Difference between the last and first master positions in the table.
V SlaveCycle LREAL Difference between the last and first slave positions in the table.

Notes

1. This file has an optional header with the following values:

2. If incrementally defined, the start of each table is assumed to be zero.

Error Description

See the Function Block ErrorID List

Example 1

This is an example of how this FB should be used in the application. File path points to the temporary location in the iCube Controller.

Image
The cam file is located on the controller at the following location.
Image
Image


Example 2


Image

Image

Image

Example 3

Cam file path not specified.

Image

Location:
Image

Example 4

File Path to the permanent location in the controller.

Image

Image

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.