06-06-V6-smn
p12
Configuration of the serial interface
The choice between the RS232 or 485/422 interface depends of the S215 register value.
There is two ways for activating the RS485 mode:
¾
Software mode (updating the S215 value using a command)
¾
Hardware mode (forcing default parameters)
Serial interface switching, software mode
For switching from RS232 to RS485 interface:
Step 1.
Connect both RS232 and RS485 interface to your modem
Step 2.
Using the RS232 serial link, send the serial command SLS215=1
Step 3.
Now the RS485 interface is activated; (Using the RS485 link send the SLI command
for checking the RS485 activation)
Step 4.
Using the RS485 interface send the SL**> command for saving the S215 register
value. Now at next start-up, the product will work with the RS485 interface
For switching from RS485 to RS232 interface:
Step 1.
Connect both RS232 and RS485 interface to your modem
Step 2.
Using the RS485 serial link, send the serial command SLS215=0
Step 3.
Now the RS232 interface is activated; (Using the RS232 link send the SLI command
for checking the RS232 activation)
Step 4.
Using the RS232 interface Send the SL**> for saving the S215 register value. Now
at next start-up, the product will work with the RS232 interface
Serial interface switching, Hardware mode
The kind of interface can be updated when the modem is powered up: the configuration
switches (#2 and 4) allow choosing a requested configuration.
¾
WARNING: when using these switches the new configuration is saved in EEPROM
Hardware switch to RS232 interface:
1.
Switch off the module
2.
Put the switch 2 in position ON
3.
Switch on the modem
Î
the green led is ON
4.
Put the switch 2 in position OFF
5.
The modem is ready to work with the RS232 interface (the serial parameters used in
RS485 mode are preserved).
Hardware switch to RS485 interface:
1.
Switch off the module
2.
Put the switch 4 in position ON
3.
Switch on the modem
Î
the green led is ON
4.
Put the switch 4 in position OFF
5.
The modem is ready to work with the RS485 interface (the serial parameters used in
RS232 mode are preserved).
Hardware switch to restore factory settings for interface:
1.
Switch off the module
2.
Put the switch 2 and 4 in position ON
3.
Switch on the modem
Î
the green led is ON
4.
Put the switch 2 in position OFF
5.
The modem is ready to work with the RS232 interface with the following serial settings:
9600 bauds, 8 bits, 1 stop and no parity.