Leuze electronic GmbH + Co. KG
MA 238
i
41
10.4 RESET function / deleting memory
For many applications, it is helpful to be able to reset the MA buffer (in Collective mode) or status bits.
The following bit pattern can be transmitted from the PLC for this purpose (if >20 ms is pending):
Control byte 0:
10101010 (AAh)
Control byte 1:
10101010 (AAh)
OUT data byte 0/parameter byte 0:
AAh
OUT data byte 1/parameter byte 1:
AAh
This sets the memory or status/control bits to 00h.
Please observe that the data image may need to be updated by toggling the R
-
ACK in Collective mode.
NOTE
The state change of the CTB bit signals the MA that the data is going into the buffer; therefore,
it's essential to observe the order!
When the CTB is not used, the telegram (which fits in one cycle) is transmitted directly to the
RS 232 interface. Please make sure it is complete!