Breadcrumbs

Omron Sysmac Studio

Library Download

For details about the releases, see here.

PMLib Version

Compatible with PMC Version

Download

Changelog

6.03.048.00

117.22.47 or higher

Omron V06.03.048.00.zip

pmlib 2025.11v7.22.55 (6.03.048.00)

6.03.047.00

117.22.04 or higher

Omron V06.03.047.00.zip

pmlib 2025.09v7.22.07 (6.03.047.00)

6.03.046.00

117.20.49 or higher

Omron V06.03.046.00.zip

pmlib 2025.08v7.20.49 (6.03.046.00)

6.03.044.01

117.20.40 or higher

Omron V06.03.044.01.zip

pmlib 2025.07v7.20.40 (6.03.044.01)

6.03.039.00

117.17.43 or higher

Omron V06.03.039.00.zip

pmlib 2025.03v7.17.43 (6.03.039.00)

6.03.037.00

117.17.12 or higher

Omron V06.03.037.00.zip

pmlib 2025.01v7.17.12 (6.03.037.00)

Library Setup

Creating a new project

Step 1: Select "New Project" in Sysmac Studio

omron1.png

Step 2: In the Project Properties window, select Controller in Category and select the Controller you are using. Then click Create.

omron2.png

Setup Fieldbus

Step 1: In the Multiview Explorer, double click "Configurations and Setup" -> "EtherCAT"

omron13.png

Step 2: In the EtherCAT window, right click the Master and click Display ESI Library. Note steps 2-5 are only needed if this is the first time using the Planar Motor system on this installation of Sysmac Studio

omron24.png

Step 3: In the ESI Library window click "Install (File)"

omron35.png

Step 4: In the Open file explorer window navigate to the PMC ESI file, select it, and then click Open

omron42.png

Step 5: Click Yes in the confirmation window

omron44.png

Step 6: In the EtherCAT window select the Master. In the Toolbox select Planar Motor Controller in the Groups menu. Then right click Communication Protocol A Rev:0x00000001 and click Insert

omron45.png

Steps 7 – 14 are for resolving a Network Configuration Verification Error on the PMC.

Step 7: To check for this error go to Tools->Troubleshooting and see if you get the error below. If the Reset All button doesn’t resolve the problem (Omron PLCs won’t auto recover from faults) then continue.

omron10.png

Step 8: Go to the EtherCAT window (Multiview Explorer->Configurations and Setup->double click EtherCAT). Right click the Master and click Write Slave Node Address.

omron11.png

Step 9: In the Slave Node Address Writing window, set the Set value to match the Node Address configured in the EtherCAT window, and then click Write.

omron12.png

Step 10: Click Write in the verification window, and then once the writing process is completed power cycle the PMC.

omron14.png

Step 11: After the PMC is done power cycling, to verify that the write was successful, right click the Master and click Compare and Merge with Actual Network Configuration.

omron15.png

Step 12: Verify that the PMC (Communication Protocol A Rev:0x000000001) gets a Comparison result of Matched. Normally at this point you get go back to Tools->Troubleshooting and click the Reset All button and the fault will be gone. If that doesn’t resolve the problem continue on.

omron16.png

Step 13: If the problem persists you will need to go offline and build the controller again.

omron17.png

Step 14: After building the controller again go back online and Transfer the newly build config to the controller.

omron18.png

Import and use Library

Step 1: Click Project -> Library -> Show References

omron27.png

Step 2: In the Library Reference window, click the Create Reference button

omron28.png

Step 3: In the Refer to Library File window, navigate to the library .slr file. Select the library file and click open.

omron29.png

Step 4: Once the library is finished loading (this will take some time), click OK.

omron30.png

Step 5: In the Multiview Explorer, select Programming->POUs->Programs->Program1 (name of main program in the cyclic task)

omron102.png

Step 6: In the program declare a PMControllerType variable and two 400 byte arrays. It is recommended to name the arrays so that you can easily tell which one is going to be mapped as input and output.

omron105.png

Step 7: In the Multiview Explorer click on Configurations and Setup->I/O Map. In the I/O Map expand the PMC (Communication Protocol A). Map the output 400 byte array to the DataToPMCArray variable (marked as W). Map the input 400 byte array to the DataFromPMCArray variable (marked as R).

omron106.png

Step 8: In that program, create a PM_BufferInput function block, a PM_BufferOuput function block, and an AutoRefresh function block. At the beginning of the cyclic task, before any other PMC library functions are called, call the BufferInput function block with the input array and then the AutoRefresh function block. Then at the end of the cyclic task, after all the other PMC library functions called, call the BufferOutput function block with the output array.

omron_sysmac_new.png

Upgrade Library

Step 1: Click Project->Library->Show References

omron36.png

Step 2: In the Library Reference window, select the old library and click the Delete Reference button

omron37.png

Step 3: Once it is done, delete the old reference (this will take some time), then click the Create Reference button

omron38.png

Step 4: In the Refer to Library File window, navigate to the new library .slr file and select it. Then click the Open button.

omron29.png

Step 5: Once it is done importing the library (this will take some time), click the OK button.

omron40.png

Setup Streaming (Optional) - only for synchronization with external axis

Step 1: In the Multiview Explorer, click Configurations and Setup->EtherCAT

omron23.png

Step 2: In the EtherCAT menu, select the PMC

omron25.png

Step 3: Choose “Enabled (DC for synchronization)” for the Enable Distributed Clock setting

omron26.png

Step 4: In the Planar Motor Tool, open the Configurator, then select “External PLC Synchronized” for the Sync Mode

schneider14.png

Step 5: Click "Write To PMC" to save the configuration to the PMC.

schneider15.png

File I/O on the PLC (Optional)

The following are one possible way to read and write files to the PLC storage. It could be helpful for commands such as Set PMC Configuration.

Step 1: Go Online with the PLC: Controller -> Online

fileio28.png

Step 2: Click Controller->SD Memory Card…

fileio29.png

Step 3: In the SD Memory Card window navigate to the folder of interest

fileio30.png

Step 4: Copy the desired files into the folder. Note that drag and drop is not supported, only Copy and Paste

fileio31.png