0% found this document useful (0 votes)
29 views32 pages

Series: Ethercat Manual

Uploaded by

Shahin Sarker
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views32 pages

Series: Ethercat Manual

Uploaded by

Shahin Sarker
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Series

Programmable DC Power Supplies

GH1kW in 1U Half-Rack 0-600V / 0-100A


GH1.5kW in 1U Half-Rack 0-600V / 0-150A
G1kW in 1U 0-600V / 0-100A
G1.7kW in 1U 0-600V / 0-170A
G2.7kW in 1U 0-600V / 0-265A
G3.4kW in 1U 0-600V / 0-340A
G5kW in 1U 0-600V / 0-500A
GSP10kW in 2U 0-600V / 0-1000A
GSP15kW in 3U 0-600V / 0-1500A

Built in compliant LAN, USB, RS-232 & RS-485 Interface


Optional Interface: IEEE488.2 (GPIB), MODBUS TCP or EtherCAT

EtherCAT MANUAL

Manual Supplements
The full user manual is available on TDK-Lambda website or can be ordered, refer to User manual IA761-04-02_.

Modbus® is a registered trademark of Schneider Electric, licensed to the Modbus Organization, Inc.

EtherCAT® is a registered trademark and patented technology, licensed by Beckhoff Automation GmbH,
Germany.
IA761-04-05
This page intentionally left blank
TABLE OF CONTENTS
CHAPTER 1: GENERAL INFORMATION ......................................................................... 1
1.1 Introduction ................................................................................................................. 1
1.2 Feature Summary....................................................................................................... 1

CHAPTER 2: SPECIFICATIONS ...................................................................................... 2


2.1 Power Supply Specifications ...................................................................................... 2
2.2 EtherCAT Specifications ............................................................................................ 2
2.3 EtherCAT (CoE) Command Speed ............................................................................ 3

CHAPTER 3: SELECT CONTROL METHOD ................................................................... 5


3.1 A Variety of Control Methods ..................................................................................... 5
3.2 EtherCAT, LAN, LOCAL, Serial or Analog Control .................................................... 5
3.2.1 Select Local (Front Panel) Mode .................................................................. 5
3.2.2 Select RS232/485, USB (Serial) or LAN Remote Mode ............................... 6
3.2.3 Select EtherCAT Remote Mode ................................................................... 6
3.3 EtherCAT Interface Option Rear Panel View ............................................................. 7
3.4 EtherCAT Cable ......................................................................................................... 8
3.5 Power-up the EtherCAT Power Supply ...................................................................... 8
3.6 View the MAC Addresses........................................................................................... 8
3.7 EtherCAT Reset ......................................................................................................... 8

CHAPTER 4: PROGRAMMING USING TWINCAT 3 ........................................................ 9


4.1 Establish TwinCAT Communication ........................................................................... 9

CHAPTER 5: ETHERCAT DATA STRUCTURE ..............................................................12


5.1 Programming / Monitoring Values Translation ......................................................... 12
5.2 Data Type ................................................................................................................. 13
5.3 Data Access ............................................................................................................. 15
5.4 Data Length (Number of SDOs/PDOs) .................................................................... 15
5.5 Parameters Range ................................................................................................... 15
5.6 Read / Write SDOs / PDOs ...................................................................................... 15
5.7 PDOs Mapping ......................................................................................................... 16
5.8 SDOs Mapping ......................................................................................................... 17
5.9 EtherCAT Unique Commands Structure .................................................................. 20
5.10 Sequencer Activation ............................................................................................... 25
This page intentionally left blank
CHAPTER 1: GENERAL INFORMATION

1.1 Introduction
The EtherCAT option for the power supply series allows the user to remotely program, measure
and check status of the power supply by EtherCAT (CANopen over EtherCAT) protocol implementation. Refer
to SAFETY & INSTALLATION manual (IA761-04-01_) for information on safety requirements,
specifications and installation. Refer to USER MANUAL (IA761-04-02_) for information on power
supply operation.

Link/Activity LED Link/Activity LED


(IN Port) (OUT Port)

RUN LED ERROR LED

EtherCAT RJ45 EtherCAT RJ45


IN Port OUT Port
Figure 1–1: Rear Panel EtherCAT View

1.2 Feature Summary


A. Communicate over EtherCAT network

• CoE (CANopen over EtherCAT).

B. Full remote programming and monitoring functions

• Uses EtherCAT (CANopen over EtherCAT) command language.

• Compatible with EtherCAT test & measurement utilities.

C. Front Panel features

• View MAC address.

• EtherCAT (OPT) reset.

• Remote “Blink” identity function to locate the power supply in a rack.

D. Rear Panel features (2-Port EtherCAT)

• Two Ethernet RJ-45 connectors (standard 8 pin jack).

• Allow connection of EtherCAT IN and OUT chain.

• RUN, ERROR and two ports link/activity indicators.

1
CHAPTER 2: SPECIFICATIONS

2.1 Power Supply Specifications


When using EtherCAT, power supply ratings and accuracies are the same as for digital remote programming
and monitoring using RS-232/485, USB or LAN. Refer to USER MANUAL (IA761-04-02_) for those
specifications.

2.2 EtherCAT Specifications


ELECTRICAL

ETHERNET Meets IEEE 802.3 specifications

Auto-MDIX Accepts patch or cross-over cable connection

Speed & Duplex 100Base-T networks (100 Megabits per second), Full Duplex

NETWORK CONFIGURATION

MAC Address EtherCAT has a unique MAC address (different from the built-in LAN)

EtherCAT Reset Reset in case of an unknown communication failure

EtherCAT PROTOCOLS

CoE CANopen over EtherCAT

FoE File access over EtherCAT (for firmware update only)

COMMANDS

EtherCAT PDO / SDO EtherCAT packets follow Transmission Control Protocol

SUPPLY CONFIGURATIONS

Local Control Supply may be controlled from the front panel even if operator is
monitoring via EtherCAT connection

EtherCAT Remote Supply may be controlled and monitored through EtherCAT connection
Control

RS232/485, USB or EtherCAT interface can be disabled to use RS232/485, USB or LAN
LAN interfaces

Analog Control EtherCAT can monitor power supply while analog control is used

INDICATORS

MAC Addresses View addresses on front panel

Link & Activity LEDs Indicate Ethernet cable connected at both ends, defines connection
state and packets flow (LED per EtherCAT port)

Module RUN LED Indicate EtherCAT device states (INIT, OPERATIONAL, PRE-
OPERATIONAL or SAFE-OPERATIONAL)

Module ERROR LED Indicate errors and/or invalid configuration

2
SECURITY

Block All Protocols All protocols except EtherCAT (CoE & FoE) are blocked

COMPLIANCE

UL, IEC, TUV, CE, Conformances that are granted to basic power supply also apply to
ROHS, etc… power supply with MODBUS TCP interface installed

2.3 EtherCAT (CoE) Command Speed


The following communication speeds are typical values only. In addition to the variability in the
EtherCAT interface, there are timing variations within the controller and the network routing. Test is done
using a peer-to-peer configuration.

NOTE

The following speed specifications are subject to change without notice.

Typical PDOs cycle is about 20 mSec (for all PDOs).

Typical SDOs command or query speeds (including commands not listed below):

90% of 100% of
Commands Commands
in less than: in less than:

Basic Settings and Measurements

Examples: 14 mSec 20 mSec

VOLT nn.nn VOLT?

MEAS:VOLT?

MEAS:CURR?

MEAS:POW?

OUTP OUTP?

OUTP:MODE?

VOLT:PROT:LEV VOLT:PROT:LEV?

System Queries

Examples: 22 mSec 357 mSec

SYST:ERR?

*ESR?

*OPT?

SYST:PON:TIME?

SYST:TEMP?

3
90% of 100% of
Commands Commands
in less than: in less than:

Status Register Settings and Queries

Examples: 14 mSec 20 mSec

STAT:QUES:COND STAT:QUES:COND?

STAT:QUES:ENAB STAT:QUES:ENAB?

Identity Query

Example: 480 mSec 505 mSec

*IDN?

Operation Complete

Example: 12 mSec 18 mSec

*OPC *OPC?

NOTES

1. Data is shown as SCPI commands. Actual tests are performed on EtherCAT SDOs/PDOs.

2. Commands which are longer than a single SDO might require additional execution time.

3. Sequencer commands depend on the amount of SDOs being read/written (sequences with 100 points
might require a few seconds to store/load).

4
CHAPTER 3: SELECT CONTROL METHOD

3.1 A Variety of Control Methods


The power supply with EtherCAT interface is very flexible. In addition to the EtherCAT interface,
there are other ways the supply can be used.

Refer to USER MANUAL (IA761-04-02_) for more details on the local operation mode (Front Panel), Serial
operation mode (RS232/485 or USB), LAN operation mode (Ethernet) or Analog (Via J1, DB26HD).

3.2 EtherCAT, LAN, LOCAL, Serial or Analog Control


The power supply, with EtherCAT interface option installed, may be operated through five
interfaces. This section describes how to enable each.

MODE MODE DESCRIPTION

1 EtherCAT Control using EtherCAT connection EtherCAT disables serial and LAN
by EtherCAT PDO (Process Data communication ports
Objects) / SDO (Service Data
Objects)

2 LAN Control using Ethernet connection EtherCAT is disabled if LAN is


by SCPI commands selected

3 Local Control using the front panel EtherCAT can be used to monitor
buttons and encoders while in local mode

4 Serial Control using RS232/485 or USB EtherCAT is disabled if Serial is


selected

5 Analog Control using analog signals to the EtherCAT, LAN, Local or Serial can
26 pin ‘J1’ DB26HD connector be used to monitor and set
protections

3.2.1 Select Local (Front Panel) Mode

The supply may be operated in the local (or front panel) mode, even when a computer is using the EtherCAT
connection.

If the supply is in remote mode, the front panel REM indicator is ON. The supply may be returned to local by
pressing SYST / Lock Front Panel Button and acknowledged by clicking the Current Encoder Button.

If the power supply does not switch into local mode, then:

• If an EtherCAT program is running to change power supply settings/parameters, it will


automatically go to remote with every command. Stop EtherCAT program and then return the
supply to local mode by pressing SYST / Lock Front Panel Button and acknowledge by clicking
the Current Encoder Button.

5
• The supply may be set to Local Lockout. Use EtherCAT SDO (Service Data Object) 9199 to read
or write power supply remote state, or turn the supply AC off and back on, and then press SYST /
Lock Front Panel Button and acknowledge by clicking the Current Encoder Button.

3.2.2 Select RS232/485, USB (Serial) or LAN Remote Mode

The serial (RS232/485 & USB) and LAN remote control may be selected even if EtherCAT option is installed.
The serial and LAN remote modes are described in the USER MANUAL (IA761-04-02_). The
EtherCAT has similar capabilities as the serial and LAN remote modes, but the EtherCAT programming
language is not compatible with the serial or LAN languages (GEN or SCPI).

To select RS232/485, USB or LAN mode:

1. Press the COMM button.

COMM LED illuminates. INTFC message appears on the Voltage display.

2. Rotate the Current encoder to select the required communication interface.

3. Press the Current encoder to accept parameter.

When the parameter is accepted, the display blinks once.

4. To exit the menu, press the COMM button or the BACK button.

3.2.3 Select EtherCAT Remote Mode

Selecting the EtherCAT mode allows programming over the Ethernet cable. Any setting and measurement
may be done from a remote computer using the EtherCAT communication.

To select EtherCAT mode:

1. Press the COMM button.

COMM LED illuminates. INTFC message appears on the Voltage display.

2. Rotate the Current encoder to select the OPT communication interface.

3. Press the Current encoder to accept parameter.

When the parameter is accepted, the display blinks once.

4. To exit the menu, press the COMM button or the BACK button.

NOTE

Refer to USER MANUAL (IA761-04-02_), SYSTem[:COMMunicate]:INTerface <DSC> command


to select EtherCAT (OPT) communication interface via communication (via RS232/485, USB or LAN).

6
3.3 EtherCAT Interface Option Rear Panel View
The power supply rear panel, with the EtherCAT option installed, is shown below:

Link/Activity LED Link/Activity LED


(IN Port) (OUT Port)

RUN LED ERROR LED

EtherCAT RJ45 EtherCAT RJ45


IN Port OUT Port

Figure 3–1: Rear Panel EtherCAT View

RUN LEDs Off – INIT, EtherCAT device in ‘INIT’-state (or no power)

Green – OPERATIONAL, EtherCAT device in ‘OPERATIONAL’-state

Green, blinking – PRE-OPERATIONAL, EtherCAT device in ‘PRE-


OPERATIONAL’-state

Green, single flash – SAFE-OPERATIONAL, EtherCAT device in ‘SAFE-


OPERATIONAL’-state
Red – Fatal Event, if RUN and ERR turn red, this indicates a fatal event,
forcing the bus interface to a physically passive state. Reset via Front Panel or
recycle AC power
ERR LED Off – No error (or no power)
Red, blinking – Invalid configuration, state change received from master is not
possible due to invalid register or object settings
Red, single flash – Unsolicited state change, slave device application has
changed the EtherCAT state autonomously
Red – Application controller failure, if RUN and ERR turn red, this indicates a fatal
event, forcing the bus interface to a physically passive state. Reset via Front
Panel or recycle AC power
Link / Activity LED Off – No link, link not sensed (or no power)

Green – Link sensed, no activity, no traffic detected

Green, flickering – Link sensed, activity, traffic detected

NOTE

EtherCAT interface supply is ready for communication as soon as Link / Activity and RUN LEDs turn Green. If
communication is established prior the interface is ready, communication interruptions may occur.

7
3.4 EtherCAT Cable
The EtherCAT cable must be supplied by the customer. It may be a standard straight “patch” CAT-5 (or
better) network cable or a “crossover” cable. Cable type is auto-detected by the power supply.

NOTE

The serial link (RS-485) cable (0.5 meters long) provided with the power supply cannot be used
for EtherCAT connection.

3.5 Power-up the EtherCAT Power Supply


The power supply EtherCAT option automatically detects if it is connected or disconnected from a network.
EtherCAT interface supply is ready for communication as soon as Link / Activity and RUN LEDs turn Green.

1. Apply the AC power and switch ON the power supply.

2. Connect the Ethernet cable before or after the power supply is switched ON.

3. Wait about 5 to 10 seconds. Link / Activity and RUN LEDs turn Green.

3.6 View the MAC Addresses


When the power supply is operating with the EtherCAT enabled, MAC address may be viewed on the front
panel. To view the MAC address, perform the following steps:

1. Press COMM button.

2. Rotate Voltage Encoder until MAC appears on the Voltage display, 1 appears on the Current
display.

3. Press Current encoder to enter MAC configuration. Rotate Voltage encoder to view the MAC
address.

The voltage display shows MAC1-MAC6 by rotating Voltage encoder. The current display shows
the corresponding MAC field.

4. To exit the menu, press the COMM button or the BACK button.

3.7 EtherCAT Reset


To reset EtherCAT in case of any unknown failure, perform the following steps:

1. Press the COMM button.

2. Rotate Voltage Encoder until OPT appears on the Voltage display, RESET appears on the
Current display. Press Current encoder.

3. SURE appears on the Voltage display, NO appears on the Current display. Rotate current
encoder one click clockwise. YES appears on the Current display.

4. Press Current encoder to reset EtherCAT optional communication interface.

8
CHAPTER 4: PROGRAMMING USING TWINCAT 3

4.1 Establish TwinCAT Communication


Follow the steps bellow to establish communication between power supply (equipped with
EtherCAT interface option).

1. Create a new project in TwinCAT 3.

2. Import XML Description file (EtherCAT Slave Information) from the CD-ROM supplied with the
product, or download from TDK-Lambda Technical Centre
(https://www.emea.lambda.tdk.com/uk/technical-centre/software-tools.aspx). Refer to Figure 4–1.

Figure 4–1: Import XML Description

3. Scan for new Devices to add power supply into TwinCAT. Refer to Figure 4–2.

Figure 4–2: Scan for a Device

9
4. Select I/O device to search for EtherCAT instrument. Refer to Figure 4–3.

Figure 4–3: Select I/O Device

5. “Scan for boxes” query pops up. Click Yes. Refer to Figure 4–4.

Figure 4–4: “Scan for boxes” Query

10
6. Series Programmable DC Power Supply detected. Refer to Figure 4–5.

Figure 4–5: Series Programmable DC Power Supply detected

7. Series Programmable DC Power Supply is configured. Refer to Figure 4–6.

Figure 4–6: Series Programmable DC Power Supply EtherCAT Tab

11
CHAPTER 5: ETHERCAT DATA STRUCTURE

5.1 Programming / Monitoring Values Translation


EtherCAT communication interface preserves power supply resolution and accuracy, according to
specifications.

Programming / Monitoring values are represented in a form of 16 bits unsigned integer value. Rated Voltage,
Current and Power (nominal values) are represented as 53620 in a decimal base or 0xD174 in a hexadecimal
base.

For example, 10 Volts, 500 Amperes, 5000 Watts power supply programming and monitoring values are
represented as follows: 10 Volts = 53620, 2 volts = 10724 = 0x29E4

500 Amperes = 53620, 400 Amperes = 42896 = 0xA790

5000 Watts = 53620, 2500 Watts = 26810 = 0x68BA

600 Volts, 2.8 Amperes, 1680 Watts power supply programming and monitoring values are represented as
follows: 600 Volts = 53620, 100 Volts = 8937 = 0x22E9

2.8 Amperes = 53620, 2 Amperes = 38300 = 0x959C

1680 Watts = 53620, 680 Watts = 21703 = 0x54C7

Voltage, Current and Power values are limited to 105% (0xDBED) programming range. Protection functions
such as OVP are model dependent, ranging from 110% (0xE666) up to 120% (0xFB58) according to model
specifications (refer to power supply Instruction Manual).

NOTE

Values translation from real number (voltage, current, power, etc…) into unsigned 16 bits integer
(hexadecimal) representation may require rounding. Round naturally to the nearest unsigned 16 bits
representation.

Translation formula from actual value to programming / monitoring hexadecimal value is as follows:
𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 𝑜𝑜𝑜𝑜 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 𝑣𝑣𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎
ℎ𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣 = ∗ 53620
𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 (𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛) 𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣
Translation formula from programming / monitoring hexadecimal value to actual value is as follows:
ℎ𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 𝑣𝑣𝑣𝑣𝑙𝑙𝑢𝑢𝑢𝑢
𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 𝑜𝑜𝑜𝑜 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣 = ∗ 𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 (𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 )𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣
53620

NOTE

Decimal 53620 value is represented as 0xD174 hexadecimal value. Formulas above are shown in Decimal
base. Power supply operates with hexadecimal values.

12
5.2 Data Type
EtherCAT communication interface utilizes four data types: char, uint16, uint32 and float. Each SDO/PDO
holds 16 bits of data.

Char data type is used for strings represented as ASCII characters. Size of char is 1 byte.

Char data type example - *IDN? query (address 8196, 100 bytes, 50 SDOs) for 100 Volts, 50 Amperes power
supply: TDK-LAMBDA,G100-50-ETHERCAT,12345-123456,G:02.105.

SDO Address ASCII Characters Hexadecimal Data

8196 TD 5444

8197 K- 4B2D

8198 LA 4C41

8199 MB 4D42

8200 DA 4441

8201 ,G 2C47

8202 10 3130

8203 0- 302D

8204 50 3530

8205 -E 2D45

8206 TH 5448

8207 ER 4552

8208 CA 4341

8209 T, 542C

8210 12 3132

8211 34 3334

8212 5- 352D

8213 12 3132

8214 34 3334

8215 56 3536

8216 ,G 2C47

8217 :0 3A30

8218 2. 322E

8219 10 3130

8220 50 * 3530 *

13
NOTES

1. * Last 0 is added as the initial register value is 0, this value is not part of the *IDN? string.

2. Always start SDO access from the first SDO address according to commands mapping table (refer to
Section 5.8) for each command / query. Access to any other SDO won’t represent the actual data. For
example for *IDN? query, always read from address 8196.

3. SDOs 8221 ~ 8245 contain 0.

Uint16 data type is the most common type used for most of the functions. Size of uint16 is 2 bytes.

Uint16 data type example – MEASure:VOLTage[:DC]? query (address 8271, 2 bytes, 1 SDO) for 100 Volts
actual output value in a 100 Volts (nominal) power supply: 53620 = 0xD174

SDO Address Decimal value Hexadecimal Data

8271 53620 D174

Uint32 data type is used to query power supply operation time. Size of uint32 is 4 bytes.

Uint32 data type example – SYSTem:PON:TIME? query (address 9190, 4 bytes, 2 SDOs). 100 hours
operation time is represented as:

SDO Address Decimal value Hexadecimal Data

9190 100 0064

9191 0 0000

Float data type is used for sequencer time / dwell programming and voltage / current slew rate control. Size of
float is 4 bytes, represented according to IEEE 754 standard.

Float data type example – [PROGram]:LIST:DWELl? query (address 8388, 400 bytes, 200 SDOs). One
second dwell for a single sequence point is represented as: 0x3F800000. Rest of the cells contain 0 if not
used.

SDO Address Decimal value Hexadecimal Data

8388 0 0000

8389 16256 3F80

NOTES

1. Always start register access from the first register address according to commands mapping table (refer
to Section 5.8) for each command / query. Access to any other SDO won’t represent the actual data. For
example for [PROGram]:LIST:DWELl? query, always read from address 8388.

2. First sequencer point always starts at the first register address.

14
5.3 Data Access
EtherCAT supports two types of data access operations: Read or Write. Query commands (SDOs) have Read
access only.

NOTES

1. SDOs which don’t have Read access return 0.

2. Write of an out of range value results in an error. It is recommended to read SDO 9128 (SYSTem:ERRor?
query) to verify no errors.

5.4 Data Length (Number of SDOs/PDOs)


Each SDO length is 2 bytes. Read/Write of multiple SDOs results in Read/Write of a set of bytes multiplied by
two. For example, *IDN? query start from SDO address 8196, its length is 50 SDOs, 100 bytes. To read
multiple SDOs, read one SDO after another (one by one). Always start read process from the first SDO
corresponding to a command.

NOTE

Always start SDO access from the first SDO address according to commands mapping table (refer to Section
5.8) for each command / query. Access to any other SDO won’t represent the actual data.

5.5 Parameters Range


Each command (SDO/PDO) has a specified data range. It is mandatory to preserve data range to avoid data
overrun. For example, voltage setting range is 0 up to 105% of rated (nominal) value, translated to 0x0000 up
to 0xDBED. An out of range parameter generates an error, which can be read by SDO 9128
(SYSTem:ERRor? query).

Some other SDOs (commands) such as SDO 8194 (*ESE command), are limited to a specific range, 0 up to
255. A value out of the specified range might result in an unexpected setting value.

NOTE

It is recommended to follow parameters range specification to avoid an unexpected behavior of a power


supply.

5.6 Read / Write SDOs / PDOs


EtherCAT supports two types of Read / Write operations. Read single SDO / PDO or Write single
SDO / PDO. Each operation is defined per command (per SDO / PDO or SDOs / PDOs range).

15
5.7 PDOs Mapping
EtherCAT PDOs are mapped according to the table below. Refer to USER MANUAL (IA761-04-
02_) for information regarding commands functionality.

Number of PDOs
Parameter range

SCPI command

Read / Write

Data type
0,1 OUTPut[:STATe] W uint16 1
0,1 [SOURce]:POWer:STATe W uint16 1
0,1 SYSTem:RIN:STATe W uint16 1
0-53620 [SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude] W uint16 1
0-53620 [SOURce]:CURRent[:LEVel][:IMMediate][:AMPLitude] W uint16 1
0-53620 [SOURce]:POWer[:LEVel] W uint16 1
1-1000 SYSTem:RIN[:LEVel] W uint16 1
0,1 OUTPut[:STATe] R uint16 1
0,1 [SOURce]:POWer:STATe R uint16 1
0,1 SYSTem:RIN:STATe R uint16 1
0-53620 [SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude] R uint16 1
0-53620 [SOURce]:CURRent[:LEVel][:IMMediate][:AMPLitude] R uint16 1
0-53620 [SOURce]:POWer[:LEVel] R uint16 1
1-1000 SYSTem:RIN[:LEVel] R uint16 1
0,1 Power Supply Output (actual status) R Uint16 1
0-53620 MEASure:VOLTage[:DC]? R uint16 1
0-53620 MEASure:CURRent[:DC]? R uint16 1
0-53620 MEASure:POWer[:DC]? R uint16 1
0-65535 SYSTem:TEMPerature[:AMBient]? R uint16 1
0-65535 STATus:QUEStionable:CONDition? R uint16 1
0-65535 STATus:OPERation:CONDition? R uint16 1

NOTES

1. Size of each PDO: 2 bytes.

2. An out of range parameter might result in an unpredicted behavior of the power supply.

3. Reading PDOs which have no Read access return 0.

4. PDOs which accept parameters in the range of 0,1 accept 0 as logical 0, while any number above 0
accepted as logical 1 (acts as Boolean parameter).

5. Loading a value above uint16 (above 65535) loads only 16 LSB of the value.

16
5.8 SDOs Mapping
EtherCAT SDOs are mapped according to the table below. Refer to USER MANUAL (IA761-04-
02_) for information regarding commands functionality.

Number of SDOs
Parameter range

SCPI command
SDO address

Read / Write

Data type
8193 0,1 *CLS W uint16 1
8194 0-255 *ESE RW uint16 1
8195 0-255 *ESR? R uint16 1
8196 ASCII *IDN? R char 50
8246 0,1 *OPC RW uint16 1
8247 0-255 *OPT? R uint16 1
8248 0,1 *PSC RW uint16 1
8249 1-4 *RCL W uint16 1
8250 0,1 *RST W uint16 1
8251 1-4 *SAV W uint16 1
8252 0-255 *SRE RW uint16 1
8253 0-255 *STB? R uint16 1
8254 0,1 *TRG W uint16 1
8255 0,1 *TST? R uint16 1
8256 0,1 *WAI W uint16 1
8257 0,1 ABORt W uint16 1
8258 0,1 DISPlay[:WINDow]:STATe RW uint16 1
8259 0,1 DISPlay[:WINDow]:FLASh RW uint16 1
8260 0,1 DISPlay[:WINDow]:TEST W uint16 1
8261 0,1 INITiate[:IMMediate] W uint16 1
8262 0,1 INITiate:CONTinuous RW uint16 1
8263 Reserved uint16 1
8264 0-31 INSTrument:[N]SELect R uint16 1
8265 Reserved uint16 1
8266 Reserved uint16 1
8267 Reserved uint16 1
8268 Reserved uint16 1
8269 Reserved uint16 1
8270 Reserved uint16 1
8271 0-53620 MEASure:VOLTage[:DC]? R uint16 1
8272 0-53620 MEASure:CURRent[:DC]? R uint16 1
8273 0-53620 MEASure:POWer[:DC]? R uint16 1
8274 0,1 OUTPut[:STATe] RW uint16 1

17
Number of SDOs
Parameter range

SCPI command
SDO address

Read / Write

Data type
8275 0,1 OUTPut:ENA[:STATe] RW uint16 1
8276 0,1 OUTPut:ENA:POLarity RW uint16 1
8277 0,1 OUTPut:ILC[:STATe] RW uint16 1
8278 1-4 OUTPut:MODE? R uint16 1
8279 0,1 OUTPut:PON[:STATe] RW uint16 1
8280 0,1 OUTPut:PROTection:CLEar W uint16 1
8281 0-2 OUTPut:PROTection:FOLDback[:MODE] RW uint16 1
8282 1-255 OUTPut:PROTection:FOLDback:DELay RW uint16 1
8283 0,1 OUTPut:RELay1[:STATe] RW uint16 1
8284 0,1 OUTPut:RELay2[:STATe] RW uint16 1
8285 0-2 OUTPut:TTLTrg:MODE RW uint16 1
8286 0,1-9999 [PROGram]:COUNter RW uint16 1
8287 0-53620 [PROGram]:LIST:CURRent RW uint16 100
8387 0,1 Upload [PROGram]:LIST:CURRent registers W uint16 1
8388 0.001-129600 [PROGram]:LIST:DWELl RW float 200
8588 0,1 Upload [PROGram]:LIST:DWELl registers W uint16 1
8589 0-53620 [PROGram]:LIST:VOLTage RW uint16 100
8689 0,1 Upload [PROGram]:LIST:VOLTage registers W uint16 1
8690 1-4 [PROGram]:LOAD RW uint16 1
8691 0,1 [PROGram]:STEP RW uint16 1
8692 1-4 [PROGram]:STORe W uint16 1
8693 0-53620 [PROGram]:WAVE:CURRent RW uint16 100
8793 0,1 Upload [PROGram]:WAVE:CURRent registers W uint16 1
8794 0.001-129600 [PROGram]:WAVE:TIME RW float 200
8994 0,1 Upload [PROGram]:WAVE:TIME registers W uint16 1
8995 0-53620 [PROGram]:WAVE:VOLTage RW uint16 100
9095 0,1 Upload [PROGram]:WAVE:VOLTage registers W uint16 1
9096 0-100 Number of the points RW uint16 1
9097 0-53620 [SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude] RW uint16 1
9098 0-53620 [SOURce]:CURRent[:LEVel][:IMMediate][:AMPLitude] RW uint16 1
9099 0-64342 [SOURce]:VOLTage:PROTection:LEVel RW uint16 1
9100 1-255 [SOURce]:VOLTage:PROTection:LOW:DELay RW uint16 1
9101 0,1 [SOURce]:VOLTage:PROTection:LOW:STATe RW uint16 1
9102 0-51065 [SOURce]:VOLTage:PROTection:LOW[:LEVel] RW uint16 1
9103 0.0001-999.99 [SOURce]:CURRent:SLEW:DOWN RW float 2
9105 0.0001-999.99 [SOURce]:CURRent:SLEW:UP RW float 2
9107 0.0001-999.99 [SOURce]:VOLTage:SLEW:DOWN RW float 2

18
Number of SDOs
Parameter range

SCPI command
SDO address

Read / Write

Data type
9109 0.0001-999.99 [SOURce]:VOLTage:SLEW:UP RW float 2
9111 0,1 [SOURce]:POWer:STATe RW uint16 1
9112 1-53620 [SOURce]:POWer[:LEVel] RW uint16 1
9113 0,1,2 [SOURce]:VOLTage:MODE RW uint16 1
9114 0,1,2 [SOURce]:VOLTage:EXTernal:MODE RW uint16 1
9115 0,1,2 [SOURce]:CURRent:MODE RW uint16 1
9116 0,1,2 [SOURce]:CURRent:EXTernal:MODE RW uint16 1
9117 0,1 [SOURce]:CURRent:EXTernal:LIMit[:STATe] RW uint16 1
9118 0-65535 STATus:OPERation[:EVENt]? R uint16 1
9119 0-65535 STATus:OPERation:CONDition? R uint16 1
9120 0-65535 STATus:OPERation:ENABle RW uint16 1
9121 0-65535 STATus:QUEStionable[:EVENt]? R uint16 1
9122 0-65535 STATus:QUEStionable:CONDition? R uint16 1
9123 0-65535 STATus:QUEStionable:ENABle RW uint16 1
9124 0-31 SYSTem[:COMMunicate]:ADDRess? R uint16 1
9125 9600-115200 SYSTem[:COMMunicate]:BAUDrate? R uint16 1
9126 0-4 SYSTem[:COMMunicate]:INTerface RW uint16 1
9127 0,1 SYSTem:ERRor:ENABle W uint16 1
9128 ASCII SYSTem:ERRor? R char 30
9158 1-5 SYSTem:FRST W uint16 1
9159 ASCII SYSTem:FIRMware[:VERSion]? R char 30
9189 0,1 SYSTem:PANel:LOCK? R uint16 1
9190 0-4294967295 SYSTem:PON:TIME? R uint32 2
9192 0-4294967295 SYSTem:PON:TIME:AC? R uint32 2
9194 0,1 SYSTem:PRELoad[:STATe] RW uint16 1
9195 0-10000 SYSTem:PSOK:DELay RW uint16 1
9196 0,1 SYSTem:RANGe RW uint16 1
9197 1-1000 SYSTem:RIN[:LEVel] RW uint16 1
9198 0,1 SYSTem:RIN:STATe RW uint16 1
9199 0,1,2 SYSTem:REMote[:STATe] RW uint16 1
9200 0,1 SYSTem:SENSe[:STATe] RW uint16 1
9201 0,1,2 SYSTem:SLEW[:STATe] RW uint16 1
9202 0-65535 SYSTem:TEMPerature[:AMBient]? R uint16 1
9203 0,1 TRIGger[:IMMediate] W uint16 1
9204 0-10000 TRIGger:DELay RW uint16 1
9205 0,1 TRIGger:SOURce RW uint16 1
9206 0,1 SYSTem:PARallel:ACKNowledge W uint16 1

19
Number of SDOs
Parameter range

SCPI command
SDO address

Read / Write

Data type
9207 ASCII SYSTem:DATE? R char 7
9214 0,1 SYSTem[:COMMunicate]:WATCHdog:STATe RW uint16 1
9215 1-3600 SYSTem[:COMMunicate]:WATCHdog:TIMe RW uint16 1
9216 ASCII SYSTem:PARallel? R char 6
9222 Reserved uint16 70

NOTES

1. Size of each SDO: 2 bytes.

2. An out of range parameter might result in an unpredicted behavior of the power supply.

3. Reading SDOs which have no Read access return 0.

4. Some special functions commands are available in SCPI only, therefore not mapped in the table above.

5. SDOs which accept parameters in the range of 0,1 accept 0 as logical 0, while any number above 0
accepted as logical 1 (acts as Boolean parameter).

6. Loading a value above uint16 (above 65535) loads only 16 LSB of the value.

5.9 EtherCAT Unique Commands Structure


Some EtherCAT commands have unique functionality compared to SCPI commands, due to limited SDOs
operations. These commands are described in this section (All other commands’ parameters / return values
are according to User Manual. Refer to USER MANUAL (IA761-04-02_), SCPI commands for
functionality explanation.

*CLS

Parameter To activate, write 0x0001 as parameter.

*OPC

Parameter To activate, write 0x0001 as parameter.

*OPT?

Returns Returns 3 for ETHERCAT interface.

*RST

Parameter To activate, write 0x0001 as parameter.

20
*TRG

Parameter To activate, write 0x0001 as parameter.

*WAI

Parameter To activate, write 0x0001 as parameter.

ABORt

Parameter To activate, write 0x0001 as parameter.

INITiate[:IMMediate]

Parameter To activate, write 0x0001 as parameter.

INSTrument:[N]SELect?

Query Only Only Read (query) operation is supported.

OUTPut:ENA:POLarity

Parameter REV - 0x0000; NORM – 0x0001 as return value.

OUTPut:MODE?

Return OFF - 0x0001; CV – 0x0002; CC - 0x0003; CP – 0x0004 as return value.

OUTPut:PROTection:CLEar

Parameter To activate, write 0x0001 as parameter.

OUTPut:PROTection:FOLDback[:MODE]

Parameter OFF - 0x0000; CC – 0x0001; CV - 0x0002 as return value.

OUTPut:PROTection:FOLDback:DELay

Unit 100mSec. Multiply SDO value by 100mSec. For example: 1 equals 100mec;
5 equals 500mSec.

OUTPut:TTLTrg:MODE

Parameter OFF - 0x0000; FSTR – 0x0001; TRIG - 0x0002 as return value.

[PROGram]:COUNter

Parameter INFinity – write 0x0000; Number of iterations - write 1-9999 as parameter. Any
value above 9999 results in INFinity.

[PROGram]:LIST:CURRent

Parameter Each value is loaded into a single SDO. Refer to Section 5.10 for an example of
Voltage SDOs.

21
Upload [PROGram]:LIST:CURRent registers

Specific EtherCAT specific command used to upload [PROGram]:LIST:CURRent into


power supply. Refer to Section 5.10 for an example of Voltage SDOs.

[PROGram]:LIST:DWELl

Parameter Each value is loaded into a pair of SDOs. Low address value holds the least
significant part. Refer to Section 5.10 for an example.

Upload [PROGram]:LIST:DWELl registers

Specific EtherCAT specific command used to upload [PROGram]:LIST:DWELl into power


supply. Refer to Section 5.10 for an example.

[PROGram]:LIST:VOLTage

Parameter Each value is loaded into a single SDO. Refer to Section 5.10 for an example.

Upload [PROGram]:LIST:VOLTage registers

Specific EtherCAT specific command used to upload [PROGram]:LIST:VOLTage into


power supply. Refer to Section 5.10 for an example.

[PROGram]:STEP

Parameter ONCE – write 0x0000; AUTO - write 0x0001 as parameter.

[PROGram]:WAVE:CURRent

Parameter Each value is loaded into a single SDO. Refer to Section 5.10 for an example of
List Voltage SDOs.

Upload [PROGram]:WAVE:CURRent registers

Specific EtherCAT specific command used to upload [PROGram]:WAVE:CURRent into


power supply. Refer to Section 5.10 for an example of LIST Voltage SDOs.

[PROGram]:WAVE:TIME

Parameter Each value is loaded into a pair of SDOs. Low address value holds the least
significant part. Refer to Section 5.10 for an example of List Dwell SDOs.

Upload [PROGram]:WAVE:TIME registers

Specific EtherCAT specific command used to upload [PROGram]:WAVE:TIME into power


supply. Refer to Section 5.10 for an example of List Dwell SDOs.

[PROGram]:WAVE:VOLTage

Parameter Each value is loaded into a single SDO. Refer to Section 5.10 for an example of
List Voltage SDOs.

22
Upload [PROGram]:WAVE:VOLTage registers

Specific EtherCAT specific command used to upload [PROGram]:LIST:VOLTage into


power supply. Refer to Section 5.10 for an example List Dwell SDOs.

Number of the points

Parameter EtherCAT specific command used to set the number of points of a sequence to
load into a power supply. Refer to Section 5.10 for an example.

[SOURce]:VOLTage:PROTection:LOW:DELay

Unit 100mSec. Multiply SDO value by 100mSec. For example: 1 equals 100mec;
5 equals 500mSec.

[SOURce]:CURRent:SLEW:DOWN

Parameter Each value is loaded into a pair of SDOs. Low address value holds the least
significant part.

[SOURce]:CURRent:SLEW:UP

Parameter Each value is loaded into a pair of SDOs. Low address value holds the least
significant part.

[SOURce]:VOLTage:SLEW:DOWN

Parameter Each value is loaded into a pair of SDOs. Low address value holds the least
significant part.

[SOURce]:VOLTage:SLEW:UP

Parameter Each value is loaded into a pair of SDOs. Low address value holds the least
significant part.

[SOURce]:VOLTage:MODE

Parameter NONE - 0x0000; LIST - 0x0001; WAVE - 0x0002 as return value.

[SOURce]:VOLTage:EXTernal:MODE

Parameter DIG - 0x0000; VOL - 0x0001; RES - 0x0002 as return value.

[SOURce]:CURRent:MODE

Parameter NONE - 0x0000; LIST - 0x0001; WAVE - 0x0002 as return value.

[SOURce]:CURRent:EXTernal:MODE

Parameter DIG - 0x0000; VOL - 0x0001; RES - 0x0002 as return value.

SYSTem[:COMMunicate]:ADDRess?

Query Only Only Read (query) operation is supported.

23
SYSTem[:COMMunicate]:BAUDrate?

Return 9600 - 0x0000; 19200 - 0x0001; 38400 - 0x0002; 57600 - 0x0003; 115200 -
0x0004 as return value.

SYSTem[:COMMunicate]:INTerface

Parameter RS232 - 0x0000; RS485 - 0x0001; LAN - 0x0002; USB - 0x0003; OPT - 0x0004.

SYSTem:ERRor:ENABle

Parameter To activate, write 0x0001 as parameter.

SYSTem:FRST

Parameter USB - 0x0001; RS232 - 0x0002; RS485 - 0x0003; LAN - 0x0004; OPT - 0x0005.

SYSTem:PSOK:DELay

Unit mSec. Data is represented in milliseconds. For example: 1 equals 1mSec;


1000 equals 1Sec.

SYSTem:RANGe

Parameter 5 Volts range - 0x0000; 10 Volts range – 0x0001 as return value.

SYSTem:RIN[:LEVel]

Unit mOhms. Data is represented in milliohms. For example: 1 equals 1mohm;


1000 equals 1ohm.

SYSTem:REMote[:STATe]

Parameter LOC - 0x0000; REM - 0x0001; LLO - 0x0002 as return value.

SYSTem:SENSe[:STATe]

Parameter LOC - 0x0000; REM - 0x0001 as return value.

SYSTem:SLEW[:STATe]

Parameter OFF - 0x0000; VOLT - 0x0001; CURR - 0x0002 as return value.

TRIGger[:IMMediate]

Parameter To activate, write 0x0001 as parameter.

TRIGger:DELay

Unit mSec. Data is represented in milliseconds. For example: 1 equals 1mSec;


1000 equals 1Sec.

TRIGger:SOURce

Parameter BUS - 0x0000; EXT - 0x0001 as return value.

24
NOTES

1. LAN specific commands are not available for EtherCAT interface.

2. SYSTEM[:COMMunicate]:LANGuage command is not available for EtherCAT interface.

3. SYSTem:VERSion? Command is not available for EtherCAT interface.

4. Read/Write commands (defined as RW) have the same set of Return and Parameter values, although
defined as Parameter in the table above.

5.10 Sequencer Activation


This section describes how to activate basic sequencer operation. Refer to USER MANUAL
(IA761-04-02_) for general information regarding sequencer functionality combined with the trigger system.

For example, the following sequence should be programmed as follows:

10
9
8
7
Voltage [V]

6
5
4
3
2
1
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Time [S]

Figure 5–1: LIST Mode Example

SCPI programming language:

VOLT:MODE LIST Select LIST Mode Sequence


LIST:VOLT 2,4,2,8,5,4 Set voltage values ”2,4,2,8,5,4” Volts
LIST:DWEL 0.5,0.5,1,1,1,1 Set dwell values ”0.5,0.5,1,1,1,1” Seconds
STEP AUTO Set AUTO step execution mode ”AUTO”
COUN 1 Set list execution iterations ”1”
TRIG:SOUR BUS Select BUS trigger source via communication
interface or front panel
INIT:CONT OFF Trigger system is enabled for a single trigger action
INIT Trigger initialize
*TRG Trigger command

EtherCAT SDOs programming:

Write 0x0001 to SDO 9113 Select LIST Mode Sequence


Write 0x29E4 to SDO 8589 Set voltage value 2 Volts

25
Write 0x53C8 to SDO 8590 Set voltage value 4 Volts
Write 0x29E4 to SDO 8591 Set voltage value 2 Volts
Write 0xA790 to SDO 8592 Set voltage value 8 Volts
Write 0x68BA to SDO 8593 Set voltage value 5 Volts
Write 0x53C8 to SDO 8594 Set voltage value 4 Volts
Write 0x0000 to SDO 8388 Set dwell value 0.5 Second (low register)
Write 0x3F00 to SDO 8389 Set dwell value 0.5 Second (high register)
Write 0x0000 to SDO 8390 Set dwell value 0.5 Second (low register)
Write 0x3F00 to SDO 8391 Set dwell value 0.5 Second (high register)
Write 0x0000 to SDO 8392 Set dwell value 1 Second (low register)
Write 0x3F80 to SDO 8393 Set dwell value 1 Second (high register)
Write 0x0000 to SDO 8394 Set dwell value 1 Second (low register)
Write 0x3F80 to SDO 8395 Set dwell value 1 Second (high register)
Write 0x0000 to SDO 8396 Set dwell value 1 Second (low register)
Write 0x3F80 to SDO 8397 Set dwell value 1 Second (high register)
Write 0x0000 to SDO 8398 Set dwell value 1 Second (low register)
Write 0x3F80 to SDO 8399 Set dwell value 1 Second (high register)
Write 0x0005 to SDO 9096 Indicates to load 5 points (mutual for Voltage and Dwell)
Write 0x0001 to SDO 8689 Upload Voltage registers into power supply sequencer
Write 0x0001 to SDO 8588 Upload Dwell registers into power supply sequencer
Write 0x0001 to SDO 8691 Set AUTO step execution mode ”AUTO”
Write 0x0001 to SDO 8286 Set list execution iterations ”1”
Write 0x0000 to SDO 9205 Select BUS trigger source via communication interface or front
panel
Write 0x0000 to SDO 8262 Trigger system is enabled for a single trigger action
Write 0x0001 to SDO 8261 Trigger initialize
Write 0x0001 to SDO 8254 Trigger command

NOTES

1. Start condition: Assume power supply output is on; Initial voltage point is 0 Volts.

2. The example above demonstrates values for a 10 Volts rated power supply.

26
NOTES

____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
NOTES

____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________

You might also like