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: Phoenix Contact MC 1,5/3-ST-3,5 or equivalent

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

TB1, TB2: Phoenix Contact MC 1,5/10-ST-3,5 or equivalent

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

TB1, TB2: Phoenix Contact MC 1,5/10-ST-3,5 or equivalent

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

TB1, TB2: Phoenix Contact MC 1,5/10-ST-3,5 or equivalent

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: 3M 10120-3000PE 20 pin MDR or equivalent connectors

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

* 500mA fuse

YI32 32 x 24VDC inputs

The module provides 32 x 24VDC optoisolated inputs, sinking/sourcing jumper selectable. Threshold voltage is ~19V, current at 24VDC is ~2mA

YI32-A Board layout

DI: .1" pitch double row IDC 40 connector

DI
1 2
3 4
5COM6 COM
7 8
9IN1F10IN0F
11IN1E12IN0E
13IN1D14IN0D
15IN1C16IN0C
17IN1B18IN0B
19IN1A20IN0A
21IN1922IN09
23IN1824IN08
25IN1726IN07
27IN1628IN06
29IN1530IN05
31IN1432IN04
33IN1334IN03
35IN1236IN02
37IN1138IN01
39IN1040IN00

X24: Phoenix Contact MC 1,5/3-ST-3,5 or equivalent

X24
1Frame ground
2GND
3+24V

COM
2GND4COM6+24V
1GND3COM5+24V

Jumpers 1-3 and 2-4 - sinking inputs, connect to +24V sourcing outputs
Jumpers 3-5 and 4-6 - sourcing inputs, connect to sinking (open collector) outputs

Example connection:

YO32P 32 x 24VDC sourcing outputs

The module provides 32 x 24VDC isolated outputs sourcing up to 150mA each. Overcurrent protected. The module also provides to the NC voltages and currents at each output, field power voltage and driver chips temperatures. With software controlled weak pull-ups on outputs broken connections can be diagnosed.

YO32P-B Board layout

DO: .1" pitch double row IDC 40 connector

DO
1GND2 +24V
3GND4 +24V
5COM6 COM
7 8
9OUT1F10OUT0F
11OUT1E12OUT0E
13OUT1D14OUT0D
15OUT1C16OUT0C
17OUT1B18OUT0B
19OUT1A20OUT0A
21OUT1922OUT09
23OUT1824OUT08
25OUT1726OUT07
27OUT1628OUT06
29OUT1530OUT05
31OUT1432OUT04
33OUT1334OUT03
35OUT1236OUT02
37OUT1138OUT01
39OUT1040OUT00

X24: Phoenix Contact MC 1,5/3-ST-3,5 or equivalent

X24
1Frame ground
2GND
3+24V

COM
2GND4COM6+24V
1GND3COM5+24V

Jumpers 1-3 and 2-4 - pins DO.5 DO.6 (COM) connectedd to GND
Jumpers 3-5 and 4-6 - pins DO.5 DO.6 (COM) connectedd to +24V


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/P
5=YAO2
0x11=YI32
0x12=YO32P
CRC-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

Request code 0x13: Set discrete outputs

Request:
byte 01234567
0x80 | addr0x13outputs 7..0outputs 15..8outputs 23..16outputs 31..240x01=enabe pull-downsCRC-8

Reply:
byte 01234567
addr0x130x80=overcurrent, 0x40=undervoltage, 0..7 data typedata0_lodata0_hidata1_lodata1_hiCRC-8

Request code 0x14: Read discrete inputs

Request:
byte 012
0x80 | addr0x14CRC-8

Reply:
byte 0123456
addr0x14inputs 7..0inputs 15..8inputs 23..16inputs 31..24CRC-8

Once per second sync broadcast

Request:
byte 0
0xED

Reply: none