EasyManuals Logo
Home>Delta>Controller>AX Series

Delta AX Series User Manual

Delta AX Series
574 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #433 background imageLoading...
Page #433 background image
AX-Series Motion Controller Instructions Manual Chapter 2
428
Function
How to use MC_WriteBoolParameter_DML to write the number of an EtherCAT object dictionary
Use the SHL instruction to shift the data length of the object dictionary where a value is to be written to the left by
24 bits
Use the SHL instruction to shift the index of the object dictionary where a value is to be written to the left by 8 bits
Add up the above parameters and the sub-index.
See the reference formula as follows.
diParameterNumber: =-DWORD_TO_DINT (SHL (TO_DWORD (object dictionary data length), 24) + SHL
(TO_DWORD (object dictionary index), 8) + object sub-index);
To write a value in an axis parameter, refer to the axis parameter AXIS_REF_DML (FB) and fill in its number in the
diParameterNumber input parameter.
Troubleshooting
When an error occurs in the execution of the instruction, bError will change to True. To confirm the current error state,
see the Error Code in ErrorID.
Programming Example
For the example, refer to the programming example of the MC_WriteParameter function block.
For function block Axis parameters, enter that of the positioning axis.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta AX Series and is the answer not in the manual?

Delta AX Series Specifications

General IconGeneral
BrandDelta
ModelAX Series
CategoryController
LanguageEnglish

Related product manuals