המותגים שלנו

ברוכים הבאים לאתר האינטרנט של שניידר אלקטריק

ברוכים הבאים לאתר שלנו.
		
איך נוכל לעזור לך היום?
Video: How do I read data from a Modbus TCP device using the embedded Ethernet port on a Unity Premium PLC?
Issue:
Programming Modicon Premium PAC to Read Device Data via Ethernet Port

Product Line:
Premium, Unity Pro

Environment:
Unity Pro software

Resolution:



To read data from a Modbus TCP device using the Premium PLC with embedded Ethernet port , follow the steps below:
1. Create a Premium project with an embedded Ethernet port on the CPU
2. Create an Ethernet network under "communication" within the project browser
3. Double click on the newly created network and under the "IP configuration" tab, enter the desired IP address and subnet mask
4. Select the "messaging" tab and check the "XWAY profile" option.
5. Enter an XWAY address and IP address under the connection configuration section. The XWAY address comprises of a network and station number. The network number can be between 0 and 127 and the station number must be          between 100 to 163 for Modbus TCP messaging. Example of XWAY address is 1.101
6. Create a section and add the READ_VAR function block
In the example below, the Premium PLC is reading 5 words starting a 40400 in the remote device

READ_VAR (ADR := ADDR('{1.101}SYS'),
          OBJ := '%MW',                           (* Type of objects to read for Premium PLC: '%MW': internal words *)
          NUM := 400,                              (* Index of the first object to read. *)
          NB := 5,                                      (* Number of objects to read. *)
          GEST := %MW50:4,                  (* Exchange management table *) 
          RECP => receive_buffer);          (* Word table containing the value of the objects read. The length of this array must be greater than or equal to NB*) 

%MW52 := 20;  (* The third word of the management table is managed by the user which defines the maximum response time using a time base of 100 ms.*)

 

If this FAQ did not solve your issue, you can chat with us at chat with us  or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

שניידר אלקטריק ישראל

גלה עוד
טווח:
גלה עוד
טווח:

זקוק לעזרה?

  • התחל כאן!

    מצא תשובות כעת. חפש פתרון בעצמך או פנה אל אחד המומחים שלנו.

  • פניה למחלקת התמיכה

    פנה לצוות שירות הלקוחות שלנו לקבלת מידע נוסף, תמיכה טכנית, סיוע בתלונות ועוד.

  • היכן לקנות?

    אתר בקלות את מפיץ Schneider Electric הקרוב ביותר אליך.

  • גלוש ב'שאלות נפוצות'

    עיין בשאלות הנפוצות לפי נושאים וקבל את התשובות שאתה מחפש.

ברצוני לקבל חדשות ומידע מסחרי מחברת Schneider Electric ומהחברות המסונפות אליה באמצעי תקשורת אלקטרונית, כגון דוא"ל, ואני מסכים לאיסוף מידע על הפתיחה ולחיצות על הודעות דוא"ל אלה (תוך שימוש בפיקסלים לא נראים בתמונות), כדי למדוד את ביצועי התקשורת שלנו ולשפר אותן. לקבלת פרטים נוספים אנא רא את מדיניות שמירה על פרטיות

  • תיעוד מוצרים
  • בורר המוצר
  • מוצרים חלופיים והחלפה
  • מרכז עזרה ויצירת קשר
  • איתור סניפי שניידר אלקטריק
  • היכן לקנות
  • משרות
  • פרופיל חברה
  • דיווח על התנהגות בלתי הולמת
  • נגישות
  • חדר חדשות
  • משקיעים
  • EcoStruxure
  • חיפוש משימה
  • בלוג
  • מדיניות שמירה על פרטיות
  • הודעה על קובצי Cookie
  • תנאי שימוש
  • Change your cookie settings
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.