-

Reading the serial number of a connected motor

Version Number Description
1.0 Initial Version


This application note shows how to read the serial number of a connected motor using code in iCube Engineer.

1. Supported Components

Component Name Version
iC9200 series ≥ 2024.3
iCube Engineer ≥ 2024.3

2. Libraries required

Y_PLCopenPart1_Toolbox_2024.3

3. Solution details

Use multiple instances of Y_ReadDriveMemory FB or one instance of the FB in series to read the following memory addresses on the servopack.
0xC81C
0xC81D
0xC81E
0xC81F
0xC820
0xC821
0xC822
0xC823

Use the conversion shown below to store the read values to elements of a byte array.

Image

Image

Use the following code to convert the byte array to a string that can be read in the application.



Image

It can be seen that the serial number matches the number from SigmaWin.

Image



 


This help information is valid for iCube Engineer Online Help 2025.6

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