■
Analog_8IN parameters
Setting item
Default
Description
Max. / Min. value retention
Not execute
Select "Execute".
■
Analog_8IN I/O Mapping
Channel
Description
Remarks
Ch*_MaxMinHoldingRequ
est
Ch* Max. / Min. hold
request
ON: Max. / Min. hold is executed.
OFF: Max. / Min. hold is stopped.
Validity condition: Level
Ch*_MaxHoldingValue
Ch* Max. holding value
Holds the maximum value of the digital conversion
value.
Ch*_MinHoldingValue
Ch* Min. holding value
Holds the minimum value of the digital conversion
value.
Ch*_MaxMinHoldingStatu
s
Ch* Max. / Min. hold
status
While the Max. / Min. hold is executed: ON
While the Max. / Min. hold is stopped: OFF
■
Sample program
The following program executes the Max. / Min. hold function of the ch0 Specify a desired
operation when "Ch0_MaxHoldingValue" exceeds 10000 or when "Ch0_MinHoldingValue"
becomes less than 10000.
Declaration section
PROGRAM PRG_AIO1
VAR
iCh0_MaxHoldingValue: INT;
iCh0_MinHoldingValue: INT;
bCh0_MaxMinHoldingRequest: BOOL;
bCh0_MaxMinHoldingStatus: BOOL;
END_VAR
Implementation section
bCh0_MaxMinHoldingRequest := TRUE; // Start detection
IF bCh0_MaxMinHoldingStatus = TRUE THEN //Detection enabled
IF iCh0_MaxHoldingValue > 10000 OR iCh0_MinHoldingValue < -10000 THEN //C
heck holding value
;
END_IF
END_IF
(Note 1)
Separately link corresponding channels in "Analog_8IN I/O Mapping".
5.6 Max. / Min. Hold Function
WUME-GM1AIO-01
5-15
Содержание AGM1AD8
Страница 2: ... MEMO 2 WUME GM1AIO 01 ...
Страница 4: ... MEMO iv WUME GM1AIO 01 ...
Страница 8: ... MEMO viii WUME GM1AIO 01 ...
Страница 12: ... MEMO 1 4 WUME GM1AIO 01 ...
Страница 18: ... MEMO 2 6 WUME GM1AIO 01 ...
Страница 26: ... MEMO 3 8 WUME GM1AIO 01 ...
Страница 38: ... MEMO 4 12 WUME GM1AIO 01 ...
Страница 54: ...REFERENCE 4 2 Setting Parameters and Performing I O Mapping 5 6 Max Min Hold Function 5 16 WUME GM1AIO 01 ...
Страница 58: ... MEMO 5 20 WUME GM1AIO 01 ...
Страница 68: ... MEMO 6 10 WUME GM1AIO 01 ...
Страница 79: ...Digital input value Analog output value 640 or less Output at 0 9 V 8 1 Voltage Range WUME GM1AIO 01 8 5 ...
Страница 84: ... MEMO 9 4 WUME GM1AIO 01 ...
Страница 94: ... MEMO App 4 WUME GM1AIO 01 ...
Страница 95: ...Record of Changes Date Manual No Record of changes August 2021 WUME GM1AIO 01 1st edition WUME GM1AIO 01 ...
Страница 96: ... MEMO WUME GM1AIO 01 ...
Страница 97: ... MEMO WUME GM1AIO 01 ...
Страница 98: ...Panasonic Corporation 2021 August 2021 WUME GM1AIO 01 ...