YIO modular remote I/O

YIO modules for YSSC2P/YSSC3P/YMDS2P cards

YIO Base Module

Provides the 8P8C bus connector and isolated DC power supply for all connected modules

YIO-A Board layout

YIO-B - YIO (RJ-45)
1AUX+Auxiliry bus non-inverting line
2AUX-Auxiliry bus inverting line
3BUS+Main bus non-inverting line
4GND
5GND
6BUS-Main bus inverting line
7
8

YIO-A - CN1 (DSub-9F)
1AUX+Auxiliry bus non-inverting line
2AUX-Auxiliry bus inverting line
3BUS+Main bus non-inverting line
4BUS-Main bus inverting line
5GND
6
7
8
95VDCPower input (or output if DC/DC module is installed)

J3 / CN2
1FGFame ground
2V-Ext power supply negative
3V+Ext power supply positive 18-36VDC input

J2 / VSRC
1-25VUse 5VDC supplied thru DB9 connector
2-324VUse on-board DC-DC converter

Address DIP switches on slave boards

ADDR
1A0Address + 1
2A1Address + 2
3A2Address + 4
4A3Address + 8

YIO-B connects to YEX3 with a straight thru shielded or unshielded ethernet cable with T568A/T568B pinout

YIO-A Connection

YI16 16 x 24VDC inputs

The module provides 16 x 24VDC optoisolated inputs. Inputs are arranged in 4 groups. Each group can be wired for either sinking or sourcing.

YI16-A Board layout

TB2
10COMBCommon B for inputs 12..15
9IN15Inputs B 12..15
8IN14
7IN13
6IN12
5IN11Inputs A 8..11
4IN10
3IN9
2IN8
1COMACommon A for inputs 8..11

TB1
10COMBCommon B for inputs 4..7
9IN7Inputs B 4..7
8IN6
7IN5
6IN4
5IN3Inputs A 0..3
4IN2
3IN1
2IN0
1COMBCommon A for inputs 0..3

Example connection:

YO16N 16 x MOSFET sinking outputs

The module provides 16 optoisolated MOSFET sinking (common positive) outputs. Each TB is either protected with a 0.5A fuse or using current-protected MOSFETs.

YO16N-A Board layout

TB2
10COM-Field power input: negative
9OUT15Outputs 8..15 (sinking)
8OUT14
7OUT13
6OUT12
5OUT11
4OUT10
3OUT9
2OUT8
1VIN+Field power input: positive

TB1
10COM-Field power input: negative
9OUT7Outputs 0..7 (sinking)
8OUT6
7OUT5
6OUT4
5OUT3
4OUT2
3OUT1
2OUT0
1VIN+Field power input: positive

Example connection:

YO16P 16 x MOSFET sourcing outputs

The module provides 16 optoisolated MOSFET sourcing (common ground) outputs. Each TB is either protected with a 0.5A fuse.

YO16P-A Board layout

TB2
10VIN-Field power input: negative
9OUT15Outputs 8..15 (sourcing)
8OUT14
7OUT13
6OUT12
5OUT11
4OUT10
3OUT9
2OUT8
1COM+Field power input: positive

TB1
10VIN-Field power input: negative
9OUT7Outputs 0..7 (sourcing)
8OUT6
7OUT5
6OUT4
5OUT3
4OUT2
3OUT1
2OUT0
1COM+Field power input: positive

Example connection:

YAO2P 2 x ±10V analog out, 2 x ABZ encoder in, 1 sinking out, 1 in

The module provides 2 channels, each:

J2/J3
1AGND11AGND
2AOUT12
313
4OUT drain (to load)14OUT source (PSU negative)
5GND15GND
6A16A/
7B17B/
8Z18Z/
9IN19IN
1020+5VDC out *

* 500mA fuse

Bus protocol

RS-485, half-duplex, 5Mbps, 8-N-1, LSB first.

Controller request:
byte 012 .. N+1N+2
0x80 | addrcodearg1 .. argNCRC-8

Slave reply:
byte 012 .. M+1M+2
addrcodedataM .. dataMCRC-8

Slave address is 0..15. The polynomial used for CRC-8 is 0x8c: x8 + x5 + x4 + 1. A slave must start reply transmission within 10us after receiving a request.

Request code 1: Identify

Request:
byte 012
0x80 | addr1CRC-8

Reply:
byte 0123
addr11=YI16, 2=YO16N/PCRC-8

Request code 2: Read discrete outputs

Request:
byte 012
0x80 | addr2CRC-8

Reply:
byte 01234
addr2outputs 7..0outputs 15..8CRC-8

Request code 3: Set discrete outputs

Request:
byte 01234
0x80 | addr3outputs 7..0outputs 15..8CRC-8

Reply:
byte 012
addr3CRC-8

Request code 4: Read discrete inputs

Request:
byte 012
0x80 | addr4CRC-8

Reply:
byte 01234
addr4inputs 7..0inputs 15..8CRC-8

Request code 5: Set analog outpus / read encoders counters

Request:
byte 01234567
0x80 | addr50 idx1 0 idx0 0 out1 0 out0aout 0 lowaout 0 hiaout 1 lowaout 1 hiCRC-8

Reply:
byte 01234567
addr50 idx1 0 idx0 0 in1 0 in0enc 0 lowenc 0 hienc 1 lowenc 1 hiCRC-8

Once per second sync broadcast

Request:
byte 0
0xED

Reply: none