12.12 Wiring Configuration for the EncoderThe direction of the encoder, identified by looking into theshaft end, is determined by which order the pulses enterthe drive. See Illustration 12.6.• Clockwise (CW) direction means channel A is 90electrical degrees before channel B.• Counterclockwise (CCW) direction means channelB is 90 electrical degrees before A.BABA130BA646.10CWCCWIllustration 12.6 Determining Encoder DirectionNOTICEMaximum cable length 5 m (16 ft).130BA090.12+24 V DCABGND1312 18 37322719 29 33 2024 V or 10–30 V encoderIllustration 12.7 Wire Configuration for the Encoder12.13 Wire Configuration for Torque andStop LimitIn applications with an external electro-mechanical brake,such as hoisting applications, it is possible to stop thedrive via a standard stop command and simultaneouslyactivate the external electro-mechanical brake.Illustration 12.8 shows the programming of these driveconnections.If a stop command is active via terminal 18 and the driveis not at the torque limit, the motor ramps down to 0 Hz.If the drive is at the torque limit and a stop command isactivated, the system activates terminal 29 output(programmed to [27] Torque limit & stop). The signal toterminal 27 changes from logic 1 to logic 0 and the motorstarts to coast. This process ensures that the hoist stopseven if the drive itself cannot handle the required torque,for example due to excessive overload.To program the stop and torque limit, connect to thefollowing terminals:• Start/stop via terminal 18(Parameter 5-10 Terminal 18 Digital Input [8] Start).• Quick stop via terminal 27Application Examples VLT® AutomationDrive FC 302190 Danfoss A/S © 01/2018 All rights reserved. MG38C2021212