Kramer Electronics TP-410 User Manual
Page 32

TP-410 - Kramer Communication Protocol 2000
29
29
INSTRUCTION
DEFINITION FOR SPECIFIC INSTRUCTION
NOTES
#
DESCRIPTION
INPUT
OUTPUT
2C
CONTROLS THE STATUS OF A
PORT
0–close
1–open
Output bit:
O0–O5 = output # or 0 for all outputs
O6–0 = Tx; 1 = Rx
1, 2, 4, 5
2D
READS THE STATUS OF A PORT
0–open
Output bit:
O0–O5 = output #
O6–0 = Tx; 1 = Rx
2, 3, 4, 5
All the values in the table above are hexadecimal, unless otherwise
stated
NOTES:
NOTE 1 – When the PC sends this command, if the instruction is valid the unit replies by sending the PC the same 4
bytes that it was sent (except for the first byte where the Destination bit is set high).
NOTE 2 – If O6 = 0 (Tx) – This command defines/reads the definition of the output # (1, 2 or3) to pass the RS-232/Direct
command from any input. In this case the instruction does not modify previously set output numbers, allowing the setting
of multiple outputs for the Direct command. If O6 = 1 (Rx), the command defines/reads the definition of the output # (1, 2
or 3) to pass the reply from the output to inputs. In this case, the instruction resets a previously set output number,
preventing the setting of multiple outputs for the reply.
NOTE 3 – The reply to this command is as follows: The same command and output codes as were sent are returned,
and the input is assigned the value of the parameter that was read. The reply is per the definitions in command 44.
NOTE 4 – At initial power-on or on reception of command 44 or 45, any received bytes are analyzed to see whether it is
a command 44 or 45. If not, it is transmitted to the output based on the existing setup. If the analyzed bytes are a
command 44 or 45, the unit waits for the other 3 bytes and interprets them as a Protocol 2000 command. The command
is executed if relevant to this machine number or discarded if not.
NOTE 5 – This command works only when the unit is configured for Software mode.
Sample TP-410 Control Commands
Command
Description
Reply
2C 80 80 81
Close all output ports for direct command
6C 80 80 81
2C 80 C0 81
Close all output ports for reply command
6C 80 C0 81
2C 81 82 81
Open port 2 for direct command
6C 81 82 81
2C 81 C1 81
Open port 1 for reply command
6C 81 C1 81
2D 80 81 81
Check status of port 1 for direct command. Port is closed
6D 80 81 81
2D 80 82 81
Check status of port 2 for direct command. Port is open
6D 81 82 81
2D 80 C1 81
Check status of port 1 for reply command. Port is open
6D 81 C1 81
2D 80 C2 81
Check status of port 2 for reply command. Port is closed
6D 80 C2 81
All the values in the table above are hexadecimal, unless otherwise
stated
i
i