Good Day Experts,
I have a small problem in programming which I would like to discuss. I am using an AC drive of different manufacturer with CPU315-2PN/DP over the profinet. There are some read/write tables from/to drive for its functioning. PLC is receiving one of the fault table from drive which is having some number depending upon the fault in the drive. 0 for no fault, 1 for under voltage, 2 for over current and etc.etc. Now I am looking for the easiest way to configure this. I want to create a DB in which first bit corresponds to code 0, second bit corresponds to code 1 and so on. I can do in ladder by comparing the code number to a value and then connect to the particular bit of the DB. I have 45 different faults configured in the drive and that looks the lengthy way of doing it.
Has anyone got the better suggestion of doing this.
Regards
Manoj
I have a small problem in programming which I would like to discuss. I am using an AC drive of different manufacturer with CPU315-2PN/DP over the profinet. There are some read/write tables from/to drive for its functioning. PLC is receiving one of the fault table from drive which is having some number depending upon the fault in the drive. 0 for no fault, 1 for under voltage, 2 for over current and etc.etc. Now I am looking for the easiest way to configure this. I want to create a DB in which first bit corresponds to code 0, second bit corresponds to code 1 and so on. I can do in ladder by comparing the code number to a value and then connect to the particular bit of the DB. I have 45 different faults configured in the drive and that looks the lengthy way of doing it.
Has anyone got the better suggestion of doing this.
Regards
Manoj