USER MANUAL – Z-TWS4/Z-PASS2-S/S6001-RTU
185
(NOTE: this only means that the command was successfully sent
and the response was successfully received;
it does not necessarily mean that the AT command was
successfully executed;
in other words, it is up to the application to tell if the
response means success or failure)
2, if timeout has expired
4, if PPP is active, on Z-MINIRTU
5, if MODEM_RESET FB is running
- RESPONSE : the response to the AT command, as sent by the modem; it can
contain more lines, separated by a '\' character;
if the whole response is longer than 255 characters, it will be truncated.
Please note that the MODEM_CTRL FB can't be successfully executed while the PPP
connection is active, on Z-MINIRTU.
This FB cannot be used (i.e.: it won't work) in the following situations:
- if modem is set to send numeric result codes (see "ATV" command)
- for commands using a prompt (e.g.: "AT+CMGS" command)
- for call-handling commands (e.g.: "ATD", "ATA", "ATH").
19.1.10
MODEM_ONOFF
This FB permits to control the power ON/OFF digital input of the MODEM.
The params are :
ON_OFF : if True power-up the modem
@ENABLE : if True the FB is executed
RESULT : -2 FB executed with @ENABLE set to False
-1 Error
0 operation not completed
+1 OK
+2 modem is already ON/OFF
19.1.11
MODEM_RESET
Summary of Contents for S6001-RTU
Page 35: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 35 Then import the Library menu Tools Import...
Page 68: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 68...
Page 76: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 76...
Page 86: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 86...
Page 87: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 87...
Page 121: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 121...
Page 133: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 133...
Page 162: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 162 Select the mbus_shm csv file...