User manual
PD-1160 TMCL Firmware V1.19 Manual (Rev. 1.01 / 2012-JUL-30) 38
www.trinamic.com
- Furthermore, the value can also be set to -1. In this special case, the contents of the lower 8 bits
of the accumulator are copied to the output pins.
Example:
Set all output pins high.
Mnemonic: SIO 255, 2, 3
THE FOLLOWING PROGRAM WILL SHOW THE STATES OF THE INPUT LINES ON THE OUTPUT LINES:
Loop: GIO 255, 0
SIO 255, 2,-1
JA Loop
SPECIAL COMMAND FOR SWITCHING THE PULL-UP RESISTORS FOR STOP_L, STOP_R, AND HOME
Pin
I/O port
Command
Range
5
6
7
STOP_L
STOP_R
HOME
SIO 0, 0,<n>
1/0
1: ON
0: OFF