Hardware - PLCnext I/O
PLCnext I/O Introduction
CDP Studio allows you to build and run control systems on the PLCnext controllers from Phoenix Contact and use the attached I/O modules. The PLCnext is pre-integrated in CDP Studio and the different I/O modules are available by simple drag and drop; no coding is required to use the PLCnext I/O modules.
Prerequisites:
Note:
- The PLCnext controller must be set up with a 'root' user to be able to access the Axio bus. Follow the steps in Installation and Removal to do this.
- The device must be 'Paired' in the Devices table. When pairing with the PLCnext target Device, it is important that you use 'root' as the username. See the Deployment Manual for more information.
- The PLCnext ARMv7 32-bit Toolkit must be chosen for the target device (this is automatically selected when you pair).
- Installation, as outlined below, must be performed.
Installation and Removal
The PLCnext Axioline AXC F 2152 controller has a default IP address set to 192.168.1.10. The default user is 'admin' and the default password is printed on the side of the controller. Refer to the PLCnext documentation on how to change the IP address of the controller.
Installation
- Log into the device with the
adminuser by using an ssh client:ssh admin@<plcnext IP-address>
- Set up the
rootuser using the following command:sudo passwd root
You will first be asked the password for the
adminaccount to allow running thepasswdcommand, and then asked to set the password to use with therootaccount (this will be asked twice). Make sure to select a strong password to secure the device against unauthorized access. - Become the
rootuser by typingsu
Type the
rootpassword set in the previous step when prompted. - Disable unneeded services to reduce resource usage, and enable root login via ssh:
systemctl disable codemeter.service systemctl disable plcnext.service sed -i 's|^#\?PermitRootLogin.*|PermitRootLogin yes|' /etc/ssh/sshd_config
- Reboot the controller by typing
reboot
- After the controller has rebooted, Pair the Device with CDP Studio
Removal
To undo the above changes, log in to the controller using an ssh client, and type:
systemctl enable codemeter.service systemctl enable plcnext.service sed -i 's|^PermitRootLogin.*|#PermitRootLogin prohibit-password|' /etc/ssh/sshd_config sudo passwd -l root reboot
This will re-enable the default PLCnext services, disable root SSH login, lock the root account and reboot the controller.
Configuration Manual and Examples
For information on how to configure PLCnext I/O, see:
Note: For more information about CDP Technologies partnerships, see Our Partners and for detailed information on Phoenix Contact, see the Phoenix Contact website for more information.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.