Unit_AnalogInput_FP7_AD8

Function to read from an FP7-AD8 unit.

This function reads converted digital data from the analog input channel of the analog unit in the slot specified by iSlotNumber. The converted digital values are stored per channel in the output variables iInChannel0 to iInChannel7.

Parameters

Input

iSlotNumber (INT)

Set the slot number of the analog unit. The FP7 CPU has slot number 0.

Output

iInChannel0 to iInChannel7 (INT)

Returns the converted digital data from the analog unit by channel.

Values:
  • For -10 to +10V: -31250 to +31250
  • For 0 to 10V, 0 to 5V, 0 to 20 mA: 0 to 31250
  • For 1 to 5 V, 4 to 20 mA: 0 to 25000
Tip

This command description provides basic hardware documentation only. For detailed technical information, consult the manual:

FP7 Analog Input Unit User's Manual

Related topics:

Modified on: 2024-02-26Feedback on this pagePanasonic hotline