Commissioning
EL37x2
131
Version: 3.5
• or directly in the System Manager if only one free task is present, see
step 1b [
}
131]
The same settings are to be made in the Scope2 for both cases,
see step 2 [
}
133]
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. 165: 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. 166: 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. 167: 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 EL3702
Page 2: ......
Page 6: ...Table of contents EL37x2 6 Version 3 5...
Page 83: ...Commissioning EL37x2 83 Version 3 5 Fig 92 Incorrect driver settings for the Ethernet port...
Page 142: ...Commissioning EL37x2 142 Version 3 5 Fig 184 Process data tab SM0 EL37x2...
Page 143: ...Commissioning EL37x2 143 Version 3 5 Fig 185 Process data tab SM1 EL37x2...