Creator CR-PGMIII Simulation card CR-AD3 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Příslušenství komunikace Creator CR-PGMIII Simulation card CR-AD3. CREATOR CR-PGMIII Simulation card CR-AD3 User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 2
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
CREATOR CHINA 2012-11 WWW.CREATOR1997.COM
1
CR-AD3 Analog Card Description
Functional Overview
The expansion card is according to the actual
needs of users; is mainly used to increase host’s
extra functions, so as to achieve the user’s
personal needs.
CR-AD3 analog card is used for CR-PGM
programmable control host’s function expansion;
it allows CR-PGM host to increase double
power output function, and can read actual
voltage value from the port.
Application Characteristics
Input: 3 high impedance input;
Output: 3 DC output;
D . A, a . D conversion: A/D and D/A converter
functions can be used for sampling and control;
10 AD sampling precision, 12 output precision;
Input voltage range: 0 V to +12 V;
Output voltage range: -12 V to +12 V;
Output voltage can be regulated by software;
Maximum acceptable voltage of Input is +36
volts dc;
The maximum current of each output is 5mA.
External Reference Input
The Max input sampling voltage value is +12
volts DC;
The over voltage is +36 volts DC;
Operation Methods
Output voltage control method (D/A converter);
CR-PGM host send certain roads and certain
volts voltage to analog card, analog card receive
the instruction to make voltage output.
Reads the input voltage ( A/D converter )
CR-PGM host send instruction of reading
certain road to analog card, after receiving the
instruction, analog card will feedback the actual
voltage to the CR-PGM host.
Following are the programming function
description of CR-PGM when use analog card
SEND_QACAR
Void SEND_QACAR (String dev,int channel)
Function: send the request of analog card voltage
value, after sending the request, will trigger the
analog card DataEVENT events, where they can
get the voltage value, specific examples to see
the BYTES_TO_INT Parameters of other
functions.
dev - :Analog device
channel - :Equipment channel number
Example:
Acar_m = M:8:ACAR; // Define host board No. 8
analog card
SEND_QACAR (Acar_m,1); // read the first
voltage value of Acar_m
BYTES_TO_INT
Int BYTES_TO_INT (byte[] b)
Function: process the first 4 bytes of byte array as
an int number, if B is less than 4 bytes, convert
according to its real bytes, big endian mode.
Returns:
Return to the converted int number.
Example: analog card voltage returns, the actual
voltage of analog card = return voltage (mV)
DATA_EVENT(mcar,2)
{ONDATA()
Zobrazit stránku 0
1 2

Shrnutí obsahu

Strany 1

CREATOR CHINA 2012-11 WWW.CREATOR1997.COM1CR-AD3 Analog Card DescriptionFunctional OverviewThe expansion card is according to the actualneeds of users

Strany 2

CREATOR CHINA 2012-11 WWW.CREATOR1997.COM2CR-AD3 Analog Card Description{double voltage = BYTES_TO_INT(DATA.Data) //When using SEND_QACAR transmit req

Komentáře k této Příručce

Žádné komentáře