Skip to main content

3.4. Monitoring and controlling by SW relays

3.4. Monitoring and controlling by SW relays

 

Of the embedded PLC relays, SW135 and SW136 are used for monitoring and controlling the state of the applet execution. When using them, it will be possible to check the execution state of HMI and to carry out remote execution and task shifting through the I/O signals from outside the Hi5 controller.

 

Table 31 Applet-related SW relays

Relays

Description

SW135

(Read only)

Upper byte (Applet state)

Lower byte (Shortcut number)

0: Not executed

1: Applet activated

2: Applet not activated

1–9: CTRL + 1–9

SW136

(Read and write)

Upper byte (Command)

Lower byte (Shortcut number)

1: To activate applet

2: To deactivate applet

-

3: End applet forcibly

For emergency.

It is recommended to use the applet’s own ending function first.

8: Execute the designated shortcut key number

1–9: CTRL + 1–9

 

 

l The command by SW136 will be executed only once when the value changes.

l Two applets cannot be executed simultaneously.