PLUGIN_RESET (reset plug-in)

The PLUGIN_RESET instruction resets any plug-in generic module hardware. After the hardware reset, the plug-in generic module is ready for configuration and operation.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
PLUGIN_RESET
PLUGIN_RESET
PLUGIN_RESET parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
Instruction block enable.
  • TRUE: Execute Plug-in reset.
  • FALSE: There is no reset operation.
SlotID
Input
UINT
Plug-in slot number.
Slot ID = 1,2,3,4,5 (starting with the far left slot = 1).
Sts
Output
UINT
PLUGIN_RESET status codes.
Status (Sts) codes:
  • 0x00: Function block not enabled (no operation).
  • 0x01: Plug-in operation success.
  • 0x02: Plug-in operation fails due to an invalid Slot ID.
  • 0x03: Plug-in operation fails because it is not a valid plug-in generic module.
    2080-MOT-HSC module configuration is in high speed counter instruction mode.
  • 0x04: Plug-in operation fails due to data operated out of range.
  • 0x05: Plug-in operation fails due to a data access parity error.
ENO
Output
BOOL
Enable output.
Applies only to ladder diagram programs.

PLUGIN_RESET examples

PLUGIN_RESET function block diagram example
PLUGIN_RESET function block diagram example
PLUGIN_RESET ladder diagram example
PLUGIN_RESET ladder diagram example
PLUGIN_RESET structured text example
PLUGIN_RESET structured text example
Results
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal