Jump to content


  • Content Count

  • Joined

  • Last visited

Posts posted by Juandiaza

  1. I would like to work in a project where I can use my samba and get connection using a modem.? 

    Nowadays is hard to find carriers that provide services in 2G, 3G in the US for the Gemalto EHS6T that Unitronics offer to use with devices. I had tried  to get connected in project like send SMS, GPRS but not success. So main carriers like Verizon, AT&T or Tmobile  said that those modules are not compatible with their networks. 

    Some of you Can recommend me a  modem that I can use to my project that It had been used recently in the US?????? 

    Thanks in advanced. 

  2. In my understanding, before to Prepare PLC side modem, I should Initialize PC side Modem first??????? is that correct??????

    if YES, when I try to do it with this AT commands below for  Defaults:    (CINTERION EHS6T modem)

    |||AT+CFUN=0,1 (ERROR)
    WAIT 9
    <PIN CODE>
    WAIT 3
    AT^SCFG="GPRS/ATS0/withAttach","off" (ERROR)
    WAIT 3
    AT^SGCONF=540,8 (ERROR)
    AT^SCFG="Radio/Band/HandOver",1 (ERROR)


    I got the last Visiologic Version 9.8.65 recommended by Unitronics Support 

    The SMS module works good but I need to initialize in order to connect to the PLC via modem and need to turn ON some Memory Bit and create the logic ladder.

    I got ERROR in all those AT command (Please see ERRORs in AT command)

    I already tested the SMS Module and It works good, and I run some of the AT command like 

    1) ATI1



    REVISION 03.001

    A-REVISION 00.000.42





    +CREG: 0,1

    and others AT command, everything looks good but when start to run the AT commands from VISIOLOGIC the errors won't let finish the initialization in order to activate the SB and MB necessary to beging the program.

    Any suggestions are welcome 

    Thanks a lot 

  3. Because What happens is when trying to run in Visiologic modem services for my modem in this case CINTERION EHS6T and put the correct com port in my case COM1  and so on.

    It says The EHST6 modem firmware MUST be version 03.001. For more information click help. But it let me keep moving to next step and when finally hit Initialize  PC side Modem

    It says:

    1- Open port 1 9600,N,8,1                                                                                                              27.- Modem Output AT&D1&C1

    2- Modem Output AT (Baud Rate:9600)                                                                                 28.- Modem Input OK

    3.- Modem Output AT +IPR = 9600                                                                                          29.- Modem Output AT + CLIP=1

    4.- Modem Input OK                                                                                                                           30.- Modem Input OK

    5.- Close port                                                                                                                                            31.- Modem Output AT SCFG="GPRS/ATS0/WithAttach","off"

    6.- Open port 1,9600,N,8,1                                                                                                              32.- Modem Input ERROR

    7.- Modem output AT                                                                                                                          33.- Modem Output ATSO=1

    8.- Modem Input OK                                                                                                                           34.- Modem Input OK

    9.- Modem Output +++                                                                                                                      35.- Modem Output AT + CSNS = 4

    10.- Modem Output  ATH                                                                                                                 36.- Modem Input OK

    11.- Modem Input OK                                                                                                                         37.- Modem Output AT*SCFG="Tcp/WithURCs","off"

    12.- Modem Output AT + CFUN = 0,1                                                                                       38.- Modem Input *SCFG:"Tcp/With URCs", "off" OK

    13. Modem Input ERROR                                                                                                                 39.- Modem Output AT*SGCONF = 540,8

    14.- Modem Output AT                                                                                                                        40.- Modem Input ERROR

    15.- Modem Input OK                                                                                                                          41.- Modem Output AT*SCFG="Radio/Band/Handover",1

    16.- Modem Output +++                                                                                                                    42.- Modem Input ERROR

    17.- Modem Output ATH                                                                                                                   43.- Close port

    18.- Modem Input OK                                                                                                                          44.- Close port

    19.- Modem Output AT + CFUN = 0,1

    20.- Modem Input ERROR

    21.- Modem Output AT

    22.- Moden Input OK

    23.- Modem Output <PIN CODE>

    24.- Modem Input

    25.- Modem Output ATI

    26.- Modem Input  CINTERION EHS6 Revision 03.001 OK

    NOTE:  pops up and says Modem Operation failed - Modem not Initialized

    What Do you think is going on? any suggestion or recommendation? 


    thanks a lot

  4. I am trying to activate my modem GEMALTO in my Samba 4.3" but I couldn't yet because the provider phone company AT&T ask me what is the IMEI number device and I got this info (See info below).

    The sticker device says: CINTERION EHS6T


    Barcode: S30960-S2740-A100 (Top Barcode)

                          357042063006721 (Under barcode) both have 15 digits, I assume that one of this is the IMEI number and tried to activate the SIM card but It won't work, So 

    Does anybody have an idea which one is IMEI number???? 

    I am living in the US if anybody has a suggestion which provider Can I use for? 

    I appreciate your help.


  5.  Flex727 and Joe Tauser,

    Thank you for taking your time to had helped me. I already figured it out.

    You know what It was. I put the logic ladder in lots subroutine in order to organize my sequence but it won't work like that. I put them in Main Routine and now works perfectly. 

    Now, I am going to pass everything because timer won't work either.


  6. MB 0 is the main button for "1520 Line" you can see it in the first picture on this post in red color. The purpose for this button is once you hit it is able to show to the opartor the Line Assembly  (SEE picture next #3) and then allows their report the failure in a specific workstation. I want to hide MB 0 in my HMI if the line is down for some reason through pushbutton MB 40. With respect to Why is my pushbutton assigned to MB 40 because I want to change the state of MB53 once toggle pushbutton is disabled on state "1" .


  7. I am trying to change the status of my "Binary image / switch MB 53 (SEE THE FIRST PRT SC "PRINT SCREEN")the little green light under 1520 Line" once you hit a toggle binary Text  image / switch you can see it on SECOND PRT SC right after first.  But if you notice MB 53 is SET when the machine is Enable and then when you want to reset it because the machine is disabled  MB 53 still SET and won't change the status to red on my HMI. 

    What do you guys recommend me to do over the Ladder in order to SET and RESET MB 53??????????????

    Thanks in advanced 








  8. After being installed my Ethernet card on my device. The next level for my project is included Text messages to the mechanics everytime that line's production is down for failures. I would like to programme the logic that allows people call for help to somebody else at the workplace.

    First question:  Do I need a GSM modem in order to do this????

    in case of Yes, I checked the website and found this two models:

      Article Description


    I wondering if doesn't matter any of these work with Samba PLC and I assume that I need a SIM card 3G as well or it comes with the KIT?????? 

    Thanks in advance 


  9. Hey guys, I got a success connection between my PLC and yhe Apps after several times. What I did was get all the info through Command Prompt and use the IPv4s Address in this case was (preferred) and set up on computer and my phone and was able to communicate each other using the same LAN. I tried to connect using different LAN it won't work. 

    Thanks to all for your useful comments. It help me a lot. 

  10. I don't know What I am doing wrong but I can't connect my PLC via Remote Operator. I did it as help said 


    My IP address is


    Socket 1 and Port 20256


    over the App I set up like this


    But when I Check PLC Connection said "Connection to PLC Failed"

    Any suggestions for this????????

    Thanks in advanced  


    Uploaded Images



    132 kb · Done



    122 kb · Done



    121 kb · Done

  11. Hi, everyone 

    I need some help to connect my incremental encoder 600 p/min 24 volts to my project 

    I'd been trying to connect my encoder in order to read the pulses on my HMI but I don't know how I do that?????? 

    I wire it up as the schematic. The encoder comes with 4 wires Red, Black, Green, and White.

    Red = Vcc = here I linked + 24 volts

    Black = 0 = here I linked 0 Volts

    Green = Phase A = I linked with Input terminal block (I 0 ) as show schematic PLC diagram

    White = Phase B = I linked with Input terminal block (I 1 ) as show schematic PLC diagram

    My question is If I want to see the pulses over the HMI. How Can I do that? 

    I know that question might sound pretty easy but I tried with a (variable : numeric)  over my HMI but the value doesn't increase or decrease. It keep in 0

    Once I can see the value. I would like to make a curve graph to see over it.  How to increase and decrease those values.


  12. Hello, I am new in all of this PLC field but I want to start with small projects in order to get some experience and then moving on bigger projects.

    I want to put a graph in my HMI (I actually did it a  Variable thermometer Graph MI 12) and see the real temperature value over the graph. According to the Analog Input Wiring, I know that my input (9) AN0 and input (10) AN1 are the inputs.  First question: When I start to wire up. Do I just put a wire in AN0 and the other in AN1???? or should be connecting in parallel with V
    + one side and the other side with 0 -  references?????

    And I know that I have to configure this inputs in my HW configuration. in Analog input I put:         No.     Type           Filter         Mode          Op       Addr         Description

                                                                                                                                                                                                                            0        0-10V        No filter                          MI         4                Thermocouple wire +

                                                                                                                                                                                                                            1        0-10 V      No filter                           MI         5                Thermocouple wire -

                                                                                                                                                                                                                          Can you guys check if this configuration is Ok? I appreciate the help!!!! I am not sure if I have to                                                                                                                                                                                                                                       link this with MI 4 or MI 5 with the thermometer graph above???

    The last question is Do I have to Linearization in my ladder in order to scale values?   if Yes, which variable Do I have to attach the linearization?????


    Thanks a lot 

    sorry for mistakes my English is not my first language.


  • Create New...