Skip to main content

4.3. Relay Indirect Address Designation

4.3. Relay Indirect Address Designation

 

SW61 ~ SW69 are the system memories for the indirect address specification. Regardless of the type of relays, when the relay address is specified as "-1" ~ "-9", the values stored in SW61 ~ SW69 will be specified as the address.

 

 

For example, in case of SW61=12, SW65=34, SW69=56, the relays will be designated as below.

 

l MW-1è MW12, MW-5è MW34, MW-9èMW56

l FN-1.X3 è FN12.X3, FN-5.X3 è FN34.X3, FN-9.X3 è FN56.X3

l X-1 è X12, X-5 è X34, X-9è X56

l Y-1 è Y12, Y-5 è Y34, Y-9è Y56

 

The PLC example shown below is the case in which the operation of inputting the Y1 ~ 128 signals that match the X1 ~ X128 input signals is prepared by using the FOR/NEXT statement and the indirect address designation method.