3. Instruction Set Program example: Ladder diagram: Instruction: Operation: X0 Y1 X1 Block A LD X0 Load NO contact X0 ANI X1 Connect NC contact X1 in series LDI X2 Load NC contact X2 Block B ORB AND X3 Connect NO contact X3 in series ORB Connect circuit block in parallel OUT Y1 Drive Y1 coil As the start of branches, MPS stores current result of program evaluation at the point of Explanations: divergence. Explanations: MRD reads the stored current result from previous MPS and operates with the contact connected after MRD. Explanations: As the end of branches, MPP pops the stored result in previous MPP, which means it operates with the contact connected first then resets the storage memory.
Points to note: 1. Every MPS can not be applied without a corresponding MPP 2. Max. 8 MPS-MPP pairs can be applied.. 3-7 X2 X3 Mnemonic Function Program steps Controllers SA2 ES2/EX2 SS2 SX2 SE MPS Start of branches. Stores current result of program evaluation 1 Controllers SA2 ES2/EX2 SS2 SX2 SE Mnemonic Function Program steps Controllers SA2 ES2/EX2 SS2 SX2 SE MRD Reads the stored current result from previous MPS 1 Controllers SA2 ES2/EX2 SS2 SX2 SE Mnemonic Function Program steps Controllers SA2 ES2/EX2 SS2 SX2 SE MPP End of branches. Pops (reads and resets) the stored result in previous MPS. 1 Controllers SA2 ES2/EX2 SS2 SX2 SE