GSE 60 SERIES Technical Reference Manual page 273

Programmable process controllers
Table of Contents

Advertisement

Example:
Enabling Only Comm Port 2
disable all ports
-%!
enable port 2
2%!
Enter ID#?%G
get entry (from comm2)
store entry
=80.4P%o
A%)
clear all receive buffers
enable all ports
%!
C
M
OMPLETE
ACRO
This section details all macro commands sequentially by equivalent ASCII
value.
< required >
Required syntax arguments are enclosed in angle
brackets.
[ optional ]
Optional syntax arguments are enclosed in square
brackets.
< A | B >
Syntax arguments separated by a vertical bar require one
selection, as in 'A' or 'B'.
%!
E
/D
NABLE
ISABLE
Syntax
Enable/Disable Comm Port Receive
[ - ] [ comm ] %!
Enable/Disable Comm Port Transmit
[ - ] T [ comm ] %!
Arguments
-
Disable receive/transmit.
Communication port (0 à 4; port 0 = front panel keypad).
comm
Notes
Omit comm to specify all ports.
See Also
%U Transmit Buffer
%)
Clear Receive Buffer
%H Redefine Comm Port Function
Enable/Disable Comm Port Receive
[ - ] [ comm ] %!
Disabling the comm port receive inhibits the processing of received serial
data. This is useful when it is necessary to ensure that received data can
only be processed from one source. Incoming data on disabled ports will
continue to be buffered and will be processed when the comm port receive
is re-enabled. When the receive buffer becomes full, handshaking (if
specified at P204) is asserted informing the connected device to
temporarily stop transmitting. Disabling port 0 will disable the front panel
keypad. Only the first keypress will be buffered while the keypad is
disabled. A buffered keypress will perform its function when the keypad is
re-enabled. If received data is to be completely ignored while a port is
disabled, clear the buffer with the %) command before re-enabling the
port.
C
OMMAND
C
P
OMM
ORT
60 Series Technical Reference Manual
Macros 9-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents