device net
TRANSCRIPT
Redes Industriais
Uma nova geração deredes abertas paraautomação industrial
Arquitetura de Comunicação
Informacão
Dispositivos
Automacão e Controle
24vdc
509 -BOD
24vdc
509 -BOD
Relatórios,
Planejamento
Controle, I/O,
Intertravamento,
Configuração
I/O, Controle,
Configuração
09/23/97 08:08 AM 3
Substituição de fiação Baixo custo por nó instalado
Determinismo para I/O Suporte à diagnóstico
Suporte a configuração Dispositivos compactos
Baixo tempo de resposta
Suporte a diferentes fornecedores
Utilização eficiente da banda de comunicação
Requisitos p/ redes de dispositivos
Information
Device
Automation and Control
24vdc
509 -BOD
24vdc
509 -BOD
Device
24vdc
509 -BOD
24vdc
509 -BOD
PLC1
PLC2 PLC3
PLC4
Modelos de Redes -
Peer-to-Peer
Ex.: Data Highway Plus (DH+)
10
Device Netsuporta:
a. Comunicação Produtor-Consumidor
b. Dados de I/O e configuração no mesmo meio físico sem interferência
c. Antecipação do tipo de dados (mensagens implícitas)
PLC
I/O 1 I/O 2 I/O 3
#2
#1#3
Mudança de Estado
n Tradicionalmente um “mestre” está contínuamente adquirindo dados Tradicionalmente um “mestre” está contínuamente adquirindo dados repetidosrepetidos
n Em uma aplicação com mudança de estado os dispositivos de I/O enviam Em uma aplicação com mudança de estado os dispositivos de I/O enviam dados imediatamente após a ocorrência de uma alteração dados imediatamente após a ocorrência de uma alteração
n Dado cíclico de “heartbeat” confirma disponibilidade do dispositivoDado cíclico de “heartbeat” confirma disponibilidade do dispositivo
PLC
I/O 1 I/O 2 I/O 3
a cada 500 ms
a cada 2000 ms
a cada 25 ms
Transmissão cíclica de dados
n Dispositivos transmitem dados obedecendo uma programação Dispositivos transmitem dados obedecendo uma programação estabelecida pelo usuário (entrada/saída) estabelecida pelo usuário (entrada/saída)
n Transmissão cíclica é bastante eficiente para aplicações com Transmissão cíclica é bastante eficiente para aplicações com alterações lentas do I/O (analógico)alterações lentas do I/O (analógico)
SW paraconfiguração
DeviceNet
1770-KFDInterface RS-232
Inversores 1305, 1336
SMP-3,SMC Dialog Plus
Sensor fotoelétricoSerie 9000
800T RediStation
RIO
PLC-5/xx
Leitor de código de barrasAdapterscan
Comunicação DeviceNet
Interface DeviceNet
p/ produtosPower
1747-SDN
SLC-5/02,5/03, 5/04
A-B
A-B
SMP3
DeviceLink c/sensor convencional
1794-ADNAdaptador p/ Flex I/O
Módulo “scanner” para rede Devicenetpossibilita a uma CPU SLC 500 operarcomo mestre da rede de dispositivos
1771-SDN
Dispositivos de terceirosDispositivos de
terceirosDispositivos de terceiros
DeviceNet - Características gerais
Linha tronco + derivaçõesLinha tronco + derivações
Remoção de nós sem afetar integridade da redeRemoção de nós sem afetar integridade da rede
Até 64 nós endereçadosAté 64 nós endereçados
Sinal e alimentação 24 Vcc no mesmo caboSinal e alimentação 24 Vcc no mesmo cabo
Taxas selecionáveis (125K, 250K e 500K)Taxas selecionáveis (125K, 250K e 500K)
Terminações de 121 OHM em ambos os extremosTerminações de 121 OHM em ambos os extremos
DeviceNet - Características gerais
Taxa Tronco(cabo grosso)
Derivação (cabo fino * )
125K
250K
500K
500m (1640 ft)
250m (820 ft)
100m (328 ft)
6m (20 ft)
6m (20 ft)
6m (20 ft)
156m (512 ft)
78m (256 ft)
39m (128 ft)
AcumuladoMáximo
(*) : Este cabo pode ser utilizado como tronco com alcance máximo de 100m para qualquer taxa de transmissão
Taxas de transmissão, alcance e derivações
DeviceNet - Sinal e alimentação
Dois pares trançadosDois pares trançados• Par “sinal”: baixas perdas, alta velocidade, blindadoPar “sinal”: baixas perdas, alta velocidade, blindado• Par “alimentação”: até 8A com blindagemPar “alimentação”: até 8A com blindagem• Malha geral c/ fio drenoMalha geral c/ fio dreno
Sensores podem ser alimentados diretamente a partir do Sensores podem ser alimentados diretamente a partir do cabo troncocabo tronco
Isolação ótica para dispositivos auto alimentadosIsolação ótica para dispositivos auto alimentados Múltiplas fontes em paraleloMúltiplas fontes em paralelo
PS
DeviceNet - Conexões seladas
Terminal múltiplo
Terminal “T”
Segmentos da linha tronco -conectores moldados
Derivações - conectores moldados - 0 a 20 ft.
Conectoresda linha troncoinstalados nocampo - rosqueados - prensados
DeviceNet - Conexões abertas
Tronco
Tronco
Derivações
Terminais podem ser montados em painéis ou caixas de junção
Derivações
Derivações comcomprimento zeroSuporte a conexões temporárias
DeviceNet - Ramificações
Derivação
Tap
conector tipo “plg in”
Tap
Tronco
Uso no interior de painéis de controle ou CCM’s
Limitações:Limitações: 20 ft max entre terminal e nó mais distante20 ft max entre terminal e nó mais distante
soma dos percursos limitados ao máximo soma dos percursos limitados ao máximo comprimento acumuladocomprimento acumulado
Características sobre o tronco e derivações da rede DeviceNet
• DeviceNet é baseado no protocolo Can ( Controller Area Network ).
• O tronco é o meio físico principal para comunicação entre os diversos equipamentos.
• The Trunk Line é o cabo principal que permite a conexão entre os diversos nós.
• As derivações são utilizadas para conectar cada nó ao tronco principal.
• O tronco principal deve conter dois resistores de terminação com valores de 120 Ohms cada. Estes devem estar colocados em ambas as estremidades.
Características sobre os cabos utilizados na DeviceNet
• 5 Condutores, 1 par para 24 Volts DC, 1 par para comunicação em CAN, 1 Shield (blindagem)
Cinza *
AzulBranco
Verm
Preto
+24VDC
+0VDC
Can +
Can -
Shield
• Capacidade máxima de corrente para 24 Volts DC no tronco é de 8 Amps, embora não seja permitido mais de 4 Amps nas normas NEC Class 2.• Capacidade máxima de corrente para 24 Volts DC nas derivações é de 3 amps.
Especificações para DeviceNet
• Opções de velocidade de rede: 125 Kbaud, 250 Kbaud e 500 Kbaud
• Máximo comprimento do cabo tronco: 100 m a 500 Kbaud, 250 m a 250 kbaud e 500 m a 125 kbaud.
• Comprimento máximo para cada derivação é de 6 metros.
• Comprimento total para cada derivação: 39 m a 500 Kbaud, 78m a 250 kbaud e 156 m a 125 kbaud.
Recapitulando...
• O protocolo da DeviceNet Protocol suporta comunicaçõestipo Mestre/Escravo, Produtor-Consumidor e Peer to Peer.
• Scanners 1771-SDN para a platforma PLC-5 e 1747-SDN para a plataforma SLC-500.
• Os Scanners da rede enviam sinais de saída do PLC para cada elemento da rede e recebem entradas de cada elemento para serem enviadas ao PLC.
• O programa no PLC utiliza dados da rede para controlar os elementos da DeviceNet.
Comandos Polled e Strobed
• O protocolo da DeviceNet suporta ambos os comandos Polled e Strobed.
• Comando Strobe
-- Comando Strobe - envio de 8 bytes para todos os escravos na rede, ao mesmo tempo. 1 bit de dado de saída para cada nó existente. Mensagem de 8 bytes parece 64 bits mascarados de acordo com o nó do elemento.
07815
Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7
2431 162339 324748555663 40
Modo de transmissão Strobe
Node/Bit #
Comandos Polled e Strobed Continuação . . .
-- Resposta do Strobe - Todo elemento escravo tipo Strobe irá enviar seus dados ao PLC se possuir palavra de Input.
• Comando Poll
-- Comando Poll - Uma mensagem de I/O é diretamente direcio- nada, a um elemento específico ( ponto-a-ponto ). O Mestre deve transmitir um comando em Poll para cada um dos ele- mentos escravos na rede.
-- Resposta em Poll - Cada elemento escravos Polled irá enviar seu dado de input ao PLC, se o elemento permitir entrada de dados (Input data).
Detalhes sobre o 1771-SDN Scanner
241 palavras de leitura e 241 palavras de escrita disponíveis via Block Transfers. Estas 241 palavras são divididas entre ambos os canais A e B do módulo.
Disponíveis: * 0 bits de entradas e saídas discretas quando o chassis de I/O estiver setado para endereçamento de 2 slots;
* 8 bits de entradas/saídas discretas disponíveis quando o chassis de I/O estiver setado para endereçamento de 1 slot;
* 24 bits de entradas/saídas discretas disponíveis quando o chassis de I/O estiver setado para endereçamento 1/2 slot;
Fluxograma de entrada de dados no Scanner 1771-SDN (Plat. PLC-5)
Tabela de Inputs via Block Transfer no Scanner
62 Palavr.
60 Palavr.
59 Palavr.
61 Palavr.
Inputs Inputs
Tabela de Inputs no ScannerI/O Transfers discretos
2 Bytes
1 Byte
Dados provenientesdos elementos na rede
}
4 Bytes} Elemento 1
Elemento 2
Elemento 3
Mapa de Segment.
Bit Number Significado:0,1 Echoes bits 0,1 in Module Command Register2,3 Echoes bits 2,3 in Module Command Register4 Echoes bit 4 in Module Command Register5 Echoes bit 5 in Module Command Register6 1 = Channel A device failure detected7 1 = Channel B device failure detected8 1 = Channel A autoverify failure detected9 1 = Channel B autoverify failure detected10 1 = Channel A communications failure detected11 1 = Channel B communications failure detected12 1 = Channel A failed DUP MAC ID test13 1 = Channel B failed DUP MAC ID test14 1 = Scanner Configuration missing/corrupted15 1 = Scanner operating with default configuration
N23:0
Detalhes sobre a palavra de status de leitura no 1771-SDN
Tabela de dados de entrada
N23:0
N23:1
N23:61
Registrador de Status:
Channel A Input Data
Module Status Register
Channel A Input Data
Block Transfer
read
62 palavras
Detalhes sobre transferência de dados do 1771-SDN para o PLC-5
PLC-5 Input Image
I:000
Transferên I/O Discreta
{
Scanner Input Data Table
(Discrete IO Transfer)
PLC-5 Data Table
N23:0
N23:61
IntegerFile
62 palav. Block Transfer Read
62 Palavr
60 Palavr
59 Palavr
61 Palavr
Scanner InputData Tables
(Block Transfer)
{
Exemplo de Programa Ladder para os 1771-SDN Scanners
Faça um Block Transfer Read de 62 palavras para transferirdados do 1771-SDN Scanner para o PLC-5, arquivo N23:0
( EN )( DN )( ERR )
BTR
Dest: N23:0
Size: 62 words
| / |
N23:5/00
( )
N22:1/06
( )
O:0/10
( )N22:3/03
| / |
N23:2/09
| |
I:000/04
Detalhes sobre transferência de dados do PLC-5 para o 1771-SDN
62 Palavr
60 Palavr
59 Palavr
61 Palavr
PLC-5 Data Table
N22:0
N22:61
IntegerFile
62 palav. Block Transfer Write
Scanner OutputData Tables
(Block Transfer)
{
PLC-5 Output Image
O:000
Discrete IO Transfer
{
Scanner OutputData Table
(Discrete IO Transfer
Block TransferBlock Transfer
writewrite
62 words62 words
N22:0
N22:61Channel A Output Data
Output Data Table
Module Command Register
Channel A Output Data
Channel A Output Data
N22:0
N22:1
N22:2
Bit Number Meaning0,1 0 = Channel A in IDLE mode; 1 = Channel A in RUN mode
2 = Channel A in FAULT mode; 3 = reserved2,3 0 = Channel B in IDLE mode; 1 = Channel B in RUN mode
2 = Channel B in FAULT mode; 3 = reserved4 0 = Enable Channel A; 1 = disable Channel A5 0 = Enable Channel B; 1 = disable Channel B6 0 = Scanner run; 1 = scanner halt (requires reset)7 0 = Scanner run; 1 = reboots scanner firmware8-15 Reserved for future use
Detalhes sobre a palavra de registro de comando no 1771-SDN
Module Command Register:
Fluxograma do envio de dados aos elementos da rede
Scanner Output Data TablesBlock Transfer
62 Palavr
60 Palavr
59 Palavr
61 Palavr
Discrete Outputs
Scanner Output Data TableDiscrete IO Transfer
2 Bytes
1 Byte
Data To DeviceNet Devices
Elemento 2
Elemento 3
Elemento 1
}
}
6 Bytes
}
Exemplo de Programa Ladder para I/O usando 1771-SDN Scanners
Faça um Block Transfer Read e um Block Transfer Write de 62 palavras cada, para trocar dados entre Scanner e PLC-5, sendofile N22:0 (escrita no Scanner) e file N23:0 (leitura do PLC)
( EN )( DN )( ERR )
BTW
Dest: N22:0
Size: 62 words
| / |
N23:5/00
( )
N22:1/06
( )
O:0/10
| |
I:000/04
( EN )( DN )( ERR )
BTR
Dest: N23:0
Size: 62 words
Esquema da troca de dados entre o PLC e elementos da rede via Scanner
ABCDE
ABCDE
Block XferWrite
DiscreteI/O Xfer
DiscreteI/O Xfer Y
ZX
IO Map
Discrete Input Image
Block XferData Table
Discrete Output Image
PLC-5 Processor
Internal Input Data Storage
Internal Output Data Storage
Block XferRead
1771-SDN Scanner
Input Data From DeviceNet
Device
YZ
X
Output Data
To DeviceNet Device
ABCDE
Y
XZ
AB
X
CDEECD
IO MapCDEY
Block XferData Table
Z
ScannerConfigurationTableScannerConfigurationTable -- Configurado pelo usuário para determinar o parâmetros os Configurado pelo usuário para determinar o parâmetros os do módulo ligado na rede.do módulo ligado na rede.
Scanner Input Data MapScanner Input Data Map -- Configurado pelo usuário para determinar onde no I/O Configurado pelo usuário para determinar onde no I/O Discreto ou Block Transfer Read os dados de entradaDiscreto ou Block Transfer Read os dados de entrada(Inputs) dos elementos da DeviceNet (Inputs) dos elementos da DeviceNet serão alocadosserão alocados..
Scanner Output Data MapScanner Output Data Map -- Configurado pelo usuário para determinar Configurado pelo usuário para determinar de ondede onde no I/O Discreto ou Block Transfer Write os dados de no I/O Discreto ou Block Transfer Write os dados de saída (Outputs)serão estraídos no PLC.saída (Outputs)serão estraídos no PLC.
Scan List TableScan List Table -- Configurado pelo usuário para determinar a lista de ender.Configurado pelo usuário para determinar a lista de ender.do scanner na DeviceNet junto com demais parâmetros do scanner na DeviceNet junto com demais parâmetros
para ser usado quando scaniando cada elemento.para ser usado quando scaniando cada elemento.
DeviceNet 1771-SDNConfiguration Tables
TamanhoTamanho DescriçãoDescrição
59, 60, 61 or 62 words59, 60, 61 or 62 words Input I/O TableInput I/O Table (read)(read)
59, 60, 61 or 62 words59, 60, 61 or 62 words Output I/O TableOutput I/O Table (write)(write)
52 words52 words Device Failure TableDevice Failure Table (read)(read)
51 words51 words Device Active TableDevice Active Table (read)(read)
2-50 words2-50 words Partial access to first 50Partial access to first 50 (read)(read)words of 62 word input I/O Tablewords of 62 word input I/O Table
2-50 words2-50 words Partial access to first 50Partial access to first 50 (write)(write)words of 62 word output I/O Tablewords of 62 word output I/O Table
1 word 1 word Module status registerModule status register (read) (read)
1 word1 word Module command registerModule command register (write)(write)
Transferência de dados via B.T.
Detalhes sobre Block Transfers entre o PLC-5e o scanner 1771-SDN.
Tabela de Falhas:The scanner shall maintain one of these tables only.The table shall consist of the following:
• The Communications Failure bitmap. This consists of the first 128 bits (8 words) in the table. It is used to track IDN
device communication failures.
• The Channel A Scan Counter. This is a one word counter that is incremented by the scanner whenever a scan of the
Channel A devices has been completed. This counter simply rolls-over when it reaches its maximum value.
For the two 128 bit bitmaps, one bit of the 128 shall be assigned to each possible IDN device that may reside on the two IDN networks (64 MAC ID’s per network, two networks supported by the scanner.)
Tabela de Falhas
Channel A Scan Count
Communication FailureBitmask 48-63 Channel A
Communication FailureBitmask 32-47 Channel A
Communication FailureBitmask 16-31 Channel A
Communication FailureBitmask 0-15 Channel A
N24:0
N24:1
N24:2
N24:3
N24:16
Inf. sobre falhas do 1771-SDN para o PLC-5
N24:0
Block Transfer
read
52 words
Device Active Table
The scanner maintains one of these tables only. The table consists of a bitmap of 128 bits (8 words), followed by 43 words of pad data to expand the table to a total of 51 words. One bit of the 128 is assigned to each possible IDN device that may reside on the IDN networks (64 MAC ID’s per network, two networks supported by the scanner). This table can be uploaded to the PLC-5 memory by a single BTR operation of 51 words.
The purpose of this table is to provide an indicator to the user of the devices that are actually on the IDN networks. For every device that has been entered in the scanners scan list and responds to the scanner’s Strobe on the network, the corresponding bit in this table will be set to “1”. If no device responds from a particular MAC ID, the entry in the table for that device will be “0”.
Device Active Table
Device ActiveBitmask 48-63 Channel A
Device ActiveBitmask 32-47 Channel A
Device ActiveBitmask 16-31 Channel A
Device ActiveBitmask 0-15 Channel A N25:0
N25:1
N25:2
N25:3
N25:0
Block Transfer
read
51 words
1771-SDN Device Active Data to PLC-5
Módulo 1747-SDN para comunicação com SLC-500
Configurando o Scanner 1747-SDN no Chassis SLC-500.
Catalog #: Other
Module’s ID Code: 13606
Maximum Input Words: 32
Maximum Output Words: 32
Scanned Input Words: 32
Scanned Output Words: 32
M0 Length: 255
M1 Length: 255
`G` File Size: 0
ISR Number: 0
1747-SDN Scanner: Formato de tabelas de Inputs e Outputs
SLC M1 FILE
Word 255
Word 224
Word 223 Auto VerifyTable
Word 220
Device FailureTable
Word 219
Word 216
Word 215
Word 212
Scan CounterWord 211
Word 149 Input Data
Reserved
Output Data
SLC M0 FILE
Word 0 Module Status
Word 31
Word 1
Input Data
SLC INPUT IMAGE
Word 0 Module Control
Word 31
Word 1
Output Data
SLC OUTPUT IMAGE
Word 0
ReservedWord 150
Word 210
Reserved
Reserved
Dados de Input para o Scanner 1747-SDN.
Scanner M1 Data Area
31 Words of Datawords 1 thru 31
Scanner Discrete Input Image Table
2 Bytes
1 Byte
Data FromDeviceNet Devices
}
4 Bytes} Device 1
Device 2
Device 3
150 Wordsof Input
Data
Map Segmentation
Dados de Entrada para o SLC-500 do 1747-SDN Scanner
SLC-500 Input Image
I:slot.1 - .31
Discrete IO Transfer
{
Scanner Input Image Table
(Discrete IO Transfer)
SLC-500 Data Table
N23:0
N23:149
IntegerFile
File Copy of up to 128 words
31 Words of Data
Will require 2 File Copysto transfer all 150 words
Scanner M1 Inputs(File Transfer)
150 Wordsof M1 Input
Data
Exemplo de Programa de entrada para o SLC usando the 1747-SDN
Do a 128 word and a 22 word File Copy to get all 150 wordsof the M1 input data from the 1747-SDN Scanner in slot 1 of chassis into the SLC-500 file N23:0
FILE COPY
Dest #N23:0Length 128
Source #M1.1.0
| / |
N23:5/00
( )
N22:1/06
( )
O:1.1/08
| |
I:1.1/00
FILE COPY
Dest #N23:128Length 22
Source #M1.1.128
Output Data Flow Out of a SLC-500 to the 1747-SDN Scanner
SLC-500 Data Table
N22:0
N22:149
IntegerFile
SLC-500 Output Image
O:slot.1 - .31
Discrete IO Transfer
{
Scanner OutputImage Table
(Discrete IO Transfer)
Scanner M0 Outputs(File Transfer)
150 Wordsof M0 Output
Data
File Copy of up to 128 words
Will require 2 File Copysto transfer all 150 words
31 Words of Data
Output Data Flow Out of 1747-SDN Scanner
2 Bytes
1 Byte
Data To DeviceNet Devices
Device 2
Device 3
Device 1
}
}
6 Bytes
}
31 Words of Datawords 1 thru 31
Scanner Discrete Output Image Table
150 Wordsof Output
Data
Scanner M0 Data Area
Sample PLC Program to Use the 1747-SDN Inputs and Outputs
Do a 128 word File Copy to get the data into the Scanner from SLC-500 file N22:0 and a second 128 word File Copyto get data out of the Scanner into SLC-500 file N23:0. Note: 1747-SDN is in slot 1 of SLC-500 Chassis.
| / |
N23:5/00
( )
N22:0/06
( )
O:1.1/09
| |
I:1.1/04
FILE COPY
Dest #N23:0Length 128
Source #M1.1.0
FILE COPY
Dest #M0.1.0Length 128
Source #N22:0
1747-SDN Scanner Data Flow Overview
ABCDE
ABCDE
M0File Copy
DiscreteI/O Xfer
DiscreteI/O Xfer Y
ZX
IO Map
Discrete Input Image
Data Table
Discrete Output Image
SLC-500 Processor
Internal Input Data Storage
Internal Output Data Storage
M1File Copy
1747-SDN Scanner
Input Data From DeviceNet
Device
YZ
X
Output Data
To DeviceNet Device
ABCDE
Y
XZ
AB
X
CDEECD
IO MapCDEY
Data Table
Z
Flex I/O 1794-ADNDeviceNet Adapter Data Usage
Produces 1 word of input data
There are 8 Module Status bits starting at bit 0 of the 16 bit word produced by the 1794-ADN. Bit 0 though 7 of this area corresponds to slot 1 through slot 8 of the Flex I/O rack. Should a module in a slot of the Flex I/O rack be bad or missing the corresponding Module Status bit will go to a 1. The bit will be 0 if a module exists in the slot and is healthy. Also, Bit 8 goes to a 1 if the pushwheels have changedand returns to 0 when the pushwheels are the same as read during powerup. Bit 9 goes to a 1 when the 1794-ADN sees the channel is in Run mode and a 0 when the channel is in Idle mode.
Consumes 0 words of output data
word 0 Module Status (1 bit per slot)Not Used PUSHWHEELSCHANGED BIT
RUN / IDLEBIT
Bits 0 through 7 Bit 8Bit 9Bits 10 thru 15
Consumes 1 word of output data
16 bits of output (1 bit per output)
Produces 1 word of input data
word 0 Fuses blown (1 bit per output)
Flex I/O 1794-OB16 Discrete Outputs Data Usage
word 0
Consumes 1 word of output data
Produces 1 word of Input Data
word 0 Input Delay Times
word 0 16 Bits of Inputs (1 bit per input)
Bits Description
02 01 00 Delay Times 00-11 (00-13) Maximum
05 04 03 Delay Times 12-15 (14-17) Delay Times
0 0 0 Delay Time 0 (default) 512µs
0 0 1 Delay Time 1 1ms
0 1 0 Delay Time 2 2ms
0 1 1 Delay Time 3 4ms
1 0 0 Delay Time 4 8ms
1 0 1 Delay Time 5 16ms
1 1 0 Delay Time 6 32ms
1 1 1 Delay Time 7 64ms
Flex I/O 1794-IB16 Discrete Inputs Data Usage
Consumes 6 words of Output Data
word 0 C7 C6 C5 C4 C3 C2 C1 C0 F7 F6 F5 F4 F3 F2 F1F0
Not used (Should be set to Zero)
Cn = bipolar select; n represents the channel numberFn = full range; n represents the channel number.
Cn Fn function0 0 Not Used ( Default Off )0 1 0-10v or 0-20mA1 0 4-20mA selected1 1 +/- 10V
Produces 9 words of input data
Un = under range; only valid in 4-20mA configuration; usually indicative of a broken wire; n represents the channel number
S = Sign bitD = Analog value
12 bit left justified twos complement number;unused lower bits are zero; 4-20mA uses 16 bits
word 1-5
Flex I/O 1794-IE8 Analog Inputs Data Usage
word 0 ICH0 S D D D D D D D D D D D D D D D
word 1 ICH1 S D D D D D D D D D D D D D D D
word 2 ICH2 S D D D D D D D D D D D D D D D
word 3 ICH3 S D D D D D D D D D D D D D D D
word 4 ICH4 S D D D D D D D D D D D D D D D
word 5 ICH5 S D D D D D D D D D D D D D D D
word 6 ICH6 S D D D D D D D D D D D D D D D
word 7 ICH7 S D D D D D D D D D D D D D D D
word 8 Under 0 0 0 0 0 0 0 0 U7 U6 U5 U4 U3 U2 U1 U0
Consumes 14 words of output data
S = Sign bitD = Analog value
12 bit left justified twos complement number;unused lower bits are zero; 4-20mA uses 16 bits
Cn = bipolar select; n represents the channel numberFn = full range; n represents the channel number.
Cn Fn function0 0 Do Not Use ( Default Off )0 1 0-10v or 0-20mA1 0 4-20mA selected1 1 +/- 10V
Mn = Multiplex control;1 = use WORDs 0,1,2 or 3 as directed by n;
0 = use WORDs 10,11,12, or 13+ as directed by n;
Produces 1 word of input data
Wn = wire on current output broken or load resistance too high; not valid on voltage outputs; n represents the channel number
Flex I/O 1794-OE4 Analog Outputs Data Usage
word 0 OCH0 S D D D D D D D D D D D D D D Dword 1 OCH1 S D D D D D D D D D D D D D D Dword 2 OCH2 S D D D D D D D D D D D D D D Dword 3 OCH3 S D D D D D D D D D D D D D D Dword 4 0 0 0 0 0 0 0 0 0 0 0 0 M3 M2 M1 M0word 5 0 0 0 0 C3 C2 C1 C0 0 0 0 0 F3 F2 F1 F0word 6-9 NOT USED (SHOULD BE SET TO ZERO)word 10 ACH0 S D D D D D D D D D D D D D D Dword 11 ACH1 S D D D D D D D D D D D D D D Dword 12 ACH2 S D D D D D D D D D D D D D D Dword 13 ACH3 S D D D D D D D D D D D D D D D
word 0 0 0 0 0 0 0 0 0 0 0 0 0 W3 W2 W1 W0
Consumes 5 word of output data
Produces 5 word of input data
Flex I/O 1203-SPA ScanbusAapter Data Usage
Enable Chan 2word 0
Logic Command Channel 1word 1
Analog Reference Channel 1word 2
word 3
word 4
Enable Chan 1
Logic Command Channel 2
Analog Reference Channel 2
Status Chan 2word 0
Logic Status Channel 1word 1
Analog Feedback Channel 1word 2
word 3
word 4
Status Chan 1
Logic Status Channel 2
Analog Feedback Channel 2
Bit 0 is Channel 1 Enable
Bit 8 is Channel 2 Enable{
Calculando I/O do Flex...
Individual Word Count sent Fromthe FlexI/O Rack
1 Word From 1794-ADN Adapter
1 Word From 1794-OB16
1 Words From 1794-IB16
9 Words From 1794-IE8
1 Word From 1794-OE4
13 Total Words / 26 Bytes of data Produced by theFlexI/O
Individual Word Count sent tothe FlexI/O Rack
0 Words to 1794-ADN Adapter
1 Words to 1794-OB16
1 Word to 1794-IB16
6 Words to 1794-IE8
14 Word to 1794-OE4
22 Total Words / 44 Bytes of data Consumed by theFlexI/O
800T RediSTATION I/O Data
Bit 0 1 if Stop button pressed, 0 if Stop button NOT pressedBit 1 1 if Start button pressed, 0 if Start button NOT pressedBit 4 1 if Bulb burnt out or missing, 0 if Bulb is OK
Consumes 1 byte of Polled output data
Produces 1 byte of Polled input data
Byte 0 NOT USED
Bits 2 & 3Bit 4Bits 5 thru 7
Stop ButtonPressed
StartButtonPressed
Bit 0Bit 1
NOT USED Light Bulbburnt out
Byte 0
Bits 2 thru 7
Turn Light OnBlink Light
Bit 0Bit 1
NOT USED
Bit 0 = 1 & Bit 1 = 0 Light is on solidBit 0 = 1 & Bit 1 = 1 Light is on blinkingBit 0 = 0 & Bit 1 = Dont Care Light is off
800T RediSTATION Dip Switches
SW1
Off = 0
On = 11 2 3 4 5 6 7 8 9 10
0 - 63
00 = 125Kps01 = 250Kps10 = 250Kps11 = Invalid
Switches 9 = Output Fault State
1 = 2Hz ( 0.25 sec ON, 0.25 sec OFF )
Switches 1- 6 = DeviceNet Node Address
Switches 7- 8 = DeviceNet Data Rate
0 = Turns outputs Off when
1 = Leaves outputs in “last state” when
Switches 10 = Output Flash Rate 0 = 1Hz ( 0.5sec ON, 0.5 sec OFF )
(63 is Factory Default)
(Factory Default)
fault detected
fault detected(Factory Default)
(Factory Default)
Series 9000 Diffused Photoeye I/O Data
Bit 1 = 0 & Bit 0 = 0 Nothing in PositionBit 1 = 0 & Bit 0 = 1 Something in front of photoeye and plenty of marginBit 1 = 1 & Bit 0 = 0 Invalid Bit 1 = 1 & Bit 0 = 1 Something in front of photoeye and out of margin
Produces 1 byte of Strobed input data
Byte 0
Bits 2 thru 7
In PositionOut Of Margin
Bit 0Bit 1
NOT USED
Consumes 1 bit of Strobed output data
Not Used
Bit 0
Series 9000 Retro Photoeye I/O Data
Bit 1 = 0 & Bit 0 = 1 Nothing in PositionBit 1 = 0 & Bit 0 = 0 Something in front of photoeye Bit 1 = 1 & Bit 0 = 0 Invalid Bit 1 = 1 & Bit 0 = 1 Photo eye out of margin
Produces 1 byte of Strobed input data
Byte 0
Bits 2 thru 7
In PositionOut Of Margin
Bit 0Bit 1
NOT USED
Consumes 1 bit of Strobed output data
Not Used
Bit 0