74
3 CPU MODULE INSTRUCTION
3.3 Application Instruction
Index register operation instruction
■
Saving/returning all data of the index register
■
Saving/returning the selected data of the index register and long index register
Data control instruction
■
Upper and lower limit control of 16-bit/32-bit binary data
■
Dead band control of 16-bit/32-bit binary data
■
Zone control of 16-bit/32-bit binary data
Instruction symbol
Description
Reference
ZPUSH
Saves the contents of index registers to the devices specified by (d) onwards.
ZPUSHP
ZPOP
Reads the data in devices specified by (d) onwards to the index registers.
ZPOPP
Instruction symbol
Description
Reference
ZPUSH
Saves the contents of the index registers and long index registers in the range specified by (s) to
devices specified by (d) onwards.
ZPUSHP
ZPOP
Reads data in the devices specified by (d) onwards to the index registers and long index registers.
ZPOPP
Instruction symbol
Description
Reference
LIMIT
(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)
LIMITP
LIMIT_U
LIMITP_U
DLIMIT
[(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)]
DLIMITP
DLIMIT_U
DLIMITP_U
Instruction symbol
Description
Reference
BAND
When (s1)
(s3)
(s2): 0
(d)
When (s3) < (s1): (s3) - (s1)
(d)
When (s2) < (s3): (s3) - (s2)
(d)
BANDP
BAND_U
BANDP_U
DBAND
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)]
DBANDP
DBAND_U
DBANDP_U
Instruction symbol
Description
Reference
ZONE
When (s3) = 0: 0
(d)
When (s3) > 0: (s3) + (s2)
(d)
When (s3) < 0: (s3) + (s1)
(d)
ZONEP
ZONE_U
ZONEP_U
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......