Packdword - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

PackDword

The PackDword instruction joins four 1-byte data into a 4-byte data.
Instruction
PackDword
4-byte Join
Version Information
A CPU Unit with unit version 1.12 or later and Sysmac Studio version 1.16 or higher are required
to use this instruction.
Variables
Name
Meaning
HighHigh
Byte data HH
HighLow
Byte data HL
LowHigh
Byte data LH
LowLow
Byte data LL
Out
Joined data
Bit strings
HighHigh
OK
HighLow
OK
LowHigh
OK
LowLow
OK
Out
NY-series Instructions Reference Manual (W560)
FB/
Name
FUN
FUN
I/O
Description
Data in bytes stored in bit 31-24
Data in bytes stored in bit 23-16
Input
Data in bytes stored in bit 15-8
Data in bytes stored in bit 7-0
Output
4-byte data
OK
Graphic expression
(@)PackDword
EN
ENO
HighHigh
Out
HighLow
LowHigh
LowLow
Valid range
Depends on
data type.
Depends on
data type.
Depends on
data type.
Depends on
data type.
Depends on
data type.
Integers
2 Instruction Descriptions
ST expression
Out:=PackDword(
HighHigh,
HighLow,
LowHigh,
LowLow);
Unit
Default
---
0
---
0
---
0
---
0
---
---
Times, durations,
dates, and text strings
2
2-489

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents