PLUGIN_WRITE (write plug-in)
The PLUGIN_WRITE instruction writes a block of data to any plug-in generic module hardware.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
PLUGIN_WRITE

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
Enable | Input | BOOL | Instruction block enable.
|
SlotID | Input | UINT | Plug-in slot number. Slot ID = 1,2,3,4,5 (starting with the far left slot = 1). |
AddrOffset | Input | UINT | Address offset of the first data to be written, calculating from the first byte of the plug-in generic module. |
DataLength | Input | UINT | The number of bytes to be written. |
DataArray | Input | USINT | Data to be written to the plug-in generic module. |
Sts | Output | UINT | PLUGIN_WRITE status codes. Status (Sts) codes:
|
ENO | Output | BOOL | Enable output. Applies only to ladder diagram programs. |
PLUGIN_WRITE examples
PLUGIN_WRITE function block diagram example

PLUGIN_WRITE ladder diagram example

PLUGIN_WRITE structured text example

Provide Feedback