The PLC
106
Operating Manual XCx 300 / 500 / 540 Version 09/08
9.4.1
CANopen_Vxxx library
The library contains function blocks for parameterizing and diagnosis
the CANopen network.
Function block
No.
Description
CO_NET_SDO_WRITE
150 Sends a Service Data Object (SDO)
CO_NET_SDO_READ
151 Receives a Service Data Object (SDO)
CO_NET_GET_LOCAL_NODE_ID
152 Returns own node ID
CO_NET_GET_STATE
153 Supplies current CANopen status
CO_NET_GET_KERNEL_STATUS
154 Supplies current extended CANopen kernel status
CO_NET_NMT
155 Sets status of one or all devices in the CANopen network
CO_NET_RECV_EMY_DEV
156 Reads any emergency messages from a particular
network node
CO_NET_RECV_EMY
157 Reads any emergency messages from any network node
CO_NET_RECV_ERR_DEV
160 Reads any error messages from a particular network node
CO_NET_RECV_ERR
161 Reads any error messages from any network node
CO_NET_SENDL2
162 Sends any CAN Layer 2 messages
CO_NET_PING
163 Executes a ping on a particular network node
CO_NET_RESTART_CAN
164 Restarts CANopen communication
(e.g. after "bus- off")
CO_NET_RESTART_ALL
165 Restarts the complete CANopen stack
CO_NET_SHUTDOWN
166 Stops the CANopen stack
CO_NET_CAN_SYNC
170 Allows synchronization between PLC task and CANopen
stack
9.4.2
CFB_Vxxx Library
Library like IEC 61131-
5 with function blocks for “peer-to-peer“
communication with TCP/IP.
Function blocks
No. Description
Controller
CONNECT_V
60
Connect two members
XCx
ProNumeric
ProSyCon
USEND_V
61
Send data
URCV_V
62
Recive data