EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - Page 1366

HEIDENHAIN MANUALPLUS 620
1818 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1366 HEIDENHAIN Technical Manual MANUALplus 620
Module 9002 Read the inputs of a PLC input/output unit
The module downloads the current states of the PLC input/output unit. These
states can be read in the PLC addresses (process image). The contents of the
PLC addresses remain unchanged until you call this module again.
For PL 510, inputs of empty slots are not read.
The program can be called only in the cyclic PLC program.
Call:
PS B/W/D/K <Number of the PLB 510 basic module (0 to 3)>
CM 9002
Error recognition:
Module 9004 Build the edges of PLC inputs
The module sets, upon falling or rising edges of the PLC inputs, specified edge
markers or bits in the specified byte range. Changes in the inputs are
recognized only if a change also occurs in the PLC addresses (see Module
9002).
Ensure that the specified edge markers or edge bytes are in an unoccupied
area. The edge bytes are written beginning with the least significant bit.
Superfluous bits are erased.
Call:
PS B/W/D/K <Number of the first PLC input>
PS B/W/D/K <Number of the first edge marker or edge byte>
PS B/W/D/K <Number of PLC inputs>
PS B/W/D/K <Edge evaluation>
0: Rising edge. Entry in edge marker
1: Falling edge. Entry in edge marker
2: Rising edge. Entry in edge byte
3: Falling edge. Entry in edge byte
CM 9004
Error recognition:
Marker Value Meaning
NN_GenApiModule
Error
0 Inputs were read
1 Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
2 Invalid PL number
24 Module was called in a spawn job or submit
job
Marker Value Meaning
NN_GenApiModule
Error
0 Outputs were set
1 Invalid transfer parameter

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals