PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. daniel123123123
  2. PLCnext Engineer
  3. Thursday, 15 October 2020

Hallo,

eine Frage zur Syntax in PLCnext Engineer:

Wie deklariert man eine Subrange in einem Datentyp?

In der „DIN EN 61131-3“ auf S. 41 ist die Syntax vorgegeben als:


TYPE

ANALOG_DATA: INT(-4095 .. 4095) := 0;

END_TYPE

Wenn ich das so in die Datentypdefiniton in PLCnext eingebe, so erhalte ich den Fehler „Indentifier expected“.
Liebe Grüße,
Daniel

Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hi Daniel,

Unfortunately PLCnext Engineer currently does not support the use of sub-ranges in this context.

Regards,
Martin.

(ref: 201785)

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support

  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.