4plc functionality – Lenze E94AxPExxxx User Manual

Page 76

Advertising
background image

4

PLC functionality

4.8

Appendix

76

Lenze · 9400 Servo PLC· Reference manual · DMS 4.0 EN · 11/2013 · TD05/06

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

4.8.8

Sample collection for code creation with Pragma instruction

Example Bool

Example byte

bCexample: BOOL(* Variable example Bool *)

{parameter list="CodePerPragma"

[index="7000"

subindex="0"

name="Bool example"

variable="bCexample"

MinIntern="0"

MaxIntern="1"

value="0"

MIN="0"

MAX="1"

Unit=""

Scaleroutine=""

Cinh="No"

PlcStop="No"

SHIFTPrg="Yes"

SelectText="0:off;1:on"

DisplayText="bExample"

DisplayNominator=1

DisplayDenominator=1

GDCText="bExample"

accessright="read-write"

Accesslevel="No"

]};

byCExample: BYTE (* Variable example Byte *)

{parameter list="CodestellenPerPragma"

[index="7001"

subindex="0"

name="Byte example"

variable="byCExample"

MinIntern="0"

MaxIntern="15"

value="1"

MIN="0"

MAX="15"

Unit=""

Scaleroutine=""

Cinh="No"

PlcStop="No"

SHIFTPrg="Yes"

SelectText="0:default;1:fixed value 1;2:fixed value 2;3:fixed value 3;4:fixed value 4;5:fixed value 5;6:fixed value 6;

7:fixed value7;8:fixed value 8;9:fixed value 9; 10:fixed value 10;11:fixed value 11;12:fixed value 12; 13:fixed value

13;14:fixed value 14;15:fixed value 15"

DisplayText="byExample"

DisplayNominator=1

DisplayDenominator=1

GDCText="byExample"

accessright="read-write"

Accesslevel="No"

]};

Advertising