5. Panasonic A5 servo wiring and setting,
pin29......servo enable, short connect with 0V,
pin7........DC24V +
pin41.......DC24 --(0V)
......................once 29, 7, 41 connected,  motor can move if driver receives pulse signal..............

pin36.......alarm--,  to DC 24V-(0V)
pin37-------alarm+...to CNC alarm input...(E-stop).
...............36, 37 wired, if you can see alarm signal input, that means connection ok......
pin3, 4, 5, 6... to pulse signal.
pin13,  pulse signal shield.
pin50,   all signal shield.( general shield).
.......................................

Setting in A5 as below,
001#.......0 means pulse mode
005........0 means optical input,
006.........1
007.........3.. means pulse and direction
008, 009, 010...... set it accordingly.