From OpenSCADAWiki
Jump to: navigation, search

Using the additional dialog you can set:

  • Time intervals of the interface in format of the string "{conn}:{symbol}[-{NextReqMult}][:{KeepAliveTm}[:{rtsDelay1}:{rtsDelay2}]]", where:
    • conn — maximum time of waiting the connecting response, in milliseconds;
    • symbol — maximum time of one symbol, used for the frame end detection, in milliseconds;
    • NextReqMult — next request's multiplicator to the symbol time, 4 by default;
    • KeepAliveTm — keep alive timeout to restart the transport, in seconds; use the value < 0 for stopping the transport after missing response at each request;
    • rtsDelay1 — delay between the transmitter activation with RTS signal and start up of the transmission, in milliseconds;
    • rtsDelay2 — delay between the transmitting and disconnecting the transmitter with RTS signal, in milliseconds.
Can be prioritatile specified into the address field as the second global argument, as such "/dev/rfcomm0:9600||1000:40-20".
  • Do not disconnect at processing. Sometimes the closing of an open device can be destructive, for example, on an ICP-DAS LP PLC, and you can prevent it with this option.
  • [MODEM] Modem parameters. This mode is enabled by the fifth parameter presence of the address and it involves making a call on the phone specified by this parameter at the start time of the transport. After establishing a connection to the remote modem, all transmission requests are sent to the remote modem station. Disconnection of a communication session, with the transport stopping, is carried out according to the activity timeout.
    • Requests timeout of the modem, in seconds.
    • Lifetime of the connection, in seconds. If during this time there will be no data transmission over the transport the connection will be aborted.
    • Delay time before initializing the modem, in seconds.
    • Delay time after initializing the modem, in seconds.
    • First initialization string (typically contains the reset command "ATZ" of the modem).
    • Second initialization string.
    • Result string of the modem's initialization (usually "OK"), with which the modem answers for initializing and which must be expected.
    • Dialling string to the remote modem (usually "ATDT"). When dialing, the phone number is added to this prefix.
    • Result string of the successful connection (usually "CONNECT").
    • Result string of the busy line (usually is "BUSY").
    • Result string of the absence of the carrier in line (usually "NO CARRIER").
    • Result string of the dial tone lack in the line (usually "NO DIALTONE").
    • Exit string from the data mode (usually "+++") and the "Delay time before initializing the modem" is used, after it.
    • Hang up command (usually "+++ATH"). This command is called whenever there is need to break the connection.
    • Result string of the hanging up command (usually "OK"), with which the modem answers to the command and which must be expected.
  • Protocols' specific custom parameters.
  • Reset all the additional parameters to default values and cleanup the protocols' specific custom parameters.