background image

18

Remote I/O Installation and Programming Manual

4.2

Set Setpoint Values

The Set Setpoint Values block write command is used to write setpoint information to the indicator. Table 4-4
shows the format of the command:

Table 4-4. Block Write Command 2: Set Setpoint Values

Command Number

Specifies the Set Setpoint Values command number, 2.

Setpoint Number

Specifies the setpoint number being configured. Valid values are 1 through 8, decimal.

Setpoint Kind

Specifies the kind of setpoint being configured. Table 4-5 shows the kinds of setpoints that can be specified on
this parameter:

Word

Bit Number

Word Contents

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

0

Command Number (2)

1

0

0

0

0

0

0

0

0

0

0

0

0

n3

n2

n1

n0

Setpoint Number (1–8)

2

0

0

0

0

0

0

0

0

0

0

0

k4

k3

k2

k1

k0

Setpoint Kind (0–18)

3

v31

Setpoint Value

v16

Setpoint Value (MSW)

4

v15

v00

Setpoint Value (LSW)

5

b31

Band Value

b16

Band Value (MSW)

6

b15

b00

Band Value (LSW)

7

h31

Hysteresis Value

h16

Hysteresis Value (MSW)

8

h15

h00

Hysteresis 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 weight matches this value.

 2

NETSP

Net setpoint. Trips when the current net weight matches this value.

 4

–RELSP

Negative relative setpoint. Trips at a specific value below the referenced setpoint.

 6

PAUSE

Pauses the batch sequence indefinitely. Operator must activate the START digital input to continue
processing.

 7

DELAY

Delays the batch sequence for a specified time. The length of the delay (in tenths of a second) is
specified on the Value parameter.

 8

WAITSS

Wait for standstill. Pauses the batch sequence until the scale is at standstill.

17

TIMER

Tracks the progress of a batch sequence based on a timer.

The timer value, specified in tenths of a second on the Value parameter, determines the length of time
allowed between start and end setpoints. The indicator Start and End parameters are used to specify the
start and end setpoints. If the End setpoint is not reached before the timer expires, the digital output
associated with this setpoint is activated. 

Table 4-5. Setpoint Kind Values 

DISCONTINUED

Содержание ALLEN-BRADLEY Remote I/O Interface

Страница 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...

Страница 2: ...D I S C O N T I N U E D...

Страница 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...

Страница 4: ...ii Remote I O Installation and Programming Manual D I S C O N T I N U E D...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: