January 2012 7.8 PLC Inputs/Outputs 1367
Module 9005 Set the outputs of a PLC input/output unit
The module overwrites the outputs of the PLC input/output unit with the 
values from the PLC addresses. The outputs are set or reset immediately at 
the time of module execution and remain in their condition until they are set 
or reset again by this module.
For the PL 510, the outputs of empty slots are not overwritten with values 
from the PLC addresses.
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 9005
Error recognition: 
Marker Value Meaning
NN_GenApiModule
Error
0 Outputs were set
1 Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
2 Invalid PL number
24 Module was called in a spawn job or submit 
job