
Chapter 12 Device Logic (Pawn)
12.3.16 Outputs
12.3.16.1 Constants
Numbers of the digital outputs
DIGOUT_CHANNEL1
= 0,
// isolated switch contact 1
//Number of digital outputs, with which the myDatalogEASY IoTmini is equipped
DIGOUT_NUM_CHANNELS = 1,
Selection of the output voltage for the switchable sensor supply VOUT
Configuration options for the Vsens_On() function
VSENS_15V = 0,
// 14,7V at I
out
= 50mA
VSENS_24V = 1,
// 23,4V at I
out
= 50mA
Selection of the mode for the isolated switch contact (NO, CC)
Output modes for the DigOut_Init() function
DIGOUT_OFF
= 0,
// deactivated
DIGOUT_DIG
= 1,
// digital output
DIGOUT_FREQ
= 2,
// frequency output
DIGOUT_PWM
= 3,
// PWM output
DIGOUT_IMPULSE_PER_MINUTE = 4,
// pulse/min.
DIGOUT_IMPULSE_ONCE
= 5,
// single output of x pulses
12.3.16.2 Functions
native Vsens_On(mode);
Activates the switchable sensor supply VOUT. The output voltage (14,7V or 23,4V ) can be selected
via the "Mode" parameter. Detailed information on the switchable sensor supply is provided in chapter
"Switchable sensor supply VOUT" on page 59.
Parameter
Explanation
mode
Selection of the output voltage VOUT
VSENS_15V: 14,7V at I
out
= 50mA
VSENS_24V: 23,4V at I
out
= 50mA
Explanation
Return value
l
OK, if successful
l
< OK, if an error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 84)
Rev. 01
149
Содержание myDatalogEASY IoTmini
Страница 2: ......
Страница 11: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 11 ...
Страница 12: ......
Страница 34: ......
Страница 66: ......
Страница 78: ......
Страница 82: ......
Страница 186: ......
Страница 194: ......
Страница 196: ......
Страница 202: ......
Страница 205: ...Chapter 19 Document history Chapter 19 Document history Rev Date Changes 01 28 08 2020 First version Rev 01 205 ...
Страница 206: ......
Страница 208: ......