Panasonic GM1 Series Reference Manual page 50

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

Advertisement

5.5 Upper Limit / Lower Limit Comparison Function
"Ch* upper limit / lower limit comparison status"
Analog_8IN parameters
Setting item
Upper and lower limit
comparison
Upper limit comparison ON
level
Upper limit comparison OFF
level
Lower limit comparison ON
level
Lower limit comparison OFF
level
Analog_8IN I/O Mapping
Channel
Ch*_UpperLowerLimitCo
mparisonRequest
Ch*_
UpperLimitComparisonSta
tus
Ch*_
LowerLimitComparisonSta
tus
Ch*_
UpperLowerLimitCompari
sonStatus
Sample program
The following program executes the upper limit / lower limit comparison function of the ch0.
Specify a desired operation when the upper limit is detected or when the lower limit is detected.
Declaration section
PROGRAM PRG_AIO1
VAR
bCh0_UpperLimitComparisonStatus: BOOL;
bCh0_LowerLimitComparisonStatus: BOOL;
bCh0_UpperLowerLimitComparisonRequest: BOOL;
bCh0_UpperLowerLimitComparisonStatus: BOOL;
END_VAR
Implementation section
bCh0_UpperLowerLimitComparisonRequest := TRUE; // Start detection
IF bCh0_UpperLowerLimitComparisonStatus = TRUE THEN //Detection enabled
5-12
Default
Not execute
1000
1000
0
0
Description
Ch* upper limit / lower
limit comparison request
Ch* upper limit
comparison status
Ch* lower limit
comparison status
Ch* upper limit / lower
limit comparison status
Description
Select "Execute".
Specify the upper limit comparison ON level.
-32768 to +32767
Specify the upper limit comparison OFF level.
-32768 to +32767
Specify the lower limit comparison ON level.
-32768 to +32767
Specify the lower limit comparison OFF level.
-32768 to +32767
Remarks
ON: Upper limit / lower limit comparison is executed.
OFF: Upper limit / lower limit comparison is stopped.
Validity condition: Level
Turns ON when the value exceeds the set upper limit.
Turns ON when the value exceeds the set lower limit.
Turns ON when the upper limit / lower limit comparison
function is executed.
WUME-GM1AIO-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agm1ad8Agm1da4

Table of Contents