Cylindrical (or barrel) cams are specified as you would a normal cam. See Cams for more information on reciprocating cams. For simple cams, the rise and fall are radial distance. On cylindrical cams the rise and fall displacements are along the wrapping axis.
For example, if you create a barrel cam that is wrapped around the X axis with these parameters:
the following curve is created:
Notice that the displacement is in the X direction. If you create a groove feature using the barrel cam curve, you get the toolpath shown below.