Loading
×Sorry to interrupt
CSS Error
Refresh
Skip to NavigationSkip to Main Content
Community logo. Links to home page.
Close
Search for Questions, Answers & Knowledge Articles
Loading
Don’t see it?Sign in to ask the community
Search for Questions, Answers & Knowledge Articles
End of Search Dialog
Login
  • Home
    • New Product Announcements
    • Community Forum Feedback and Suggestions
    • FW/SW Updates Announcements
    • Testing Section For New Members
    • CM5 Version 9 Beta Testing Feedback
    • CODESYS
    • Node-RED
    • OPC UA
    • Communications Products
    • Open Source Devices
    • Programmable Controllers
    • Field I/O
    • HMI/Industrial Monitors
    • Drives/Motors
    • Motion Control
    • Power Products/Circuit Protection
    • Process Control
    • Relays/Timers
    • Wiring
    • Mechanical
    • Electrical Field Devices
    • CyberSecurity
    • Tools & Test Equipment
    • Barcode / RFID / Vision
    • More Topics...
    • Project Examples
    • Knowledge articles
    • Videos
    • Learning Library
    • eBooks
    • White Papers
    • Automation Notebook
    • Free PLC Online Training
  • Groups
  • Contact Support
  • User Guide
    • CyberSecurity Mission Statement
    • Security Advisories
    • Getting Started CyberSecurity
    • CyberSecurity Best Practices
    • Industrial CyberSecurity Standards
    • Industrial Protocol Considerations
    • Internal Database Security Advisory
  • Return To Store
    • Groups
    • Contact Support
    • User Guide
      • CyberSecurity Mission Statement
      • Security Advisories
      • Getting Started CyberSecurity
      • CyberSecurity Best Practices
      • Industrial CyberSecurity Standards
      • Industrial Protocol Considerations
      • Internal Database Security Advisory
    • Return To Store

Yin (Customer) asked a question.

March 4, 2022 at 12:44 AM
How to determine PLC Port when configuring Panel Manager on Cmore EA9

Cmore EA9 connects to PLC P1AM-100 through P1AM-ETH shield. How to determine the PLC port number on Panel Manager?

Expand Post
  • Screen
    Show more actions
  • P1AM-100
  • C-More

  • Share
  • 2 answers
  • 305 views
  • ADC Community_02 (Automationdirect.com)

    4 years ago

    The default port for Modbus TCP in C-more is 502. In your P1AM-100 for example below line 7 for EthernetServer. We also have an example program available:

    https://github.com/AutomationDirect/P1AM-Examples/tree/master/P1AM-100_ModbusTCP_Server_HMI

    1. IPAddress ip(192, 168,1, 2); //IP Address of the P1AM-ETH module.
    2. boolean MB_C[16]; //Modbus Coil Bits
    3. boolean MB_I[16]; //Modbus Input Bits
    4. int MB_HR[16]; //Modbus Holding Registers
    5. int MB_IR[16]; //Modbus Input Registers
    6.  
    7. EthernetServer server(502);
    8. EthernetClient clients[8];
    9. ModbusTCPServer modbusTCPServer;
    10. int client_cnt;

     

    Expand Post
  • Darr (Customer)

    Edited March 10, 2022 at 1:55 PM

    Modbus also uses 802, according to

    https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt

    Expand Post

Related Questions

Nothing found
Loading

 

Did this information resolve your issue?
Sign Up
  • to receive:
  • FREE e-Newsletter
  • sign up today!
Connect With Us
Company Information
  • About Us
  • Community Guidelines
  • Reviews & Rewards
  • System Integrator Program
  • VARS & International Sales
  • Company Reviews
  • Download Price List
Contact Us
  • Contact Options
  • 1-800-633-0405

  • Monday - Friday
  • 9 a.m. - 6 p.m. ET
  • excluding holidays

Copyright © 1999-2023 AutomationDirect. ALL RIGHTS RESERVED

Loading
How to determine PLC Port when configuring Panel Manager on Cmore EA9