cybro-3 brochure v1.2 - cybrotech.com · openiot openthread coap user app apache cybro scgi server...

6
12 opto-isolated input 10 relay outputs 230V 8A 4 universal input/outputs 1Mb flash, 64Kb RAM, 32Kb EE 48 expansion slots for I/O modules USB programming port CAN diagnostic monitor extra long life (no electrolytic capacitors) s 24V Cybro-3 19 20 IX1 21 IX2 22 IX3 23 IX4 24 IX5 25 IX6 26 IX7 27 C5 IX0 1 2 +24V 0V 3 4 QX0 5 C0 6 QX1 7 QX2 8 C1 9 QX3 10 QX4 11 C2 C3 12 QX5 13 QX6 14 15 QX7 16 QX8 17 C4 18 QX9 IX8 28 IX9 29 IX10 30 IX11 31 32 IO12 C 33 IO13 34 IO14 35 IO15 36 Cybro-3 IoT PLC compatible with IEX-2 modules and tools Communication ports 2x RS232 USB ETH CAN Each channel is configured independently. For more details, check hardware manual. Universal input/output IQ C IQ +24V + C IQ C IQ + C IQ analog input 4..20mA analog input 0..10V analog output 0..10V digital input high-speed counter digital output temperature sensor + C IQ IQ C IQ C frequency meter IQ M +24V pulse train output PWM output IQ +24V STM32F412 ARMv7E-M 32-bit Cortex-M4 at 100MHz FPU single precision 3.3V external, 1.2V core 120 DMIPS, 340 CoreMark internal 1Mb, 128-bit 10000 program/erase cycles 20 years minimum internal 256Kb, 0 wait state external 64Kb, SPI 20MHz external 32Kb, I2C 400kHz CPU Model Architecture Core Coprocessor Power supply Performance Flash Endurance Data retention SDRAM Retentive RAM EEPROM Cybro-2 10x 24V 8x 5A 4 in, 1 out 6 MIPS 32 64Kb 32Kb Cybro-3 12x 24V 10x 8A 4 universal 120 MIPS 48 1Mb 64Kb Comparison digital inputs relay outputs analog i/o CPU rating expansion slots plc program plc variables

Upload: others

Post on 11-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cybro-3 Brochure v1.2 - cybrotech.com · OpenIoT OpenThread CoAP user app Apache Cybro SCGI server TCP/IP driver IEX-2 driver IEX-2 modules for buildings For a complete list of modules,

12 opto-isolated input10 relay outputs 230V 8A4 universal input/outputs1Mb flash, 64Kb RAM, 32Kb EE48 expansion slots for I/O modulesUSB programming portCAN diagnostic monitorextra long life (no electrolytic capacitors)

s 24V

Cybro-3

19 20

IX1

21

IX2

22

IX3

23

IX4

24

IX5

25

IX6

26

IX7

27

C5 IX0

1 2

+24V 0V

3 4

QX0

5

C0

6

QX1

7

QX2

8

C1

9

QX3

10

QX4

11

C2 C3

12

QX5

13

QX6

14 15

QX7

16

QX8

17

C4

18

QX9

IX8

28

IX9

29

IX10

30

IX11

31 32

IO12C

33

IO13

34

IO14

35

IO15

36

Cybro-3

IoT PLC compatible with IEX-2 modules and tools

Communication ports

2x RS232

USB ETH

CAN

Each channel is configured independently.For more details, check hardware manual.

Universal input/output

IQ

C

IQ

+24V +

C

IQ

C

IQ

+

C

IQ

analog input 4..20mA

analog input 0..10V

analog output 0..10V

digital input high-speed counter

digital output

temperature sensor+

C

IQ

IQ

C

IQ

C

frequency meter

IQ

M

+24V

pulse train output

PWM outputIQ

+24V

STM32F412ARMv7E-M 32-bitCortex-M4 at 100MHzFPU single precision3.3V external, 1.2V core120 DMIPS, 340 CoreMarkinternal 1Mb, 128-bit10000 program/erase cycles20 years minimuminternal 256Kb, 0 wait stateexternal 64Kb, SPI 20MHzexternal 32Kb, I2C 400kHz

CPU

ModelArchitectureCoreCoprocessorPower supplyPerformanceFlashEnduranceData retentionSDRAMRetentive RAMEEPROM

Cybro-2

10x 24V8x 5A4 in, 1 out6 MIPS3264Kb32Kb

Cybro-3

12x 24V10x 8A4 universal120 MIPS481Mb64Kb

Comparison

digital inputsrelay outputsanalog i/oCPU ratingexpansion slotsplc programplc variables

Page 2: Cybro-3 Brochure v1.2 - cybrotech.com · OpenIoT OpenThread CoAP user app Apache Cybro SCGI server TCP/IP driver IEX-2 driver IEX-2 modules for buildings For a complete list of modules,

IEX-2 modules for industrial applications

AiR-1212 Pt100 inputs

COM-485protocol converter

COM-232protocol converter

COM-CANprotocol converter

Bio-24R12 opto inputs12 relay outputs

Bio-24T12 opto inputs12 transistor outputs

OP-2operator panel

For a complete list of modules, check hardware manual.

AiV-1212 inputs 0..10V

AoV-1212 outputs 0..10V

PV monitoring

inverter string monitors

M2M and IoT applications

SCADA

CybroMiniScada

CybroWebScada

internetCybroOpcServer

high-speed counter

A

B

Positioning

number of pulses

incrementalencoder

pulse train output

ramp frequency

number of pulses

ramp

Motion control

steppermotor

Industrial automation

Page 3: Cybro-3 Brochure v1.2 - cybrotech.com · OpenIoT OpenThread CoAP user app Apache Cybro SCGI server TCP/IP driver IEX-2 driver IEX-2 modules for buildings For a complete list of modules,

Application examples

Raspbian

SCGI server make Cybro variables visible to Raspberry. It is compatible with all RPi models and tiny PCs, both Linux and Windows.

Mosquitto Node-RED

OpenIoT OpenThread CoAP user app

Apache

Cybro SCGI server

IEX-2 driverTCP/IP driver

IEX-2 modules for buildings

For a complete list of modules, check HIQ manual.

LC-10-IQ10 lights

TH-1T-IQthermostat

SC-4T-IQscene

LD-V4-IQLED dimmer

LD-D8-IQDALI dimmer

BC-5-IQ5 blinds

Home and building automation

Cybro and Raspberry may connect on CAN bus, or using the local network. The first method is recommended for a small amount of data.

directly

router

CAN

ETH ETH

CANconnection

LANconnection

Cybro-3

logicalanalytical

dependable

- low-level control- simple automation- time-related actions

Cybro is simple, tough and reliable. No drivers, no updates, no viruses. When button is pressed, light goes on, no matter what.

Raspberry is a huge ecosystem of various projects that can be combined with Cybro. Main system is fully independent, so reliability is not critical.

- data log- secure connection- various applications

intuitiveartisticadventurous

Cybro-Pi4

19 20

IX1

21

IX2

22

IX3

23

IX4

24

IX5

25

IX6

26

IX7

27

C5 IX0

1 2

+24V 0V

3 4

QX0

5

C0

6

QX1

7

QX2

8

C1

9

QX3

10

QX4

11

C2 C3

12

QX5

13

QX6

14 15

QX7

16

QX8

17

C4

18

QX9

IX8

28

IX9

29

IX10

30

IX11

31 32

IO12C

33

IO13

34

IO14

35

IO15

36

Cybro-3

10

IX0 C

11

IX1

12

1

+24V

2

0V

3

A/M+

4

B/M-

5

C

6 7 8 9

C0QX0 QX1

Cybro-Pi4

voice control

sensors and actuatorsdoorbell

various gadgets

Page 4: Cybro-3 Brochure v1.2 - cybrotech.com · OpenIoT OpenThread CoAP user app Apache Cybro SCGI server TCP/IP driver IEX-2 driver IEX-2 modules for buildings For a complete list of modules,

Migration to Cybro-3

Not supported

- mixing NPN and PNP input polarity- zero input on high-speed counter (AB+Z)- input/output reaction time faster then 5ms- 4 analog inputs + 1 analog output at the same time

Power supply

Cybro-2 was 24V or 230V, Cybro-3 is 24V only, so an external power adapter may be needed.

Terminals

Cybro-2 and Cybro-3 connections are not equal, however, transition to new layout is pretty much straight-forward.

Run/stop switch

Run/stop switch does not exist on Cybro-3, use start (F11) and stop (F12) instead. To set power-on mode, use CyPro "start automatically" option.

This steps ought to be performed to replace Cybro-2 with Cybro-3 controller within the existing system. New controller supersedes the old one in most features, though it's not a drop-in replacement. A few changes should be made, both in hardware and software, to get the system up and running.

+24V

+24V

+24V

C5

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

0V

0V

0V C3

C0

C0

IX0

IX0

IX1

IX1

IX2

IX2

IX3

IX3

IX4

IX4

IX5

IX5

IX6

IX6

IX7

IX7 IX8 IX9 IX10 IX11 C IO12 IO13 IO14 IO15

C4 IX8A IX9B Z C2 IW2 IW3

QX0

QX0

QX1

QX1

QX2

QX2

QX3

QX3

QX4

QX4

C1

C1 C2 C3 C4

QX5

QX5

QX6

QX6

QX7

QX7 QX8 QX9

QW0 IW0 IW1 C2 Cybro-2

Cybro-3

QX4 is nowrelated to C2,instead of C0

Common foranalog inputsis connectedto C terminal

Cybro-3

Cybro-2

IX HSC

19 20

IX1

21

IX2

22

IX3

23

IX4

24

IX5

25

IX6

26

IX7

27

C5 IX0

1 2

+24V 0V

3 4

QX0

5

C0

6

QX1

7

QX2

8

C1

9

QX3

10

QX4

11

C2 C3

12

QX5

13

QX6

14 15

QX7

16

QX8

17

C4

18

QX9

IX8

28

IX9

29

IX10

30

IX11

31 32

IO12C

33

IO13

34

IO14

35

IO15

36

Cybro-3

Page 5: Cybro-3 Brochure v1.2 - cybrotech.com · OpenIoT OpenThread CoAP user app Apache Cybro SCGI server TCP/IP driver IEX-2 driver IEX-2 modules for buildings For a complete list of modules,

Hardware setup

Change CPU unit to Cybro-3, configure universal inputs and outputs. Open IEX modules one by one, set configuration settings. Also check serial port settings in configuration dialog.

Variable type

CounterNot supported any more, must be changed to integer. Increment and decrement can be performed with arithmetic +/- operations.

WordNot supported any more, must be changed to integer. Bit operations can be performed with logical AND/OR operations.

TimerStill exists, but the internal implementation is slightly different. When instant on-delay response is needed, write to IN, ET and Q fields directly.

I/O numbering

To get digital and analog terminals consistent, analog numbering is changed:

cybro_iw00cybro_iw01cybro_iw02cybro_iw03cybro_qw00

►► cybro_iw13► cybro_iw14► cybro_iw15► cybro_qw12, qw13, qw14 or qw15

cybro_iw12

I/O range

Measurement is now in physical units:

A simple way to get around this is to manually allocate and recalculate old analog variables:

cybro_iw00:=int((long(cybro_iw12)*1023)/10000);

Similar equation can be used for other inputs and outputs.

System variables

Some system variables does not exist any more, they can be replaced this way:

general_errorAllocate manually and compute as logical OR of all other general errors.

cybro_outputs_offWhen active, simply set all outputs to off, near end of the program.

no_input_filterDigital filtering can not be turned off on Cybro-3.

rtc_read_reqNot needed any more, RTC variables are now updated automatically,

socket_0_id, socket_1_idThis addressing method is obsolete, it can be replaced by adding a new variable to the socket. By checking this variable, program may decide who is the recipient.

ee_write_magicNegative values are now used to indicate an error, check variable description for details.

System functions

word(expression) ► ulong(expression)When converting integer to long, word() type was used to imply unsigned. It is now replaced with ulong() function, which does the same thing.

For other conversions and frequently used constructions, check function library.

Timing

If program behaves unexpectedly, a possible explanation is the timing. As new controller is faster, code that rely on execution time may behave unpredictably. To fix that, always write code where the timing strictly relies on system (clock variables, scan time, timer type or RTC).

Cybro-2

Cybro-3

CyPro 2.x.x

CyPro 3.x.x

Project changes

MyProject.cyp

copy

open sendMyProject.cyp

0 0

iw00..iw03 iw12..iw15

1023 10000 mV20000 mA

0 0

qw00 qw12

255 10000 mV20000 mA

Page 6: Cybro-3 Brochure v1.2 - cybrotech.com · OpenIoT OpenThread CoAP user app Apache Cybro SCGI server TCP/IP driver IEX-2 driver IEX-2 modules for buildings For a complete list of modules,

Modbus RTU/TCP slaveHW: Cybro-3

Modbus RTU masterHW: Cybro-3 or COM-MBSW: ModbusRtuMaster.cypLIB: CyPro/Examples

HW: Cybro-Pi4SW: CybroScgiServer+MosquittoURL: www.cybrotech.comURL: www.mosquitto.org

HW: LC-DC or LD-D8-IQSW: DaliDemo.cypLIB: CyPro/Examples

HW: Cybro-3SW: CybroOpcServerURL: www.cybrotech.com

HW: EIB ASCII TerminalSW: KnxDemo.cypLIB: CyPro/Examples

HW: Cybro-Pi4SW: BACnet protocol stackURL: bacnet.sourceforge.net

HW: CyBro-3-ENO or GW-ENO2SW: EnOceanGateway.cypLIB: CyPro/Examples

HW: COM-NOK+ZC-GW-485SW: ZigbeeGateway.cypLIB: CyPro/Examples

HW: Cybro-Pi4

All product names, logos, and brands are property of their respective owners

HW: GW-MPSW: MpBusDemo.cypLIB: CyPro/Examples

HW: Techbase Mbus 10SW: M-BusDemo.cypLIB: CyPro/Examples

Connectivity

Native support

Using 3rd party adapter

Using Raspberry Pi

HW: COM-DMXSW: DmxDemo.cypLIB: CyPro/Examples