Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Sample Programming
In this sample, the name of the file 'ABC.bin' is changed to 'DEF.bin' on the SD Memory Card.
LD
Internal
Variables
External
Variables
Determine if execution of the FileRename instruction is completed.
FileRename_instance.Done
FileRename_instance.Error
Accept trigger.
Trigger
_Card1Ready
Execute FileRename instruction.
Operating
'ABC.bin'
'DEF.bin'
FALSE
Processing after normal end.
FileRename_instance.Done
Operating
Processing after error end.
Operating
FileRename_instance.Error

NY-series Instructions Reference Manual (W560)

Variable
OperatingEnd
BOOL
Trigger
BOOL
Operating
BOOL
RS_instance
RS
FileRename_instance
FileRename
Variable
_Card1Ready
OperatingEnd
RS_instance
RS
Set
OperatingEnd
Reset1
FileRename_instance
FileRename
Execute
Done
FileName
Busy
NewName
Error
OverWrite
ErrorID
Data type
Initial value
FALSE
FALSE
FALSE
Data type
Comment
BOOL
SD Memory Card Ready Flag
Operating
Q1
Inline ST
1 // Processing after normal end.
2 ;
Inline ST
1 // Processing after normal end.
2 ;
2 Instruction Descriptions
Comment
Processing completed.
Execution condition
Processing
2-1315
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents