background image

             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.

Summary of Contents for TELEFRANG R40 Series

Page 1: ...ber 6R40 3 R40 4 Mains powered SIOX Modem Expander Order number 6R40 4 R40 5 24V powered SIOX Modem Expander with power Relay Order number 6R40 5 R40man wpd 090513 TF R40 MODEM EXPANDER MODULE p 2 Con...

Page 2: ...17 Typically a two wire low capacitance twisted pair is used for the SIOX com munication bus Shielded cables may be used but unless a correct strategy for shield grounding is adopted they may prove to...

Page 3: ...d shaking often the two ASCII characters DC1 and DC3 called X ON and X OFF The RS485 port handles this protocol if the reserved characters are set in parameter 0 3 0 0 0 0 means no soft handshaking Wh...

Page 4: ...o above 0 0 24 for eternal operation Modem to SIOX LINK Mode One standard firmware function in R40 is a LINK mode where all characters received from the GSM modem are copied to the SIOX bus independen...

Page 5: ...rew terminals at the right bottom corner and is protected by a Time Lag Anti Surge HRC High Rupture Capacity fuse Note that the supply voltage must be above 20 V for the relay to pull Higher voltages...

Page 6: ...EPROM or temporary value 8xxx Master Flag is set by the PLC program when the R40 is to start communications over the SIOX bus on its own xx8x Inhibit Spy permitting PLC use of Par 4 0 4F R40 MODEM EXP...

Page 7: ...S232 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...

Page 8: ...our characters when Q2 1 24 MMxx Modem Code Fifth Letter trailing a valid code xxSS Serial Port Code Fifth Letter trailing a valid code R40 MODEM EXPANDER MODULE p 16 Pos Value Function hex hex 25 XXX...

Page 9: ...hat are adequately tightened to prohibit the cords from being pushed into pulled out of the unit Glands must be in compliance with the UL94 flame class 94V 0 Cables connected to the mains supply must...

Reviews: