R40 MODEM EXPANDER MODULE p 13
Pos.
Value Function
hex
hex
0/4
xx4x
Serial Link to Modem between current serial port and modem.
xx2x
SIOX Text Link for Text messages on the SIOX port to the
current serial port and back.
xx1x
SIOX Break indicates when the SIOX bus is lacking supply or is
short-circuited. SIOX calls from the modem are then not sent to
the bus but only processed internally.
xxx3
Preferred Serial Port defines which port 1..3 that is to transmit
when no recent communication has been carried out. CTS must
be active and the port signals RTS or X-ON.
The Links and the Preferred Port are fetched from EEPROM and
set in RAM when a GSM call is terminated.
0/5
Hxxx RS485 Status. 8=Receive permitted (X-ON sent)
2=Transmit permitted (X-ON received) ; 1=CTS (virtual)
x8xx
RS485 Mode, 8 Data Bits , else 7 Data Bits.
x4xx
RS485 Mode, 2 Stop Bits , else 1 Stop Bit.
x2xx
RS485 Mode, Parity Enable
x1xx
RS485 Mode, Odd Parity
xxx6-xxx9 RS485 Bit Rate set-up: 2400-19200 or default 4800.
0/6-7
Hxxx RS232 Hardware Status. 2=RTS; 1=CTS.
x8xx
RS232 Mode, 8 Data Bits , else 7 Data Bits.
x4xx
RS232 Mode, 2 Stop Bits , else 1 Stop Bit.
x2xx
RS232 Mode, Parity Enable
0/6-7
x1xx
RS232 Mode, Odd Parity
xxx6-xxx9 RS232 Bit Rate set-up: 2400-19200 or default 4800.
R40 MODEM EXPANDER MODULE p 14
0/8
IIOO Buffer Pointers In/Out for Modem receive, automatic.
0/9
Buffer Help Pointers for Modem and SIOX Text.
0/A
IIOO Buffer Pointers In/Out for Modem transmit, automatic.
0/B
IIOO Buffer Pointers In/Out for RS232/485 receive, automatic.
0/C
Buffer Help Pointers for SIOX Text and RS232/485.
0/D
IIOO Buffer Pointers In/Out for RS232/485 transmit, automatic.
0/E
TTxx CTS Timeout counts from 0 to hex 14 = 20 seconds before a
general enabling of all three serial ports after a session.
0/F
R40 help cell, do not change.
10/
OOxx DO Register for PLC bits Q8 - Q1. Setting Q1 active enables
receiving the code “SIOX” and a letter from the modem.
Setting Q2 active enables receiving a code sequence of max 4
characters and a letter from the current serial port.
Q8 controls the Relay in R40-5.
xxII
DI Register for PLC help bits and digital inputs.
Bit 0, called I1, is set when modem text matches the SIOX letters
and Q1 is cleared.
Bit 1 (I2) is set active when serial port text matches the four
letters in parameters 22-23 and Q2 is cleared.
Bit 4 (I5) is set when the the Button on the board is pressed.
Bit 5 (I6) is set when DI1 is shorted to GND.
Bit 6 (I7) is set when DI2 is shorted to GND.
11
MMxx PLC Mask for Q8 - Q1. Refer to PLC manual.
xxPP PLC Program Counter.