EA-IF-C2 EA ELEKTRO-AUTOMATIK, EA-IF-C2 Datasheet - Page 87

no-image

EA-IF-C2

Manufacturer Part Number
EA-IF-C2
Description
INTERFACE CAN (EA-PSI/BCI 800 R)
Manufacturer
EA ELEKTRO-AUTOMATIK
Datasheet

Specifications of EA-IF-C2

Accessory Type
Interface Card
Svhc
No SVHC (18-Jun-2010)
Applications
Engineering Laboratory And Complex Industrial Application
Approval Bodies
CE / EN
Rohs Compliant
Yes
For Use With
EA Elektro-Automatik PSU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
© 009, Elektro-Automatik GmbH & Co. KG
Programming
Example 3: Setting the pulse witdh for A (object 90) to 5s.
According to the table above the time range mask is 0x4000.
In combination with the resolution of 10ms for this time range,
a value of 500 (5s : 0.01s), in hex 0x1F4, results. The total
resulting time value then would be 0x41F4.
9.2.2 Tips
I. Detecting a device node (not with GPIB)
If you want to, for example, control a device via USB and
you don‘t know the device‘s node, you could for example
use the broadcast node 0 and query the device class. The
device or the devices will answer with its/their own device
node, that has/have been set at the device(s). The device
node(s) can be furthermore used to control and distinguish
the devices.
II. Remote and standby
The object 54 is used to either activate/deactive the remote
control operation or the input/output of a device. The object
can be used to activate both at once, but it is strongly not
recommended to do so, because setting the input/output re-
quires the remote control operation already being active and
thus would generate an error message. You should rather
activate remote control first with the corresponding bit set in
the control byte and then control the input/output by sending
object 54 a second time with a different control byte. When
deactivating remote control it simply goes vice versa.
It is also useful to read back the state of the device with object
70, in order to check if object 54 has been set correctly
9.2.3 Trouble-shooting
Problem:
mands
Possible causes with USB
• The USB card requires a driver. Check if the driver is in-
stalled correctly and if you can find the card in the Windows
device manager in the section of „USB controllers“.
• The USB driver can be used as genuine USB driver or it
can additionally create a virtual COM port for every USB
card that is connected to the PC, depending on the driver
config. So the USB device can also be used as a RS3
hardware. Using LabView, this only requires to replace the
USB.vi with the RS3.vi.
• The wrong device node (=address) is used to communicate
with the device.
Possible causes with RS232
• You are not using a 1:1 cable for the RS3 card.
• The wrong device node (=address) is used to communicate
with the device.
• Device and PC are configured to different baudrates etc.
• The communication cable is too long for the configured
baudrate (also see section .).
The device does not react or respond to com-
Possible causes with GPIB
• If multiple device are connected to a IEEE bus, one or more
device addresses might be double.
• A wrong syntax is used. For example, an electronic load
does not react to the command OUTP, because it features an
input. Or the command was not valid for the type of device
you tried to contact.
Possible causes with CAN:
• The wrong CAN ID is used. See section 4.3.1 for the cal-
culation of the correct CAN ID.
• Wrong baudrate set or wrong sample point selected (only
at PSI 9000, see user manual)
• The device is located at the end of the bus and is not
terminated
Problem:
were answered
Cause: The queries have been sent subsequently too fast.
Depending on the communication type and speed and the
execution time of the device, you need to include a certain
latency between two queries.
Rule of thumb: Latency = Transmission time + Execution time
The execution time lies at typ. 5-0ms, depending if there only
was a query or if something has to be set. The transmission
time can be calculated from the baudrate and number of bits
that are sent.
Problem:
Possible causes
• The contacted device is not in remote control mode or
can‘t currently be set to this mode, because it might not
be allowed in this very moment or any other condition for
setting the device into remote control is not fulfilled (also
see section 9.)
• the sent values are wrong (too high, too low) or the stan-
dard value range (0...0x6400 for voltage, current etc.) is
additionally limited by limit values (only at PSI 9000). An
error message is sent in this case.
Problem:
Error messages are there to point to where the cause of the
error lies. The table below gives an overview about possible
error codes and their meanings, which can be returned from
the device to the PC. Some errors are caused by erroneous
queries/sendings, others might come unrequestedly from
the device. They serve as hint and for trouble-shooting
purposes.
Error messages are in telegram format, i.e. they are com-
posed of a start delimiter, object number (to identify an error,
0xFF is used as object number) and data field. The data field
contains the error code.
Example: in case you want to set the voltage with object
50 and the device is not in remote control mode, you would
receive the error message C0 07 FF
with device node 7.
An error message has been returned
Multiple queries were sent, but not all of them
Set values and status are not set
09
01 CF from a device
EN
87

Related parts for EA-IF-C2