The PLC
114
Operating Manual XCA 1100 / XCA 1200
●
Version 12/17
8.4.5
Date_Time library
The XCx has a buffered real-time clock with a calendar (which takes
leap years into account) and a resolution of 1 second.
You can read and set the time and date using function blocks from the
"Date_Time" library.
Function block
No.
Brief description
Controller
types
GET_TIME
130
Read time
XCx
ProNumeric
ProSyCon
MCS xx-xx
GET_DATE
128
Read date
SET_TIME
131
Set time
SET_DATE
129
Set date
Table 30: Date_Time library
8.4.6
MC_Vxxx Library
The "MC_Vxxx" library (Motion Control) contains function blocks for
programming the motion sequences in the PLC.
Function block
No.
Brief description
Controller
types
MC_MoveAbsolute
320
The axis is instructed to drive to an absolute
position.
CXN 300
XCN 5xx
XCN 700
MC_MoveRelative
321
The axis is instructed to drive along a path.
MC_MoveAdditive
322
The axis is instructed to drive to an absolute
position.
MC_MoveVelocity
324
Axis is instructed to move with the specified
speed
MC_Home
325
The axis is instructed to reference
MC_Stop
326
The axis is instructed to terminate axis movement
MC_Power
327
The axis is instructed to switch on torque
(controller enable)
MC_ReadStatus
328
The status informations of the axes are read
MC_ReadAxisError
329
Current error number is read
MC_Reset
330
Reset (error acknowledgement) is performed
MC_ReadParameter
331
A parameter of the axis is read
MC_ReadBoolParameter
332
A Boolean parameter of the axis is read
MC_WriteParameter
333
A parameter of the axis is written
MC_WriteBoolParameter
334
A Boolean parameter of the axis is written
MC_ReadActualPosition
335
Current axis position is read
MC_GetCncAxis
345
The axis is borrowed from the CNC so that it can
be moved more easily in the PLC
MC_ReleaseCncAxis
346
Borrowed axis is returned to CNC
Table 31: MC_Vxxx Library