EasyManuals Logo

BONFIGLIOLI Agile Applications Manual

BONFIGLIOLI Agile
166 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #133 background imageLoading...
Page #133 background image
VPLC / PLC 13108/10
08/10 VPLC / PLC 131
Example P2 I1 O1 O2
1) 1: One shift 0xF00F 0xE01E 0x1FI1
2) 4: Four shifts 0x00FF 0x0FF0 0xF00F
3) 8: Eight shifts 0xFF00 0x0000 0xFFFF
In example 1):
5.11.8 [213] Bit roll right
Type Function Type Function
I1 % input value 1
O1 %
I1 bitwise shifted by P2, with
bits re-inserted
I2 - - O2 % inverted output
I3 b Master Set P1 - -
I4 b Master Reset P2 i Number of shifts
Description:
The input value at I1 is shifted to the right bitwise by the number of shifts (P2). On the left
side, the bits leaving on the right side will be inserted.
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Note:
Rolling by 8 bits exchanges the most significant bit and least significant byte.
Rolling by 15 bits to the right corresponds to rolling by one bit to the left.
After rolling by 16 bits, the output value at O1 is the same as the input value at I1.
Example
P2 I1 O1 O2
1) 1: One shift 0xF00F 0xF807 0x07F8
2) 4: Four shifts 0x00FF 0xF00F 0x0FF0
3) 8: Eight shifts 0xFF00 0x00FF 0xFF00
In example 1):
5.11.9 [220] Output one bit
Type Function Type Function
I1 % input value 1 O1 b One bit of I1, selected via P1
I2 - - O2 b inverted output
I3 b Master Set P1 i Number of bit (0 … 15)
I4 b Master Reset P2 - -
Description:
A selected bit of input value 1 is output at output 1. The bit is selected via P1.
P1=0: The least significant bit (LSB) is selected,
P1=15: The most significant bit (MSB) is selected.

Table of Contents

Other manuals for BONFIGLIOLI Agile

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the BONFIGLIOLI Agile and is the answer not in the manual?

BONFIGLIOLI Agile Specifications

General IconGeneral
BrandBONFIGLIOLI
ModelAgile
CategoryDC Drives
LanguageEnglish

Related product manuals