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.
Summary of Contents for EL47 Series
Page 1: ...Documentation EL47xx Analog output terminal with oversampling 2 7 2020 02 27 Version Date...
Page 2: ......
Page 33: ...Mounting and wiring EL47xx 33 Version 2 7 Fig 23 Other installation positions...
Page 70: ...Commissioning EL47xx 70 Version 2 7 Fig 73 Incorrect driver settings for the Ethernet port...
Page 149: ...Commissioning EL47xx 149 Version 2 7 Fig 184 Process data tab SM1 EL47xx...