background image

14

Remote I/O Installation and Programming Manual

3.2

Input Image Table Format

The Remote I/O Interface places two 16-bit words in the PLC input image table which are read by the PLC
controller. The Remote I/O Interface receives data from the indicator, then writes data and status information to
the input image table based on parameters specified on the previous discrete write command. A discrete read
command is performed when the PLC controller reads the data from the input image table. 

The format of the input image table is shown in Table 3-7:

where:

v00–v15

16-bit signed integer value (v15 is the sign bit)

v16–v19

4 high-order bits of 20-bit unsigned integer

p

Polarity bit for 20-bit integer (0 = positive; 1 = negative). Not valid for 16-bit integers.

s00–s10

Status data

Value

Word 0 of the input image table is used to return
weight data to the PLC controller. For values returned
in 16-bit format, bit v15 serves as the sign bit. Values
returned in 20-bit format use word 0 and bits v16–v19
of word 1, with a polarity bit (word 1, bit 4) to indicate
the sign.

See Section 3.3 on page 15 for information about
interpreting bit shifted values in the input image table. 

Polarity

The polarity bit is used to indicate the sign of values
returned in 20-bit format. This bit is not used for
16-bit values.

Status Data

Status data returned on a discrete read command can
be either remote function status data or batch function
status data, depending on the format specified on the
write command. 

Status bits should be routinely checked
to ensure that incoming weight data is
valid and that communication with the
indicator is active. 

For example, if communication with the indicator is
lost, the weight OK/weight invalid bit (status bit s12)
is set. Failure to monitor this bit can cause overflows
or accidents if conditional filling operations are based
on old data.

Table 3-8 shows the remote function status data
format.

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Word 0

v15

v14

v13

v12

v11

v10

v09

v08

v07

v06

v05

v04

v03

v02

v01

v00

Word 1

s10

s09

s08

s07

s06

s05

s04

s03

s02

s01

s00

p

v19

v18

v17

v16

Table 3-7. Input Image Table Format

!

Caution

Word 1 

Bit

Status 

Bit

Remote Function Status Data

Value=0

Value=1

05

s00

No bit shift

Bits shifted

06

s01

Reserved

07

s02

08

s03

Gross

Net

09

s04

No tare

Tare acquired

10

s05

Primary (LB)

Secondary (KG)

11

s06

Standstill

In motion

12

s07

Weight OK

Weight invalid / 

Over-range

13

s08

Not zero

Center of zero

14

s09

Tare not entered

Tare entered

15

s10

Reserved

Table 3-8. Remote Function Status Data Format

DISCONTINUED

Summary of Contents for ALLEN-BRADLEY Remote I/O Interface

Page 1: ...45775 Remote I O ALLEN BRADLEY Remote I O Interface for IQ plus 510 and IQ plus 710 Indicators Version 2 04 Installation and Programming Manual D I S C O N T I N U E D...

Page 2: ...D I S C O N T I N U E D...

Page 3: ...s 11 3 1 Output Image Table Format 11 3 2 Input Image Table Format 14 3 3 Bit Shifting 15 4 0 Block Transfer Commands 16 4 1 Set Tare Value 17 4 2 Set Setpoint Values 18 4 3 Read Setpoint Values 20 4...

Page 4: ...ii Remote I O Installation and Programming Manual D I S C O N T I N U E D...

Page 5: ...evice to the master PLC appearing as a quarter rack of I O The PLC controller and Remote I O Interface communicate using a quarter rack of data slots 4 slots with 8 bits of input 8 bits of output per...

Page 6: ...d ground wires to enclosure ground stud 7 Reconnect load cell digital I O and communications cables to the appropriate connectors on the indicator CPU board 2 1 2 Install Remote I O Interface Board 8...

Page 7: ...nd reinstall the backplate screws Use the torque pattern shown in Figure 2 3 to prevent distorting the backplate gasket Torque screws to 15 in lb 1 7 N m Figure 2 3 IQ plus 510 710 Remote I O Backplat...

Page 8: ...NC x 1 4 machine screws 4 Standoffs pin 1 Mounting brackets with 6 32NC kep nuts 2 J4 J4 J15 J1 pin 1 J3 Remote I O Interface board Ribbon cable from connector J1 to J15 on indicator board LED connect...

Page 9: ...or J4 to connector J4 on the Remote I O board Once wiring and DIP switch configuration see Section 2 3 are complete position the backplate over the indicator enclosure and reinstall the backplate scre...

Page 10: ...ntroller board see Figure 2 1 on page 3 for board location of J4 Figure 2 6 shows the J4 connector layout for the Remote I O Interface Table 2 1 on page 2 shows connections between the Remote I O Inte...

Page 11: ...F and SW2 7 ON Block Transfer Set SW2 6 ON to enable or OFF to disable block transfer to the Remote I O Interface Setting this switch OFF causes the Remote I O Interface to ignore unsolicited block tr...

Page 12: ...FF ON OFF 11 13 OFF OFF ON OFF ON ON 43 53 OFF OFF ON OFF ON OFF 12 14 ON ON OFF OFF ON ON 44 54 ON ON OFF OFF ON OFF 13 15 OFF ON OFF OFF ON ON 45 55 OFF ON OFF OFF ON OFF 14 16 ON OFF OFF OFF ON ON...

Page 13: ...ng RIO Green On steady when communicating with the PLC Blinks if node adapter is receiving only RESET commands from PLC Check if PLC is in program mode Off indicates no connection to the network Check...

Page 14: ...to the PLC For example a value of 750 1 displayed on the indicator is returned to the PLC as 7501 Block Transfer Block transfer commands support decimal point information with no special handling Pol...

Page 15: ...32 767 Status Data Format The status data format bits specify the format of status data returned to the PLC 000 Remote function status data 001 Batch function status data valid only for Command 42 Ba...

Page 16: ...00 1110 Print Request KPRINT cr 15 0000 1111 Clear KCLR cr 17 0001 0000 Clear Accumulator KDISPACCUM cr KCLR cr KCLR cr IQ plus 710 only 21 0001 0101 Clear Tare KDISPTARE cr KCLR cr KCLR cr IQ plus 71...

Page 17: ...s 8 10 000 20 bit weight format bit 11 1 Remote function status data format bits 12 14 000 The integer value of the bits set in the example above are the sum of Command number 6 Bit shift 0 Weight for...

Page 18: ...olarity bit is used to indicate the sign of values returned in 20 bit format This bit is not used for 16 bit values Status Data Status data returned on a discrete read command can be either remote fun...

Page 19: ...as a sign bit The maximum value that can be returned in 15 bits is 215 1 or 32 767 With bit shifting the maximum value that can be returned is increased to 2n b 1 2b 1 where n is the number of data b...

Page 20: ...he number of the previous block write command 1 and a response code indicating whether or not the block write command was successful If the command failed the command number returned in the block read...

Page 21: ...code field are 0 00 Command successful 1 01 Command failed 2 10 Block write command format not valid If the block write command failed the command number returned in word 0 is set negative 1 Table 4 3...

Page 22: ...ysteresis Value LSW 9 p31 Preact Value p16 Preact Value MSW 10 p15 p00 Preact Value LSW Value Kind Description 0 OFF Setpoint turned off ignored 1 GROSSSP Gross setpoint Trips when the current gross w...

Page 23: ...e PREACT parameter This parameter is used only if PREACT is set to ON or LEARN See the IQ plus 710 Installation Manual for more information about setpoint configuration 18 CONCUR Allows a digital outp...

Page 24: ...ed in word 0 is set negative 3 Table 4 9 shows the format of the block read command Table 4 9 Block Read Command 3 Read Setpoint Values Word Bit Number Word Contents 15 14 13 12 11 10 9 8 7 6 5 4 3 2...

Page 25: ...tor value to the PLC controller If the block write command failed the command number returned in word 0 is set negative 4 Table 4 11 shows the format of the block read command Table 4 11 Block Read Co...

Page 26: ...s a 2 word tare value to the PLC controller If the block write command failed the command number returned in word 0 is set negative 7 Table 4 13 shows the format of the block read command Table 4 13 B...

Page 27: ...gross value to the PLC controller If the block write command failed the command number returned in word 0 is set negative 8 Table 4 15 shows the format of the block read command Table 4 15 Block Read...

Page 28: ...s a 2 word net value to the PLC controller If the block write command failed the command number returned in word 0 is set negative 9 Table 4 17 shows the format of the block read command Table 4 17 Bl...

Page 29: ...Block write command format not valid If the block write command failed the command number returned in word 0 is set negative 11 Table 4 19 shows the format of the block read command Table 4 19 Block R...

Page 30: ...e read The response code indicates whether or not the Read Multiple Setpoint Values block write command was successful Possible values for the response code field are 0 00 Command successful 1 01 Comm...

Page 31: ...Batching State block write command was successful Possible values for the response code field are 0 00 Command successful 1 01 Command failed 2 10 Block write command format not valid If the block wr...

Page 32: ...e commands to the Remote I O Interface and checks the status bits returned in the input image table to confirm completion of each command This example assumes the Remote I O scanner to be in slot 2 wi...

Page 33: ...WEIGHT DISPLAY NET WEIGHT CLEAR TARE B3 0 I 2 1 9 B3 1 I 2 1 8 B3 2 I 2 1 8 B3 3 I 2 1 9 TARE SCALE SCALE TARE STATUS DISPLAY GROSS WEIGHT GROSS NET STATUS DISPLAY NET WEIGHT GROSS NET STATUS CLEAR T...

Page 34: ...8 9 END I 2 1 4 IF BIT 4 OF WORD 1 POLARITY BIT IS SET CHANGE SIGN OF DATA TO NEGATIVE DISCRETE WRITE WEIGHT CONVERSION ROUTINE COPY INPUT IMAGE WORD 1 TO INTEGER FILE COPY INPUT IMAGE WORD 0 TO INTEG...

Page 35: ...BTR Rack 3 Group 2 Module 0 Ctl Blk N10 0 Data File N11 0 Length 2 Continuous NO BTW Rack 3 Group 2 Module 0 Ctl Blk N10 5 Data File N11 10 Length 2 Continuous NO 2 BTR Rack 3 Group 2 Module 0 Ctl Bl...

Page 36: ...ONVERT 2 WORD PREACT VALUE TO FLOATING POINT VALUE 1 COP Copy File Source F8 2 Dest N11 15 Length 2 COPY FLOATING POINT BAND VALUE INTO TWO SEPARATE WORDS 2 COP Copy File Source F8 3 Dest N11 17 Lengt...

Page 37: ...ndicator the connection to the PLC controller or the Remote I O Interface itself The flowchart on the following page provides a diagnostic procedure for troubleshooting the Remote I O Interface using...

Page 38: ...tion is installed but indicator is not connected TxD LED state FLASHING at 1 sec intervals No response from indicator Check indicator configuration Check DIP switch SW2 5 for correct indicator type NO...

Page 39: ...ote I O Network Communications Twinaxial cable attachment to networks at 56 6 115 2 or 230 4 Kbps Serial Communications Interface RS 232C 20mA current loop optional Data rate 9600 or 19 2 Kbps ASCII e...

Page 40: ...ot caused by accident misuse neglect alteration improper installation improper repair or improper testing RLWS shall be the sole judge of all alleged non conformities Such equipment has not been modif...

Reviews: