Hi,
Bin mit der Structur TYPE EASY_NET_DEVICE am basteln:
TYPE EASY_NET_DEVICE : (* prefix: endev - Values written by the easy-NET protocol task ! *)
STRUCT
xDeviceAvailable : BOOL; (* Device is available on the bus, and connected to at least one other device.*)
xProgram : BOOL; (* TRUE = device holds a programm; FALSE = device is a passive IO-device.*)
xRUN : BOOL; (* TRUE = device is running; FALSE = device is stopped.*)
byDelay : BYTE; (* Not used for XC-Devices.*)
END_STRUCT
END_TYPE
Nun die Frage wie uebergebe ich der Structur, den Teilnehmer den ich abfragen moechte. Also Net_2...,Net_3 usw. ?