Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 76

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Index register operation instruction
■Saving/returning all data of the index register
Instruction symbol
ZPUSH
ZPUSHP
ZPOP
ZPOPP
■Saving/returning the selected data of the index register and long index register
Instruction symbol
ZPUSH
ZPUSHP
ZPOP
ZPOPP
Data control instruction
■Upper and lower limit control of 16-bit/32-bit binary data
Instruction symbol
LIMIT
LIMITP
LIMIT_U
LIMITP_U
DLIMIT
DLIMITP
DLIMIT_U
DLIMITP_U
■Dead band control of 16-bit/32-bit binary data
Instruction symbol
BAND
BANDP
BAND_U
BANDP_U
DBAND
DBANDP
DBAND_U
DBANDP_U
■Zone control of 16-bit/32-bit binary data
Instruction symbol
ZONE
ZONEP
ZONE_U
ZONEP_U
3 CPU MODULE INSTRUCTION
74
3.3 Application Instruction
Description
Saves the contents of index registers to the devices specified by (d) onwards.
Reads the data in devices specified by (d) onwards to the index registers.
Description
Saves the contents of the index registers and long index registers in the range specified by (s) to
devices specified by (d) onwards.
Reads data in the devices specified by (d) onwards to the index registers and long index registers.
Description
(s3) < (s1): The (s1) value is stored in (d)
(s1)  (s3)  (s2): The (s3) value is stored in (d)
(s2) < (s3): The (s2) value is stored in (d)
[(s3)+1, (s3)] < [(s1)+1, (s1)]: The [(s1)+1, (s1)] value is stored in [(d)+1, (d)]
[(s1)+1, (s1)]  [(s3)+1, (s3)]  [(s2)+1, (s2)]: The [(s3)+1, (s3)] value is stored in [(d)+1, (d)]
[(s2)+1, (s2)] < [(s3)+1, (s3)]: The [(s2)+1, (s2)] value is stored in [(d)+1, (d)]
Description
When (s1)  (s3)  (s2): 0  (d)
When (s3) < (s1): (s3) - (s1)  (d)
When (s2) < (s3): (s3) - (s2)  (d)
When [(s1)+1, (s1)]  [(s3)+1, (s3)]  [(s2)+1, (s2)]: 0  (d+1, d)
When [(s3)+1, (s3)] < [(s1)+1, (s1)]: [(s3)+1, (s3)] - [(s1)+1, (s1)]  [(d)+1, (d)]
When [(s2)+1, (s2)] < [(s3)+1, (s3)]: [(s3)+1, (s3)] - [(s2)+1, (s2)]  [(d)+1, (d)]
Description
When (s3) = 0: 0  (d)
When (s3) > 0: (s3) + (s2)  (d)
When (s3) < 0: (s3) + (s1)  (d)
Reference
Page 546
Page 548
Reference
Page 549
Page 551
Reference
Page 552
Page 554
Reference
Page 556
Page 558
Reference
Page 560

Hide quick links:

Advertisement

loading