FLINTAB INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Weightindicator 4720 Fieldbus interface description \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 1 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Contents 1 General... 6 2 Instrument 4720, block schematics... 7 2.1 Indicators and virtual indicators... 7 2.2 Instrument digital I/O... 9 3 Modbus RTU/ASCII... 11 3.1 Active Anybus Modbus module... 14 3.1.1 Enabling active Anybus Modbus... 14 3.1.2 Cyclic data from... 15 3.1.2.1 Indicator command input 0x0000... 16 3.1.3 Cyclic data to... 17 3.1.3.1 Cyclic update counter 0x0100... 18 3.1.3.2 Primary indicator Status flags 0x0101... 18 3.1.3.3 Primary indicator displayed weight value 0x0103... 22 3.1.3.4 Primary indicator gross weight value 0x0105... 22 3.2 Native Modbus... 23 3.2.1 Enabling native Modbus... 24 3.3 Indicator data blocks... 25 3.3.1 Indicator data block BASE:0x0410 to BASE:0x0698... 27 3.3.1.1 Indicator displayed weight flags BASE+0... 28 3.3.1.2 Indicator displayed weight (g) BASE+2... 31 3.3.1.3 Indicator gross weight (g) BASE+4... 31 3.3.1.4 Indicator raw displayed weight (g) BASE+6... 31 3.3.1.5 Indicator raw gross weight (g) BASE+8... 32 3.3.1.6 Indicator tare weight (g) BASE+10... 32 3.3.1.7 Indicator command input BASE+12... 33 3.3.1.8 Indicator info BASE+14... 34 3.4 Setpoint data blocks... 35 3.4.1 Setpoint value (g) BASE:0x080C to BASE:0x08FC... 36 3.5 Dose data blocks... 37 3.5.1 Dose data block BASE:0x0A0A to BASE:0x0AEA... 39 3.5.1.1 Dose target weight (g) BASE+0... 40 3.5.1.2 Batch start weight (g) BASE+2... 41 3.5.1.3 Batch target weight (g) BASE+4... 42 3.5.1.4 Dose command input BASE+6... 43 \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 2 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.5 Batch command input BASE+8... 44 3.5.1.6 Dose status BASE+10... 45 3.5.1.7 Batch status BASE+12... 46 3.5.1.8 Last dose result BASE+14... 47 3.5.1.9 Last batch result BASE+16... 47 3.6 Primary indicator and I/O s... 48 3.6.1 Cyclic update counter 0x0C08... 49 3.6.2 Digital I/O Input_010 0x0C0A... 49 3.6.3 Digital I/O Output_010 0x0C0C... 50 3.6.4 Digital I/O EX_IN/OUT_18 0x0C0E... 51 3.6.5 Digital I/O DirectKeys_07 0x0C10... 52 3.6.6 Digital I/O Marker_07 0x0C12... 53 3.6.7 Digital I/O Marker_815 0x0C14... 53 3.6.8 Digital I/O Marker_1623 0x0C16... 54 3.6.9 Digital I/O Marker_2431 0x0C18... 54 3.6.10 Primary indicator Status flags 0x0C1A... 55 3.6.11 Primary indicator displayed weight value 0x0C1C... 58 3.6.12 Primary indicator gross weight value 0x0C1E... 58 3.7 Gateway block 0x0E060x0Exx... 59 3.8 Tunnel block... 60 3.8.1 External weight display 0xF000... 61 4 Profibus DPV1... 62 4.1 Enabling Anybus ProfibusDPV1... 63 4.2 Cyclic, process data from... 64 4.2.1 Primary indicator command input... 64 4.3 Cyclic, process data to... 65 4.3.1 Cyclic update counter... 66 4.3.2 Primary indicator Status flags... 67 4.3.3 Primary indicator displayed weight value... 70 4.3.4 Primary indicator gross weight value... 70 4.4 Indicator data blocks... 71 4.4.1 Indicator data block BASE: 1:1 to BASE: 2:70... 73 4.4.2 Indicator displayed weight flags INDEX+0... 74 4.4.3 Indicator displayed weight (g) INDEX+1... 77 4.4.4 Indicator gross weight (g) INDEX+2... 77 4.4.5 Indicator raw displayed weight (g) INDEX+3... 77 4.4.6 Indicator raw gross weight (g) INDEX+4... 78 4.4.7 Indicator tare weight (g) INDEX+5... 78 \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 3 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.4.8 Indicator command input INDEX+6... 79 4.4.9 Indicator info INDEX+7... 80 4.5 Setpoint data blocks... 81 4.5.1 Setpoint value (g) BASE: 3:1 to BASE: 3:121... 82 4.6 Dose data blocks... 83 4.6.1 Dose data block BASE: 4:1 to BASE: 4:113... 85 4.6.2 Dose target weight (g) INDEX+0... 86 4.6.3 Batch start weight (g) INDEX+1... 87 4.6.4 Batch target weight (g) INDEX+2... 88 4.6.5 Dose command input INDEX+3... 89 4.6.6 Batch command input INDEX+4... 90 4.6.7 Dose status INDEX+5... 91 4.6.8 Batch status INDEX+6... 92 4.6.9 Last dose result INDEX+7... 93 4.6.10 Last batch result INDEX+8... 93 4.7 Gateway block BASE: 5:1... 94 4.8 Configuration example Siemens S7, cyclic data... 95 \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 4 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Revisions Date Revision Notes Signed 20120120 1.0 First edition TK 20120405 1.1 Reversed comments for Pulse and Flow indicators. Changed and moved bitmask for Unit. Added Protocol to path for settings 20120831 1.2 Only valid on software from 20120830 and newer. Changed indicator flag layout, removed info flags (reserved). Added gateway and tunnel blocks. Added Siemens Profibus configuration example. Changed input and output data order. 20120910 1.3 Only valid on software from 20120910 and newer. New data layout, cyclic data has been made configurable; this means that this manual only covers the default setup. Cyclic default data layout is much smaller than before. Data previously in cyclic block is moved. TK TK TK 20130409 1.4 Added default configuration to example Siemens PLC. TK \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 5 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 1 General This document describes data exchange with weight indicator (instrument) 4720 when using fieldbus protocols. Weight indicator 4720 can use two different setups when exchanging data over fieldbus protocols; Native serial support with Modbus RTU/ASCII (subset). Using one of the standard serial ports (RS232), Ethernet socket or a passive Anybus CompactCon module (RS232/RS485). This setup does not require any additional hardware. Generic true fieldbus interface with an active Anybus CompactCon module. Using one of the available active modules: Profibus, CANopen, CClink, ControlNet, DeviceNet, Modbus RTU, CompoNet, EtherCat, ModbusTCP, ProfinetIO (more can be available, contact Flintab for more information) This setup requires an addon hardware module for the specific fieldbus interface. Due to differences in the implementation and interfaces the data exchange will be fieldbus dependant and therefore will each be covered in a separate section. If your fieldbus interface is not covered by this document please contact Flintab for more information. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 6 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 2 Instrument 4720, block schematics To understand and correlate the data presented on the fieldbus interface the following sections details the corresponding internal function blocks of the indicator. 2.1 Indicators and virtual indicators One single 4720 instrument can, depending on setup, have up to 28 unique internally accessible indicators or measurement channels, each operating as a separate scale. 14 internal analogue (connected to loadcell/s) indicators. 06 external indicators, i.e. these indicators have their measurement data provided through a serial/socket interface from a remote external indicator. 06 summing indicators, i.e. these indicators will sum the output from 28 other indicators (internal, external or virtual). 06 virtual pulse indicators, i.e. these indicators will count pulses (measured on the digital I/O interface) and convert these to a virtual weight indicator. 06 virtual flow indicator, i.e. these indicators will measure time between pulses (measured on the digital I/O interface) and convert this to a virtual weight indicator. As standard the instrument will only utilize one analogue input, internal analogue channel 1. Weight indicator 4720 06 External indicators Serial/socket connection to other instruments 14 Internal indicators Analogue connection to scale/s 06 Virtual flow indicators Digital I/O connection 06 Summing indicators Each sums 26 other available indicators 06 Virtual pulse indicators Digital I/O connection \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 7 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 One of the available indicators is designated as the primary indicator, default this is internal analogue channel 1 (Int1). However the primary indicator can be set to any of the available indicators depending on how the instrument is used. The primary indicator will always be selected as active when the instrument starts. The primary indicator has a dedicated area in the general cyclic data block where status and weight data can be read in addition to the data block associated with each individual indicator. Each indicator, if activated, will have a corresponding id that is used to correlate with the fieldbus data address. See table below: Indicator Id Comment Int1 1 Internal channel 1, standard primary indicator Int2 2 Internal channel 2 Int3 3 Internal channel 3 Int4 4 Internal channel 4 Ext1 5 External indicator, data from other instrument Ext2 6 External indicator, data from other instrument Ext3 7 External indicator, data from other instrument Ext4 8 External indicator, data from other instrument Ext5 9 External indicator, data from other instrument Ext6 10 External indicator, data from other instrument Sum1 11 Summing indicator, sum of 26 other indicators Sum2 12 Summing indicator, sum of 26 other indicators Sum3 13 Summing indicator, sum of 26 other indicators Sum4 14 Summing indicator, sum of 26 other indicators Sum5 15 Summing indicator, sum of 26 other indicators Sum6 16 Summing indicator, sum of 26 other indicators Flow1 17 Flow indicator, measuring time between pulses on I/O port Flow2 18 Flow indicator, measuring time between pulses on I/O port Flow3 19 Flow indicator, measuring time between pulses on I/O port Flow4 20 Flow indicator, measuring time between pulses on I/O port Flow5 21 Flow indicator, measuring time between pulses on I/O port Flow6 22 Flow indicator, measuring time between pulses on I/O port Pulse1 23 Pulse indicator, counting pulses on I/O port Pulse2 24 Pulse indicator, counting pulses on I/O port Pulse3 25 Pulse indicator, counting pulses on I/O port Pulse4 26 Pulse indicator, counting pulses on I/O port Pulse5 27 Pulse indicator, counting pulses on I/O port Pulse6 28 Pulse indicator, counting pulses on I/O port \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 8 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 2.2 Instrument digital I/O The 4720 instrument has various internal and external I/O signals that can be used for logic gating or control. Standard equipped with opto isolated I/O signals, 4 NPN outputs and 3 inputs. Optional addon boards with opto isolated I/O inputs and relay outputs. One addon board with 8i+8o or 4i+3o can be fitted. Internal key inputs (5) for pushbutton control of various weighing related functions. Virtual memory markers, 32 switches that can be used for logic gating and/or controlling other available outputs. Internal indicator status flags, for fieldbus these are accessible at each indicator data block and not as general I/O. When using fieldbus only the top half of the memory markers (1631) can be directly controlled (write: set/reset) by the external server. The other I/O signals are reserved to be used internally by the instrument. These signals can only be read by the fieldbus server. This means that if the server wants to directly set one of the relays or NPN outputs a logic gating must be done between the marker and the other signal. This is accomplished through using the PLC block functionality of the instrument. See 454935 Instruction 4720 basic sections 8.8 and 9 for more information. The server can however indirectly set outputs by starting/stopping dosing, changing set points etc. without additional gating. In this case the outputs are controlled by the instrument but the server can control switchover points and overall operation mode of the indicator. Weighing functions such as tare and zero can be controlled without using digital I/O. A schematic of the instrument digital I/O can be found on the next page. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 9 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4720 Instrument Internal I/O Memory Markers 16 Memory only, Marker_0..15 Memory Markers 16 Memory only, Marker_16..31 Standard Keys 5 Internal keys, DKeys_2..6 Standard I/O 1 Optoisolated input, Input_0 Indicator Status Flags 8/ind Memory only, IndFlags Weighing applications PLC, Dosing, batching, setpoints etc. External I/O Standard I/O 4 NPN outputs, Output_0..3 3 Optoisolated inputs, Input_1..3 Options, One of: Extended I/O 8 Relay outputs, EX_OUT_A_1..8 8 Optoisolated inputs, EX_IN_A_1..8 Or Legacy I/O 3 Relay outputs, Output_4..6 4 Optoisolated inputs, Input_4..7 Fieldbus server \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 10 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3 Modbus RTU/ASCII The 4720 instrument has limited native support for Modbus communication or full Modbus support when fitted with an active Anybus Modbus module. In both cases there is no difference in the available data that can be accessed; instead the difference lies on number of supported Modbus functions and the lack of cyclic data when using native Modbus. On the following pages an overview with mapping of the complete Modbus data area is presented. Each block will then be detailed in a separate section. Note: Cyclic data is only available when using an active Anybus Modbus module. Legend: MM Markers B Byte code II Inputs OO Output IO Input and Outputs K Keyboard inputs ff Indicator flags wwww A signed 32 bit (long) weight value in grams (g) ii Indicator bit coded info Not implemented, illegal address (* (* A logic data block can normally be read as a linear continuous block, but as the internal data alignment is 32bits (2 words) it s not possible to use the second word as a start address. Data outside data blocks will always be illegal address. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 11 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F Comment 0x000x B Cyclic data input (*.. 0x010x B FF FF ww Ww ww Ww Cyclic data output (* 0x011x.. 0x041x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Int1 0x042x ff ff ww Ww ww Ww ww Ww Indicator Int2 0x043x ww Ww ww Ww B ii ii 0x044x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Int3 0x045x ff ff ww Ww ww Ww ww Ww Indicator Int4 0x046x ww Ww ww Ww B ii ii 0x047x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Ext1 0x048x ff ff ww Ww ww Ww ww Ww Indicator Ext2 0x049x ww Ww ww Ww B ii ii 0x04Ax ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Ext3 0x04Bx ff ff ww Ww ww Ww ww Ww Indicator Ext4 0x04Cx ww Ww ww Ww B ii ii 0x04Dx ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Ext5 0x04Ex ff ff ww Ww ww Ww ww Ww Indicator Ext6 0x04Fx ww Ww ww Ww B ii ii 0x050x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Sum1 0x051x ff ff ww Ww ww Ww ww Ww Indicator Sum2 0x052x ww Ww ww Ww B ii ii 0x053x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Sum3 0x054x ff ff ww Ww ww Ww ww Ww Indicator Sum4 0x055x ww Ww ww Ww B ii ii 0x056x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Sum5 0x057x ff ff ww Ww ww Ww ww Ww Indicator Sum6 0x058x ww Ww ww Ww B ii ii 0x059x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Flow1 0x05Ax ff ff ww Ww ww Ww ww Ww Indicator Flow2 0x05Bx ww Ww ww Ww B ii ii 0x05Cx ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Flow3 0x05Dx ff ff ww Ww ww Ww ww Ww Indicator Flow4 0x05Ex ww Ww ww Ww B ii ii 0x05Fx ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Flow5 0x060x ff ff ww Ww ww Ww ww Ww Indicator Flow6 0x061x ww Ww ww Ww B ii ii 0x062x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Pulse1 0x063x ff ff ww Ww ww Ww ww Ww Indicator Pulse2 0x064x ww Ww ww Ww B ii ii 0x065x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Pulse3 0x066x ff ff ww Ww ww Ww ww Ww Indicator Pulse4 0x067x ww Ww ww Ww B ii ii 0x068x ff ff ww Ww ww Ww ww Ww ww Ww ww Ww B ii ii Indicator Pulse5 0x069x ff ff ww Ww ww Ww ww Ww Indicator Pulse6 0x06Ax ww Ww ww Ww B ii ii.. <continued on next page> (* Only when using Anybus Modbus module, can be reconfigured according to project specifications, consult your order documentation. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 12 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F Comment 0x080x ww Ww Setpoint 1 0x081x ww Ww Setpoint 2 0x082x ww Ww Setpoint 3 0x083x ww Ww Setpoint 4 0x084x ww Ww Setpoint 5 0x085x ww Ww Setpoint 6 0x086x ww Ww Setpoint 7 0x087x ww Ww Setpoint 8 0x088x ww Ww Setpoint 9 0x089x ww Ww Setpoint 10 0x08Ax ww Ww Setpoint 11 0x08Bx ww Ww Setpoint 12 0x08Cx ww Ww Setpoint 13 0x08Dx ww Ww Setpoint 14 0x08Ex ww Ww Setpoint 15 0x08Fx ww Ww Setpoint 16.. 0x0A0x ww Ww ww Ww ww Ww Dose1 0x0A1x B B B B ww Ww ww Ww 0x0A2x ww Ww ww Ww ww Ww Dose2 0x0A3x B B B B ww Ww ww Ww 0x0A4x ww Ww ww Ww ww Ww Dose3 0x0A5x B B B B ww Ww ww Ww 0x0A6x ww Ww ww Ww ww Ww Dose4 0x0A7x B B B B ww Ww ww Ww 0x0A8x ww Ww ww Ww ww Ww Dose5 0x0A9x B B B B ww Ww ww Ww 0x0AAx ww Ww ww Ww ww Ww Dose7 0x0ABx B B B B ww Ww ww Ww 0x0ACx ww Ww ww Ww ww Ww Dose7 0x0ADx B B B B ww Ww ww Ww 0x0AEx ww Ww ww Ww ww Ww Dose8 0x0AFx B B B B ww Ww ww Ww.. 0x0C0x B II OO IO I/O, primary indicator 0x0C1x K M M M M FF FF ww Ww ww Ww and more 0x0C2x B.. 0x0E0x ww Ww........ Gateway registers.. 0xF00x TT Tunnel registers (** (** Only when using native modbus \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 13 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.1 Active Anybus Modbus module When the instrument is fitted with an Anybus Modbus active module the fieldbus supports most Modbus functions and has true cyclic data. For more information see http://anybus.com/support/support.asp?pid=335&producttype=anybu scompactcom 3.1.1 Enabling active Anybus Modbus Enabling of generic fieldbus support is done in the application settings menu under Application>Communication>Protocol>Anybus[COM2]. The settings that must be configured are: Enabled Set to true. DeviceAdress Set to the desired Modbus client address. Note: If the instrument also uses native fieldbus, both the Anybus module and the native Modbus RTU/ASCII client will share the same client address. Then restart the instrument. After restart, setup the module in application settings menu under Application>Communication>Protocol>Anybus[COM2]>Modbus Configure the following settings: CommSetting set to desired baudrate, parity and databits. RTUMode set to true to use Modbus RTU (binary) or false to use Modbus ASCII. ActiveTimeout set to 0 ms to disable modbus timeout. The module is successfully initiated when the following information is shown, under Application>Communication>Protocol>Anybus[COM2]: SerialNumber Shows the Anybus module serial number ModuleType Shows MODBUS RTU \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 14 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.1.2 Cyclic data from When fitted with an active Anybus Modbus module, the instrument can also have an input cyclic data block where the can write data. By default the external will only be able to write into the command input for the primary indicator as cyclic input data. Depending on project requirements more registers can be added as needed. Always consult your order specification for the actual cyclic data layout in your installation. Default cyclic input data block size 1 byte. Note: The indicator always has control authority of the entire instrument external I/O. Markers are only virtual inmemory logic gates that do not, by default, operate on any external I/O of the instrument. However, it is possible to bind a marker to an external input or output, with or without safety interlocks. In this case the marker can indirectly control an external output or read an external input. For more information see 454935 Instruction 4720 basic sections 8.8 and 9. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 15 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.1.2.1 Indicator command input 0x0000 This parameter can be written by the with the 8bit (byte) command code for the primary indicator. Reading command input parameter will always return zero. Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0000 0 BB ( ) Primary indicator command byte The command byte is value coded according to table below: Address Code Status Comment 0x0000 0 0x00 None No command (or always when reading) (lsb) 1 0x01 SetTare Activate tare operation with current weight as tare (* 2 0x02 ResetTare Clear tare operation, return to gross mode 3 0x03 SetZero Reacquire runtime zero level (** 4 0x04 ZeroScale Zero or tare scale, determine by load (*** (* Weight must be at stable equilibrium and at a legal weight value, i.e. within the range of the scale and at a positive gross weight value. (** Weight must be at stable equilibrium and within allowed zero setting range. Normally within ±2% of maximum capacity compared to the zero level acquired when starting the indicator. (*** Weight must be at stable equilibrium. Then, if weight is within zero setting range, a new zero level is set, else the current weight will be used as tare. See indicator displayed weight flags for determination of stable equilibrium and zero setting range status \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 16 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.1.3 Cyclic data to This block is only valid when using an active Anybus Modbus module and using the default cyclic data layout. The cyclic data block contains general parameters of the instrument such as weight flags, weight data for primary indicator. Note: cyclic data is 16bit aligned. See table below for an overview of the cyclic parameter block; Legend: padded or nonvalid data normally always 0 s B 8 bit unsigned parameter wwww 32 bit signed parameter, highest nibble W. Total default cyclic output data block size 14 bytes (7 words). Address 16bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0100 256 BB 8bit cyclic update counter 0x0101 257 bb bb bb bb Primary indicator, flags 0x0103 259 ww ww Ww ww Primary indicator, displayed weight in grams (g) 0x0105 261 ww ww Ww ww Primary indicator, gross weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 17 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.1.3.1 Cyclic update counter 0x0100 The 8bit cyclic counter will increment by one each time data in the cyclic data block is updated. This can be used to check that the instrument is fully operational even if no other data is changing. Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0100 256 BB 8bit cyclic update counter 3.1.3.2 Primary indicator Status flags 0x0101 This double word (32 bits) parameter contains the bit encoded status of the primary weight indicator. Default this is the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Address 0x0101 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 0x0102 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Bit# Flag/function Comment IsInPowerOn IsOutOfRange IsAbsZero IsZero IsPositive IsPresetTared IsTared IsStable IsGrossNegative ZeroTrackWarning IsInAuto ZeroTrackTimeout IsAboveInterval2 IsAboveInterval1 InZeroTrackRange InZeroSetRange IND_ID.4 IND_ID.3 IND_ID.2 IND_ID.1 IND_ID.0 DP.2 DP.1 DP.0 UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 Decimal point setting according to table next page: Indicator is in poweron sequence or waiting to set initial zero Weight value is out of range (over max or outside measuring range) Displayed weight value is zero (i.e. within ±0.25 d from current zero) Displayed weight value is zero (i.e. within ±0.5 d from current zero) Displayed weight value is positive Tare value was set by operator/server Indicator is tared, display shows net weight Indicator is in stable equilibrium (weight value not changing) Indicator gross weight is negative Weight has not been at zero during required time period, warning Indicator is in automatic mode Weight has not been at zero during required time period, error Weight is above Interval2 switchover point Weight is above Interval1 switchover point Weight is within automatic zero track range Weight is within zero setting range, zero setting allowed Indicator ID, bit:4 msb Indicator ID, bit:3 Indicator ID, bit:2 Indicator ID, bit:1 Indicator ID, bit:0 lsb Decimal point setting, bit:2 msb Decimal point setting, bit:1 Decimal point setting, bit:0 lsb Unit setting nonweight unit, bit:4 msb Unit setting, bit:3 Unit setting, bit:2 Unit setting, bit:1 Unit setting, bit:0 lsb \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 18 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x07) Comment DP.2 DP.1 DP.0 0 0 0 0x00 No decimal point Div = 1 0 0 1 0x01 One digit after decimal point 0.0 0 1 0 0x02 Two digits after decimal point 0.00 0 1 1 0x03 Three digits after decimal point 0.000 1 0 0 0x04 Four digits after decimal point 0.0000 (* 1 0 1 0x05 Five digits after decimal point 0.00000 (* 1 1 0 0x06 Six digits after decimal point 0.000000 (* 1 1 1 0x07 Seven digits after decimal point 0.0000000 (* (* Non legal and not applicable Indicator ID setting according to table below: I ND_ID.4 I ND_ID.3 IND_ID.2 Bit index IND_ID.1 IND_ID.0 Byte Value hex (mask 0xF8) :7 :6 :5 :4 :3 :2 :1 :0 Comment Note: (Byte & Mask) >>3 = Indicator_ID 0 0 0 0 0 0x00 None, not defined (not used) 0 0 0 0 1 0x08 Internal channel 1, standard primary indicator 0 0 0 1 0 0x10 Internal channel 2 0 0 0 1 1 0x18 Internal channel 3 0 0 1 0 0 0x20 Internal channel 4 0 0 1 0 1 0x28 External indicator, data from other instrument 0 0 1 1 0 0x30 External indicator, data from other instrument 0 0 1 1 1 0x38 External indicator, data from other instrument 0 1 0 0 0 0x40 External indicator, data from other instrument 0 1 0 0 1 0x48 External indicator, data from other instrument 0 1 0 1 0 0x50 External indicator, data from other instrument 0 1 0 1 1 0x58 Summing indicator, sum of 26 other indicators 0 1 1 0 0 0x60 Summing indicator, sum of 26 other indicators 0 1 1 0 1 0x68 Summing indicator, sum of 26 other indicators 0 1 1 1 0 0x70 Summing indicator, sum of 26 other indicators 0 1 1 1 1 0x78 Summing indicator, sum of 26 other indicators 1 0 0 0 0 0x80 Summing indicator, sum of 26 other indicators <continued on next page> \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 19 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 <from previous page> 1 0 0 0 1 0x88 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 0 0x90 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 1 0x98 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 0 0xA0 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 1 0xA8 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 0 0xB0 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 1 0xB8 Pulse indicator, counting pulses on I/O port 1 1 0 0 0 0xC0 Pulse indicator, counting pulses on I/O port 1 1 0 0 1 0xC8 Pulse indicator, counting pulses on I/O port 1 1 0 1 0 0xD0 Pulse indicator, counting pulses on I/O port 1 1 0 1 1 0xD8 Pulse indicator, counting pulses on I/O port 1 1 1 0 0 0xE0 Pulse indicator, counting pulses on I/O port 1 1 1 0 1 0xE8 Playback indicator 1 1 1 1 0 0xF0 Not defined (not used) 1 1 1 1 1 0xF8 Not defined (not used) Indicator native unit setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x1F) Comment UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 0 0 0 0 0 0x00 None, no unit defined (unknown) Factor = 1 (* 0 0 0 0 1 0x01 Milligram (mg) Factor = 1 (not applicable) 0 0 0 1 0 0x02 Gram (g) Factor = 1 0 0 0 1 1 0x03 Kilogram (kg) Factor = 1000 0 0 1 0 0 0x04 Metric ton (t) Factor = 1000 000 0 0 1 0 1 0x05 Pound (lb) Factor = 453.592 0 0 1 1 0 0x06 Newton (N) Factor = 98.2 0 0 1 1 1 0x07 KiloNewton (kn) Factor = 98 200 1 0 0 0 0 0x80 Hertz (Hz) Factor = 1 (* 1 0 0 0 1 0x81 Millivolt/volt (mv/v) Factor = 1 (* 1 0 0 1 0 0x82 Litre/minute (l/min) Factor = 1 (* 1 0 0 1 1 0x83 C degrees Celsius Factor = 1 (* (* When UNIT.4 bit is set or the unit is <None> the value is not convertible to gram (g) in that case the value presented on the fieldbus will be sent as shown on the indicator display (i.e. a 1:1 conversion). The decimal point and unit settings must be read by the if a presented weight must have the same display format as the indicator. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 20 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 I.e. the fieldbus weight values are always presented in the universal weight unit gram (g), where the value is always (except raw weights) rounded to the displayed resolution of the scale. This means that the weight values are always identical but the presentation can differ. See example below: Example: Scale with 60 t max. using two digits after decimal point showing 32.00 t on the display will be presented on the fieldbus as 32000000 g. By reading the native unit (t) and decimal point setting (2 digits after dp) from the indicator info parameter, the can determine the correct conversion settings to present the weight value identical to the indicator. Divide the weight in gram with the factor from the table to convert the weight into the (indicator) native unit; Weight_t = Weight_g / 1000 000 = 32.000 000 t then use the decimal point setting to determine how many digits after the dp that is to be shown, in this case 2. i.e. 32.00 t. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 21 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.1.3.3 Primary indicator displayed weight value 0x0103 This parameter contains the signed 32bit displayed weight value of the primary indicator in grams (g). This value can be either gross or net depending on tare status. Default is the primary indicator set to the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0103 265 ww ww Ww ww Primary indicator, displayed weight in grams (g) 3.1.3.4 Primary indicator gross weight value 0x0105 This parameter contains the signed 32bit gross weight value of the primary indicator in grams (g). This value always contains gross weight independent on tare status. Default is the primary indicator set to the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0105 267 ww ww Ww ww Primary indicator, gross weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 22 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.2 Native Modbus By native Modbus means an onboard protocol support for Modbus messages without using dedicated interface modules. However when using the native Modbus, i.e. through standard serial port and/or Ethernet socket, only a limited subset of Modbus functionality is supported. By limited means that the instrument only supports the following Modbus function codes: Function code Comment 03 0x03 Read holding registers 05 0x05 Write single coil, not recommended *) 06 0x06 Write single register 16 0x10 Write multiple registers 22 0x16 Mask write register *) Only supported for cyclic data, and as the cyclic data can be reconfigured, this function will have dubious functionality. For setting specific bits, leaving other s untouched, instead use the mask write function. Any other function code will generate an exception response. The instrument supports having more than one (up to eight) native Modbus handlers activated on separate serial/socket channels. Each will respond to the same Modbus address and operate on the same data independently. Native data size (alignment) is 32 bits i.e. two normal Modbus 16bit registers. For data blocks with size smaller than 32 bits, for example 8bit or 16 bit, reading the second 16bit register directly will result in a illegal address exception response When using RTU mode, typical response time from the instrument is <100 ms. I.e. the server must, as minimum, allow this time interval before detecting a timeout condition. ASCII mode does not have a specific framing parameter, but in general the response time will also be <100 ms. All addresses are stated in protocol, base 0 format. To convert to PLC address, base 1 format, add 40001 to the decimal address. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 23 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.2.1 Enabling native Modbus The protocol/s must be activated/configured in a three step process: 1: Enabling of generic fieldbus support is done in the application settings menu under Application>Communication>Protocol >Anybus[COM2]. This must be done even if not using an active fieldbus (Anybus) module. The settings that must be configured are: Enabled Set to true. DeviceAdress Set to the desired Modbus client address. Note: If the instrument also has an active fieldbus card installed, both the fieldbus card and the native Modbus RTU/ASCII client will share the same client address. 2: Create required number of Modbus RTU/ASCII protocol handlers in application settings under Application>Communication>Protocol >Modbus. Set the parameter: NumOfProtocols Set to how many separate native Modbus RTU/ASCII interfaces that should to be active. Then restart the instrument. 3: Configure each Modbus RTU/ASCII protocol handler in application settings under Application>Communication>Protocol>Modbus >Proto# where # represents the protocol handler number. Set parameters: Enabled set to true to activate this handler ComName Set to the serial port/socket that is being used for this handler. See also section 8.4.2 in 454935 Instruction 4720 basic how to change settings for the port or add more sockets/devices if needed. RTUmode set to true to use Modbus RTU (binary) or false to use Modbus ASCII. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 24 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.3 Indicator data blocks As mentioned in section 2.1 Indicators and virtual indicators, one single 4720 instrument can have up to 28 individual internal indicators. Each of these indicators will have an own dedicated data area where the can read the weight/status and control the tare/zero operation of the indicator. To calculate the address of a specific indicator one must use the ID from the table in section 2.1 in the following formula: Decimal: IndicatorBaseAddress = 1040 + (( ID1) * 24) Hex: IndicatorBaseAddress = 0x410 + (( ID1) * 0x18) Examples (decimal): Int1 with ID=1; Int1_Adr = 1040 + (( 11) *24) = 1040 + (0*24) = 1040 (0x0410) Sum1 with ID=11 Sum1_Adr = 1040 + ((111) * 24) = 1040 + (10*24) = 1280 (0x0500) Consult your order documentation for which indicators that are accessible at your specific installation. If the indicator is not available the Modbus exception illegal address will be generated for the entire data block associated with the indicator. See precalculated table on next page for the base address of all possible indicators. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 25 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Table with precalculated base addresses for all possible indicators: Indicator Indicator base address Indicator Name Hex Dec Id Comment Int1 0x0410 1040 1 Internal channel 1, standard primary indicator Int2 0x0428 1064 2 Internal channel 2 Int3 0x0440 1088 3 Internal channel 3 Int4 0x0458 1112 4 Internal channel 4 Ext1 0x0470 1136 5 External indicator, data from other instrument Ext2 0x0488 1160 6 External indicator, data from other instrument Ext3 0x04A0 1184 7 External indicator, data from other instrument Ext4 0x04B8 1208 8 External indicator, data from other instrument Ext5 0x04D0 1232 9 External indicator, data from other instrument Ext6 0x04E8 1256 10 External indicator, data from other instrument Sum1 0x0500 1280 11 Summing indicator, sum of 26 other indicators Sum2 0x0518 1304 12 Summing indicator, sum of 26 other indicators Sum3 0x0530 1328 13 Summing indicator, sum of 26 other indicators Sum4 0x0548 1352 14 Summing indicator, sum of 26 other indicators Sum5 0x0560 1376 15 Summing indicator, sum of 26 other indicators Sum6 0x0578 1400 16 Summing indicator, sum of 26 other indicators Flow1 0x0590 1424 17 Flow indicator, measuring time between pulses on I/O port Flow2 0x05A8 1448 18 Flow indicator, measuring time between pulses on I/O port Flow3 0x05C0 1472 19 Flow indicator, measuring time between pulses on I/O port Flow4 0x05D8 1496 20 Flow indicator, measuring time between pulses on I/O port Flow5 0x05F0 1520 21 Flow indicator, measuring time between pulses on I/O port Flow6 0x0608 1544 22 Flow indicator, measuring time between pulses on I/O port Pulse1 0x0620 1568 23 Pulse indicator, counting pulses on I/O port Pulse2 0x0638 1592 24 Pulse indicator, counting pulses on I/O port Pulse3 0x0650 1616 25 Pulse indicator, counting pulses on I/O port Pulse4 0x0668 1640 26 Pulse indicator, counting pulses on I/O port Pulse5 0x0680 1664 27 Pulse indicator, counting pulses on I/O port Pulse6 0x0698 1688 28 Pulse indicator, counting pulses on I/O port \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 26 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.3.1 Indicator data block BASE:0x0410 to BASE:0x0698 When enabled, each indicator will have a block with corresponding data containing weight/status and zero/tare control. Within each indicator data block the offset for the individual parameters will be 32bit aligned, see example table below, showing the addresses and offsets for internal indicator Int1: Int1 base address 32bit aligned Param offset Low High Access Hex Dec Dec Msb Lsb Msb Lsb Read Write Comment 0x0410 1040 +0 bb bb bb bb Int1 displayed weight flags 0x0412 1042 +2 ww ww Ww ww Int1 displayed weight in grams (g) 0x0414 1044 +4 ww ww Ww ww Int1 gross weight in grams (g) 0x0416 1046 +6 ww ww Ww ww Int1 raw displayed weight in grams (g) 0x0418 1048 +8 ww ww Ww ww Int1 raw gross weight in grams (g) 0x041A 1050 +10 ww ww Ww ww Int1 tare weight in grams (g) 0x041C 1052 +12 BB ( ) Int1 command (input) 0x041E 1054 +14 bb bb bb bb Int1 info flags (0x0420) (1056) +16, illegal address (0x0422) (1058) +18, illegal address (0x0424) (1060) +20, illegal address (0x0426) (1062) +22, illegal address \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 27 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.3.1.1 Indicator displayed weight flags BASE+0 This parameter contains the bit encoded weight status and weight format settings of the indicator. Address base+0 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 (base+1) illegal address Bit# Flag/function Comment 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 IsInPowerOn IsOutOfRange IsAbsZero IsZero IsPositive IsPresetTared IsTared IsStable IsGrossNegative ZeroTrackWarning IsInAuto ZeroTrackTimeout IsAboveInterval2 IsAboveInterval1 InZeroTrackRange InZeroSetRange IND_ID.4 IND_ID.3 IND_ID.2 IND_ID.1 IND_ID.0 DP.2 DP.1 DP.0 UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 Decimal point setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x07) Comment DP.2 DP.1 DP.0 Indicator is in poweron sequence or waiting to set initial zero Weight value is out of range (over max or outside measuring range) Displayed weight value is zero (i.e. within ±0.25 d from current zero) Displayed weight value is zero (i.e. within ±0.5 d from current zero) Displayed weight value is positive Tare value was set by operator/server Indicator is tared, display shows net weight Indicator is in stable equilibrium (weight value not changing) Indicator gross weight is negative Weight has not been at zero during required time period, warning Indicator is in automatic mode Weight has not been at zero during required time period, error Weight is above Interval2 switchover point Weight is above Interval1 switchover point Weight is within automatic zero track range Weight is within zero setting range, zero setting allowed Indicator ID, bit:4 msb Indicator ID, bit:3 Indicator ID, bit:2 Indicator ID, bit:1 Indicator ID, bit:0 lsb Decimal point setting, bit:2 msb Decimal point setting, bit:1 Decimal point setting, bit:0 lsb Unit setting nonweight unit, bit:4 msb Unit setting, bit:3 Unit setting, bit:2 Unit setting, bit:1 Unit setting, bit:0 lsb 0 0 0 0x00 No decimal point Div = 1 0 0 1 0x01 One digit after decimal point 0.0 0 1 0 0x02 Two digits after decimal point 0.00 0 1 1 0x03 Three digits after decimal point 0.000 1 0 0 0x04 Four digits after decimal point 0.0000 (* 1 0 1 0x05 Five digits after decimal point 0.00000 (* 1 1 0 0x06 Six digits after decimal point 0.000000 (* 1 1 1 0x07 Seven digits after decimal point 0.0000000 (* (* Non legal and not applicable \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 28 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 I ND_ID.4 I ND_ID.3 IND_ID.2 Indicator ID setting according to table below: Bit index IND_ID.1 IND_ID.0 Byte Value hex (mask 0xF8) :7 :6 :5 :4 :3 :2 :1 :0 Comment Note: (Byte & Mask) >>3 = Indicator_ID 0 0 0 0 0 0x00 None, not defined (not used) 0 0 0 0 1 0x08 Internal channel 1, standard primary indicator 0 0 0 1 0 0x10 Internal channel 2 0 0 0 1 1 0x18 Internal channel 3 0 0 1 0 0 0x20 Internal channel 4 0 0 1 0 1 0x28 External indicator, data from other instrument 0 0 1 1 0 0x30 External indicator, data from other instrument 0 0 1 1 1 0x38 External indicator, data from other instrument 0 1 0 0 0 0x40 External indicator, data from other instrument 0 1 0 0 1 0x48 External indicator, data from other instrument 0 1 0 1 0 0x50 External indicator, data from other instrument 0 1 0 1 1 0x58 Summing indicator, sum of 26 other indicators 0 1 1 0 0 0x60 Summing indicator, sum of 26 other indicators 0 1 1 0 1 0x68 Summing indicator, sum of 26 other indicators 0 1 1 1 0 0x70 Summing indicator, sum of 26 other indicators 0 1 1 1 1 0x78 Summing indicator, sum of 26 other indicators 1 0 0 0 0 0x80 Summing indicator, sum of 26 other indicators 1 0 0 0 1 0x88 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 0 0x90 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 1 0x98 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 0 0xA0 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 1 0xA8 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 0 0xB0 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 1 0xB8 Pulse indicator, counting pulses on I/O port 1 1 0 0 0 0xC0 Pulse indicator, counting pulses on I/O port 1 1 0 0 1 0xC8 Pulse indicator, counting pulses on I/O port 1 1 0 1 0 0xD0 Pulse indicator, counting pulses on I/O port 1 1 0 1 1 0xD8 Pulse indicator, counting pulses on I/O port 1 1 1 0 0 0xE0 Pulse indicator, counting pulses on I/O port 1 1 1 0 1 0xE8 Playback indicator 1 1 1 1 0 0xF0 Not defined (not used) 1 1 1 1 1 0xF8 Not defined (not used) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 29 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Indicator native unit setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x1F) Comment UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 0 0 0 0 0 0x00 None, no unit defined (unknown) Factor = 1 (* 0 0 0 0 1 0x01 Milligram (mg) Factor = 1 (not applicable) 0 0 0 1 0 0x02 Gram (g) Factor = 1 0 0 0 1 1 0x03 Kilogram (kg) Factor = 1000 0 0 1 0 0 0x04 Metric ton (t) Factor = 1000 000 0 0 1 0 1 0x05 Pound (lb) Factor = 453.592 0 0 1 1 0 0x06 Newton (N) Factor = 98.2 0 0 1 1 1 0x07 KiloNewton (kn) Factor = 98 200 1 0 0 0 0 0x80 Hertz (Hz) Factor = 1 (* 1 0 0 0 1 0x81 Millivolt/volt (mv/v) Factor = 1 (* 1 0 0 1 0 0x82 Litre/minute (l/min) Factor = 1 (* 1 0 0 1 1 0x83 C degrees Celsius Factor = 1 (* (* When UNIT.4 bit is set or the unit is <None> the value is not convertible to gram (g) in that case the value presented on the fieldbus will be sent as shown on the indicator display (i.e. a 1:1 conversion). The decimal point and unit settings must be read by the if a presented weight must have the same display format as the indicator. I.e. the fieldbus weight values are always presented in the universal weight unit gram (g), where the value is always (except raw weights) rounded to the displayed resolution of the scale. This means that the weight values are always identical but the presentation can differ. See example below: Example: Scale with 60 t max. using two digits after decimal point showing 32.00 t on the display will be presented on the fieldbus as 32000000 g. By reading the native unit (t) and decimal point setting (2 digits after dp) from the indicator info parameter, the can determine the correct conversion settings to present the weight value identical to the indicator. Divide the weight in gram with the factor from the table to convert the weight into the (indicator) native unit; Weight_t = Weight_g / 1000 000 = 32.000 000 t then use the decimal point setting to determine how many digits after the dp that is to be shown, in this case 2. i.e. 32.00 t. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 30 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.3.1.2 Indicator displayed weight (g) BASE+2 This parameter contains the signed 32bit displayed weight value of the indicator in grams (g). This value can be either gross or net depending on tare status. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+2 +2 ww ww Ww ww Indicator, displayed weight in grams (g) 3.3.1.3 Indicator gross weight (g) BASE+4 This parameter contains the signed 32bit gross weight value of the indicator in grams (g). This value always contains gross weight independent on tare status. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+4 +4 ww ww Ww ww Indicator, gross weight in grams (g) 3.3.1.4 Indicator raw displayed weight (g) BASE+6 This parameter contains the signed 32bit displayed raw weight value of the indicator in grams (g). This value can be either gross or net depending on tare status. By raw means that the value is not rounded to displayed resolution and scale interval, instead the value will have the full internal resolution; normally this is 256 times the normal displayed resolution. NOTE: a raw weight value most likely never reaches standstill, unless at zero. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+6 +6 ww ww Ww ww Indicator, raw displayed weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 31 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.3.1.5 Indicator raw gross weight (g) BASE+8 This parameter contains the signed 32bit gross raw weight value of the indicator in grams (g). This value always contains gross weight independent on tare status. By raw means that the value is not rounded to displayed resolution and scale interval, instead the value will have the full internal resolution; normally this is 256 times the normal displayed resolution. NOTE: a raw weight value most likely never reaches standstill, unless at zero. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+8 +8 ww ww Ww ww Indicator, raw gross weight in grams (g) 3.3.1.6 Indicator tare weight (g) BASE+10 This parameter contains the 32bit tare weight value of the indicator in grams (g). The can also write a new tare value to this address, the value must be within the range of the scale and will automatically be rounded to nearest displayed division. If value is zero then it will cancel tare operation and return indicator to gross mode. Any other legal value will activate tare mode with the entered tare in operation. See also next section of setting tare with current weight value. Highest byte is Data Word High Msb, top bit must be 0 (must be positive). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+a +10 ww ww Ww ww Indicator, tare weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 32 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.3.1.7 Indicator command input BASE+12 This parameter can be written by the with the 8bit (byte) command code for the indicator. Reading command input parameter will always return zero. Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+c +12 BB ( ) Indicator command byte The command byte is value coded according to table below: Address Code Status Comment base+12 0 0x00 None No command (or always when reading) (lsb) 1 0x01 SetTare Activate tare operation with current weight as tare (* 2 0x02 ResetTare Clear tare operation, return to gross mode 3 0x03 SetZero Reacquire runtime zero level (** 4 0x04 ZeroScale Zero or tare scale, determine by load (*** (* Weight must be at stable equilibrium and at a legal weight value, i.e. within the range of the scale and at a positive gross weight value. (** Weight must be at stable equilibrium and within allowed zero setting range. Normally within ±2% of maximum capacity compared to the zero level acquired when starting the indicator. (*** Weight must be at stable equilibrium. Then, if weight is within zero setting range, a new zero level is set, else the current weight will be used as tare. See indicator displayed weight flags for determination of stable equilibrium and zero setting range status. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 33 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.3.1.8 Indicator info BASE+14 This parameter is reserved for future use. Address base+14 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 (base+15) illegal address Bit# Flag/function Comment 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 34 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.4 Setpoint data blocks The instrument can have up to 16 separate setpoint values where the setpoint output state relates to a specific weight level. Each setpoint can use any of the available indicators and any available digital I/O signal as output. To calculate the address of a specific setpoint one must use the setpoint index (number) in the following formula: Decimal: SetPointAddress = 2060 + ((Index1) * 16) Hex: SetPointAddress = 0x080C + (( Index1) * 0x10) Examples (decimal): SetPoint1 SP1 index = 1 SetPoint1_Adr = 2060 + (( 11) *16) = 2060 + (0*16) = 2060 (0x080C) SetPoint8 SP8 index = 8 SetPoint8_Adr = 2060 + ((81) * 16) = 2060 + (7*16) = 2172 (0x087C) Consult your order documentation for which setpoints that are accessible at your specific installation. If the setpoint is not available the Modbus exception illegal address will be generated. See table on next page for a precalculated table of the addresses for all possible setpoints. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 35 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Table with precalculated base addresses for all possible setpoints: SetPoint Setpoint address Set point Name Hex Dec Index Comment SP1 0x080C 2060 1 Setpoint 1 value in grams (g) SP2 0x081C 2076 2 Setpoint 2 value in grams (g) SP3 0x082C 2092 3 Setpoint 3 value in grams (g) SP4 0x083C 2108 4 Setpoint 4 value in grams (g) SP5 0x084C 2124 5 Setpoint 5 value in grams (g) SP6 0x085C 2140 6 Setpoint 6 value in grams (g) SP7 0x086C 2156 7 Setpoint 7 value in grams (g) SP8 0x087C 2172 8 Setpoint 8 value in grams (g) SP9 0x088C 2188 9 Setpoint 9 value in grams (g) SP10 0x089C 2204 10 Setpoint 10 value in grams (g) SP11 0x08AC 2220 11 Setpoint 11 value in grams (g) SP12 0x08BC 2236 12 Setpoint 12 value in grams (g) SP13 0x08CC 2252 13 Setpoint 13 value in grams (g) SP14 0x08DC 2268 14 Setpoint 14 value in grams (g) SP15 0x08EC 2284 15 Setpoint 15 value in grams (g) SP16 0x08FC 2300 16 Setpoint 16 value in grams (g) 3.4.1 Setpoint value (g) BASE:0x080C to BASE:0x08FC This parameter contains the signed 32bit setpoint weight value in grams (g). The can also write a new setpoint value to this address; zero and negative values are allowed. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base +0 ww ww Ww ww Setpoint weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 36 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5 Dose data blocks The instrument can have up to 8 separate dose modules activated at the same time. Each module will autonomously, i.e. without intervention from, dose or batch a single product to or from a container. Batching refers to when multiple dosing cycles are automatically run in sequence until a preset accumulated (i.e. batch) sum is reached. If the dose module is setup for batch weighing, use the batch command input, else use the dose command input. To calculate the base address of a specific dose module one must use the dose module index (number) in the following formula: Decimal: DoseBaseAddress = 2570 + ((Index1) * 32) Hex: DoseBaseAddress = 0x0A0A + (( Index1) * 0x20) Examples (decimal): Dose1 index = 1 Dose1_Adr = 2570 + (( 11) *32) = 2570 + (0*32) = 2570 (0x0A0A) Dose8 index = 8 Dose8_Adr = 2570 + ((81) * 32) = 2570 + (7*32) = 2794 (0x0AEA) If the dose module is not available the Modbus exception illegal address will be generated. The setup of each dose module must be done on the instrument prior to being put into operation. Where the safety interlocks, inputs, outputs, indicator and initial parameters must be configured. Consult your order documentation for which dose modules that are accessible at your specific installation and the corresponding digital I/O mapping that is used. For more information about dosing see 454935 Instruction 4720 basic section 8.10. See table on next page for a precalculated table of the addresses for all possible dose modules. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 37 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Table with precalculated base addresses for all possible dose modules: Dose Dose address Dose Name Hex Dec Index Comment Dose1 0x0A0A 2570 1 Dose module 1 base address Dose2 0x0A2A 2602 2 Dose module 2 base address Dose3 0x0A4A 2634 3 Dose module 3 base address Dose 4 0x0A6A 2666 4 Dose module 4 base address Dose 5 0x0A8A 2698 5 Dose module 5 base address Dose 6 0x0AAA 2730 6 Dose module 6 base address Dose 7 0x0ACA 2762 7 Dose module 7 base address Dose 8 0x0AEA 2794 8 Dose module 8 base address \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 38 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1 Dose data block BASE:0x0A0A to BASE:0x0AEA When enabled, each dose module will have a block with corresponding data containing the operational parameters for the dose/batch cycle. Within each dose module data block the offset for the individual parameters will be 32bit aligned, see example table below, showing the addresses and offsets for dose module Dose1: Int1 base address 32bit aligned Param offset Low High Access Hex Dec Dec Msb Lsb Msb Lsb Read Write Comment 0x0A0A 2570 +0 ww ww Ww ww Dose1 targetweight in grams (g) (* 0x0A0C 2572 +2 ww ww Ww ww Batch startweight in grams (g) Dose1 0x0A0E 2574 +4 ww ww Ww ww Batch targetweight in grams (g) Dose1 (* 0x0A10 2576 +6 BB ( ) Dose1 command (input ) 0x0A12 2578 +8 BB ( ) Batch command (input) Dose1 0x0A14 2580 +10 BB Dose1 state 0x0A16 2582 +12 BB Batch state Dose1 0x0A18 2584 +14 ww ww Ww ww Last dosed weight for Dose1 (g) 0x0A1A 2586 +16 ww ww Ww ww Current batched weight Dose1 (g) (0x0A1C) (1056) +18, illegal address (0x0A1E) (1058) +20, illegal address (0x0A20) (1060) +22, illegal address (0x0A22) (1062) +24, illegal address (0x0A24) (1056) +26, illegal address (0x0A26) (1058) +28, illegal address (0x0A28) (1060) +30, illegal address (* Batch and dose targetweights can have negative, special values, depending on operational mode. See section 3.4.1.1 and 3.4.1.3 for more information. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 39 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.1 Dose target weight (g) BASE+0 This parameter contains the signed 32bit dose target weight value of the dose module in grams (g). The target value can only be updated when the dose module is not running, i.e. the dose module must be in WaitStart state when writing this value. Negative values have special meaning. See list below: 1 (g) : means that the dose module is set to throughflow mode, i.e. both inlet and outlet outputs will be active. In this mode the material will pass straight through the weighing container. Not valid if batch mode is activated. In that case use batch target weight instead. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+0 +0 ww ww Ww ww Dose target weight in grams (g) FF FF FF FF Dose module in throughflow mode (not batch) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 40 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.2 Batch start weight (g) BASE+2 This parameter contains the signed 32bit dose batch start weight value of the dose module in grams (g). By start weight means that the module will only batch (BatchTarget BatchStart) until batch module is finished. Batch start weight is only relevant if the dose module is setup for batch weighing. The batch start value can only be updated when the dose/batch module is not running, i.e. both the dose and batchmodule must be in WaitStart state when writing this value. Negative values are not valid. Highest byte is Data Word High Msb, top bit must be 0 (positive values). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+2 +2 ww ww Ww ww Batch start weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 41 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.3 Batch target weight (g) BASE+4 This parameter contains the signed 32bit dose batch target weight value of the dose module in grams (g). Batch target weight is only relevant if the dose module is setup for batch weighing. The batch target value can only be updated when the batch module is not running, i.e. the batchmodule must be in WaitStart state when writing this value. Negative values have special meaning. See list below: 1 (g) : means that the batch module is set to throughflow mode, i.e. both inlet and outlet outputs will be active. In this mode the material will pass straight through the weighing container. 2 (g) : means that the batch module is set to continuous mode, i.e. does not have a target weight. In this mode the batch module will run dose cycles continuously and will only stop at command. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+4 +4 ww ww Ww ww Batch target weight in grams (g) FF FF FF FF Batch module set to throughflow mode FF FE FF FF Batch module set to continuous mode \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 42 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.4 Dose command input BASE+6 This parameter can be written by the with the 8bit (byte) dose command code. If the dose module is setup for batch weighing, then this command byte cannot be used, instead use the batch command input, see section 3.4.1.5. Reading this parameter will normally return zero. Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+6 +6 BB ( ) Dose command byte The dose command byte is value coded according to table below: Address Code Status Comment base+6 0 0x00 None No command (or always when reading) (lsb) 1 0x01 Abort Will abort/stop dosing cycle and set dosestate = Aborted (* 2 0x02 ResetError Clears error and abort states, sets dose state = WaitStart (* 3 0x03 ZeroCheckTrig Triggers zero check if enabled i.e. if dosestate = WaitZeroCheck 4 0x04 TareTrig Triggers tare if enabled i.e. if dosestate = WaitTare 5 0x05 StartDose Starts a dosing cycle if dosestate = WaitStart 6 0x06 StopDose Stops a dosing cycle and set dosestate = WaitStart (** 7 0x07 PauseDose Pauses the dosing cycle if active and set dosestate = Pause 8 0x08 RestartDose Continues dosing cycle from pause if dosestate = Pause 9 0x09 FlowThrough Sets dosestate = FlowThrough and activates flowthrough mode 100x0A AbortEmptying Will abort emptying and set dosestate = Aborted (* When the dose module is in error or abortedstate this must be cleared by sending the command ResetError before a new cycle can be started. (** When stopping, the dose module will perform, if enabled, emptying (discharge) as in during normal operation, this means that the dosestate will only return to WaitStart when and if the empty sequence is finished. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 43 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.5 Batch command input BASE+8 This parameter can be written by the with the 8bit (byte) batch command code. If the dose module is not setup for batch weighing, then this command byte cannot be used, instead use the dose command input, see section 3.4.1.4. Reading this parameter will normally return zero. Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+8 +8 BB ( ) Batch command byte The batch command byte is value coded according to table below: Address Code Status Comment base+8 0 0x00 None No command (or always when reading) (lsb) 1 0x01 Abort Will abort/stop batch cycle and set batchstate = Aborted (* 2 0x02 ResetError Clears error and abort states, sets batch state = WaitStart (* 3 0x03 StartBatch Starts a batch cycle if batchstate = WaitStart (** 4 0x04 StopBatch Stops a batch cycle and set batchstate = WaitStart (*** 5 0x05 PauseBatch Pauses the batch cycle if active and set batchstate = Pause (*** 6 0x06 RestartBatch Continues batch cycle from pause if batchstate = Pause 7 0x07 FlowTrough Sets batchstate = FlowThrough and activates flowthrough mode (* When the batch module is in error or abortedstate this must be cleared by sending the command ResetError before a new cycle can be started. (** Setting batch target to special negative values will control the mode of the batch module when starting. BatchTarget = 1g = continuous mode BatchTarget = 2g = flow through mode (*** Before stopping or pausing, the batch module will finalize the current (ongoing) dose cycle. If an immediate stop is necessary use the Abort command. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 44 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.6 Dose status BASE+10 This parameter contains the 8bit byte status code for the dose module. The dose state is relevant in both normal dose and batchmode. Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+a +10 BB Dose state for dosing module The dose status byte is value coded according to table below: Address Code Status Comment base+10 0 0x00 None Dose module not in operation/not started (lsb) 1 0x01 WaitStart Dose module is waiting start command (* 2 0x02 Start Dose module is starting, reading dosetarget weight 3 0x03 WaitZeroCheck Delay before checking zero level 4 0x04 ZeroCheck Checking that scale is at required zero level 5 0x05 WaitTare Wait for tare activation 6 0x06 TareDelay Delay before acquiring tare 7 0x07 CalcTare Calculating tare value, tare scale 8 0x08 PreDose Performs a predose by activating finedose temporarily 9 0x09 CoarseDelay Delay before starting coarsedose 10 0x0A CoarseDose Coarsedose active, finedose outputs also open 11 0x0B OverswingDelay Finedose active, no weight check against target 12 0x0C FineDose Finedose active, check weight against target and inflight 13 0x0D InflightDelay Target minus inflight reached, wait for inflight material 14 0x0E PostDoseCheck Check if weight is below target 15 0x0F PostDose Weight is below target and postdose is active (finedose) 16 0x10 WaitCalcWeight Wait for weight to become stable 17 0x11 CalcWeight Calculate weight result and new inflight value 18 0x12 DoseDone Filling/empty cycle done 19 0x13 EmptyCheckDelay Wait for empty command 20 0x14 Empty Empty scale 21 0x15 EmptyPostDelay Wait for empty to finish 22 0x16 Ready Dosed weight ready, PLC/server can read dose weight 23 0x17 ReadyDelay Delay after ready 24 0x18 Error Dose module has detected an error or has been aborted (** 25 0x1A Stop Dose module has been stopped 26 0x1B Pause Dose module is paused (coarse and finedose not active) 26 0x1C FlowThrough Dose module is in flow through mode (coarse fine and empty outputs all open) (* When dosestate is WaitStart, dosetarget can safely be updated with new value. (** When the dose module is in error or abortedstate this must be cleared by sending the command ResetError before a new cycle can be started. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 45 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.7 Batch status BASE+12 This parameter contains the 8bit byte batch status code. This code is only valid if the dose module is setup for batch weighing, if not used the code will always be zero. Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+c +12 BB Batch state for dosing module The batch status byte is value coded according to table below: Address Code Status Comment base+12 0 0x00 None Batch functionality not in operation/not started (lsb) 1 0x01 WaitStart Batch module is waiting start command (* 2 0x02 Start Batch module starting, reading batch start and targetweight 3 0x03 StartDose Starting dose cycle, reading dosetarget 4 0x04 Dosing Dose cycle running, see dose status for more information 5 0x05 DoseReady Dose cycle ready 6 0x06 Stopping Batch module is stopping 7 0x07 BatchReady Batch module has reached target weight 8 0x08 Pause Batch module paused, active dose cycle will finish 9 0x09 FlowThrough Batch and dose module in flow through mode 10 0x0A Error Batch module has detected an error or has been aborted (** (* When batch state is WaitStart, dosetarget, batchstart and batchtarget can safely be updated with new values. (** When the batch module is in error or abortedstate this must be cleared by sending the command ResetError before a new cycle can be started. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 46 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.5.1.8 Last dose result BASE+14 This parameter contains the signed 32bit weight value from the latest finalised dosing cycle of the dose module in grams (g). The value is only updated when dose state is set to Ready. During dosing this value is not updated. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+e +14 ww ww Ww ww Dosed weight for dosing module (g) 3.5.1.9 Last batch result BASE+16 This parameter contains the signed 32bit accumulated batch weight value from the latest finalised dose cycle in grams (g). The value is only updated when batch state is set to DoseReady and/or BatchReady. During dosing this value is not updated. If BatchStart weight is nonzero then batchresult weight will contain this value in addition to the weights accumulated from dosing. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment base+10 +16 ww ww Ww ww Batched weight for dosing module (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 47 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6 Primary indicator and I/O s This data block contains general parameters of the instrument such as digital I/O and weight data for primary indicator. See table below for an overview of the general parameter block, data is 32bit aligned; Legend: padded or nonvalid data normally always 0 s b bit encoded parameter B 8 bit unsigned parameter wwww 32 bit signed parameter, highest nibble W. Address 16bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0C08 3080 BB 8bit cyclic update counter 0x0C0A 3082 bb bb Digital I/O : Input_0 10 0x0C0C 3084 bb bb Digital I/O : Output_0 10 0x0C0E 3086 bb bb Digital I/O : EX_A_IN/OUT_18 0x0C10 3088 bb Digital I/O : DirectKeys_07 0x0C12 3090 bb Digital I/O : Marker_07 0x0C14 3092 bb Digital I/O : Marker_815 0x0C16 3094 bb Digital I/O : Marker_1623, see also note below 0x0C18 3096 bb Digital I/O : Marker_2431, see also note below 0x0C1A 3098 bb bb bb Bb Primary indicator, displayed weight in grams (g) 0x0C1C 3100 ww ww Ww ww Primary indicator, gross weight in grams (g) 0x0C1E 3102 ww ww Ww ww Dose state for dosing module Dose1 0x0C20 3104 BB Batch state for dosing module Dose1 Note: digital I/O: s Marker_1631 can be controlled by the server when used as input data. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 48 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6.1 Cyclic update counter 0x0C08 The 8bit cyclic counter will increment by one each time data in the cyclic data block is updated. This can be used to check that the instrument is fully operational even if no other data is changing. Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0C08 3080 BB 8bit cyclic update counter 3.6.2 Digital I/O Input_010 0x0C0A This parameter contains the bit encoded status of the digital I/O labelled Input_0 to Input_10 (not all are externally accessible). Input_1 to Input_3 are opto isolated input accessible on the I/O connector on the backside of the instrument; the remaining inputs are normally only accessible when an addon board is fitted in the instrument. Address Bit# Flag/function Comment 0x0C0A 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Input_7 Input_6 Input_5 Input_4 Input_3 Input_2 Input_1 Input_0 Input_10 Input_9 Input_8 Opto isolated, addon 455043 Opto isolated, addon 455043 Opto isolated, addon 455043 Opto isolated, addon 455043 Opto isolated, I/O pin: 5 Opto isolated, I/O pin: 9 Opto isolated, I/O pin: 4 Opto isolated, internal header, not used, not used, not used \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 49 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6.3 Digital I/O Output_010 0x0C0C This parameter contains the bit encoded status of the digital I/O labelled Output_0 to Output_10 (not all are externally accessible). Output_0 to Output_3 are NPN outputs accessible on the I/O connector on the backside of the instrument; the remaining outputs are normally only accessible when an addon board is fitted in the instrument. Address Bit# Flag/function Comment 0x0C0C 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Output_7 Output_6 Output_5 Output_4 Output_3 Output_2 Output_1 Output_0 Output_10 Output_9 Output_8, not used Relay output, addon 455043 Relay output, addon 455043 Relay output, addon 455043 NPN output, I/O pin:7 NPN output, I/O pin:2 NPN output, I/O pin:6 NPN output, I/O pin:1, not used, not used, not used \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 50 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6.4 Digital I/O EX_IN/OUT_18 0x0C0E This parameter contains the bit encoded status of the digital I/O labelled EX_IN_A_1 to EX_IN_A_8 and EX_OUT_A_1 to EX_OUT_A_8. These inputs and outputs are only available when the addon board Extended I/O 454984 is fitted. EX_IN_A_1 to EX_IN_A_8 are opto isolated input accessible on the 7 pole terminals and EX_OUT_A_1 to EX_OUT_A_8 are relay outputs accessible on the 10pole terminals. Address 0x0C0E 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Bit# Flag/function Comment EX_IN_A_8 EX_IN_A_7 EX_IN_A_7 EX_IN_A_5 EX_IN_A_4 EX_IN_A_3 EX_IN_A_2 EX_IN_A_1 EX_OUT_A_8 EX_OUT_A_7 EX_OUT_A_6 EX_OUT_A_5 EX_OUT_A_4 EX_OUT_A_3 EX_OUT_A_2 EX_OUT_A_1 Opto isolated input, J0B (bottom 7p) pin:4 Opto isolated input, J0B (bottom 7p) pin:3 Opto isolated input, J0B (bottom 7p) pin:2 Opto isolated input, J0B (bottom 7p) pin:1 Opto isolated input, J0T (top 7p) pin:4 Opto isolated input, J0T (top 7p) pin:3 Opto isolated input, J0T (top 7p) pin:2 Opto isolated input, J0T (top 7p) pin:1 Relay output, J1B (bottom 10p) pins: 9nc, 10no, 8cm Relay output, J1B (bottom 10p) pins: 6nc, 7no, 8cm Relay output, J1B (bottom 10p) pins: 4nc, 5no, 3cm Relay output, J1B (bottom 10p) pins: 1nc, 2no, 3cm Relay output, J1T (top 10p) pins: 9nc, 10no, 8cm Relay output, J1T (top 10p) pins: 6nc, 7no, 8cm Relay output, J1T (top 10p) pins:4nc, 5no, 3cm Relay output, J1T (top 10p) pins: 1nc, 2no, 3cm \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 51 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6.5 Digital I/O DirectKeys_07 0x0C10 This parameter contains the bit encoded status of the internal direct key inputs, normally only used for dedicated start/stop pushbuttons; however other functions can be available. Address 0x0C10 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Bit# Flag/function Comment DirectKey_7 DirectKey_6 DirectKey_5 DirectKey_4 DirectKey_3 DirectKey_2 DirectKey_1 DirectKey_0 Internal key, n/a (calibration button) Internal key, J701 pin:8 default: Stop Internal key, J701 pin:7 default: Start Internal key, J701 pin:6 Internal key, J701 pin:5 Internal key, J701 pin:4 Internal key, J701 pin:3 Internal key, J701 pin:2 (1,10:gnd, 9:3.3V) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 52 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6.6 Digital I/O Marker_07 0x0C12 This parameter contains the bit encoded status of the internal virtual I/O s called Marker_0 to Marker_7. Markers can be used both as input or outputs depending on configuration, for specific functions consult your order documentation. Address Bit# Flag/function Comment 0x0C12 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Marker_7 Marker_6 Marker_5 Marker_4 Marker_3 Marker_2 Marker_1 Marker_0 Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 3.6.7 Digital I/O Marker_815 0x0C14 This parameter contains the bit encoded status of the internal virtual I/O s called Marker_8 to Marker_15. Markers can be used both as input or outputs depending on configuration, for specific functions consult your order documentation. Address Bit# Flag/function Comment 0x0C14 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Marker_15 Marker_14 Marker_13 Marker_12 Marker_11 Marker_10 Marker_9 Marker_8 Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 53 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6.8 Digital I/O Marker_1623 0x0C16 This parameter contains the bit encoded status of the internal virtual I/O s called Marker_16 to Marker_23. Markers can be used both as input or outputs depending on configuration, for specific functions consult your order documentation. These Markers can be set by the external when used as input data. Address Bit# Flag/function Comment 0x0C16 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Marker_23 Marker_22 Marker_21 Marker_20 Marker_19 Marker_18 Marker_17 Marker_16 Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 3.6.9 Digital I/O Marker_2431 0x0C18 This parameter contains the bit encoded status of the internal virtual I/O s called Marker_24 to Marker_31. Markers can be used both as input or outputs depending on configuration, for specific functions consult your order documentation. These Markers can be set by the external when used as input data. Address Bit# Flag/function Comment 0x0C18 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Marker_31 Marker_30 Marker_29 Marker_28 Marker_27 Marker_26 Marker_25 Marker_24 Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate Internal virtual I/O, logic gate padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 padded, normally always = 0 \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 54 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6.10 Primary indicator Status flags 0x0C1A This parameter contains the bit encoded status of the primary weight indicator. Default this is the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Address 0x0C1A 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 0x0C1B 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 Bit# Flag/function Comment IsInPowerOn IsOutOfRange IsAbsZero IsZero IsPositive IsPresetTared IsTared IsStable ZeroTrackWarning IsInAuto ZeroTrackTimeout IsAboveInterval2 IsAboveInterval1 InZeroTrackRange InZeroSetRange IND_ID.4 IND_ID.3 IND_ID.2 IND_ID.1 IND_ID.0 DP.2 DP.1 DP.0 UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 Decimal point setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x07) Comment DP.2 DP.1 DP.0 Indicator is in poweron sequence or waiting to set initial zero Weight value is out of range (over max or outside measuring range) Displayed weight value is zero (i.e. within ±0.25 d from current zero) Displayed weight value is zero (i.e. within ±0.5 d from current zero) Displayed weight value is positive Tare value was set by operator/server Indicator is tared, display shows net weight Indicator is in stable equilibrium (weight value not changing) Weight has not been at zero during required time period, warning Indicator is in automatic mode Weight has not been at zero during required time period, error Weight is above Interval2 switchover point Weight is above Interval1 switchover point Weight is within automatic zero track range Weight is within zero setting range, zero setting allowed Indicator ID, bit:4 msb Indicator ID, bit:3 Indicator ID, bit:2 Indicator ID, bit:1 Indicator ID, bit:0 lsb Decimal point setting, bit:2 msb Decimal point setting, bit:1 Decimal point setting, bit:0 lsb Unit setting nonweight unit, bit:4 msb Unit setting, bit:3 Unit setting, bit:2 Unit setting, bit:1 Unit setting, bit:0 lsb 0 0 0 0x00 No decimal point Div = 1 0 0 1 0x01 One digit after decimal point 0.0 0 1 0 0x02 Two digits after decimal point 0.00 0 1 1 0x03 Three digits after decimal point 0.000 1 0 0 0x04 Four digits after decimal point 0.0000 (* 1 0 1 0x05 Five digits after decimal point 0.00000 (* 1 1 0 0x06 Six digits after decimal point 0.000000 (* 1 1 1 0x07 Seven digits after decimal point 0.0000000 (* \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 55 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 (* Non legal and not applicable Indicator ID setting according to table below: I ND_ID.4 I ND_ID.3 IND_ID.2 Bit index IND_ID.1 IND_ID.0 Byte Value hex (mask 0xF8) :7 :6 :5 :4 :3 :2 :1 :0 Comment Note: (Byte & Mask) >>3 = Indicator_ID 0 0 0 0 0 0x00 None, not defined (not used) 0 0 0 0 1 0x08 Internal channel 1, standard primary indicator 0 0 0 1 0 0x10 Internal channel 2 0 0 0 1 1 0x18 Internal channel 3 0 0 1 0 0 0x20 Internal channel 4 0 0 1 0 1 0x28 External indicator, data from other instrument 0 0 1 1 0 0x30 External indicator, data from other instrument 0 0 1 1 1 0x38 External indicator, data from other instrument 0 1 0 0 0 0x40 External indicator, data from other instrument 0 1 0 0 1 0x48 External indicator, data from other instrument 0 1 0 1 0 0x50 External indicator, data from other instrument 0 1 0 1 1 0x58 Summing indicator, sum of 26 other indicators 0 1 1 0 0 0x60 Summing indicator, sum of 26 other indicators 0 1 1 0 1 0x68 Summing indicator, sum of 26 other indicators 0 1 1 1 0 0x70 Summing indicator, sum of 26 other indicators 0 1 1 1 1 0x78 Summing indicator, sum of 26 other indicators 1 0 0 0 0 0x80 Summing indicator, sum of 26 other indicators 1 0 0 0 1 0x88 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 0 0x90 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 1 0x98 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 0 0xA0 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 1 0xA8 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 0 0xB0 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 1 0xB8 Pulse indicator, counting pulses on I/O port 1 1 0 0 0 0xC0 Pulse indicator, counting pulses on I/O port 1 1 0 0 1 0xC8 Pulse indicator, counting pulses on I/O port 1 1 0 1 0 0xD0 Pulse indicator, counting pulses on I/O port 1 1 0 1 1 0xD8 Pulse indicator, counting pulses on I/O port 1 1 1 0 0 0xE0 Pulse indicator, counting pulses on I/O port 1 1 1 0 1 0xE8 Playback indicator 1 1 1 1 0 0xF0 Not defined (not used) 1 1 1 1 1 0xF8 Not defined (not used) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 56 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Indicator native unit setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x1F) Comment UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 0 0 0 0 0 0x00 None, no unit defined (unknown) Factor = 1 (* 0 0 0 0 1 0x01 Milligram (mg) Factor = 1 (not applicable) 0 0 0 1 0 0x02 Gram (g) Factor = 1 0 0 0 1 1 0x03 Kilogram (kg) Factor = 1000 0 0 1 0 0 0x04 Metric ton (t) Factor = 1000 000 0 0 1 0 1 0x05 Pound (lb) Factor = 453.592 0 0 1 1 0 0x06 Newton (N) Factor = 98.2 0 0 1 1 1 0x07 KiloNewton (kn) Factor = 98 200 1 0 0 0 0 0x80 Hertz (Hz) Factor = 1 (* 1 0 0 0 1 0x81 Millivolt/volt (mv/v) Factor = 1 (* 1 0 0 1 0 0x82 Litre/minute (l/min) Factor = 1 (* 1 0 0 1 1 0x83 C degrees Celsius Factor = 1 (* (* When UNIT.4 bit is set or the unit is <None> the value is not convertible to gram (g) in that case the value presented on the fieldbus will be sent as shown on the indicator display (i.e. a 1:1 conversion). The decimal point and unit settings must be read by the if a presented weight must have the same display format as the indicator. I.e. the fieldbus weight values are always presented in the universal weight unit gram (g), where the value is always (except raw weights) rounded to the displayed resolution of the scale. This means that the weight values are always identical but the presentation can differ. See example below: Example: Scale with 60 t max. using two digits after decimal point showing 32.00 t on the display will be presented on the fieldbus as 32000000 g. By reading the native unit (t) and decimal point setting (2 digits after dp) from the indicator info parameter, the can determine the correct conversion settings to present the weight value identical to the indicator. Divide the weight in gram with the factor from the table to convert the weight into the (indicator) native unit; Weight_t = Weight_g / 1000 000 = 32.000 000 t then use the decimal point setting to determine how many digits after the dp that is to be shown, in this case 2. i.e. 32.00 t. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 57 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.6.11 Primary indicator displayed weight value 0x0C1C This parameter contains the signed 32bit displayed weight value of the primary indicator in grams (g). This value can be either gross or net depending on tare status. Default is the primary indicator set to the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0C1C 3100 ww ww Ww ww Primary indicator, displayed weight in grams (g) 3.6.12 Primary indicator gross weight value 0x0C1E This parameter contains the signed 32bit gross weight value of the primary indicator in grams (g). This value always contains gross weight independent on tare status. Default is the primary indicator set to the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Address 32bit aligned Low High Access Hex Dec Msb Lsb Msb Lsb Read Write Comment 0x0C1E 3102 ww ww Ww ww Primary indicator, gross weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 58 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.7 Gateway block 0x0E060x0Exx The gateway block is only used to route data between different fieldbus interfaces, the indicator cannot access or alter the content of the data. By default no gateway registers are allocated and the indicator will reply illegal address when trying to access these registers. However when necessary, sufficient number of registers can be allocated, and be used by the fieldbus interfaces as a dual port memory. For example when the indicator has two fieldbus interfaces active, one Modbus native and one Anybus Profibus DPV1. One side can write to a register that can be read by the other side. Although possible, it s not recommended that both sides are allowed to write into the same register. Ideally each register should have one side that handles all write requests while the other side only is allowed to read the data. When activated, each register will be of a 32bit signed int data type regardless of the data content. See example table below: Int1 base address 32bit aligned Param offset Low High The principal usage as per schematics below: Access Hex Dec Dec Msb Lsb Msb Lsb Read Write Comment 0x0E06 3590 ww ww Ww ww Gateway register #1 0x0E08 3592 ww ww Ww ww Gateway register #2 0x0E0A 3594 ww ww Ww ww Gateway register #3.................... External system #1 Data: Out Data: In Modbus native Weightindicator 4720 fieldbus data Cyclic and acyclic data blocks, data processed and produced by indicator Digital I/O Markers Weight.. Acyclic gateway block, data not accessed by indicator Profibus Anybus External system #2 Data: Out Data: In Gateway register #1 Gateway register #2 For further details of these registers in your particular installation consult your order documentation. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 59 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.8 Tunnel block The tunnel block is used to reroute data to specific internal interface in the indicator. In particular stream interfaces such as external displays, serial ports and/or printers. The tunnel block can only be accessed by the native fieldbus interface. For these types of devices the normal strict layout of the fieldbus registers is not ideal (with variable length data). To alleviate using these interfaces the indicator has a tunnel block register space. Within the tunnel register block, the indicator will only evaluate the starting address, this to determine which interface should receive the data block, and thereafter the whole modbus payload will be sent to the designated interface. The block should only be regarded as shadow registers, the written data is not saved in register space and therefore read functions are not supported. Int1 base address 32bit aligned The following registers are dedicated to tunnel (reroute) functionality: Param offset High Access Hex Dec Dec Msb Lsb Msb Lsb Read Write Comment 0xF000 61440 xx xx xx xx Tunnel register #1, External weight display 0xF002 61442 xx xx xx xx Tunnel register #2, reserved 0xF004 61444 xx xx xx xx Tunnel register #3, reserved.................... Example Modbus frame (sent to external weight display): Function = 16 (0x10) = write Start adress = 0xF000 Num. Registers = X Num. Bytes = X*2 Data payload = X*2 bytes Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F Comment 0xF00x na na 0xF01x Data payload = X*2 bytes 0.000 kg \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 60 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 3.8.1 External weight display 0xF000 When the start address of the write message is 0xF000 the data payload will be rerouted to an external weight display connected to the indicator (if possible). The payload data sent to the external weight display should be constructed according to table below: Offset (byte) Value ASCII Field Comment 0 0 9 Display ID The display ID (index) only relevant if the indicator has more than one external display, else use = 0 1 0 9 Duration_10s The 10 s digit of the duration time (x10 seconds) 2 0 9 Duration_1s The 1 s digit of the duration time (x1 seconds) 3 0 9 Font_Size The size of the font used to show the text when supported. 0 =smallest, 9 = largest. 4 TEXT_0 Text Text byte, default codepage 1252 5 TEXT_1 Text Text byte, default codepage 1252 6 ; New_Row Token for changing display row ( ; = 0x3B).. TEXT_2 Text Text byte, default codepage 1252 <end> TEXT_x Text Text byte, default codepage 1252 Example, display index=0, duration=12s, smallest font=1 and text = Hello : ID Duration Font Text #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 0 1 2 1 H e l l o <null> 0x30 0x31 0x32 0x31 0x48 0x65 0x6C 0x6C 0x6F 0x00 Note: in order to adhere to modbus message and addressing rules, the data payload should be padded (add null at the end) so the entire message always is an even number of bytes (16bit blocks). Trailing <null> bytes will be ignored. If the text does not fit on the display it will be automatically displayed as scrolling (right to left). The speed of the scrolling and code page can be changed by configuration settings in the indicator. Multiple lines should be separated by semicolon ;, if possible, several lines be will shown at once on the display else will the display alternate between showing each line. After the duration period has passed the display will automatically return to its normal display function (showing weight). If a new text is received before the previous has expired, the old text is replaced with the new (overwritten). \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 61 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4 Profibus DPV1 When the instrument is fitted with an Anybus ProfibusDPV1 active module the fieldbus supports Profibus connectivity with both cyclic (process) and acyclic data. For more information and gsdfile see: http://anybus.com/support/support.asp?pid=321&producttype=anybu scompactcom The fieldbus instrument data is separated into ApplicationDataInstances (ADI) where each ADI (data block) corresponds to specific instrument functionality. Each ADI have a unique index code which is used to create the corresponding Profibus slot and indexnumbers. ADI correlation with slot and index according to below: ADI = slot*255 + index + 1 slot = (ADI1) / 255 index = (ADI1) MOD 255 Examples: ADI Slot Index 1 0 0 255 0 254 257 1 1 1028 4 7 65025 254 254 \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 62 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.1 Enabling Anybus ProfibusDPV1 Enabling of generic fieldbus support is done in the application settings menu under Application>Communication>Protocol>Anybus[COM2]. The settings that must be configured are: Enabled Set to true. DeviceAdress Set to the desired Profibus client address. Note: If the instrument also uses native fieldbus, both the Anybus module and the native Modbus RTU/ASCII client will share the same client address. Then restart the Instrument. The module is successfully initiated when the following information is shown, under Application>Communication>Protocol>Anybus[COM2]: SerialNumber Shows the Anybus module serial number ModuleType Shows PROFIBUS DPV1 \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 63 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.2 Cyclic, process data from When fitted with an active Anybus ProfibusDPV1 module, the instrument also has an input cyclic process data block where the can write data. Default cyclic input data block size 1 byte. 4.2.1 Primary indicator command input This parameter can be written by the with the 8bit (byte) command code for the primary indicator. Reading command input parameter will always return zero. Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment (1289) (5:13) BB ( ) 8 Primary indicator command byte The command byte is value coded according to table below: Address Code Status Comment ADI:1289 0 0x00 None No command (or always when reading) 5:13 1 0x01 SetTare Activate tare operation with current weight as tare (* 2 0x02 ResetTare Clear tare operation, return to gross mode 3 0x03 SetZero Reacquire runtime zero level (** 4 0x04 ZeroScale Zero or tare scale, determine by load (*** (* Weight must be at stable equilibrium and at a legal weight value, i.e. within the range of the scale and at a positive gross weight value. (** Weight must be at stable equilibrium and within allowed zero setting range. Normally within ±2% of maximum capacity compared to the zero level acquired when starting the indicator. (*** Weight must be at stable equilibrium. Then, if weight is within zero setting range, a new zero level is set, else the current weight will be used as tare. See indicator displayed weight flags for determination of stable equilibrium and zero setting range status. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 64 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.3 Cyclic, process data to The default cyclic data block contains general parameters of the instrument such as digital I/O and weight data for primary indicator. See table below for an overview of the cyclic parameter block; Legend: b bit encoded parameter B 8 bit unsigned parameter Wwww 32 bit signed parameter, highest nibble W. Total default cyclic output data block size 13 bytes. Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment (1277) (5:1) BB 8 Cyclic update counter (1286) (5:10) bb bb bb bb 32 Primary indicator, flags (1287) (5:11) Ww ww ww ww 32 Primary indicator, displayed weight in grams (g) (1288) (5:12) Ww ww ww ww 32 Primary indicator, gross weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 65 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.3.1 Cyclic update counter The 8bit cyclic counter will increment by one each time data in the cyclic data block is updated. This can be used to check that the instrument is fully operational even if no other data is changing. Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment (1277) (5:1) BB 8 Cyclic update counter \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 66 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.3.2 Primary indicator Status flags This parameter contains the (32bit) encoded status of the primary weight indicator. Default this is the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Address ADI: 1286 5:10 Bit# Flag/function Comment 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 IND_ID.4 IND_ID.3 IND_ID.2 IND_ID.1 IND_ID.0 DP.2 DP.1 DP.0 ZeroTrackWarning IsInAuto ZeroTrackTimeout IsAboveInterval2 IsAboveInterval1 InZeroTrackRange InZeroSetRange IsInPowerOn IsOutOfRange IsAbsZero IsZero IsPositive IsPresetTared IsTared IsStable Decimal point setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x07) Comment DP.2 DP.1 DP.0 Unit setting nonweight unit, bit:4 msb Unit setting, bit:3 Unit setting, bit:2 Unit setting, bit:1 Unit setting, bit:0 lsb Indicator ID, bit:4 msb Indicator ID, bit:3 Indicator ID, bit:2 Indicator ID, bit:1 Indicator ID, bit:0 lsb Decimal point setting, bit:2 msb Decimal point setting, bit:1 Decimal point setting, bit:0 lsb Weight has not been at zero during required time period, warning Indicator is in automatic mode Weight has not been at zero during required time period, error Weight is above Interval2 switchover point Weight is above Interval1 switchover point Weight is within automatic zero track range Weight is within zero setting range, zero setting allowed Indicator is in poweron sequence or waiting to set initial zero Weight value is out of range (over max or outside measuring range) Displayed weight value is zero (i.e. within ±0.25 d from current zero) Displayed weight value is zero (i.e. within ±0.5 d from current zero) Displayed weight value is positive Tare value was set by operator/server Indicator is tared, display shows net weight Indicator is in stable equilibrium (weight value not changing) 0 0 0 0x00 No decimal point Div = 1 0 0 1 0x01 One digit after decimal point 0.0 0 1 0 0x02 Two digits after decimal point 0.00 0 1 1 0x03 Three digits after decimal point 0.000 1 0 0 0x04 Four digits after decimal point 0.0000 (* 1 0 1 0x05 Five digits after decimal point 0.00000 (* 1 1 0 0x06 Six digits after decimal point 0.000000 (* 1 1 1 0x07 Seven digits after decimal point 0.0000000 (* \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 67 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 I ND_ID.4 I ND_ID.3 IND_ID.2 (* Non legal and not applicable Indicator ID setting according to table below: Bit index IND_ID.1 IND_ID.0 Byte Value hex (mask 0xF8) :7 :6 :5 :4 :3 :2 :1 :0 Comment Note: (Byte & Mask) >>3 = Indicator_ID 0 0 0 0 0 0x00 None, not defined (not used) 0 0 0 0 1 0x08 Internal channel 1, standard primary indicator 0 0 0 1 0 0x10 Internal channel 2 0 0 0 1 1 0x18 Internal channel 3 0 0 1 0 0 0x20 Internal channel 4 0 0 1 0 1 0x28 External indicator, data from other instrument 0 0 1 1 0 0x30 External indicator, data from other instrument 0 0 1 1 1 0x38 External indicator, data from other instrument 0 1 0 0 0 0x40 External indicator, data from other instrument 0 1 0 0 1 0x48 External indicator, data from other instrument 0 1 0 1 0 0x50 External indicator, data from other instrument 0 1 0 1 1 0x58 Summing indicator, sum of 26 other indicators 0 1 1 0 0 0x60 Summing indicator, sum of 26 other indicators 0 1 1 0 1 0x68 Summing indicator, sum of 26 other indicators 0 1 1 1 0 0x70 Summing indicator, sum of 26 other indicators 0 1 1 1 1 0x78 Summing indicator, sum of 26 other indicators 1 0 0 0 0 0x80 Summing indicator, sum of 26 other indicators 1 0 0 0 1 0x88 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 0 0x90 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 1 0x98 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 0 0xA0 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 1 0xA8 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 0 0xB0 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 1 0xB8 Pulse indicator, counting pulses on I/O port 1 1 0 0 0 0xC0 Pulse indicator, counting pulses on I/O port 1 1 0 0 1 0xC8 Pulse indicator, counting pulses on I/O port 1 1 0 1 0 0xD0 Pulse indicator, counting pulses on I/O port 1 1 0 1 1 0xD8 Pulse indicator, counting pulses on I/O port 1 1 1 0 0 0xE0 Pulse indicator, counting pulses on I/O port 1 1 1 0 1 0xE8 Playback indicator 1 1 1 1 0 0xF0 Not defined (not used) 1 1 1 1 1 0xF8 Not defined (not used) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 68 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Indicator native unit setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x1F) Comment UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 0 0 0 0 0 0x00 None, no unit defined (unknown) Factor = 1 (* 0 0 0 0 1 0x01 Milligram (mg) Factor = 1 (not applicable) 0 0 0 1 0 0x02 Gram (g) Factor = 1 0 0 0 1 1 0x03 Kilogram (kg) Factor = 1000 0 0 1 0 0 0x04 Metric ton (t) Factor = 1000 000 0 0 1 0 1 0x05 Pound (lb) Factor = 453.592 0 0 1 1 0 0x06 Newton (N) Factor = 98.2 0 0 1 1 1 0x07 KiloNewton (kn) Factor = 98 200 1 0 0 0 0 0x80 Hertz (Hz) Factor = 1 (* 1 0 0 0 1 0x81 Millivolt/volt (mv/v) Factor = 1 (* 1 0 0 1 0 0x82 Litre/minute (l/min) Factor = 1 (* 1 0 0 1 1 0x83 C degrees Celsius Factor = 1 (* (* When UNIT.4 bit is set or the unit is <None> the value is not convertible to gram (g) in that case the value presented on the fieldbus will be sent as shown on the indicator display (i.e. a 1:1 conversion). The decimal point and unit settings must be read by the if a presented weight must have the same display format as the indicator. I.e. the fieldbus weight values are always presented in the universal weight unit gram (g), where the value is always (except raw weights) rounded to the displayed resolution of the scale. This means that the weight values are always identical but the presentation can differ. See example below: Example: Scale with 60 t max. using two digits after decimal point showing 32.00 t on the display will be presented on the fieldbus as 32000000 g. By reading the native unit (t) and decimal point setting (2 digits after dp) from the indicator info parameter, the can determine the correct conversion settings to present the weight value identical to the indicator. Divide the weight in gram with the factor from the table to convert the weight into the (indicator) native unit; Weight_t = Weight_g / 1000 000 = 32.000 000 t then use the decimal point setting to determine how many digits after the dp that is to be shown, in this case 2. i.e. 32.00 t. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 69 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.3.3 Primary indicator displayed weight value This parameter contains the signed 32bit displayed weight value of the primary indicator in grams (g). This value can be either gross or net depending on tare status. Default is the primary indicator set to the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment 1287 5:11 Ww ww ww ww 32 Primary indicator, displayed weight in grams (g) 4.3.4 Primary indicator gross weight value This parameter contains the signed 32bit gross weight value of the primary indicator in grams (g). This value always contains gross weight independent on tare status. Default is the primary indicator set to the internal analogue channel 1 (Int1), but can be others depending on configuration, consult your order documentation. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment 1288 5:12 Ww ww ww ww 32 Primary indicator, gross weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 70 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.4 Indicator data blocks As mentioned in section 2.1 Indicators and virtual indicators, one single 4720 instrument can have up to 28 individual internal indicators. Each of these indicators will have an own dedicated data area where the can read the weight/status and control the tare/zero operation of the indicator. To calculate the base ADI of a specific indicator one must use the ID from the table in section 2.1 in the following formula: ADI calculation: IndicatorBaseADI = 257 + (( ID1) * 12) Examples (decimal): Int1 with ID=1; Int1_Adr = 257 + (( 11) *12) = 257 + (0*12) = 257 Sum1 with ID=11 Sum1_Adr = 257 + ((111) * 12) = 257 + (10*12) = 377 Consult your order documentation for which indicators that are accessible at your specific installation. See precalculated table on next page for the base ADI of all possible indicators. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 71 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Table with precalculated base ADI for all possible indicators: Indicator Indicator base ADI Indicator Name ADI Slot:Index Id Comment Int1 257 1:1 1 Internal channel 1, standard primary indicator Int2 269 1:13 2 Internal channel 2 Int3 281 1:25 3 Internal channel 3 Int4 293 1:37 4 Internal channel 4 Ext1 305 1:49 5 External indicator, data from other instrument Ext2 317 1:61 6 External indicator, data from other instrument Ext3 329 1:73 7 External indicator, data from other instrument Ext4 341 1:85 8 External indicator, data from other instrument Ext5 353 1:97 9 External indicator, data from other instrument Ext6 365 1:109 10 External indicator, data from other instrument Sum1 377 1:121 11 Summing indicator, sum of 26 other indicators Sum2 389 1:133 12 Summing indicator, sum of 26 other indicators Sum3 401 1:145 13 Summing indicator, sum of 26 other indicators Sum4 413 1:157 14 Summing indicator, sum of 26 other indicators Sum5 425 1:169 15 Summing indicator, sum of 26 other indicators Sum6 437 1:181 16 Summing indicator, sum of 26 other indicators Flow1 449 1:193 17 Flow indicator, measuring time between pulses on I/O port Flow2 461 1:205 18 Flow indicator, measuring time between pulses on I/O port Flow3 473 1:217 19 Flow indicator, measuring time between pulses on I/O port Flow4 485 1:229 20 Flow indicator, measuring time between pulses on I/O port Flow5 497 1:241 21 Flow indicator, measuring time between pulses on I/O port Flow6 509 1:253 22 Flow indicator, measuring time between pulses on I/O port (* Pulse1 521 2:10 23 Pulse indicator, counting pulses on I/O port Pulse2 533 2:22 24 Pulse indicator, counting pulses on I/O port Pulse3 545 2:34 25 Pulse indicator, counting pulses on I/O port Pulse4 557 2:46 26 Pulse indicator, counting pulses on I/O port Pulse5 569 2:58 27 Pulse indicator, counting pulses on I/O port Pulse6 581 2:70 28 Pulse indicator, counting pulses on I/O port (* This indicator has data at two different slots (overlaps), and must be read twice to update the entire data block. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 72 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.4.1 Indicator data block BASE: 1:1 to BASE: 2:70 When enabled, each indicator will have a block with corresponding data containing weight/status and zero/tare control. Within each indicator data block there are 8 ADI s with data and 4 spare ADI s, see example table below, showing the ADI for internal indicator Int1: Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment 257 1:1 bb bb bb bb 32 Int1 displayed weight flags 258 1:2 Ww ww ww ww 32 Int1 displayed weight in grams (g) 259 1:3 Ww ww ww ww 32 Int1 gross weight in grams (g) 260 1:4 Ww ww ww ww 32 Int1 raw displayed weight in grams (g) 261 1:5 Ww ww ww ww 32 Int1 raw gross weight in grams (g) 262 1:6 Ww ww ww ww 32 Int1 tare weight in grams (g) 263 1:7 BB ( ) 8 Int1 command (input) 264 1:8 bb bb bb bb 32 Int1 info flags 265 1:9, illegal address 266 1:10, illegal address 267 1:11, illegal address 268 1:12, illegal address \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 73 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.4.2 Indicator displayed weight flags INDEX+0 This parameter contains the (32bit) encoded weight status of the indicator. Address BASE+0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit# Flag/function Comment UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 IND_ID.4 IND_ID.3 IND_ID.2 IND_ID.1 IND_ID.0 DP.2 DP.1 DP.0 ZeroTrackWarning IsInAuto ZeroTrackTimeout IsAboveInterval2 IsAboveInterval1 InZeroTrackRange InZeroSetRange IsInPowerOn IsOutOfRange IsAbsZero IsZero IsPositive IsPresetTared IsTared IsStable Decimal point setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x07) Comment DP.2 DP.1 DP.0 Unit setting nonweight unit, bit:4 msb Unit setting, bit:3 Unit setting, bit:2 Unit setting, bit:1 Unit setting, bit:0 lsb Indicator ID, bit:4 msb Indicator ID, bit:3 Indicator ID, bit:2 Indicator ID, bit:1 Indicator ID, bit:0 lsb Decimal point setting, bit:2 msb Decimal point setting, bit:1 Decimal point setting, bit:0 lsb Weight has not been at zero during required time period, warning Indicator is in automatic mode Weight has not been at zero during required time period, error Weight is above Interval2 switchover point Weight is above Interval1 switchover point Weight is within automatic zero track range Weight is within zero setting range, zero setting allowed Indicator is in poweron sequence or waiting to set initial zero Weight value is out of range (over max or outside measuring range) Displayed weight value is zero (i.e. within ±0.25 d from current zero) Displayed weight value is zero (i.e. within ±0.5 d from current zero) Displayed weight value is positive Tare value was set by operator/server Indicator is tared, display shows net weight Indicator is in stable equilibrium (weight value not changing) 0 0 0 0x00 No decimal point Div = 1 0 0 1 0x01 One digit after decimal point 0.0 0 1 0 0x02 Two digits after decimal point 0.00 0 1 1 0x03 Three digits after decimal point 0.000 1 0 0 0x04 Four digits after decimal point 0.0000 (* 1 0 1 0x05 Five digits after decimal point 0.00000 (* 1 1 0 0x06 Six digits after decimal point 0.000000 (* 1 1 1 0x07 Seven digits after decimal point 0.0000000 (* (* Non legal and not applicable \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 74 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 I ND_ID.4 I ND_ID.3 IND_ID.2 Indicator ID setting according to table below: Bit index IND_ID.1 IND_ID.0 Byte Value hex (mask 0xF8) :7 :6 :5 :4 :3 :2 :1 :0 Comment Note: (Byte & Mask) >>3 = Indicator_ID 0 0 0 0 0 0x00 None, not defined (not used) 0 0 0 0 1 0x08 Internal channel 1, standard primary indicator 0 0 0 1 0 0x10 Internal channel 2 0 0 0 1 1 0x18 Internal channel 3 0 0 1 0 0 0x20 Internal channel 4 0 0 1 0 1 0x28 External indicator, data from other instrument 0 0 1 1 0 0x30 External indicator, data from other instrument 0 0 1 1 1 0x38 External indicator, data from other instrument 0 1 0 0 0 0x40 External indicator, data from other instrument 0 1 0 0 1 0x48 External indicator, data from other instrument 0 1 0 1 0 0x50 External indicator, data from other instrument 0 1 0 1 1 0x58 Summing indicator, sum of 26 other indicators 0 1 1 0 0 0x60 Summing indicator, sum of 26 other indicators 0 1 1 0 1 0x68 Summing indicator, sum of 26 other indicators 0 1 1 1 0 0x70 Summing indicator, sum of 26 other indicators 0 1 1 1 1 0x78 Summing indicator, sum of 26 other indicators 1 0 0 0 0 0x80 Summing indicator, sum of 26 other indicators 1 0 0 0 1 0x88 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 0 0x90 Flow indicator, measuring time between pulses on I/O port 1 0 0 1 1 0x98 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 0 0xA0 Flow indicator, measuring time between pulses on I/O port 1 0 1 0 1 0xA8 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 0 0xB0 Flow indicator, measuring time between pulses on I/O port 1 0 1 1 1 0xB8 Pulse indicator, counting pulses on I/O port 1 1 0 0 0 0xC0 Pulse indicator, counting pulses on I/O port 1 1 0 0 1 0xC8 Pulse indicator, counting pulses on I/O port 1 1 0 1 0 0xD0 Pulse indicator, counting pulses on I/O port 1 1 0 1 1 0xD8 Pulse indicator, counting pulses on I/O port 1 1 1 0 0 0xE0 Pulse indicator, counting pulses on I/O port 1 1 1 0 1 0xE8 Playback indicator 1 1 1 1 0 0xF0 Not defined (not used) 1 1 1 1 1 0xF8 Not defined (not used) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 75 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Indicator native unit setting according to table below: Bit index :7 :6 :5 :4 :3 :2 :1 :0 Byte Value hex (mask 0x1F) Comment UNIT.4 UNIT.3 UNIT.2 UNIT.1 UNIT.0 0 0 0 0 0 0x00 None, no unit defined (unknown) Factor = 1 (* 0 0 0 0 1 0x01 Milligram (mg) Factor = 1 (not applicable) 0 0 0 1 0 0x02 Gram (g) Factor = 1 0 0 0 1 1 0x03 Kilogram (kg) Factor = 1000 0 0 1 0 0 0x04 Metric ton (t) Factor = 1000 000 0 0 1 0 1 0x05 Pound (lb) Factor = 453.592 0 0 1 1 0 0x06 Newton (N) Factor = 98.2 0 0 1 1 1 0x07 KiloNewton (kn) Factor = 98 200 1 0 0 0 0 0x80 Hertz (Hz) Factor = 1 (* 1 0 0 0 1 0x81 Millivolt/volt (mv/v) Factor = 1 (* 1 0 0 1 0 0x82 Litre/minute (l/min) Factor = 1 (* 1 0 0 1 1 0x83 C degrees Celsius Factor = 1 (* (* When UNIT.4 bit is set or the unit is <None> the value is not convertible to gram (g) in that case the value presented on the fieldbus will be sent as shown on the indicator display (i.e. a 1:1 conversion). The decimal point and unit settings must be read by the if a presented weight must have the same display format as the indicator. I.e. the fieldbus weight values are always presented in the universal weight unit gram (g), where the value is always (except raw weights) rounded to the displayed resolution of the scale. This means that the weight values are always identical but the presentation can differ. See example below: Example: Scale with 60 t max. using two digits after decimal point showing 32.00 t on the display will be presented on the fieldbus as 32000000 g. By reading the native unit (t) and decimal point setting (2 digits after dp) from the indicator info parameter, the can determine the correct conversion settings to present the weight value identical to the indicator. Divide the weight in gram with the factor from the table to convert the weight into the (indicator) native unit; Weight_t = Weight_g / 1000 000 = 32.000 000 t then use the decimal point setting to determine how many digits after the dp that is to be shown, in this case 2. i.e. 32.00 t. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 76 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.4.3 Indicator displayed weight (g) INDEX+1 This parameter contains the signed 32bit displayed weight value of the indicator in grams (g). This value can be either gross or net depending on tare status. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+1 INDEX+1 Ww ww ww ww 32 Indicator, displayed weight in grams (g) 4.4.4 Indicator gross weight (g) INDEX+2 This parameter contains the signed 32bit gross weight value of the indicator in grams (g). This value always contains gross weight independent on tare status. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+2 INDEX+2 Ww ww ww ww 32 Indicator, gross weight in grams (g) 4.4.5 Indicator raw displayed weight (g) INDEX+3 This parameter contains the signed 32bit displayed raw weight value of the indicator in grams (g). This value can be either gross or net depending on tare status. By raw means that the value is not rounded to displayed resolution and scale interval, instead the value will have the full internal resolution; normally this is 256 times the normal displayed resolution. NOTE: a raw weight value most likely never reaches standstill, unless at zero. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+3 INDEX+3 Ww ww ww ww 32 Indicator, raw displayed weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 77 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.4.6 Indicator raw gross weight (g) INDEX+4 This parameter contains the signed 32bit gross raw weight value of the indicator in grams (g). This value always contains gross weight independent on tare status. By raw means that the value is not rounded to displayed resolution and scale interval, instead the value will have the full internal resolution; normally this is 256 times the normal displayed resolution. NOTE: a raw weight value most likely never reaches standstill, unless at zero. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+4 INDEX+4 Ww ww ww ww 32 Indicator, raw gross weight in grams (g) 4.4.7 Indicator tare weight (g) INDEX+5 This parameter contains the 32bit tare weight value of the indicator in grams (g). The can also write a new tare value to this address, the value must be within the range of the scale and will automatically be rounded to nearest displayed division. If value is zero then it will cancel tare operation and return indicator to gross mode. Any other legal value will activate tare mode with the entered tare in operation. See also next section of setting tare with current weight value. Highest byte is Data Word High Msb, top bit must be 0 (must be positive). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+5 INDEX+5 Ww ww ww ww 32 Indicator, tare weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 78 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.4.8 Indicator command input INDEX+6 This parameter can be written by the with the 8bit (byte) command code for the indicator. Reading command input parameter will always return zero. Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+6 INDEX+6 BB ( ) 8 Indicator command byte The command byte is value coded according to table below: Address Code Status Comment INDEX+6 0 0x00 None No command (or always when reading) 1 0x01 SetTare Activate tare operation with current weight as tare (* 2 0x02 ResetTare Clear tare operation, return to gross mode 3 0x03 SetZero Reacquire runtime zero level (** 4 0x04 ZeroScale Zero or tare scale, determine by load (*** (* Weight must be at stable equilibrium and at a legal weight value, i.e. within the range of the scale and at a positive gross weight value. (** Weight must be at stable equilibrium and within allowed zero setting range. Normally within ±2% of maximum capacity compared to the zero level acquired when starting the indicator. (*** Weight must be at stable equilibrium. Then, if weight is within zero setting range, a new zero level is set, else the current weight will be used as tare. See indicator displayed weight flags for determination of stable equilibrium and zero setting range status. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 79 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.4.9 Indicator info INDEX+7 This parameter is reserved for future use. Address INDEX+7 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit# Flag/function Comment \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 80 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.5 Setpoint data blocks The instrument can have up to 16 separate setpoint values where the setpoint output state relates to a specific weight level. Each setpoint can use any of the available indicators and any available digital I/O signal as output. To calculate the ADI of a specific setpoint one must use the setpoint index (number) in the following formula: ADI calculation: SetPointADI = 767 + ((Index1) * 8) Examples (decimal): SetPoint1 SP1 index = 1 SetPoint1_ADI = 767 + (( 11) *8) = 767 + (0*8) = 767 SetPoint8 SP8 index = 8 SetPoint8_ADI = 767 + ((81) * 8) = 767 + (7*8) = 823 Consult your order documentation for which setpoints that are accessible at your specific installation. See table on next page for a precalculated table of the addresses for all possible setpoints. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 81 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Table with precalculated base addresses for all possible setpoints: Set Point Setpoint ADI Setpoint Name ADI Slot:Index Index Comment SP1 767 3:1 1 Setpoint 1 value in grams (g) SP2 775 3:9 2 Setpoint 2 value in grams (g) SP3 783 3:17 3 Setpoint 3 value in grams (g) SP4 791 3:25 4 Setpoint 4 value in grams (g) SP5 799 3:33 5 Setpoint 5 value in grams (g) SP6 807 3:41 6 Setpoint 6 value in grams (g) SP7 815 3:49 7 Setpoint 7 value in grams (g) SP8 823 3:57 8 Setpoint 8 value in grams (g) SP9 831 3:65 9 Setpoint 9 value in grams (g) SP10 839 3:73 10 Setpoint 10 value in grams (g) SP11 847 3:81 11 Setpoint 11 value in grams (g) SP12 855 3:89 12 Setpoint 12 value in grams (g) SP13 863 3:97 13 Setpoint 13 value in grams (g) SP14 871 3:105 14 Setpoint 14 value in grams (g) SP15 879 3:113 15 Setpoint 15 value in grams (g) SP16 887 3:121 16 Setpoint 16 value in grams (g) 4.5.1 Setpoint value (g) BASE: 3:1 to BASE: 3:121 This parameter contains the signed 32bit setpoint weight value in grams (g). The can also write a new setpoint value to this address; zero and negative values are allowed. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE INDEX Ww ww ww ww 32 Setpoint weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 82 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6 Dose data blocks The instrument can have up to 8 separate dose modules activated at the same time. Each module will autonomously, i.e. without intervention from, dose or batch a single product to or from a container. Batching refers to when multiple dosing cycles are automatically run in sequence until a preset accumulated (i.e. batch) sum is reached. If the dose module is setup for batch weighing, use the batch command input, else use the dose command input. To calculate the base ADI of a specific dose module one must use the dose module index (number) in the following formula: Decimal: DoseBaseADI = 2570 + ((Index1) * 16) Examples (decimal): Dose1 index = 1 Dose1_ADI = 1022 + (( 11) *16) = 1022 + (0*16) = 1022 Dose8 index = 8 Dose8_ADI = 1022 + ((81) * 16) = 1022 + (7*16) = 1134 The setup of each dose module must be done on the instrument prior to being put into operation. Where the safety interlocks, inputs, outputs, indicator and initial parameters must be configured. Consult your order documentation for which dose modules that are accessible at your specific installation and the corresponding digital I/O mapping that is used. For more information about dosing see 454935 Instruction 4720 basic section 8.10. See table on next page for a precalculated table of the addresses for all possible dose modules. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 83 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 Table with precalculated base ADI s for all possible dose modules: Dose Dose ADI Dose Name ADI Slot:Index Index Comment Dose1 1022 4:1 1 Dose module 1 base address Dose2 1038 4:17 2 Dose module 2 base address Dose3 1054 4:33 3 Dose module 3 base address Dose 4 1070 4:49 4 Dose module 4 base address Dose 5 1086 4:65 5 Dose module 5 base address Dose 6 1102 4:81 6 Dose module 6 base address Dose 7 1118 4:97 7 Dose module 7 base address Dose 8 1134 4:113 8 Dose module 8 base address \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 84 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.1 Dose data block BASE: 4:1 to BASE: 4:113 When enabled, each dose module will have a block with corresponding data containing the operational parameters for the dose/batch cycle. Each dose data block will have 9 ADI s with data and 7 spare ADI s, see example table below, showing the ADI s for dose module Dose1: Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment 1022 4:1 Ww ww ww ww 32 Dose1 targetweight in grams (g) (* 1023 4:2 Ww ww ww ww 32 Batch startweight in grams (g) Dose1 1024 4:3 Ww ww ww ww 32 Batch targetweight in grams (g) Dose1 (* 1025 4:4 BB ( ) 8 Dose1 command (input ) 1026 4:5 BB ( ) 8 Batch command (input) Dose1 1027 4:6 BB 8 Dose1 state 1028 4:7 BB 8 Batch state Dose1 1029 4:8 Ww ww ww ww 32 Last dosed weight for Dose1 (g) 1030 4:9 Ww ww ww ww 32 Current batched weight Dose1 (g) 1031 4:10, illegal address 1032 4:11, illegal address 1033 4:12, illegal address 1034 4:13, illegal address 1035 4:14, illegal address 1036 4:15, illegal address 1037 4:16, illegal address (* Batch and dose targetweights can have negative, special values, depending on operational mode. See section 4.7.3 and 4.7.5 for more information. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 85 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.2 Dose target weight (g) INDEX+0 This parameter contains the signed 32bit dose target weight value of the dose module in grams (g). The target value can only be updated when the dose module is not running, i.e. the dose module must be in WaitStart state when writing this value. Negative values have special meaning. See list below: 1 (g) : means that the dose module is set to throughflow mode, i.e. both inlet and outlet outputs will be active. In this mode the material will pass straight through the weighing container. Not valid if batch mode is activated. In that case use batch target weight instead. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE INDEX Ww ww ww ww 32 Dose target weight in grams (g) FF FF FF FF 32 Dose module in throughflow mode (not batch) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 86 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.3 Batch start weight (g) INDEX+1 This parameter contains the signed 32bit dose batch start weight value of the dose module in grams (g). By start weight means that the module will only batch (BatchTarget BatchStart) until batch module is finished. Batch start weight is only relevant if the dose module is setup for batch weighing. The batch start value can only be updated when the dose/batch module is not running, i.e. both the dose and batchmodule must be in WaitStart state when writing this value. Negative values are not valid. Highest byte is Data Word High Msb, top bit must be 0 (positive values). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+1 INDEX+1 Ww ww ww ww 32 Batch start weight in grams (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 87 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.4 Batch target weight (g) INDEX+2 This parameter contains the signed 32bit dose batch target weight value of the dose module in grams (g). Batch target weight is only relevant if the dose module is setup for batch weighing. The batch target value can only be updated when the batch module is not running, i.e. the batchmodule must be in WaitStart state when writing this value. Negative values have special meaning. See list below: 1 (g) : means that the batch module is set to throughflow mode, i.e. both inlet and outlet outputs will be active. In this mode the material will pass straight through the weighing container. 2 (g) : means that the batch module is set to continuous mode, i.e. does not have a target weight. In this mode the batch module will run dose cycles continuously and will only stop at command. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+2 INDEX+2 Ww ww ww ww 32 Batch target weight in grams (g) FF FF FF FF 32 Batch module set to throughflow mode FF FF FF FE 32 Batch module set to continuous mode \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 88 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.5 Dose command input INDEX+3 This parameter can be written by the with the (8bit) dose command code. If the dose module is setup for batch weighing, then this command byte cannot be used, instead use the batch command input, see section 4.7.7. Reading this parameter will normally return zero. Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+3 INDEX+3 BB ( ) 8 Dose command byte The dose command byte is value coded according to table below: Address Code Status Comment BASE+3 0 0x00 None No command (or always when reading) 1 0x01 Abort Will abort/stop dosing cycle and set dosestate = Aborted (* 2 0x02 ResetError Clears error and abort states, sets dose state = WaitStart (* 3 0x03 ZeroCheckTrig Triggers zero check if enabled i.e. if dosestate = WaitZeroCheck 4 0x04 TareTrig Triggers tare if enabled i.e. if dosestate = WaitTare 5 0x05 StartDose Starts a dosing cycle if dosestate = WaitStart 6 0x06 StopDose Stops a dosing cycle and set dosestate = WaitStart (** 7 0x07 PauseDose Pauses the dosing cycle if active and set dosestate = Pause 8 0x08 RestartDose Continues dosing cycle from pause if dosestate = Pause 9 0x09 FlowThrough Sets dosestate = FlowThrough and activates flowthrough mode 100x0A AbortEmptying Will abort emptying and set dosestate = Aborted (* When the dose module is in error or abortedstate this must be cleared by sending the command ResetError before a new cycle can be started. (** When stopping, the dose module will perform, if enabled, emptying (discharge) as in during normal operation, this means that the dosestate will only return to WaitStart when and if the empty sequence is finished. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 89 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.6 Batch command input INDEX+4 This parameter can be written by the with the (8bit) batch command code. If the dose module is not setup for batch weighing, then this command byte cannot be used, instead use the dose command input, see section 4.7.6. Reading this parameter will normally return zero. Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+4 INDEX+4 BB ( ) 8 Batch command byte The batch command byte is value coded according to table below: Address Code Status Comment BASE+4 0 0x00 None No command (or always when reading) 1 0x01 Abort Will abort/stop batch cycle and set batchstate = Aborted (* 2 0x02 ResetError Clears error and abort states, sets batch state = WaitStart (* 3 0x03 StartBatch Starts a batch cycle if batchstate = WaitStart (** 4 0x04 StopBatch Stops a batch cycle and set batchstate = WaitStart (*** 5 0x05 PauseBatch Pauses the batch cycle if active and set batchstate = Pause (*** 6 0x06 RestartBatch Continues batch cycle from pause if batchstate = Pause 7 0x07 FlowTrough Sets batchstate = FlowThrough and activates flowthrough mode (* When the batch module is in error or abortedstate this must be cleared by sending the command ResetError before a new cycle can be started. (** Setting batch target to special negative values will control the mode of the batch module when starting. BatchTarget = 1g = continuous mode BatchTarget = 2g = flow through mode (*** Before stopping or pausing, the batch module will finalize the current (ongoing) dose cycle. If an immediate stop is necessary use the Abort command. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 90 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.7 Dose status INDEX+5 This parameter contains the (8bit) byte status code for the dose module. The dose state is relevant in both normal dose and batchmode. Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+5 INDEX+5 BB 8 Dose state for dosing module The dose status byte is value coded according to table below: Address Code Status Comment BASE+5 0 0x00 None Dose module not in operation/not started 1 0x01 WaitStart Dose module is waiting start command (* 2 0x02 Start Dose module is starting, reading dosetarget weight 3 0x03 WaitZeroCheck Delay before checking zero level 4 0x04 ZeroCheck Checking that scale is at required zero level 5 0x05 WaitTare Wait for tare activation 6 0x06 TareDelay Delay before acquiring tare 7 0x07 CalcTare Calculating tare value, tare scale 8 0x08 PreDose Performs a predose by activating finedose temporarily 9 0x09 CoarseDelay Delay before starting coarsedose 10 0x0A CoarseDose Coarsedose active, finedose outputs also open 11 0x0B OverswingDelay Finedose active, no weight check against target 12 0x0C FineDose Finedose active, check weight against target and inflight 13 0x0D InflightDelay Target minus inflight reached, wait for inflight material 14 0x0E PostDoseCheck Check if weight is below target 15 0x0F PostDose Weight is below target and postdose is active (finedose) 16 0x10 WaitCalcWeight Wait for weight to become stable 17 0x11 CalcWeight Calculate weight result and new inflight value 18 0x12 DoseDone Filling/empty cycle done 19 0x13 EmptyCheckDelay Wait for empty command 20 0x14 Empty Empty scale 21 0x15 EmptyPostDelay Wait for empty to finish 22 0x16 Ready Dosed weight ready, PLC/server can read dose weight 23 0x17 ReadyDelay Delay after ready 24 0x18 Error Dose module has detected an error or has been aborted (** 25 0x1A Stop Dose module has been stopped 26 0x1B Pause Dose module is paused (coarse and finedose not active) 26 0x1C FlowThrough Dose module is in flow through mode (coarse fine and empty outputs all open) (* When dosestate is WaitStart, dosetarget can safely be updated with new value. (** When the dose module is in error or abortedstate this must be cleared by sending the command ResetError before a new cycle can be started. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 91 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.8 Batch status INDEX+6 This parameter contains the (8bit) batch status code. This code is only valid if the dose module is setup for batch weighing, if not used the code will always be zero. Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+6 INDEX+6 BB 8 Batch state for dosing module The batch status byte is value coded according to table below: Address Code Status Comment BASE+6 0 0x00 None Batch functionality not in operation/not started 1 0x01 WaitStart Batch module is waiting start command (* 2 0x02 Start Batch module starting, reading batch start and targetweight 3 0x03 StartDose Starting dose cycle, reading dosetarget 4 0x04 Dosing Dose cycle running, see dose status for more information 5 0x05 DoseReady Dose cycle ready 6 0x06 Stopping Batch module is stopping 7 0x07 BatchReady Batch module has reached target weight 8 0x08 Pause Batch module paused, active dose cycle will finish 9 0x09 FlowThrough Batch and dose module in flow through mode 10 0x0A Error Batch module has detected an error or has been aborted (** (* When batch state is WaitStart, dosetarget, batchstart and batchtarget can safely be updated with new values. (** When the batch module is in error or abortedstate this must be cleared by sending the command ResetError before a new cycle can be started. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 92 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.6.9 Last dose result INDEX+7 This parameter contains the signed 32bit weight value from the latest finalised dosing cycle of the dose module in grams (g). The value is only updated when dose state is set to Ready. During dosing this value is not updated. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+7 INDEX+7 Ww ww ww ww 32 Dosed weight for dosing module (g) 4.6.10 Last batch result INDEX+8 This parameter contains the signed 32bit accumulated batch weight value from the latest finalised dose cycle in grams (g). The value is only updated when batch state is set to DoseReady and/or BatchReady. During dosing this value is not updated. If BatchStart weight is nonzero then batchresult weight will contain this value in addition to the weights accumulated from dosing. Highest byte is Data Word High Msb, if top bit is 1 then value is negative (2 s complement). Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment BASE+8 INDEX+8 Ww ww ww ww 32 Batched weight for dosing module (g) \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 93 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.7 Gateway block BASE: 5:1 The gateway block is only used to route data between different fieldbus interfaces, the indicator cannot access or alter the content of the data. By default no gateway registers are allocated and the indicator will reply illegal address when trying to access these registers. However when necessary, sufficient number of registers can be allocated, and be used by the fieldbus interfaces as a dual port memory. For example when the indicator has two fieldbus interfaces active, one Modbus native and one Anybus Profibus DPV1. One side can write to a register that can be read by the other side. Although possible, it s not recommended that both sides are allowed to write into the same register. Ideally each register should have one side that handles all write requests while the other side only is allowed to read the data. When activated, each register will be of a 32bit signed int data type regardless of the data content. See example table below: Addressing Data bytes Access Size ADI Slot:Index Msb Lsb Read Write bits Comment 1277 5:1 Ww ww ww ww 32 Gateway register #1 1278 5:2 Ww ww ww ww 32 Gateway register #2.... Ww ww ww ww 32 Gateway register #X The principal usage as per schematics below: External system #1 Data: Out Data: In Modbus native Weightindicator 4720 fieldbus data Cyclic and acyclic data blocks, data processed and produced by indicator Digital I/O Markers Weight.. Acyclic gateway block, data not accessed by indicator Profibus Anybus External system #2 Data: Out Data: In Gateway register #1 Gateway register #2 For further details of these registers in your particular installation consult your order documentation. \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 94 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 4.8 Configuration example Siemens S7, cyclic data Configuring the Profibus interface on a Siemens S7 PLC means initially that the cyclic data block layout must be identical to the one in the instrument. When correctly configured the communication should start and the PLC have access to all the cyclic data fields. The acyclic data can then be assigned as per the remaining requirements in the project. Factory default configuration of cyclic data: Direction PLC Data size Comment Output 1 byte Command byte to indicator Input 1 byte Cyclic update counter Input 2 words (32 bits) Primary indicator flags Input 2 words (32 bits) Primary indicator displayed weight in grams Input 2 words (32 bits) Primary indicator gross weight in grams \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 95 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206
INSTRUCTION 455235 20130409 / Tony Kübek Edition 1.4 See image below of an example (NOTE: not default configuration) of a cyclic data layout on a Siemens S7 PLC: From anybus GSD file: HMSB1811.gsd \\FS01\Avd\85\Produkter\VIKTINDIKATOR\Handhavande\4720\455235 rev 14 Weightindicator 4720 fieldbus interface description.doc Page 96 (96) Flintab AB Tel 03631 42 00 Fax 03618 50 79 Vat No (Org.nr) SE556208398901 Kabelvägen 4 mail@flintab.se www.flintab.se Bankgiro 3492170 553 02 JÖNKÖPING Huvudkontor och styrelsens säte i Jönköping Postgiro 85 73 206