Commissioning
EL47xx
118
Version: 2.7
• or directly in the System Manager if only one free task is present, see
The same settings are to be made in the Scope2 for both cases,
Recording of a PLC variable with the TwinCAT 2 – Scope2
Step 1a: TwinCAT 2 PLC
Since the channel data are to be used in the PLC, a linkable ARRAY variable must be created there, as
shown in the following example:
Fig. 146: PLC declaration
This then appears in the list in the System Manager; as a rule it can also be reached via ADS without further
measures since PLC variables are always created as ADS symbols in the background.
Fig. 147: PLC in the System Manager
Note: the Scope2 can only "see" such variables in the variable browser if TwinCAT and the PLC are in RUN
mode.
Step 1b: TwinCAT 2 - free task
So that the linking works, an array variable with the channel data must be present in the system manager;
i.e. each oversampling data package must be present in an array. This array variable must be defined and
created manually in the System Manager.
Fig. 148: Add Variable Type
An ARRAY variable of the type as known by the PLC must be created in the syntax as known from the PLC.
In this example an array of 0..9 of type INT, i.e. with 10 fields.
Содержание EL47 Series
Страница 1: ...Documentation EL47xx Analog output terminal with oversampling 2 7 2020 02 27 Version Date...
Страница 2: ......
Страница 33: ...Mounting and wiring EL47xx 33 Version 2 7 Fig 23 Other installation positions...
Страница 70: ...Commissioning EL47xx 70 Version 2 7 Fig 73 Incorrect driver settings for the Ethernet port...
Страница 81: ...Commissioning EL47xx 81 Version 2 7 Fig 92 EtherCAT terminal in the TwinCAT tree left TwinCAT 2 right TwinCAT 3...
Страница 144: ...Commissioning EL47xx 144 Version 2 7 Fig 178 Selecting the EL4732 terminal Fig 179 Terminal in the TwinCAT tree...
Страница 149: ...Commissioning EL47xx 149 Version 2 7 Fig 184 Process data tab SM1 EL47xx...
Страница 156: ...Commissioning EL47xx 156 Version 2 7 Fig 195 Process Data tab adaptation of process data in SM0...