Module 9009 Update Certain Outputs Of A Plc Input/Output Unit; Module 9004 Edges Of Plc Inputs - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

6 – 392

Module 9009 Update certain outputs of a PLC input/output unit

Module 9005 overwrites the outputs of the PLC input/output unit with the
values from the PLC addresses (See "Mounting and Electrical Installation" on
page 3 – 5). The outputs are set or reset immediately at the time of module
execution and remain in their state until they are set or reset again by this
module or Module 9005. As of NC software 280 474-xx, the module
recognizes whether a PLC input/output unit is connected.
The program can be called only in the cyclic PLC program.
Call:
PS
B/W/D/K <Number of the PL>
0: First PLC input/output unit
1: Second PLC input/output unit
2: Third PLC input/output unit
3: Fourth PLC input/output unit
PS
D/K
<Bit 0...31 = outputs 0...31>
CM
9009
Error recognition:
Marker
Value
Meaning
M4203
0
Outputs were set
1
Error code in W1022
W1022
2
Invalid PL number (as of 280 474-xx: PL not connected
or invalid PL no.)
24
Module was called in a spawn job or submit job

Module 9004 Edges of PLC inputs

With this module you set, upon falling or rising edges of the
PLC inputs, specified end 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
M4203
0
No error
1
Invalid transfer parameter
HEIDENHAIN Technical Manual TNC 426, TNC 430

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents