Commissioning
EL125x, EL2258
290
Version: 2.5
11:
// 'nScheduleNo' is still 9; wait until 12: 3 more PLC-Taskcycles
IF nScheduleNo = 12 THEN
FOR nChannel:= 0 TO (nNumOfSwitchTasks-1) DO
nNoOfOutputEvents[nChannel] := 10;
// Trigger Multi-Timestamp scheduling: now start:
nOutputOrderCounter[nChannel] := nOutputOrderCounter[nChannel] + 1;
END_FOR
nState := 1;
ELSE
// Just count PLC-Taskcycles here
nScheduleNo := nSche 1;
END_IF
12:
// ================================== End ==========================================
// Wait for external switch to be released
IF NOT bEnable THEN
// Go to beginning state (could be '0' also)
nState := 2;
END_IF
END_CASE
6.9.2
Example program for EL1258 (EL1259): MT Visualization (TC 3)
This sample program uses a TwinCAT3 visualization to illustrate the multi-timestamp functionality of a digital
input of the EL1258 (and accordingly EL1259). In 10x multi-timestamp and asynchronous (buffered) mode,
one terminal input is controlled by a digital EL2002 output terminal. The sample program contains the
EtherCAT configuration and the corresponding links to the PDOs of the terminals and uses channel 1 (the
channel input must be connected to channel output accordingly).
The following structure is recommended for commissioning the sample program:
[EK1100] + [EL1258] + [EL2002] + [EL9011]
Fig. 174: Recommended structure for the EL1258 sample program
Download: https://infosys.beckhoff.com/content/1033/el125x_el2258/Resources/zip/4513278347.zip
The MTI settings for the EL1258 are as follows:
Содержание EL1258
Страница 2: ......
Страница 6: ...Table of contents EL125x EL2258 6 Version 2 5...
Страница 42: ...Mounting and wiring EL125x EL2258 42 Version 2 5 Fig 36 Other installation positions...
Страница 76: ...Commissioning EL125x EL2258 76 Version 2 5 Fig 86 Incorrect driver settings for the Ethernet port...