This function send the current value to the I-8024 module in the specified channel and slot of the I-8000 system.
This function is used for C/C++ compiler.
Function Prototype
void I8024_CurrentOut(int slot,int ch,float data)
void
Function no return
slot
Specified slot of the I-8000 system
Range from 0 to 3 for 4 slot
Range from 0 to 7 for 8 slot
Data type : integer
ch
Output channel
Range : 0 to 3
Data type : int
data
Output data with engineering unit
Data type : float
Current Output : 0 ~ 20 mA
Note:
Before use this function,You must use the Initial function at the first.
refer to Initial Function
Example
Function
I8024_CurrentOut(0,1,1.234)
Return
void
Description
The example send the value(1.234) to slot 0
of the I-8000 system.The channel 1 of I-8024 will output approximate +1.234 mA.