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 #135 background imageLoading...
Page #135 background image
VPLC / PLC 13308/10
08/10 VPLC / PLC 133
5.11.11 [222] Add two bits to a word
Type Function Type Function
I1 % Input word 1 O1 % O1=I1, Bit(P1)=I2, Bit(P2)=I3
I2 b Input Bit 1 O2 % inverted output
I3 b Input Bit 2 P1 i Number of 1st bit (0 … 15)
I4 b Master Reset P2 i Number of 2nd bit (0 … 15)
Description:
The states at inputs I2 and I3 are inserted in certain bits of the input value 1. The bits are de-
fined by P1 and P2.
The input value at I1 is copied to output O1.
The state of input I2 is copied to the bit of output O1 specified via P1.
The state of input I3 is copied to the bit of output O1 specified via P2.
If a bit number outside of range 0 … 15 is specified, the bit will not be written in the word.
Example
P1 P2 Copy I1 I2 I3 O1 O2
1) 12 11
I1 to O1,
I2 to bit 12 of O1,
I3 to Bit 11 of O1
0xF00F 0 1 0xE80F
0x17F0
2) 4 5
I1 to O1,
I2 to bit 4 of O1,
I3 to Bit 5 of O1
0xF00F 1 1 0xF03F 0x0FC0
3) 0 1
I1 to O1,
I2 to bit 0 of O1,
I3 to Bit 1 of O1
0xF00F 0 0 0xF00C 0x0FF3
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
In example 1):

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