To access this dialog:
On the EtherCAT Init Commands tab, select an item in the Init Commands box and click the Edit button. The Edit button will only be available for items with Read/Write (RW) access as displayed in the Access column.
Or, on the EtherCAT Init Commands tab, select an item in the list and click the Add button.
The New CoE Init Command or Edit CoE Init Command dialog is used to add or edit an Init Command.
Dialog Components
General section:
Index and SubIndex:
The object that this Init Command applies to. Selecting an item in the CoE Object Dictionary box will change these. Use the Dec and Hex buttons to change the number display between decimal and hexadecimal.
Value:
The value that will be written to the Init Command.
Comment:
A description of the command. It is automatically created and can also be edited by the user.
Transition section:
Specifies the State Machine transition during which the Init Command will be applied.
Further Settings section:
Complete Access:
The Complete Access check box will allow an entire object to be written at once, including all the subitems. If Complete Access is checked, the Value column will become an array of values. Enter as many as required. Not all SubDevices support Complete Access.
Validate Value:
This becomes available if the Direction is set the Upload. If the Validate Value checkbox is checked, it will prevent the specified state transition from happening if the value that is read doesn’t match the value in the Value box.
Direction section:
Determines the direction of the Init Command. This should typically be set to Download, which writes value to the SubDevice. Upload is rarely used and reads a value from the SubDevice. With Upload, it is possible to set the Validate Value checkbox, which will prevent the specified state transition from happening if the value that is read doesn’t match the value in the Value box.
CoE Object Dictionary section:
Lists all the objects available for Init commands. The Filter Setting Flag button will display only the objects that have the Setting flag (S) set in the Flags column.
Defining an Init Command
Choose a CoE Object for the Init Command:
In the CoE Dictionary box, select the desired object to which the Init Command will apply. If the object has subitems, click the expand button to view the subitems, then select the desired subitem.
The object to which the Init Command will apply will be given in the Index and SubIndex boxes.
Choose the Transition:
Select the state machine transition to which the Init Command will apply.
Set the Value:
In the Value box, enter the value that should be written by the Init Command.
Set the Direction:
This should usually be Download, which writes the Value to the SubDevice.
It is typically unnecessary to make any changes in the Further Settings section.
After making the desired changes, click OK.
See Also
EtherCAT Init Commands | EtherCAT State Machine
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion