
Western Reserve Controls W5-JDC4 User’s Manual
Revision 1.02
iii
5.4.1 Overview.........................................................................................................................................................................25
5.4.2 Setting up the Transmit Character Buffer Length...................................................................................................25
5.4.3 Setting Up and Using the Transmit Delimiter..........................................................................................................25
5.4.4 Setting up and using the TX Byte Swap Mode.........................................................................................................25
5.4.5 Transmitting from the Master to the W5-JDC4........................................................................................................26
5.4.6 Transmit String Data Type..........................................................................................................................................26
5.4.7 Transmitting Serial Data.............................................................................................................................................26
5.4.8 Setting Up the Scanner I/O Transmit Size................................................................................................................26
5.4.9 Master-Slave Handshake vs. Immediate Mode........................................................................................................27
5.4.10 Explicit Messages to Transmit Serial Data String...............................................................................................28
5.5 SETTING UP DEVICENET COMMUNICATIONS..................................................................................................................28
5.5.1 Polled I/O........................................................................................................................................................................28
5.5.2 Cyclic and Change-of-State I/O.................................................................................................................................28
5.5.3 Setting up the DeviceNet I/O Connections...............................................................................................................29
5.5.4 Setting up the Connection Timer (EPR)...................................................................................................................29
5.5.5 Setting up the DeviceNet Baudrate...........................................................................................................................29
6 ASSEMBLY OBJECT FORMATS .........................................................................................................................................30
6.1 SHORT STRING DATA TYPE ASSEMBLIES.........................................................................................................................30
6.1.1 Immediate Mode............................................................................................................................................................30
6.1.2 Handshake Mode..........................................................................................................................................................30
6.2 ARRAY (DATA BLOCK) DATA TYPE ASSEMBLIES..........................................................................................................31
6.2.1 Immediate Mode............................................................................................................................................................31
6.2.2 Handshake Mode..........................................................................................................................................................31
6.3 STRING DATA TYPE ASSEMBLIES......................................................................................................................................31
6.3.1 Immediate Mode............................................................................................................................................................31
6.3.2 Handshake Mode..........................................................................................................................................................31
7 THEORY OF OPERATION......................................................................................................................................................33
7.1 THE TRANSMIT RECORD ALGORITHM..............................................................................................................................33
7.1.1 Basic Theory of operation...........................................................................................................................................33
7.2 THE RECEIVE RECORD ALGORITHM..................................................................................................................................33
7.2.1 Basic Theory of operation...........................................................................................................................................33
8 DEVICENET PROFILE, OBJECTS AND SERVICES .........................................................................................................36
8.1 W5-JDC4 DEVICENET PROFILE..........................................................................................................................................36
8.2 IDENTITY OBJECT (CLASS 1)...............................................................................................................................................37
8.3 DEVICENET OBJECT (CLASS 3)............................................................................................................................................38
8.4 ASSEMBLY OBJECT (CLASS 4)..............................................................................................................................................40
8.4.1 Instance 101 (Consume) Assembly Object Description.........................................................................................40
8.4.2 Instance 102 (Produce) Assembly Object Description...........................................................................................41
8.4.3 Disabling channels.......................................................................................................................................................41
8.5 CONNECTION (CLASS 5) OBJECT ........................................................................................................................................42
8.6 ACKNOWLEDGE (CLASS 43) OBJECT ..................................................................................................................................42
8.7 SERIAL PORT OBJECT CLASS 112 (70HEX)...........................................................................................................................42
8.7.1 Serial Port Class Attributes........................................................................................................................................42
8.7.2 Serial Port Class Services...........................................................................................................................................42
8.7.3 Serial Port Instance Attributes...................................................................................................................................42
8.7.4 Instance Services...........................................................................................................................................................44
8.8 TRANSMIT RECORD OBJECT CLASS 113 (71HEX)................................................................................................................44
8.8.1 Transmit Record Object Class Attributes..................................................................................................................44
8.8.2 Transmit Record Object Class Services.....................................................................................................................44
8.8.3 Transmit Record Object Instance Attributes............................................................................................................45