User manual

Chapter 7 Single Transfer Programming
ADVANCED MICRO CONTROLS INC.
65
Single Transfer Output Data (continued)
Command Bits
Start Move Profile. CH1: Bit 0, CH2: Bit 10.
A 0
"
1 transition initiates a move profile.
Stop Move Profile. CH1: Bit 1, CH2: Bit 11.
A 0
"
1 transition immediately stops a move profile.
Jog Up. CH1: Bit 2, CH2: Bit 12.
Set this bit to travel at low speed towards the upper travel limit. Note that it is possible to
jog up past the programmed upper travel limit.
Jog Down. CH1: Bit 3, CH2: Bit 13.
Set this bit to travel at low speed towards the lower travel limit. Note that it is possible to
jog down below the programmed lower travel limit
External Jog Input Direction. CH1: Bit 4, CH2: Bit 14.
Reset this bit when the external jog input must initiate a jog up. Set this bit when the
external jog input must initiate a jog down. This bit is used with the Jog Enable bit.
Jog Enable. CH1: Bit 5, CH2: Bit 15.
Set this bit to enable the external jog input to jog the channels' position. Reset this bit to
disable the external jog input. If the external jog input is active when this bit is reset the
jog will stop immediately.
Valid Command Bit Combinations
The following table lists the valid command bit combinations with a brief description. All
other bit patterns cause a Program Command Error. Program Command Errors are reported to
the processor through block transfer read instructions and single transfer input data.
Bit # 7-0 or 17-10
"0 0 0 0 0 0 0 0"
Perform no change in action.
"0 0 0 0 0 0 0 1"
Start Move Profile.
"0 0 0 0 0 0 1 0"
Stop Move Profile.
"0 0 0 0 0 1 0 0"
Jog Up.
"0 0 0 0 1 0 0 0"
Jog Down.
"0 0 1 0 0 0 0 0"
Enable a manual jog up.
"0 0 1 1 0 0 0 0"
Enable a manual jog down.
The PLC-5 Bit Field Distribution (BTD) Instruction can be used to copy eight bits from a
source word to a destination word. Defining the above seven patterns in an integer file and
using the BTD instruction to copy them to the appropriate byte in the output image table is one
way of avoiding Program Command Errors.