• English
  • 中文
  • Français
  • Deutsch
  • Español
Contact Us
Home
Email
Follow Prosoft Technology on Twitter
Follow Prosoft Technology on Facebook
Follow Prosoft Technology on LinkedIn
Follow Prosoft Technology on YouTube
    • PROFINET Controller Module for ControlLogix®
    • EtherNet/IP™ to DH+ Gateway
    • Two-Port Building Automation Gateway
  • Solutions
    • Amusement
    • Automated Material Handling
    • Automotive
    • IIoT Solutions
    • Mining and Metals
    • Modernization
    • Oil and Gas Solutions
    • Secure Remote Connectivity
    • Water & Wastewater
  • Produits
    • Accès à distance
    • Solutions Rockwell Automation en châssis
    • Passerelles Autonomes
    • Sans fil industriel
    • Logiciels ProSoft
  • SERVICES ET SUPPORT
    • Knowledge Base
    • Support Technique Local
    • Téléchargements
    • Formation
    • Return Material Instructions
    • Documentation
  • ACTUALITÉS
    • ProSoft Insights (Blog)
    • Podcast
      Knowledge Base / Rockwell In-chassis / ControlLogix / MVI56 Series / MVI56-BAS

      In the MVI56-BAS how can I transfer a string to the CLX Processor?

      Search KB

      Catégories

      • Gateways
      • Rockwell In-chassis
        • Programmable Modules
        • CompactLogix
        • ControlLogix
          • MVI56E Series
          • MVI56 Series
            • MVI56-DNPSNET
            • MVI56-AFC
            • MVI56-MNETC
            • MVI56-GEC
            • MVI56-DNP
            • MVI56-104S
            • MVI56-PDPMV1
            • MVI56-MNET
            • MVI56-DFCM
            • MVI56-MCM
            • MVI56-BAS
            • MVI56-GSC
        • MVI94 - Flex I/O
      • Schneider In-chassis
      • Wireless
      • Accessories
      • Protocols
      • Software
      • Legacy Products
      • Certifications
      • Technical Support
      • Miscellaneous
      • vendredi 14 octobre 2016

      There's no direct way to transfer a string to theControlLogix processor from the basic module, but you can search for all the characters inside the string and send that to the ControlLogixprocessor. A very simple program to do that would be:
      rem $(0) contains the string to send to the processor
      push 0
      call 68
      pop l
      rem the string length is extracted
      push int(l)
      push 201
      call 25
      rem the length is transferred to the processor
      for i=1 to l step 2
      rem all the ASCII chars are extracted
      value = asc($(0),i) + asc($(0),i+1) * 256
      push value
      push int(i/2) + 202
      cal l25
      rem and transferred to the processor
      next i
      call 54
      return

      just call this routine with the desired string in $(0),and that string is going to be transferred to the input image in the CLX processor then in the controller you need to use a rung as showed inthe attached image.ladder logic

      Attachments

      Related Products


Solutions

  • Amusement
  • Automated Material Handling
  • Automotive
  • IIoT Solutions
  • Mining and Metals
  • Modernization
  • Oil and Gas Solutions
  • Secure Remote Connectivity
  • Water & Wastewater

Produits

  • Accès à distance
  • Solutions Rockwell Automation en châssis
  • Passerelles Autonomes
  • Sans fil industriel
  • Logiciels ProSoft

SERVICES ET SUPPORT

  • Knowledge Base
  • Support Technique Local
  • Téléchargements
  • Formation