Line 444: |
Line 444: |
| [[File:Services rs232 rs485 modem v 2.png]] | | [[File:Services rs232 rs485 modem v 2.png]] |
| | | |
− | {| class="wikitable"
| + | <table class="nd-mantable"> |
− | |+
| + | <tr> |
− | ! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | FIELD NAME
| + | <th>field name</th> |
− | ! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | VALUE
| + | <th>value</th> |
− | ! style="width: 579px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | DESCRIPTION
| + | <th>description</th> |
− | |-
| + | </tr> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Direct connect
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | host:port {{!}} ip:port; Default: " "
| + | <td>Direct connect</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Maintains a constant connection to specified host. Leave empty to use an ATD command to initiate the connection
| + | <td>host:port {{!}} ip:port; Default: " "</td> |
− | |-
| + | <td>Maintains a constant connection to specified host. Leave empty to use an ATD command to initiate the connection</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | TCP port
| + | </tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer [0..65535]; Default: " "
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | The port number used to listen for incoming connections. Leave it empty to disable incoming connections
| + | <td>TCP port</td> |
− | |-
| + | <td>integer [0..65535]; Default: " "</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Initiation string
| + | <td>The port number used to listen for incoming connections. Leave it empty to disable incoming connections</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | string; Default: " "
| + | </tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | A command string that will be sent to the modem to initiate it in some special way
| + | <tr> |
− | |-
| + | <td>Initiation string</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | No extra CR LF in response
| + | <td>string; Default: " "</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | yes {{!}} no; Default: '''yes'''
| + | <td>A command string that will be sent to the modem to initiate it in some special way</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Removes extra CR LF before and LF after response code
| + | </tr> |
− | |-
| + | <tr> |
− | |}
| + | <td>No extra CR LF in response</td> |
| + | <td>yes {{!}} no; Default: '''yes'''</td> |
| + | <td>Removes extra CR LF before and LF after response code</td> |
| + | </tr> |
| + | </table> |
| | | |
| This is the AT command set used in Modem mode of the serial interfaces: | | This is the AT command set used in Modem mode of the serial interfaces: |
| | | |
− | {| class="wikitable"
| + | <table class="nd-othertables"> |
− | |+
| + | <tr> |
− | ! style="width: 10px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | COMMAND
| + | <th style="width: 85px">COMMAND</th> |
− | ! style="width: 175px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | DESCRIPTION
| + | <th style="width: 210px">DESCRIPTION</th> |
− | ! style="width: 325px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | USAGE
| + | <th style="width: 360px">USAGE</th> |
− | |-
| + | </tr> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | A
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Answers incoming call
| + | <td>A</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | To answer incoming connection: ATA
| + | <td>Answers incoming call</td> |
− | |-
| + | <td>To answer incoming connection: ATA</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | D
| + | </tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Dial a number
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | To initiate data connection: ATD <host>:<port>
| + | <td>D</td> |
| + | <td>Dial a number</td> |
| + | <td>To initiate data connection: ATD <host>:<port> <br> |
| | | |
− | To enter data mode with Direct connect settings: ATD | + | To enter data mode with Direct connect settings: ATD</td> |
− | |-
| + | </tr> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | E
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Local echo
| + | <td>E</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn local echo on: ATE1
| + | <td>Local echo</td> |
| + | <td>Turn local echo on: ATE1<br> |
| | | |
− | Turn local echo off: ATE0 | + | Turn local echo off: ATE0</td> |
− | |-
| + | </tr> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | H
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Hang up current call
| + | <td>H</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | To end data connection: ATH
| + | <td>Hang up current call</td> |
− | |-
| + | <td>To end data connection: ATH</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | O
| + | </tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Return to data mode
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | To return to data mode from command mode: ATO
| + | <td>O</td> |
− | |-
| + | <td>Return to data mode</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Z
| + | <td>To return to data mode from command mode: ATO</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Reset to default configuration
| + | </tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | To reset the modem to default configuration: ATZ
| + | <tr> |
− | |-
| + | <td>Z</td> |
− | |}
| + | <td>Reset to default configuration</td> |
| + | <td>To reset the modem to default configuration: ATZ</td> |
| + | </tr> |
| + | </table> |
| | | |
| ===Modbus gateway=== | | ===Modbus gateway=== |