Vai al contenuto

How to connect a serial barcode to SlimLine controller

Home Forum Controllori SlimLine e Netsyst (LogicLab) How to connect a serial barcode to SlimLine controller

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Autore
    Post
  • #36041
    Sergio Bertana
    Amministratore del forum

    I have a question about the LogicLab Compact CPU IEC61131-3 controller. I need a controller where I can connect a serial barcode scanner and have some digital I/O signals available. The scanner is a RS232, connected to module com port.

    I have a PC program connecting to your controller via TCP/IP, and I a must be able to connect to the serial/usb port and receive the scanned barcodes. According to your webpage the controller has following:

    1 COM Port RS232
    1 Ethernet port 10/100BaseT(x) RJ45
    6 Insulated digital input (1 counter 10kHz)
    2 Analog Input 0-10Vdc
    4 Insulated digital output (Relay or Static)
    1 I2C High-speed Expansion bus

    Do you provide software for a VirtualCOM port connection to the COM port on the controller, or how to connect to the COM port from PC software. Can you please tell me if described functionality is possible ?

    #39679
    Sergio Bertana
    Amministratore del forum

    You can use our LogicLab programmable controllers for your requirements by using the DataStreamExch function block (Manual abstract), here the program printout and source program download (In this topic more informations). On the PC you can open a TCP/IP connection to the TCP port assigned to the FB (In the example is the port 1000). The characters sent to the TCP/IP connection are sent out by the COM port of the controller and viceversa (To test it you can use our Toolly program).

    If you want to use a VirtualCOM instead of the TCP/IP connection you can use the HW VSP3 – Virtual Serial Port, further informations available in this topic.

    About the I/Os, you can manage them with a ModbusTCP commands, otherwise it’s possible to write your own command protocol. Some references how to treat digital inputs are available here, some references how to manage digital outputs are available here.

    Hoping to have been clear enough you can post all the questions you migth have here in the forum.

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Devi essere connesso per rispondere a questo topic.