Set an APN on an X2 Data Logger Using CONNECT


Users who have sourced their own mobile data accounts and installed a SIM card may need to configure the associated APN in the X2 logger using CONNECT software.

Power Up RTU

  1. Connect the X2 logger to a PC and launch the CONNECT software. Test connection by reading the RTC clock of the logger in the CONFIG tab.
  2. Navigate to Tool | X2 RTU | Cellular within CONNECT.

Navigate to Tool | X2 RTU | Cellular.

 

  1. Select Turn Power ON to startup the X2’s RTU.
    1. Note that this process may take up to 30 seconds to complete (15-sec typical).
    2. The RTU will power down every 10 minutes and will require the RTU power to be turned on again.
    3. If this fails, verify the selected COM port is correct and retry.
    4. A message will appear to confirm once RTU Power is successfully turned on.

Turn on the X2 RTU power.

 

Verify Current APN Settings

  1. To confirm the active APN settings, select and send the AT+CGDCONT? command from the Direct Command list.

Response to AT+CGDCONT? command displaying the modem’s currently configured APN profiles.

 

  1. Depending on the model of cellular X2, the system will actively use either the 1st or 3rd APN setting profiles on the modem.
    1. Most 4G AT&T and International models will use the 1st APN profile.
    2. All Verizon 4G modems will use the 3rd APN profile.

 

Configure New APN Settings

  1. In the PDP Context field of the menu, enter the following information:
    1. CID.
      • Select 1 if the system has an AT&T or International-type modem installed.
      • Select 3 if the system is using a Verizon modem.
        • For model ME90G1-WW, the cid must be confirmed by the service provider. Options range from 0 to 6 for this worldwide modem.
  1. PDP Type – select IP as the default. If the IP setting does not work, try IPV4V6 followed by the other options, as this may differ depending on service provider.

 

  1. APN
    1. Choose from a variety of pre-selected APN values.

Pre-selected APN list.

 

    1. If the required APN is not on the list, which will often be the case, enter the proper APN enclosed in quotations.

Example of setting a custom APN on a 4G Verizon X2.

 

  1. Active cid
    1. In most instances, only one cid will be necessary and this cid will match the Active cid. However, it is possible to set two different PDP contexts with varying cids. If this is the case, ensure to set the proper Active cid for communication.
  2. Once the values are entered, click Set. Once the settings are committed, a prompt will appear indicating it was successful.
  1. It is recommended to read back the APN settings via the AT+CGDCONT? direct command following the change to verify they are properly listed on the modem.

 

Test Network Connection

After the modem APN settings have been configured, test the modem’s network connection.

  1. Send the AT+CMEE=2 Direct AT command to turn on extended error codes.

Turn on extended error code responses in the modem.

 

  1. Read the Signal Quality of the system to verify it is within the -51 dBm to -90 dBm range.

Verify the signal strength is adequate.

 

  1. Send either the AT#SGACT=1,1 (for AT&T/International) or AT#SGACT=3,1 (for Verizon) direct commands to query the modem to connect to the network and resolve an IP address.
    1. If using the ME90G1-WW model, send the command manually using the Active cid number, unless the Active cid is either a 1 or 3.
      • Example: AT#SGACT=4,1

Successful connection of a Verizon modem, indicated by the return of an IP address.

 

    1. Successful connections will display the IP address the modem was assigned during its connection request.
    2. Connections that fail will display one of many messages (facilitated by the extended error code activation in step 1). Some common ones are:
      1. SIM not inserted – indicates a loose or improperly installed SIM card in the modem.
      2. Activation Failed – generally a cellular account setup issue.
      3. Requested Service Option not subscribed – generally a cellular account setup issue.
      4. Unspecified GPRS error – typically a cellular account setup issue or an incompatibility between the network in use and the supported cell modem/antenna bands.
  1. [Optional] After the modem has returned an IP address successfully, test the system’s ability to contact the WQData LIVE Data Center via the AT#PING=wqdatalive.com direct command.

Modem successfully pinged WQData LIVE.

 

 

 

Additional Features

 

Modem Firmware Switch Command (For LE910C1-NF Modems)

The LE910C1-NF modem has the ability to switch between Verizon and AT&T modes with a single command. Toggle by entering the following commands in the Direct Command section:

  1. Send the AT#CGMM to return the model name of the installed modem.
    1. If the logger contains the LE910C1-NF model, continue to step 2.
    2. If the logger contains a different modem model, continue to Verify Current APN Settings.

CONNECT view modem model command.

 

  1. Check which mode the modem is currently in by entering: AT#FWSWITCH?

Check current mode command. Current mode is Verizon.

 

  1. Change the mode by entering:
    1. AT#FWSWITCH=1,1 (Verizon)
    2. AT#FWSWITCH=0,1 (AT&T/International)
      • At this point, complete the update by cycling power (turn off and on) the modem.

Change from Verizon to AT&T/International mode.

 

  1. Resend the AT#FWSWITCH? to ensure a successful change.

Confirm successful mode change.

 

Change the active SIM card holder on ME90G1-WW

The ME90G1-WW worldwide modem contains two SIM card holders. If cellular service is purchased through NexSens, a SIM will be inserted into the SIM holder 0 slot, which is active by default. However, if cellular service is not purchased through NexSens, a SIM will be inserted into the SIM holder 1 slot as a backup. If it is necessary to use this SIM instead of the user-installed SIM, follow the steps below to switch the active slot from 0 to 1.

ME90G1-WW modem SIM card holder diagram.

 

  1. In the Modem Info section, read and record the current active SIM ID on the modem.

Read back cell modem IMEI and SIM ID – useful for verifying account setup information with a service provider.

 

  1. In the Direct Command section, enter the following command to disable the current active SIM card holder.
    • AT#SIMDET=0
      • An “OK” response should occur after each command.
  2. To switch from SIM holder 0 to SIM holder 1, send:
    • AT#GPIO=8,1,1,1
      • The SIM holder slot 1 is now the active slot.
  3. Enable the active SIM card holder by sending:
    • AT#SIMDET=1
      • SIM holder 1 is enabled.
  4. To save the settings in volatile memory, send:
    • AT&W

Check that the active SIM holder slot has changed by reading the SIM ID in the Modem Info area, which should show a new SIM ID. The SIM holder slot can be changed back to slot 0 by replacing the command in step #3 with AT#GPIO=8,0,1,1 instead.

 

Note: To speed up cellular registration, after entering and saving the proper APN information, set the Active cid to the cid selected in the PDP context.