How to use the TRB142 Teltonika modem with the Modicon M241/251 and M262 Controllers in EcoStruxure Machine Expert?
- Modem configuration
First of all, it is strongly recommended to go to Teltonika website and retrieve the latest FW version of the TRB142 Teltonika.
https://wiki.teltonika-networks.com/view/TRB142_Firmware_Downloads
Connect the TRB142 modem to your PC thanks to the USB cable supplied with the modem.
Use the Quick Start Guide available with the modem TRB142 to change configuration of modem.
https://teltonika-networks.com/products/gateways/trb142
To enter the gateway's Web interface, type http://192.168.2.1 into the URL field of your Internet browser.
Use this Login information:
- Username: admin
- Password: admin01
Go to Services >> Serial Utilities >> Modem Control:
From this page, Add a New Instance with the same communication settings as defined in the controller application:
=> Click “Save & Apply”
Note: Mode has to be set on Full Control. In this mode, the TRB142 modem is completely started when the 2G,3G,4G LEDs are blinking and all signal LEDs are OFF.
- Controller configuration
Serial port configuration:
ASCII Manager configuration:
Select Generic Modem and add the following init command:
AT&F;E0;S0=2; S3=13;S4=10;Q0;V1;+CBST=0,0,1;&W;+CMGF=1;+CNMI=2,2,0,0,0
- Function Blocks configuration
How to send a SMS?
To be able to send a SMS, you have to use the Function Block SendSMS and put the phone number between “” as input of the phoneNbpin:
How to receive a SMS?
To be able to receive a SMS, you have to use the Function Block ReceiveSMS and wait for new message. As the parameter CNMI has been set to 2,2,0,0,0 in the init command, a new message will be directly forwarded to the controller.
When executing the function block, it will stay in Busy state until receiving a message as the timeout has been set to 0 (infinite).
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.