Dialog 'CNC properties'

Symbol:

Function: The dialog provides parameters for the CNC program object.

Call: Menu bar: View ‣ Properties ; context menu of the object

Requirement: The CNC object is selected in the device tree.

Note

Application-wide CNC settings are saved in the CNC settings object.

See also

Tab 'Common'

Change the name of the CNC object.

Tab 'Access control'

Specify the permissions of the user groups.

See also

Tab 'Build'

Activate the option to exclude the CNC object from the build. Then IEC data is not generated. However, it is possible to save the G code as an ASCII file. For reading this kind of file at runtime, you can use the function blocks from the SM3_CNC library.

See also

Tab 'CNC'

Implementation

  • Din66025: The motion path is defined in the CNC language DIN 66025.

  • Table: The motion path is defined by means of the parameterization of a table.

Compile mode

Behavior on compile

  • SMC_OutQueue: An SMC_OutQueue data structure is generated on compile. You are granted global access by means of g_CNCQueueManager.

  • SMC_CNC_REF: Program variables are generated on compile. You are granted global access by means of g_CNCProgManager.

  • File: A file generated by G code is downloaded and updated at each login. The PLC can download this file by means of function blocks. The G code files are updated each time at each login to the application. This meas that the files on the PLC are overwritten at each login.

File name

Requirement: Compile mode is set to File.

Default: $ObjectName$.cnc. This default value is a placeholder which is replaced by the object name of the CNC object (effective file name) at login. Only the characters [a-zA-Z0-9$_.] are permitted in a file name. The field for the file name must not be blank or start or end with a dot. Moreover, a dot must not be part of the path in the file name.

Queue size [elements]

Default: 100. The size setting does not affect the size of the generated SMC_OutQueue data structure (when this mode is selected). The size of SMC_OutQueue is determined only by the number of path objects. However, the parameter sets the buffer size of the preprocessing FBs (for example, SMC_NCDecoder, SMC_RoundPath) which are used internally and define the size of the lookahead buffer.

Default values

Velocity (F) [u/s]

This value is used when the value of the velocity (in the "F" word) is not set in the CNC program. In path units per second. Value range: [0, 1e9]. Default: 0

Acceleration (E+) [u/s²]

This value is used when the value of the acceleration (in the "E" word with a positive value) is not set. In path units per second squared. Value range: ]0, 1e9]. Default: 100

Deceleration (E-) [u/s²]

This value is used when the value of the deceleration (in the "E" word with a negative value) is not set. In path units per second squared. Value range: ]0, 1e9]. Default: 100

Default values for fast forward (G0)

Velocity (FF) [u/s]

This value is used when the feed value of the velocity (in the "FF" word) is not set in the CNC program. In path units per second. Value range: [0, 1e9]. Default: 0

Acceleration (EF+) [u/s²]

This value is used when the feed value of the acceleration (in the "EF+" word with a positive value) is not set. In path units per second squared. Value range: [0, 1e9]. Default: 0

Deceleration (EF-) [u/s²]

This value is used when the feed value of the deceleration (in the "EF-" word with a negative value) is not set. In path units per second squared. Value range: [0, 1e9]. Default: 0

3D-Mode

Requirement: Implementation Din66025, translation mode CNC_REF, and OUTQueue

: 3D mode is the default value.

Offline values of variables

Variables: If offline values are defined, then the Offline values of variables dialog opens. In this dialog, variables are displayed which can also be edited.

Start position

Default: 0

See also