Writing Elapsed Value - Panasonic GM1 Series Reference Manual

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

Advertisement

4.8 Internal Absolute Counter
AxisNo:=1,
Enable:=TRUE);
PG_ReadStatus_0.AbsoluteCounter;

4.8.4 Writing Elapsed Value

● The elapsed value can be written using the PG_SetPosition function block.
● In the following example, the elapsed value "10000" is written.
Program example (ST)
Declaration section
PROGRAM sample
VAR
PG_SetPosition_0: PG_SetPosition;
END_VAR
Implementation section
PG_SetPosition_0(
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
PositionType:=PG_POSITION_TYPE.ABSOLUTE,
AbsoluteCounter:=10000);
4-14
WUME-GM1PG-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agm1pg04tAgm1pg04l

Table of Contents