BCS Tools/Nexto – Analog I/O NX6000, NX6100

Transcription

BCS Tools/Nexto – Analog I/O NX6000, NX6100
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
1 Function and area of use
This Start Up document describes the necessary steps to be taken when configuring analog
I/O in a Nexto system.
2 About this Start Up document
This Start Up document should not be considered as a complete manual. It is an aid to be
able to start up a normal application quickly and easily.
In this document the following software and hardware has been used.
Software
 BCS Tools 1.40
Hardware
 Beijer Electronics NX3010 (CPU)
 Beijer Electronics NX6000 (Analog input)
 Beijer Electronics NX6001 (Analog output)
This document and other Start Up documents can be obtained from our homepage.
Please use the address [email protected] for feedback on our Start Up documents.
Page 1 (26)
                                                                                

Beijer Electronics Automation AB  a company in the Beijer Electronics Group
Parent Company (Reg. office)
Beijer Electronics Automation AB
P.O. Box 426
SE-201 24 MALMÖ, SWEDEN
Telephone +46 40 35 86 00
Fax +46 40 93 23 01
Visitor’s address Stora Varvsgatan 13A, Malmö
Subsidiaries
Norway, Drammen: Beijer Electronics AS,  +47 32 24 30 00
Finland, Helsinki: Beijer Electronics Oy,  +358 207 46 35 40
Denmark, Copenhagen: Beijer Electronics A/S,  +45 70 26 46 46
Estonia, Tallin: Beijer Electronics Eesti Oü,  +372 6 518140
Latvia, Riga: Beijer Electronics SIA,  +371 7 842280
Lithuania, Vilnius: Beijer Electronics UAB,  +370 5 2323101
Reg no. 556701-3965 VAT no SE556701-3965-01, Internet www.beijer.se, e-mail [email protected]
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
KI_eng.dot, 070221
3 Table of Contents
1
Function and area of use .................................................................................................................... 1
2
About this Start Up document ........................................................................................................... 1
3
Table of Contents ................................................................................................................................ 2
4
Overview .............................................................................................................................................. 3
5
Configuration in BCS Tools ............................................................................................................... 3
5.1
Create a new project ..................................................................................................................... 4
5.2
Configure the analog I/O modules................................................................................................ 7
6
NX6000, 8 analog inputs..................................................................................................................... 9
6.1
Specifications ................................................................................................................................ 9
6.2
Terminal layout ........................................................................................................................... 10
6.3
Wiring ......................................................................................................................................... 11
6.4
Configuration in BCS Tools........................................................................................................ 13
7
NX6100, 4 analog outputs................................................................................................................. 15
7.1
Specifications .............................................................................................................................. 15
7.2
Terminal layout ........................................................................................................................... 16
7.3
Wiring ......................................................................................................................................... 17
7.4
Configuration in BCS Tools........................................................................................................ 17
7.4
Configuration in BCS Tools........................................................................................................ 18
8
Configuration and consumption...................................................................................................... 19
9
Troubleshooting ................................................................................................................................ 20
9.1
Diagnostic structures .................................................................................................................. 20
9.2
OTD and LED information ......................................................................................................... 21
9.3
Diagnostics using the Diagnostic Explorer in BCS Tools .......................................................... 24
9.4
Diagnostics using the web browser ............................................................................................ 25
www.beijer.se
2 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
4 Overview
This is the basic configuration. As it can be seen in the figure below, the digital I/O modules
used in the system are dragged and dropped to the main base unit where they are located.
KI_eng.dot, 070221
5 Configuration in BCS Tools
www.beijer.se
3 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
5.1 Create a new project
Create a new project from the File menu.
Choose the path of where the project should be created and the standard template.
KI_eng.dot, 070221
Choose the cpu, rack and power supply model.
www.beijer.se
4 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
Choose the project profile, in this case the basic is being used.
In the Basic project profile, the application has a user task from the Freewheeling type called
MainTask which executes the program in a continuous loop (with no definition of cycle time)
with priority fixed in 13. This task is responsible for the execution of a single programming
unit POU called MainPrg. It is important to stress that the cycle time can vary according with
communication task quantity used, as in this mode, the main task is interrupted by
communication tasks.
This profile allows the inclusion of two interruption tasks with higher priority which can
preempt the MainTask at any moment: the task called ExternInterruptTask00 is an
interruption task from the Extern type with priority fixed in 02; the task called
TimeInterruptTask00 is an interruption task from the cyclic type with priority fixed in 1.
KI_eng.dot, 070221
For details about the other profiles refer to the CPU User’s manual.
www.beijer.se
5 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
Choose the prefered programming language for the freewheeling task.
KI_eng.dot, 070221
Choose the prefered programming language for the interrupt tasks.
www.beijer.se
6 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
5.2 Configure the analog I/O modules
When the wizard is completed the following view appears, this is where the hardware
configuration of the system is made.
KI_eng.dot, 070221
The available modules are located in the Product library view, click Digital I/O group and
drag the digital modules to the desired slot.
www.beijer.se
7 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
In this example the following modules will be used:
NX6000, 8 analog inputs
NX6100, 4 analog outputs
KI_eng.dot, 070221
To select the Master address and baudrate click the NX5001 from the hardware
configuration view or from the project tree view.
www.beijer.se
8 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
6 NX6000, 8 analog inputs
The NX6000 is a module with 8 analog inputs. The module handles both voltage and current
type transmitters
6.1 Specifications
KI_eng.dot, 070221
By default 0-30000 represents min and max value of the chosen signaltype.
www.beijer.se
9 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
KI_eng.dot, 070221
6.2 Terminal layout
www.beijer.se
10 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
KI_eng.dot, 070221
6.3 Wiring
www.beijer.se
11 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
KI_eng.dot, 070221
Details of how to connect a current 2-wire transmitter.
www.beijer.se
12 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
6.4 Configuration in BCS Tools
To make settings and connect variables to the inputs double click the module in the
hardware configuration view.
Noise Suppresion Filter = Set the filter to the frequency used in your country. Keep in mind
that enabling the Noise Suppression Filter includes a delay per input. Consult User’s manual
for more details.
Input XX
Type = Set the signal type.
Min/Max Value = Valid input is-30000 – 30000. The engineering value can be set but keep
in mind that the output signal is of INT type, therefore any decimals will be truncated.
Recommended setting is 0 – 30000 and then use a scaling function in the program code.
To achieve the highest possible resolution use -30000 – 30000.
Digital Filter = Digital filter enabling a delay of the input.
Open Loop value = When the module detects a open loop a specific value and behaviour can
be set.
KI_eng.dot, 070221
Alarms = Alarms can be generated by the module using user defined thresholds. Each
threshold has a specific diagnostic bit that will be set when the alarm is active. Consult
User’s manual for more details.
www.beijer.se
13 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
KI_eng.dot, 070221
To connect the user variable to the analog inputs click the Bus I/O mapping tab and connect
the user created variables.
www.beijer.se
14 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
7 NX6100, 4 analog outputs
The NX6100 is a module with 4 analog outputs. The module handles both voltage and
current signal type.
7.1 Specifications
KI_eng.dot, 070221
By default 0-30000 represents min and max value of the chosen signaltype.
www.beijer.se
15 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
KI_eng.dot, 070221
7.2 Terminal layout
www.beijer.se
16 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
7.3 Wiring
KI_eng.dot, 070221
7.4
www.beijer.se
17 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
Configuration in BCS Tools
To make settings and connect variables to the analog outputs double click the module in the
hardware configuration view.
Output XX
Type = Set the signal type.
Min/Max Value = Valid input is-30000 – 30000. The engineering value can be set but keep
in mind that the output signal is of INT type, therefore any decimals will be truncated.
Recommended setting is 0 – 30000 and then use a scaling function in the program code.
To achieve the highest possible resolution use -30000 – 30000.
Output behaviour on CPU Stop Mode = When the cpu is in STOP mode a user value can
be set for the output by setting this option to TRUE.
User defined output value = The output value when the user defined output value has been
enabled.
KI_eng.dot, 070221
To connect the user variables to the analog outputs click the Bus I/O mapping tab and
connect the user created variables.
www.beijer.se
18 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
8 Configuration and consumption
To get a detailed view of the hardware configuration and also the consumption of the system
current the tool Configuration and consumption is available in BCS Tools.
This view shows all installed modules and also the total consumption the modules consume
from the power supply, NX8000.
KI_eng.dot, 070221
The NX8000 is able to provide 6A
www.beijer.se
19 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
9 Troubleshooting
To troubleshoot and get diagnostics from the Nexto system there are several possibilities
available.

Diagnostics structures, created automaticly in BCS Tools.

The OTD, One Touch Diagnostics function and LED:s on the NX5001 module.

Diagnostics via the WWW page in the cpu.
9.1 Diagnostic structures
When the modules are inserted a data structure is created automaticly located in a list named
Diagnostics. This list will be populated with diagnostics structures for all hardware inserted
in BCS Tools.
KI_eng.dot, 070221
In this case there is a Open loop in channel 1 of the NX6000 module.
www.beijer.se
20 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
9.2 OTD and LED information
All modules in a Nexto system has a display. The 0 and 1 to the left of the display are used
for grouping the I/O:s and the 0 – 7 to the right are indicators for the input or output signal.
KI_eng.dot, 070221
The D and E led are common to all modules.
www.beijer.se
21 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
When there is diagnostics available the letter D will blink on the display and the cpu will
display the number of diagnostic messages available and the DG led will blink 2x fast
CPU and NX5001 display.
DG 1 indicates that there is one diagnostic message available.
To check the diagnostic message in the display just press the OTD button on the I/O
module, located on the top of the module.
Diagnostic
KI_eng.dot, 070221
The diagnostics available will be displayed according to the following flowchart.
www.beijer.se
22 (26)
KI_eng.dot, 070221
BCS Tools/Nexto – Analog I/O NX6000, NX6100
www.beijer.se
KI00347B 2014-04
23 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
9.3 Diagnostics using the Diagnostic Explorer in BCS Tools
Double click the Diagnostic Explorer in the project tree.
Modules with diagnostics will blink with a red colour. Click on the module with diagnostics
to get details.
Click the row with diagnostics
KI_eng.dot, 070221
In this case there is a open loop in channel 1 of the NX6000.
www.beijer.se
24 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
9.4 Diagnostics using the web browser
Start a webbrowser and type in the IP-address of the Nexto system.
Click the System Overview tab.
KI_eng.dot, 070221
Modules with diagnostics will blink with a red colour. Click on the NX6000 module.
www.beijer.se
25 (26)
BCS Tools/Nexto – Analog I/O NX6000, NX6100
KI00347B 2014-04
A diagnostic list from the NX6000 will be shown, click the row to get details.
KI_eng.dot, 070221
In this case there is a open loop in channel 1 of the NX6000.
www.beijer.se
26 (26)