R 02/92
1.5
Communication between 1P 241 Digital Position Decoder
and Programmable Controller
Programmable
Controller
The 1P 241 communicates with the programmable controller via two standard function blocks. Fur-
thermore, controller–specific interrupts can be transferred to the programmable controller via in-
terrupt lines or group interrupts (byte O).
The function block accesses a data block. With this data block and with the standard function
blocks the user can
– Parametrize
– Control and
– Monitor the 1P 241.
The DB (IP 241) contains all parameters (e.g., cam setpoints, interrupts).
The data block number can be selected by the user; the data sequence in the DB (IP 241) must
then be strictly adhered to!
The standard FB 156 (parameterize) is called in the new start OBS of the programmable controller.
It supplies the 1P 241 with the data specified in the DB (IP 241).
FB 157 (control) is called in the cyclic program and/or in the interrupt–controlled program. The
commands given there serve for controlling or scanning the 1P 241.
trolled program. In contrast to FB 157, the parameters are transferred indirectly via the working
data block.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
2 4 1 ) ~p~~~~eterize)
—
New start
controller
(Control)
Interrupt lines
General Function Description
S nchronization LED
S nchronization LED
sub D)
nary
2
contact
—
I
+ 24 V external
M external
—
1 – 5