Datasheet

Process and PlcThread has to be stated.
Card object
Velleman_K8055_Board
Beneath the rack object, a card object of type Velleman_K8055_Board is configured. You can have
up to 4 cards in one system. State Process and PlcThread, and state the card address in the Address
attribute.
Channels
All channelobjects reside internally in the card object, Velleman_K8055_Board. There are one
array with two ChanAi objects, one array with 5 ChanDi objects, one array with 2 ChanAo objects,
and one array with ChanDo objects. Connect the channel object to suitable signal objects.
Ai configuration
The Ai channels has rawvalue range 0 – 255 and signalvalue range 0 – 5 V, i.e. RawValRange and
ChannelSigValRange should be set to
RawValRangeLow 0
RawValRangeHigh 255
ChannelSigValRangeLow 0
ChannelSigValRangeHigh 5
For example, to configure ActualValue range to 0 – 100, set SensorSigValRange 0 - 5 and
ActValRange 0 – 100.
Ao configuration
The Ao channels has rawvalue range 0 – 255 and signalvalue range 0 – 5, i.e. RawValRange and
ChannelSigValRange should be set to
RawValRangeLow 0
RawValRangeHigh 255
ChannelSigValRangeLow 0
ChannelSigValRangeHigh 5
For example, to configure ActualValue range to 0 – 100, set SensorSigValRange 0 – 5 and
ActValRange 0 – 100.
Link file
The archive libusb-1.0 has to be linked to the plcprogram. This is done by creating the file
$pwrp_exe/ plc_'nodename'_'busnumber'_'plcname'.opt, e.g.
$pwrp_exe/plc_mynode_0517_plc.opt with the content
$pwr_obj/rt_io_user.o -lpwr_rt -lusb-1.0 -lpwr_usbio_dummy -lpwr_pnak_dummy