How To Set Up the Beijer CodeSys-based Controller with the Parker PD EtherCAT Drive

Опубликовано: 18 Август 2026
на канале: Valin Corporation
272
1

Hello everyone, I'm Tom Trinh, Senior Application Engineer for Valin Corporation.

Today I will illustrate how the Beijer CODESYS Controller PLC XP-350 interface with the Parker Drive PD-04C and controlling the Parker servo motor.

OK, So what you let me go and show you real quick the CODESYS- based controller that we have. So here is the Beijer CODESYS XP-350 spec. So it has 16 digital inputs, 16 digital outputs, 5 analogue inputs to RTD which allow you to connect temperature sensor device to it. You also USB and CAN interface. There's a CAN open master interface. There's a Wi-Fi if you can connect to it via USB, There's an SQL integration, the web visualization as well. It's IEC 6O870-5-1O4 server and it is the DNV certified. So what you see in front of you here is basically the actual hardware and on here I have the USB port connected to USB to Ethernet adapter that basically allow me to program this via Ethernet. The port next to it is the Ethernet port and it's actually now an EtherCAT port and we make this as a EtherCAT master and it is connected to the Parker PD-04C EtherCAT Drive. using this cable right here. So it is connected to the EtherCAT in port of the Parker Drive. f I have more than one drive, I can connect from this port, the out port to the in port and so forth. So I can connect multiple drives. This PLC allows me to communicate and control more than one drive. OK. And what you see here is the encoder cable coming out of the drive basically connecting to this port here, which is the encoder of the servo drive. Here is the motor power which is connected here on this side right here as well. So that's where the motor drive, motor servo drive for the connect to the servo motor. And here's the cable connect to the AC120 that allows me to turn on the drive. Right now you see the drive is in run mode, meaning the servo is on. OK. So that's basically the hardware that we have. So to program and set this up, we use a CODESYS BCS tool from Bayer, it's BCS tool, and this is free. You can download it and use it and it's free. Now I already connect it but let me disconnect it. I want to show you how to connect to it. So I'm going to select this to disconnect. So first and foremost to be able to connect to this through this USB to Ethernet adapter, you double click on device. This will show up and what you want to do is click this gateway and hit enter. So now by doing that you see how it changes from black to green. Here I basically what I just did is disconnect and then reconnect it. OK now I set up already this port to be 192.168.33.109. OK so now I'm connect it. Now at this point I'm going to go online. I can go online by either login here or select this icon. OK? It will ask you whether you want to login. I'm going to go ahead and say yes because I already download the program.

So B says to go out and connect it and if you have not download the program, it will ask you to download the program. Or if the program in your development tool is different than what it sees on the PLC, it will ask you to download it. And you have a choice whether you want to download it without a source code or with a source code. OK, I'm going to go through it for this demo. I'm just going to show you real quickly how all the Motion MC Open function block works. OK, So what I'm going to do, I'm going to go to the My User program here. OK, So what you see right now, this function block, I'm going to go through it real quick. The ladder program down here is basically just allow me to do some cycling for my testing. You see the start cycle, it's on right now and it's on every time for every two seconds, just for me to allow me to do the increment every two seconds. So what I'm going to do is I'm going to it's already turned on, right? The server was already turned on. I'm going to turn it off so you can see it. So do that. I'm going to force it to be off state. I'm going to turn on control F7. As soon as I do this, you see this will go to turn off the server. So now base block, OK, I'm going to turn it on again, control F saving it. So now it's on. OK, at this point I can so right now, yeah, that's zero, which is good. So what I can do is so that's MC power. OK, the next thing up is this is the MC RESET allows you to reset a function block. You can use this if the drive goes into error. So that's what this function block is for. There's an MC home here as well. So you can execute home. I'm not going to do that, but I'm going to go ahead and jog so you can see. So I'm jogging with a velocity of 20, acceleration 20, deceleration 20. So I'm going to force it on right here.

If you have any questions or are just looking for some help, we're happy to discuss your application with you. Reach out to us at (800) 774-5630 or visit https://www.valin.com.
#valincorporation #plc #servomotor