Chapter 6 Applied Instructions Symbol S 1 : The hour to start working (occupies 7 consecutive devices) S 2 : The minute to start working (occupies 7 consecutive devices) S 3 : The hour to stop working (occupies 7 consecutive devices) 6_ S 4 : The minute to stop working (occupies 7 consecutive devices) D : Output control Explanation 1. This instruction allows you to set the time to start working for the week. S 1 – S 1 +6 allows you to set the time on Sunday / Monday / Tuesday / Wednesday / Thursday / Friday / Saturday respectively. This operand occupies 7 consecutive devices. You can use the variables in an ARRAY to declare the operands. 2.
S 2 – S 2 +6 S 1 – S 1 +6 allows you to set the minutes to start working on Sunday / Monday / Tuesday / Wednesday / Thursday / Friday / Saturday respectively. This operand occupies 7 consecutive devices. You can use the variables in an ARRAY to declare the operands. 3. S 3 – S 3 +6 allows you to set the hour to stop working on Sunday / Monday / Tuesday / Wednesday / Thursday / Friday / Saturday respectively. This operand occupies 7 consecutive devices. You can use the variables in an ARRAY to declare the operands. 4. S 4 – S 4 +6 allows you to set the minutes to stop working on Sunday / Monday / Tuesday / Wednesday / Thursday / Friday / Saturday respectively.
This operand occupies 7 consecutive devices. You can use the variables in an 6-503 1608 WWON S1, S2, D Setting up weekly working time Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 S3 S4 D BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 S3 S4 D Pulse instruction 16-bit instruction 32-bit instruction - ES3 -