Panasonic GM1 Series Reference Manual page 53

Motion controller
Hide thumbs Also See for GM1 Series:
Table of Contents

Advertisement

Analog_8IN parameters
Setting item
Max. / Min. value retention
Analog_8IN I/O Mapping
Channel
Ch*_MaxMinHoldingRequ
est
Ch*_MaxHoldingValue
Ch*_MinHoldingValue
Ch*_MaxMinHoldingStatu
s
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".
WUME-GM1AIO-01
Default
Not execute
Description
Ch* Max. / Min. hold
request
Ch* Max. holding value
Ch* Min. holding value
Ch* Max. / Min. hold
status
5.6 Max. / Min. Hold Function
Description
Select "Execute".
Remarks
ON: Max. / Min. hold is executed.
OFF: Max. / Min. hold is stopped.
Validity condition: Level
Holds the maximum value of the digital conversion
value.
Holds the minimum value of the digital conversion
value.
While the Max. / Min. hold is executed: ON
While the Max. / Min. hold is stopped: OFF
5-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agm1ad8Agm1da4

Table of Contents