User`s manual

Installing and Configuring PMAC
Page - 23
3.6.4 - PMACPack and PMAC2 flag inputs
The PMACPack and PMAC2 interface accessories include a bipolar opto-isolating circuitry (chip PS-2705-4NEC) for flag
and amplifier fault connections:
+V
Flag
Return
Signal
Sinking Signal
(Gnd)
Gnd
Flag
Return
Signal
Sourcing Signal
(+V)
Examples:
3.6.5 - Checking the flag inputs
In the PEWIN terminal window, define the following M-variables for the flags of the motors under consideration:
Flag Type Motor #1 Motor #2 Motor #3 Motor #4
HMFL input status M120->X:$C000,20,1 M220->X:$C004,20,1 M320->X:$C008,20,1 M420->X:$C00C,20,1
-LIM input status M121->X:$C000,21,1 M221->X:$C004,21,1 M321->X:$C008,21,1 M421->X:$C00C,21,1
+LIM input status M122->X:$C000,22,1 M222->X:$C004,22,1 M322->X:$C008,22,1 M422->X:$C00C,22,1
Flag Type Motor #5 Motor #6 Motor #7 Motor #8
HMFL input status M520->X:$C010,20,1 M620->X:$C014,20,1 M720->X:$C018,20,1 M820->X:$C01C,20,1
-LIM input status M521->X:$C010,21,1 M621->X:$C014,21,1 M721->X:$C018,21,1 M821->X:$C01C,21,1
+LIM input status M522->X:$C010,22,1 M622->X:$C014,22,1 M722->X:$C018,22,1 M822->X:$C01C,22,1
Open a Watch Window and press insert to enter the M-variable number to watch. Interacting with the switch or sensor
monitor a change in the corresponding M-variable. A value of zero indicates that the flag is closed to ground and therefore
the limit is not in fault, the motor will be able to run in that direction (see Ix25). If the value is 1, the flag is open instead.
3.7 - Motor signals connections
3.7.1 - Incremental Encoder Connection
Each JMACH connector provides two +5V outputs and two logic grounds for powering encoders and other devices. The
+5V outputs are on pins 1 and 2; the grounds are on pins 3 and 4. The encoder signal pins are grouped by number: all those
numbered 1 (CHA1, CHA1/, CHB1, CHC1, etc.) belong to encoder #1. The encoder number does not have to match the
motor number, but usually does. If you do not have your PMAC plugged into a bus and drawing its +5V and GND from
the bus, use these pins to bring in +5V and GND from your power supply.