Search the Community

Showing results for tags 'hostlink'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 6 results

  1. I am trying to connect a Panel PC (Bartec RS-422) and an Omron PLC (CJ2H RS-232) I am using a Kinematics 2199 RS232 to RS422 converter. Results: Testing software Multiway v9.5 1) Using a usb to rs-232 cable on another PC     - I am able to send and receive a hostlink commands between the panel rs-422 converter and the PC rs-232. commands come through correctly 2) Using the PC to connect to the PLC     - If I connect directly to the PLC using the usb to serial cable and a short adapter I made to map the Omron PLC pin out 2-2,3-3, 5-9, I can send and receive hostlink commands to the PLC. Everything works as expected 3) Using the Panel and the USB Cable    - If I connect the usb converter to the Panel I am also able to communicate with the PLC 4) using the RS-422 port on the Panel     - If I connect the panel RS-422 port and converter and then connect to the PLC. I can only send commands; I cannot get any responses come through from the PLC. My converter box has LEDs on the RX and TX channels and I can see the PLC tries to send something. But something must be corrupted as multiway does not show and response.  I have tried a bunch of things but I am at a loss on how to diagnose this issue. Since I can get the two PCs talking to each other sending and receiving, I can rule out any wiring issue between the converter box and Panel.  Since I can plug the USB into the Panel and get it to work correctly, I can rule out any operating system issues and PLC configuration issues. The only link I cannot verify is that from the converter box to the PLC, I am not sure if the PLC can push hostlink data that has not been requested.  I have no idea why I can write to the PLC but not read. If anyone can provide any insights, I would greatly appreciate it, It has been two days and I am stuck. I am looking at maybe getting a logic analyzer to try and see what the PLC is sending back, but that will be months away.  I am happy to try any suggestions       
  2. HOSTLink read multiple DMs

      Hello,    I am using Hostlink protocol to read data from PLC units. for example @00RD22220001..., will return DM2222's value. But I want to know, if I could read multiple DM values at the same time. for example: DM2222, DM3000, DM4000, reading these DMs with one communication. Please note that these are not continuous DM areas. I know a sequence of DMs can be read by specifying starting address and count.   Many thanks in advance.   Ting              
  3. CPU to Advaced HMI slow response

    HI all,  I have connected my CJ2M-CPU13 to Advanced HMI software via Hostlink (19200,7,2,E ) .  I connected to the serial port in CPU and just used ( didnt write any code or formating).   The HMI response is very slow ( almost 2+seconds).  I am not sure whats is wrong, Is it because i am using more words?  Anybody had this encountered this problem? Appreciate all suggestions and advices.    
  4. C-mode hostlink library for NJ/NX1P or CP1L

    Anyone knows if there is a C-mode hostlink library for NJ/NX ? Also, a C-mode hostlink library for CP1L could be helpful, to translate such a library to work with NX1P is probaly less work whan writing a new library.  Maybe Omron France has developed such a library? - they seem very active..   Background: Looking into writing a programmatic c-mode hostlink master for NX1P12, this is for connecting the handheld NSH5 HMI to the NX1P12 via RS232C using a CIF01. I have the hardware set up, and an machine built, expected some compatibility efforts by Omron.... but the NSH5 seems to talk C-mode hostlink, and the CIF01 only seems to support the FINS version hostlink.   On the NJ you can of course add an SCU module, thus not need a library.  But working with NX1 ( due to limited space available ), you are dependet on available CIF-modules which do not support C-mode hostlink.  
  5. Hello admin, Im new to PLC domain , i have one OMRON CP1E N30 with in built RS 232 port and ladder program to run in Homing and forward and reverse motion. I want to control the PLC from a computer using RS 232 communication. From what little i read from manual supplied for programming ,i came to know that there are two type of commands C mode as well as Fins commands. My doubt is whether these commands can read/write CIO memory addresses that are used to set and reset the motor enable/disable in ladder program through CX programmer software? for example: in my ladder program CIO memory address 30.00 is the motor enable/disable address so if i want to control externally from a PC to enable/disable the motor ,which commands should i use and is there a format to send these commands as well as the value. I am planning to build a GUI in Labview to cotrol the PLC via Serial RS 232 . How can i do it ? Thanks in advance.
  6. HOSTLINK Problem

     I  am doing  a data collection from  OMRON PLC CP1L through MS excel VBA  use API function. The connection was setuped correct (I think)both in PLC and PC side. The trick things is   when PLC have USB cable connected  the data  was send to PLC and can get feedback through RS232 in normal.(I use portmon moniter the progress,and I can see the data (C-command ).But when I get the USB cable removed  ,The PLC can not get any reponse back.Dose any of you have met that  before?