Socket instruction timing diagrams

Successful execution for Socket instructions when process is immediate

Successful execution for Socket instructions when process is immediate
Successful execution for Socket instructions when process is immediate
Condition A: Rung condition is TRUE during instructions execution
Rung Condition
Description
1
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions completes execution successfully.
  • Output for DN bit and DONE is set.
2,3,4
No change in Rung condition.
5
Rung condition becomes FALSE when EN bit is cleared.
6,7
No change in Rung condition.
Condition B: Rung condition is FALSE during instructions execution
Rung Condition
Description
8
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • Socket instructions completes execution successfully.
  • EN bit is set and all other bits are cleared.
  • Output for DN bit and DONE is set.
9
Rung condition becomes FALSE when EN bit is cleared.
10,11
No change in Rung condition.

Successful execution for Socket instructions when process is non-immediate

Successful execution for Socket instructions when process is non-immediate
Successful execution for Socket instructions when process is non-immediate
Condition A: Rung condition is TRUE during instructions execution
Rung Condition
Description
1
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions perform background processing.
  • Output for EW bit and BUSY is set.
  • Forced Socket instructions input parameter for background processing.
2
Socket instructions start execution when:
  • EW bit is cleared.
  • ST bit is set.
3
Socket instructions complete execution successfully when:
  • Output for ST bit and BUSY is cleared.
  • Output for DN bit and DONE is set.
4
No change in Rung condition.
5
Rung condition becomes FALSE when EN bit is cleared.
6,7
No change in Rung condition.
Condition B: Rung condition goes FALSE during instructions execution
Rung Condition
Description
8
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions send for background processing.
  • Output for EW bit and BUSY is set.
  • Forced Socket instructions input parameter for background processing.
9
Socket instructions start execution when:
  • EW bit is cleared.
  • ST bit is set.
  • Rung condition becomes FALSE.
10
Socket instructions complete execution successfully when:
  • Output for ST bit and BUSY are cleared.
  • Output for DN bit and DONE is set.
  • Rung condition is FALSE.
  • EN bit is cleared.

Socket instructions fail when EN is TRUE and EW and ST are FALSE

Socket instructions fail when EN is TRUE and EW and ST are FALSE
Socket instructions fail when EN is TRUE and EW and ST are FALSE
Condition A: Rung condition is TRUE during instructions execution
Rung Condition
Description
1
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions complete execution with error.
  • Output for ER bit and error is set.
2,3
No change in Rung condition.
4
Rung condition becomes FALSE when EN bit is cleared.
5,6
No change in Rung condition.
Condition B: Rung condition becomes FALSE during instructions execution
Rung Condition
Description
7
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions complete execution with error.
  • Output for ER bit and error is set.
8
Rung condition becomes FALSE when EN bit is cleared.
9
No change in Rung condition.

Socket instructions fail when EW is TRUE and instruction process is non-immediate

Socket instructions fail when EW is TRUE and instruction process is non-immediate
Socket instructions fail when EW is TRUE and instruction process is non-immediate
Condition A: Rung condition is TRUE during instructions execution
Rung Condition
Description
1
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions send for background processing.
  • Output for EW bit and BUSY is set.
  • Forced Socket instructions input parameter for background processing.
2
Socket instructions complete execution with error when:
  • Output for EW bit and BUSY is cleared.
  • Output for ER bit and error is set.
3,4
No change in Rung condition.
5
Rung condition becomes FALSE when EN bit is cleared.
6,7
No change in Rung condition.
Condition B: Rung condition becomes FALSE during instructions execution
Rung Condition
Description
8
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions send for background processing.
  • Output for EW bit and BUSY is set.
  • Forced Socket instructions input parameter for background processing.
9
Socket instructions complete execution with error when:
  • Output for EW bit and BUSY is cleared.
  • Output for ER bit and error is set.
  • Rung condition becomes FALSE.
  • EN bit is cleared.
10,11
No change in Rung condition.

Socket instructions fail when ST is TRUE and instruction process is non-immediately

Socket instructions fail when ST is TRUE and instruction process is non-immediately
Socket instructions fail when ST is TRUE and instruction process is non-immediately
Condition A: Rung condition is TRUE during instructions execution
Rung Condition
Description
1
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions send for background processing.
  • Output for EW bit and BUSY output is set.
  • Forced Socket instructions input parameter for background processing.
2
Socket instructions start execution when:
  • EW bit is cleared.
  • ST bit is set.
3
Socket instructions complete execution with error when:
  • Output for ST bit and BUSY output is cleared.
  • Output for ER bit and error is set.
4
No change in Rung condition.
5
Rung condition becomes FALSE when EN bit is cleared.
6,7
No change in Rung condition.
Condition B: Rung condition becomes FALSE during instructions execution
Rung Condition
Description
8
Rung condition becomes TRUE when:
  • Socket instructions execution is enabled.
  • EN bit is set and all other bits are cleared.
  • Socket instructions send for background processing.
  • Output for EW bit and BUSY is set.
  • Forced Socket instructions input parameter for background processing.
9
Socket instructions start execution when EW bit is cleared and ST bit is set.
10
Socket instructions complete execution with error when:
  • Output for ST bit and BUSY is cleared.
  • Output for ER bit and error is set.
  • Rung condition becomes FALSE.
  • EN bit is cleared.
11
No change in Rung condition.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal