Module 9008 Reading Specific Inputs Of A Plc Input/Output Unit; Module 9005 Update All Outputs Of A Plc Input/Output Unit - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

December 2001

Module 9008 Reading specific inputs of a PLC input/output unit

In PLC addresses you can read the current states of the PLC input/output unit.
(See "Mounting and Electrical Installation" on page 3 – 5).
The memory contents remain unchanged until you call this module or Module
9002. 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
<Bits 0...31 = inputs 0..0.31>
PS
D/K
<Bits 0...31 = inputs 32...63>
CM
9008
Error recognition:
Marker
Value
Meaning
M4203
0
Inputs were read
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 9005 Update all 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 9009. The module does not recognize whether a PLC input/
output unit is actually 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
CM
9005
Error recognition:
Marker
Value
Meaning
M4203
0
Outputs were set
1
Error code in W1022
W1022
2
Invalid PL no.
24
Module was called in a spawn job or submit job
PLC Inputs/Outputs
6 – 391

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