Programmer (HHP) User guide

Appendix C
Valid
Addresssing Modes and File
Types
for Instruction Parameters
C–10
Instruction
Description Instruction
Parameter
Valid Addressing
Mode(s)
Valid File Types Valid Value
Ranges
STS Selectable Timed Start file immediate, direct,
indexed direct
O, I, S, B, T, C, R, N always equal 5
time immediate, direct,
indexed direct
O, I, S, B, T, C, R, N 0–255
SUB Subtract
source A
immediate, direct,
indexed direct
O, I, S, B, T, C, R, N –32,768–32,76
f-min–f-max
source B
immediate, direct,
indexed direct
O, I, S, B, T, C, R, N –32,768–32,767
f-min–f-max
destination direct, indexed direct O, I, S, B, T, C, R, N Not Applicable
SUS Suspend
suspend ID
immediate, –32,768–32,767
TND Temporary End Not Applicable
TOD Convert to BCD source direct, indexed direct O, I, S, B, T, C, R, N
destination direct O, I. S. B. T, C, R, N Not Applicable
TOF Timer Off-Delay timer direct T (element level) Not Applicable
time base immediate 0.01 or 1.00
preset (contained in the
timer register)
0–32,767
accum (contained in the
timer register)
0–32,767
TON Timer On-Delay timer direct T (element level) Not Applicable
time base immediate 0.01 or 1.00
preset (contained in the
timer register)
0–32,767
accum (contained in the
timer register)
0–32,767
XOR
Exclusive OR
address A
immediate, direct,
indexed direct
O, I, S, B, T, C, R, N –32,768–32,767
address B
immediate, direct,
indexed direct
O, I, S, B, T, C, R, N –32,768–32,767
destination direct, indexed direct O, I, S, B, T, C, R, N Not Applicable