Is it possible to deactivate a PROFINET slave device, like CI502
I would like to ask you, if is it possible to deactivate from a PROFINET network a slave device like a CI502, in order to be inactive.
Voted best answer
You can't disable the PROFINET node from the controller.
There is a workaround for your configuration by using the FlexConfig.
1. Create 2 config, with Profinet IO and without profinet IO.
2. Master CPU will boot with Profinet IO, Secondary CPU will boot without Profinet IO.
3. If Master CPU down, Secondary CPU will reboot and load the config with Profinet IO.
Cons: CPU need to reboot.
For more details on the FlexConfig, you can refer to the Automation Builder online help.
I wanted to create a network with two redudant cpus (master - slave) and 9 RIO (CI502 and CI504).
When I was powering the devices, some RIO devices were connecting to the slave cpu and some to the master.
However, I wanted all the RIO devices to connect only with the master cpu and none to the slave.
I achived it throught the Profinet Library.
So, in order to accomplish my project I use the HA and Profinet Libraries.
Specifically when the Secondary CPU reads active RIOs more than 1, throught the PNIO_SYS_DIAG_INST (NUM_ACT), I reset it.
Then the Master CPU of my network reads all the RIOs.
If Master CPU is down, Secondary CPU will bocome Master and all the RIOs will communicate with it.