340 likes | 534 Views
Ethernet-IO Bedanet 90 80. Bedanet 90 80 Ethernet IO node for machine data. Ethernet-IO Bedanet 90 80. Bedanet 90 80 - hardware. RS232 only RxD / TxD. RS422/485 (2-wire/4-wire). 2 relays (240VAC 5A). 10 status LEDs. Dallas OneWire expansion bus. Ethernet 10/100MBit auto detect.
E N D
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 • Ethernet IO node for machine data
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 - hardware RS232only RxD / TxD RS422/485(2-wire/4-wire) 2 relays(240VAC 5A) 10 status LEDs Dallas OneWire expansion bus Ethernet10/100MBitauto detect Digital IO and power supply Dallas OneWire expansion bus
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – technical data • LEDs • One LED for power status • One LED for CPU status • Two LEDs for serial channel status • Four LEDs for I/O status • Two LEDs for relay status • Power supply • The Bedanet 90 80 is delivered without external power supply • Recommended power supply is e.g. MGV PH30 - 2401 • It can be operated with a voltage between 9 and 30 volt • The maximum power consumption is 4 Watt • Housing • Robust plastic housing • 105 x 82 x 72 mm • Weight • approximately 320g • Approval • FCC A and B, CE
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – interfaces • Serial interfaces • 1 x RS-232 3-wire (TX, RX, Ground) • Baud rate can be selected per software from 300 to 19200 Baud • 1 or 2 stop bits • Data format 8 Bit, no parity • 1 x RS-422/485 2- or 4-wire via removable terminal block • Baud rate can be selected per Software from 300 to 19200 Baud • 1 or 2 stop bits • Data format 8 bit, no parity • The RS-485 interface is intended to connect to Bedanet 90 80 expansion units • 8 inputs, 4 of them can be used either as analog or digital inputs • 8 outputs • 8 relays • Ethernet network interface • 10/100MBit • Full/half duplex
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – interfaces • Digital inputs • Up to eight digital inputs are available • The four left inputs can be used as analog, monitored, or standard inputs • The four right inputs can only be used as digital inputs • All eight inputs have a programmable pull-up • When programmed, the inputs can be connected directly with a contact • When the inputs are un-programmed, they can be connected with a digital signal • Analog inputs • The four left inputs of the Bedanet 90 80 can be configured in order to measure voltage • The resolution of the internal A/D converter is 10 bit • Monitored inputs • In connection with the programmable pull-up, the analog inputs can be transformed into monitored inputs • In this way, the monitoring of line interruptions is possible as well as the opening of a contact
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – interfaces • Relays • Two relais independent from each other • NC (normally closed) and NO (normally open) contacts designed for 250V 5A • Digital outputs • Implemented as Open Collector outputs • Can switch up to 24V and 100mA • Control of LEDs, small signal lamps, and 12V or 24V relays • Expansion ports • The Bedanet 90 80 has two expansion ports • The left connector is intended to connect to either other Bedanet 90 80 units or DALLAS One-wire temperature sensors • The right expansion connector is intended to connect to Bedanet 90 80 Expansion units with more relays, inputs and outputs (future software releases)
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – digital inputs and outputs 1 2 3 45 6 7 8 9 10 11 12 13 14 15 16 Input 1-4 digital or analog Input 5–8 digital Output 10–13 digital 15 Vcc + 9..30 VDC16 Vss ground 1 – 8 usable as countermax. 30Hz count rate 32bit 9 ground for inputs 14 ground for outputs
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 - XPort • Enables connection to Intranet/Internet • Chip with 16-Bit-CPU, clocked with 48 MHz • 256 KByte SRAM • 512 KByte Flash • Firmware update via TFTP or serial port • RJ-45 connector • Communication with 10/100MBit • Tasks: • Web server • Basic interpreter • BPA/9 protocol • File system
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – memory organization XPort • 7 memory segments á 64k • X1: Firmware • WEB1: Small Basic application • WEB2: Help • WEB3: PIC firmware • WEB4: Web interface • WEB5: Web interface • WEB6: Web interface
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 - PIC • A PIC is a representative of the one-chip micro-controllers • Tasks: • I/Os • Interfaces (serial, One Wire, ...) • LEDs • Relays
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – communication • BPA/9 transmission protocol • Implemented into firmware • Direct registration to B-COMM possible • TCP/IP protocols • TCP • UDP • DHCP • HTTP web server • CGI web interface for applications via http • Configuration • TFTP server • File transfer • Firmware updates via Ethernet
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – software features • Optionally connection of one or two machines • 1 machine: 1 counter, 7 malfunction inputs • 2 machines: 2 counters, 3 malfunction inputs each • Counters • Yield / scrap counter for jobs • Yield / scrap counter for shifts • Monitoring of clock downtime as well as over-/underrun • Standstill timeout • Overrun timeout • Underrun timeout • Monitoring of inputs • Offline ability • All for operation necessary parameters are available on the device • Event data records are stored on the device in offline mode • Transmission of the event data records stored in offline mode after return to online mode
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – software features • Job quantity definable • Preset definable (Start of order after interrupt) • Multiplier definable (1 hub, n parts) • Flags for control of the program sequence • Start with yield or scrap counter • Machine malfunction upon arrival of a machine clock or reset manually • Over-/underrun as error/warning • Counter sending counter information all n machine clocks or in a fixed interval • Free allocation of defined counters to machines
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – event confirmation via relays and digital outputs • Event-driven circuit of relays and digital outputs • Three selections: • Switch on • Switch off • Retain current state • Defined events • Standstill • End of standstill • Over-/underrun • End of over-/underrun • Malfunction input set • Malfunction input reset • Job quantity achieved • Start • Restart (switch to productive status)
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – BPA event data records • Sending of BPA data records with all defined events • Z0: Restart (switch to productive status) • Z1: Start of job • Z2: Counter information • Z3: Standstill • Z4: End of standstill • Z6: Underrun • Z7: Overrun • Z8: Job quantity achieved • Z9: End of over-/underrun • ZA: Start of malfunction • ZB: End of malfunction
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – BPA data records • Data record structure • GID • DID • ON/OFF • Z • 0-B • Time identification • Date/time (12 characters) • Machine (8 characters) • Status bar of inputs (7 characters) • Order counter yield (8 characters, optional) • Order counter scrap (8 characters, optional) • Shift counter yield (8 characters, optional) • Shift counter scrap (8 characters, optional)
Ethernet-IO Bedanet 90 80 Bedanet 9580 Bedanet 9540 Pocket PCs Bedanet 90 80 Wireless LAN XML B-Server B-Comm BPA/9
Ethernet-IO Bedanet 90 80 Bedanet 9580 Bedanet 9540 Pocket PCs Bedanet 90 80 Wireless LAN XML either or B-Server B-Comm BPA/9
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – counter parameter setting in B-Server-PSW
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – Ethernet IO definition in B-Server-PSW
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – machine overview in B-Server
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – web interface • Device status
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – web interface • Network settings
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – web interface • Settings for serial interfaces
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – web interface • Settings for inputs/outputs
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – web interface • Settings machine 1
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – parameter setting via download records • >3H0n: Set timeouts for counter 1 or 2 respectively • Standstill • Overrun • Underrun • >3H1: Set basic information in Ethernet-IO • Number of counters • Name machine 1 • Name machine 2 • Send interval for quantity information in seconds • Send quantity informationen for machine 1 each n machine clocks • Send quantity informationen for machine 2 each n machine clocks • Quantity informationen in BPA data records • >3H2n: Set quantities for counter 1 or 2 respectively • Multiplier
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – parameter setting via download records • >3H3n: Set flags for counter 1 or 2 respectively • Start with yield or scrap counter • Machine malfunction upon arrival of a machine clock or switch to productivity manually • Over-/underrun as error/warning • >3H4n: Preset for counter 1 or 2 respectively • Preset • >3H5n: Set job quantity for counter 1 or 2 respectively • Job quantity
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – parameter setting via download records • Determine behavior of relays and digital outputs for the defined events • >3HAn: Standstill • >3HBn: End of standstill • >3HCn: Over-/underrun • >3HDn: End of over-/underrun • >3HEn: Malfunction input set • >3HFn: Malfunction input reset • >3HGn: Order quantity achieved • >3HHn: Start • >3HIn: Restart (switch to productive status)
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – program control data records • Control application via data records actively • Q1n: Creates a Z1 data record (start of job/order) • Q2n: Restart (switch to productive status) • Q3n: Reset order counter • Q4n: Reset shift counter • Q5: Set relays / digital outputs statically • Q6: Status request, answered with Z2 data record • Q9: Reboot
Tokenizer WEB2COB Bedanet 90 80 Ethernet-IO Bedanet 90 80 • Bedanet 90 80 – software update Application (.bas) HelpFiles (.html, .gif) Web-Interface (.html, .js) XPort Firmware PIC Firmware TFTP TFTP
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 - COBOS Small Basic • High-performance programming language integrated • Control instructions • GOTO N • IF - ELSE - ENDIF • FOR - NEXT [V] • GOSUB N - RETURN • DIM • PRINT • INPUT • MIDSET S$,E0,E1,E • MIDCPY S$,E0,E1,S1$ • ...
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 - COBOS Small Basic • Functions • LEN( E$ ) • INSTR( E, E1$, E2$ ) • ISEQV( E1$, E2$ ) • MID$( E$, E1, E2 ) • MIDGET(S$,E0,E1) • ASC( E$ ) • CHR$( E ) • VAL( E$ ) • STR$( E ) • SPRINTF$( E$, E ) • ...
Ethernet-IO Bedanet 90 80 • Bedanet 90 80 - COBOS Small Basic • File operations • OPEN S$ AS E • "TCP:0.0.0.0:port" – passive/listening TCP connection, • "TCP:x.x.x.x:port" – active TCP connection, • "UDP:0.0.0.0:port" – passive UDP receiver, • "COM:9600,N,8,1,NON:port" – serial port connection, ** • "C_R://IP/Share/dir/file[@...]" – CIFS dir/file with READ access, • "C_W://IP/Share/dir/file[@...]" – CIFS dir/file with WRITE access, • "C_D://IP/Share/dir/file[@...]" – CIFS dir/file with DIR access, • "FFS:file" – parallel/serial (HW dependant) flash file (only reading), • "BPH:" – BPA protocol to host (only writing), • "STP:offset" – Setup “file” (256 b from offset), only one at a time. • CLOSE E • READ E, S$ • WRITE E, S$, E0 [ , E$ , E1 ] • CONNECTED( E ) • ...