Zero191,
FC21 and FC22 are used when you have a CP342-5. Are you using the integrated DP port with the 300C? These blocks come with DriveES Simatic. Are you trying to read/write parameter data or just set up drive communication? There are several ways to do it, I use Starter (the version with DriveES). This version allows me to use the parameter set from Starter and automatically create a data block. Then I use this data block with FB42 FB PDAT_UD2. This block again is included with DriveES Simatic.