
3. Configuration of Optional Modules
GEM80-500 Series Controller
GEM80-500 Technical Manual (T2025En)
(08/04)
Page 3-12
3.8.2
Configuring the Serial Ports
Ports 1, 2, 3 and 4 are configured by entering data in the P-table, and then performing
a RECOMPILE (powering down is not required). The type of serial port is determined
by the value entered in P11 for Port 1, P31 for Port 2, P111 for Port 3 or P131 for
Port 4. The function of the rest of the P-table locations is dependent upon this value.
The baud rate is user defined between 110 and 19,200 bits per second. The rate is
selected by entering the baud rate in P10, P30, P110 or P130 for Ports 1, 2, 3 and 4
respectively. The following baud rates are allowed: 110; 300; 600; 1,200; 2,400;
4,800; 9,600 and 19,200.
If a baud rate other than the above is selected then the controller defaults to 9600
baud with a timeout value of 13.75 seconds.
3.8.3 Data
Tables
Refer to Table 5-5 for a list of all the data tables applicable to the GEM80-500
Controller. The individual data tables are included at Section 5. The data tables used
for Serial Communications are listed at Table 3-3.
Table
3-3 Data
Tables
for Serial Ports 1 to 4
Data
Table
Content
Port 1
Port 2
Port 3
Port 4
J
Holds INPUT data received
J0 to
J255
J256 to
J511
J512 to
J767
J768 to
J1023
K
Holds OUTPUT data to be transmitted
K0 to
K255
K256 to
K511
K512 to
K767
K768 to
K1023
P
Configuration Data
P10 to
P29
P30 to
P49
P110 to
P129
P130 to
P149
I
User-control Data
I0 to
I39
I40 to
I79
I80 to
I119
I120 to
I159
Diagnostics F10
to
F29
F30 to
F49
F50 to
F69
F70 to
F89
F
Fault diagnosis table
Link Statistics
(see Section 7 for
further information)
Statistics F90
to
F109
F110 to
F129
F130 to
F149
F150 to
F169
Buffer Filling Flag
E0.8
E0.9
E0.10
E0.11
E
Buffer
Empty
flag
E0.12 E0.13 E0.14 E0.45
Setting up a Printer/Keyboard Port
Table 3-4 shows the P-table addresses and the data the user must write to these
addresses to enable the port to operate as a Printer/Keyboard Port. Changes to the
P-table are implemented on RECOMPILE (no need to power down).